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

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

1.1       millert     1: ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
                      2: #
1.12    ! millert     3: # $OpenBSD$
        !             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
                     10: #      $Date: 2000/01/02 00:29:16 $
                     11: #      terminfo syntax
1.1       millert    12: #
                     13: #      Eric S. Raymond         (current maintainer)
                     14: #      John Kunze, Berkeley
                     15: #      Craig Leres, Berkeley
                     16: #
                     17: # Please e-mail changes to terminfo@ccil.org; the old termcap@berkeley.edu
                     18: # address is no longer valid.  The latest version can always be found at
1.11      millert    19: # <http://earthspace.net/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.11      millert    35: # be found at <http://earthspace.net/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: #
                    198: # These capabilities are used by tac(1m), the terminfo action checker soon
                    199: # to be distributed with ncurses.
                    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.11      millert   217: # the new organization, which puts ANSI types, xterm, free-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.11      millert   262: # This section describes terminal classes and maker 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.1       millert   284:        am,
                    285:        cols#80,
1.11      millert   286:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H,
                    287:        kcub1=^H, kcud1=^J, nel=^M^J,
1.1       millert   288:
                    289: #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
                    290: #
                    291: # See the end-of-file comment for more on these.
                    292: #
                    293:
                    294: # The IBM PC alternate character set.  Plug this into any Intel console entry.
                    295: # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
                    296: # ROM graphics for control characters such as the diamond, up- and down-arrow.
                    297: # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
                    298: # will work with any Intel console, they all seem to have inherited \E[11m
                    299: # from the ANSI.SYS de-facto standard.
1.11      millert   300: klone+acs|alternate character set for ansi.sys displays,
                    301:        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   302:        rmacs=\E[10m, smacs=\E[11m,
                    303:
                    304: # Highlight controls corresponding to the ANSI.SYS standard.  Most
                    305: # console drivers for Intel boxes obey these.  Makes the same assumption
                    306: # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
                    307: # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
1.11      millert   308: klone+sgr|attribute control for ansi.sys displays,
                    309:        blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m,
                    310:        rmpch=\E[10m, rmso=\E[m, rmul=\E[m,
1.1       millert   311:        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   312:        sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
                    313:        use=klone+acs,
1.1       millert   314:
                    315: # Highlight controls corresponding to the ANSI.SYS standard.  *All*
                    316: # console drivers for Intel boxes obey these.  Does not assume \E[11m will
                    317: # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
                    318: # diamond and arrow characters under curses.
1.11      millert   319: klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
                    320:        blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m,
                    321:        rmul=\E[m,
1.1       millert   322:        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   323:        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
                    324:        use=klone+acs,
1.1       millert   325:
                    326: # KOI8-R (RFC1489) acs (alternate character set)
                    327: # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
1.11      millert   328: klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset,
1.1       millert   329:        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,
                    330:        rmacs=\E[10m, smacs=\E[11m,
                    331:
                    332: # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
                    333: # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
                    334: # but equivalent strings that don't rely on that coincidence:
                    335: # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    336: # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    337: # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
                    338: # They match a subset of ECMA-48.
1.11      millert   339: klone+color|color control for ansi.sys and ISO6429-compatible displays,
                    340:        colors#8, ncv#3, pairs#64,
1.1       millert   341:        op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                    342:
                    343: # This is better than klone+color, it doesn't assume white-on-black as the
                    344: # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
1.11      millert   345: ecma+color|color control for ECMA-48-compatible terminals,
                    346:        colors#8, ncv#3, pairs#64,
1.1       millert   347:        op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                    348:
                    349: # Attribute control for ECMA-48-compatible terminals
1.11      millert   350: ecma+sgr|attribute capabilities for true ECMA-48 terminals,
                    351:        rmso=\E[27m, rmul=\E[24m,
                    352:        use=klone+sgr,
1.1       millert   353:
                    354: # For comparison, here are all the capabilities implied by the Intel
                    355: # Binary Compatibility Standard (level 2) that fit within terminfo.
                    356: # For more detail on this rather pathetic standard, see the comments
                    357: # near the end of this file.
1.11      millert   358: ibcs2|Intel Binary Compatibility Standard prescriptions,
                    359:        cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB,
                    360:        cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                    361:        dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX,
                    362:        hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
1.1       millert   363:        indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7,
1.11      millert   364:        smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd,
1.1       millert   365:
                    366: #### ANSI/ECMA-48 terminals and terminal emulators
                    367: #
                    368: # See near the end of this file for details on ANSI conformance.
                    369: # Don't mess with these entries!  Lots of other entries depend on them!
                    370: #
                    371: # This section lists entries in a least-capable to most-capable order.
                    372: # if you're in doubt about what `ANSI' matches yours, try them in that
                    373: # order and back off from the first that breaks.
                    374:
                    375: ansi-mini|any ansi terminal with pessimistic assumptions,
                    376:        OTbs, am,
                    377:        cols#80, it#8, lines#24,
1.11      millert   378:        clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                    379:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                    380:        ht=^I,
1.1       millert   381:
                    382: # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
                    383: #
                    384: # The following is an entry for the full ANSI 3.64 (1977).  It lacks
                    385: # padding, but most terminals using the standard are "fast" enough
                    386: # not to require any -- even at 9600 bps.  If you encounter problems,
                    387: # try including the padding specifications.
                    388: #
                    389: # Note: the :as: and :ae: specifications are not implemented here, for
                    390: # the available termcap documentation does not make clear WHICH alternate
                    391: # character set to specify.  ANSI 3.64 seems to make allowances for several.
                    392: # Please make the appropriate adjustments to fit your needs -- that is
                    393: # if you will be using alternate character sets.
                    394: #
                    395: # There are very few terminals running the full ANSI 3.64 standard,
                    396: # so I could only test this entry on one verified terminal (Visual 102).
                    397: # I would appreciate the results on other terminals sent to me.
                    398: #
                    399: # Please report comments, changes, and problems to:
                    400: #
                    401: # U.S. MAIL:   Hugh Hansard
                    402: #              Box: 22830
                    403: #              Emory University
                    404: #              Atlanta, GA. 30322.
                    405: #
                    406: # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
                    407: #
                    408: ansi77|ansi 3.64 standard 1977 version,
1.11      millert   409:        OTbs, am, mir,
1.1       millert   410:        cols#80, it#8, lines#24,
                    411:        bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                    412:        cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    413:        cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K,
                    414:        home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H,
                    415:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                    416:        kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, ri=\EM,
                    417:        rmir=\E[4l, rmso=\E[m, rmul=\E[m, smir=\E[4h, smso=\E[7m,
                    418:        smul=\E[4m,
                    419:
                    420: # Procomm and some other ANSI emulations don't recognize all of the ANSI-
                    421: # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and
                    422: # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>,
                    423: # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to
                    424: # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
                    425: # to confuse many emulators.  On the other hand, we can count on these programs
                    426: # doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured
                    427: # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
                    428: # ANSI.SYS influence.
                    429: # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
                    430: pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode),
1.11      millert   431:        OTbs, am, mir, msgr,
1.1       millert   432:        cols#80, it#8, lines#24,
1.11      millert   433:        bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D,
                    434:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                    435:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                    436:        hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                    437:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g,
                    438:        use=klone+sgr-dumb,
                    439: pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode),
                    440:        lines#25, use=pcansi-m,
                    441: pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode),
                    442:        lines#33, use=pcansi-m,
                    443: pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode),
                    444:        lines#43, use=pcansi-m,
1.1       millert   445: # The color versions.  All PC emulators do color...
                    446: pcansi|ibm-pc terminal programs claiming to be ansi,
1.11      millert   447:        use=klone+color, use=pcansi-m,
                    448: pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines,
                    449:        lines#25, use=pcansi,
                    450: pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines,
                    451:        lines#33, use=pcansi,
                    452: pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines,
                    453:        lines#43, use=pcansi,
1.1       millert   454:
                    455: # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
                    456: # If you want pound signs rather than dollars, replace `B' with `A'
                    457: # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
                    458: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
1.11      millert   459: ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes,
                    460:        mc5i,
                    461:        cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
                    462:        cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM,
                    463:        ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I,
                    464:        ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H,
                    465:        kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    466:        kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S,
                    467:        rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B,
                    468:        s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g,
                    469:        vpa=\E[%i%p1%dd, use=pcansi-m,
1.1       millert   470:
                    471: # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
                    472: # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
                    473: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
1.11      millert   474: ansi|ansi/pc-term compatible with color,
                    475:        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c,
                    476:        u9=\E[c,
                    477:        use=ecma+color, use=klone+sgr, use=ansi-m,
                    478:
                    479: #### DOS ANSI.SYS variants
                    480: #
                    481: # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
                    482: # documentation (except for the keyboard key reassignment feature, which
                    483: # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
                    484: # though undocumented.  The <pfkey> capability is untested but should work for
                    485: # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
                    486: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
                    487: ansi.sys-old|ANSI.SYS under PC-DOS 2.1,
                    488:        OTbs, am, mir, msgr, xon,
                    489:        cols#80, lines#25,
                    490:        clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
                    491:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H,
                    492:        is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                    493:        khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u,
                    494:        rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR,
                    495:        u7=\E[6n,
                    496:        use=klone+color, use=klone+sgr,
                    497: ansi.sys|ANSI.SYS 3.1 and later versions,
                    498:        el=\E[K, use=ansi.sys-old,
                    499:
                    500: #
                    501: # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
                    502: # This should only be used when the terminal emulator cannot redefine the keys.
                    503: # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
                    504: # definitions must be restored.  If the terminal emulator is quit while in vi
                    505: # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
                    506: # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
                    507: # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
                    508: # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
                    509: # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
                    510: # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
                    511: # Consequently the End keypad key could not be set (it is relatively safe and
                    512: # actually useful because it sends ^@ O, which beeps and opens a line above).
                    513: ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi,
                    514:        is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
                    515:        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,
                    516:        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,
                    517:        use=ansi.sys,
                    518: #
                    519: # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
                    520: nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS,
                    521:        dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
                    522:        is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys,
                    523: #
                    524: # See ansi.sysk and nansi.sys above.
                    525: nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi,
                    526:        dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
                    527:        is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
                    528:        use=ansi.sysk,
                    529:
                    530: #### ANSI console types
                    531: #
                    532:
                    533: #### BeOS
                    534: #
                    535: # BeOS entry for Terminal program Seems to be almost ANSI
                    536: beterm|BeOS Terminal,
                    537:        am, eo, mir, msgr, xenl, xon,
                    538:        colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64,
                    539:        bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                    540:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                    541:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                    542:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                    543:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                    544:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H,
                    545:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    546:        kdch1=\E[3~, kend=\E[4~, kf1=\E[11~, kf10=\E[20~,
                    547:        kf11=\E[21~, kf12=\E[22~, kf2=\E[12~, kf3=\E[13~,
                    548:        kf4=\E[14~, kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~,
                    549:        kf9=\E[19~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                    550:        kspd=^Z, nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM,
                    551:        rmir=\E[4l, rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7,
                    552:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                    553:        setb=\E[%p1%{40}%+%cm, setf=\E[%p1%{30}%+%cm,
                    554:        sgr0=\E[0;10m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                    555:        u6=\E[%i%p1%d;%p2%dR, u7=\E[6n, vpa=\E[%i%p1%dd,
1.1       millert   556:
                    557: #### Linux consoles
                    558: #
                    559:
                    560: # This entry is good for the 1.2.13 or later version of the Linux console.
                    561: #
                    562: # ***************************************************************************
                    563: # *                                                                         *
                    564: # *                           WARNING:                                      *
                    565: # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
                    566: # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
                    567: # * character. Here are the keymap replacement lines that will set this up: *
                    568: # *                                                                         *
                    569: #      keycode  15 = Tab             Tab
                    570: #              alt     keycode  15 = Meta_Tab
                    571: #              shift   keycode  15 = F26
                    572: #      string F26 ="\033[Z"
                    573: # *                                                                         *
                    574: # * This has to use a key slot which is unfortunate (any unused one will    *
                    575: # * do, F26 is the higher-numbered one).  The change ought to be built      *
                    576: # * into the kernel tables.                                                 *
                    577: # *                                                                         *
                    578: # ***************************************************************************
                    579: #
                    580: # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
                    581: # and it matters, turn off <ccc>.  The %02x escape used to implement this is
                    582: # not back-portable to SV curses and not supported in ncurses versions before
                    583: # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
                    584: # themselves; this entry assumes that capability.
                    585: #
1.11      millert   586: # The 2.2.x kernels add a private mode that sets the cursor type; use that to
                    587: # get a block cursor for cvvis.
                    588: # reported by Frank Heckenbach <frank@g-n-u.de>.
1.1       millert   589: linux|linux console,
                    590:        am, bce, eo, mir, msgr, xenl, xon,
1.11      millert   591:        it#8, ncv#18,
1.1       millert   592:        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   593:        bel=^G, civis=\E[?25l\E[?1c, clear=\E[H\E[J,
                    594:        cnorm=\E[?25h\E[?0c, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                    595:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    596:        cuu1=\E[A, cvvis=\E[?25h\E[?8c, dch=\E[%p1%dP, dch1=\E[P,
                    597:        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J,
                    598:        el=\E[K, el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H,
                    599:        hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                    600:        il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177,
                    601:        kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    602:        kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
                    603:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                    604:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                    605:        kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
                    606:        kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
1.1       millert   607:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
                    608:        nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m,
                    609:        rmul=\E[24m, rs1=\Ec\E]R, sc=\E7,
                    610:        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,
                    611:        smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR,
                    612:        u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,
                    613:        use=klone+sgr, use=ecma+color,
1.11      millert   614: linux-m|Linux console no color,
                    615:        colors@, pairs@,
                    616:        setab@, setaf@, setb@, setf@, use=linux,
                    617: linux-c-nc|linux console 1.3.x hack for ncurses only,
1.1       millert   618:        ccc,
1.11      millert   619:        initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,
                    620:        oc=\E]R,
                    621:        use=linux,
1.1       millert   622: # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
1.11      millert   623: linux-c|linux console 1.3.6+ with private palette for each virtual console,
                    624:        ccc,
                    625:        colors#8, pairs#64,
                    626:        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%;,
                    627:        oc=\E]R,
                    628:        use=linux,
1.1       millert   629:
                    630: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
1.11      millert   631: linux-nic|linux with ich/ich1 suppressed for non-curses programs,
                    632:        ich@, ich1@,
                    633:        use=linux,
1.1       millert   634:
                    635: # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
                    636: # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
1.11      millert   637: linux-koi8|linux with koi8 alternate character set,
1.1       millert   638:        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   639:        use=linux, use=klone+koi8acs,
1.1       millert   640:
                    641: # Another entry for KOI8-r with Qing Long's acsc.
                    642: # (which one better complies with the standard?)
                    643: linux-koi8r|linux with koi8-r alternate character set,
1.11      millert   644:        kbs=^H, kcub1=^H, kcud1=^J,
1.1       millert   645:        use=linux, use=klone+koi8acs,
                    646:
1.11      millert   647: # From:  Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
                    648: mach|Mach Console,
                    649:        am, km,
                    650:        cols#80, it#8, lines#25,
                    651:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
                    652:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                    653:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    654:        cuu=\E[%p1%dA, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                    655:        el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J,
                    656:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    657:        kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ,
                    658:        kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
                    659:        kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U,
                    660:        kpp=\E[V, rev=\E[7m, rmso=\E[0m, rmul=\E[24m, sgr0=\E[0m,
                    661:        smso=\E[7m, smul=\E[4m,
                    662: mach-bold|Mach Console with bold instead of underline,
                    663:        rmul=\E[0m, smul=\E[1m,
                    664:        use=mach,
                    665: mach-color|Mach Console with ANSI color,
                    666:        colors#8, pairs#64,
                    667:        dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m,
                    668:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                    669:        use=mach,
                    670:
                    671: # Entry for the latin1 and latin2 fonts
                    672: linux-lat|linux with latin1 or latin2 alternate character set,
                    673:        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,
                    674:        use=linux,
                    675:
                    676: # SCO console and SOS-Syscons console for 386bsd
                    677: # (scoansi: had unknown capabilities
                    678: #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
                    679: #      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
                    680: #      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
                    681: #      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
                    682: #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
                    683: # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
                    684: # on the <smacs>=\E[12m  -- esr)
1.1       millert   685: #
1.11      millert   686: # klone+sgr-dumb is an error since the acsc does not match -TD
1.1       millert   687: #
1.11      millert   688: # In this description based on SCO's keyboard(HW) manpage list of default function key
                    689: # values:
                    690: #      F13-F24 are shifted F1-F12
                    691: #      F25-F36 are control F1-F12
                    692: #      F37-F48 are shift+control F1-F12
                    693: scoansi|SCO Extended ANSI standard crt,
                    694:        OTbs, am, eo, xon,
                    695:        colors#8, cols#80, it#8, lines#25, pairs#64,
                    696:        acsc=0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`ja0fxgqh2jYk?lZm@nEqDtCu4vAwBx3~y,
                    697:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J,
                    698:        cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    699:        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                    700:        ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, invis=\E[8m, kbeg=\E[E,
                    701:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                    702:        kcuu1=\E[A, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W,
                    703:        kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c,
                    704:        kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g,
                    705:        kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l,
                    706:        kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p,
                    707:        kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u,
                    708:        kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P,
                    709:        kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[],
                    710:        kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q,
                    711:        kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
                    712:        kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[37;40m, rev=\E[7m,
                    713:        ri=\E[T, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
                    714:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                    715:        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,
                    716:        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
1.1       millert   717:
1.11      millert   718: # This actually describes the generic SVr4 display driver for Intel boxes.
                    719: # The <dim=\E[2m> isn't documented and therefore may not be reliable.
                    720: # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
                    721: att6386|at386|386at|AT&T WGS 6386 console,
                    722:        am, bw, eo, xon,
                    723:        cols#80, it#8, lines#25,
                    724:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                    725:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C,
                    726:        clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD,
                    727:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
1.1       millert   728:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
1.11      millert   729:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                    730:        dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
                    731:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                    732:        ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,
                    733:        indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H,
                    734:        kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    735:        kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ,
                    736:        kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
                    737:        kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@,
                    738:        knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m,
                    739:        ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
                    740:        sc=\E7,
                    741:        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,
                    742:        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
                    743:        tbc=\E[2g, vpa=\E[%i%p1%dd,
                    744:        use=klone+color,
                    745: # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
                    746: pc6300plus|AT&T 6300 plus,
                    747:        OTbs, am, xon,
                    748:        cols#80, lines#24,
                    749:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C,
                    750:        clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B,
                    751:        cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
                    752:        dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K,
                    753:        home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J,
                    754:        invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                    755:        kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe,
                    756:        kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk,
                    757:        nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
1.1       millert   758:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                    759:
1.11      millert   760: # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
1.1       millert   761: #
1.11      millert   762: # I have a UNIX PC which I use as a terminal attached to my Linux PC.
                    763: # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
                    764: # is broken. All the special key sequences are broken, making it unusable
                    765: # with Emacs. The problem stems from the following:
                    766: #
                    767: # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
                    768: # keypad!), loadable fonts, and strange highlighting modes ("dithered"
                    769: # half-intensity, "smeared" bold, and real strike-out, for example.) It also
                    770: # uses resizable terminal windows, but the bundled terminal program always
                    771: # uses an 80x24 window (and doesn't support seem to support a 132-column
                    772: # mode.)
                    773: #
                    774: # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
                    775: # library which was a superset of SVr3.5 curses (called tam, for "terminal
                    776: # access method".) tam includes support for real, overlapping windows,
                    777: # onscreen function key labels, and bitmap graphics. But since the primary
                    778: # user interface on the UNIX PC was a GUI program (ua, for "user
                    779: # assistant",) and remote administration was considered important for the
                    780: # machine, tam also supported VT100-compatible terminals attached to the
                    781: # serial port or used across the StarLan network. To simulate the extra keys
                    782: # not present on a VT100, users could press ESC and a two-letter sequence,
                    783: # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
                    784: # however, were not the same as those sent by the actual Undo key. The
                    785: # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
                    786: # (If you're interested in adding some of the tam calls to ncurses, btw, I
                    787: # have the full documentation and several programs which use tam. It also
                    788: # used an extended terminfo format to describe key sequences, special
                    789: # highlighting modes, etc.)
                    790: #
                    791: # KEYS: This means that ncurses would quite painful on the UNIX PC, since
                    792: # there are two sequences for every key-modifier combination (local keyboard
                    793: # sequence and remote "VT100" sequence.) But I doubt many people are trying
                    794: # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
                    795: # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
                    796: # seem to have been built from the manual describing the VT100 sequences.
                    797: # This means it doesn't work for a real live UNIX PC.
                    798: #
                    799: # FONTS: The UNIX PC also has a strange interpretation of "alternate
                    800: # character set". Rather than the VT100 graphics you might expect, it allows
                    801: # up to 8 custom fonts to be loaded at any given time. This means that
                    802: # programs expecting VT100 graphics will usually be disappointed. For this
                    803: # reason I have disabled the smacs/rmacs sequences, but they could easily be
                    804: # re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
                    805: # manpage), should you wish to do so:
                    806: #
                    807: # SGR10 - Select font 0 - ESC [ 10 m or SO
                    808: # SGR11 - Select font 1 - ESC [ 11 m or SI
                    809: # SGR12 - Select font 2 - ESC [ 12 m
                    810: # ... (etc.)
                    811: # SGR17 - Select font 7 - ESC [ 17 m
                    812: #
                    813: # Graphics for line drawing are not reliably found at *any* character
                    814: # location because the UNIX PC has dynamically reloadable fonts. I use font
                    815: # 0 for regular text and font 1 for italics, but this is by no means
                    816: # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
                    817: #
                    818: # MISC: The cursor visible/cursor invisible sequences were swapped in the
                    819: # distributed terminfo.
                    820: #
                    821: # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
                    822: # the UNIX PC terminfo entry. The modified version works great with Lynx,
                    823: # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
                    824: # attached by serial cable. In Emacs, even the Undo key works, and many
                    825: # applications can now use the F1-F8 keys.
                    826: #
                    827: # esr's notes:
                    828: #      Terminfo entry for the AT&T Unix PC 7300
                    829: #      from escape(7) in Unix PC 7300 Manual.
                    830: #      Somewhat similar to a vt100-am (but different enough
                    831: #      to redo this from scratch.)
                    832: #
                    833: #      /***************************************************************
                    834: #      *
                    835: #      *           FONT LOADING PROGRAM FOR THE UNIX PC
                    836: #      *
                    837: #      *     This routine loads a font defined in the file ALTFONT
                    838: #      *     into font memory slot #1.  Once the font has been loaded,
                    839: #      *     it can be used as an alternative character set.
                    840: #      *
                    841: #      *     The call to ioctl with the argument WIOCLFONT is the key
                    842: #      *     to this routine.  For more information, see window(7) in
                    843: #      *     the PC 7300 documentation.
                    844: #      ***************************************************************/
                    845: #      #include <string.h>             /* needed for strcpy call */
                    846: #      #include <sys/window.h>         /* needed for ioctl call */
                    847: #      #define FNSIZE  60              /* font name size */
                    848: #      #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
                    849: #      /*
                    850: #      *     The file /usr/lib/wfont/special.8.ft comes with the
                    851: #      *     standard PC software.  It defines a graphics character set
                    852: #      *     similar to that of the Teletype 5425 terminal.  To view
                    853: #      *     this or other fonts in /usr/lib/wfont, use the command
                    854: #      *     cfont <filename>.  For further information on fonts see
                    855: #      *     cfont(1) in the PC 7300 documentation.
                    856: #      */
                    857: #
                    858: #      struct altfdata         /* structure for alt font data */
                    859: #      {
                    860: #      short   altf_slot;              /* memory slot number */
                    861: #      char    altf_name[FNSIZE];      /* font name (file name) */
                    862: #      };
                    863: #      ldfont()
                    864: #      {
                    865: #              int wd;         /* window in which altfont will be */
                    866: #              struct altfdata altf;
                    867: #              altf.altf_slot=1;
                    868: #              strcpy(altf.altf_name,ALTFONT);
                    869: #              for (wd =1; wd < 12; wd++) {
                    870: #                   ioctl(wd, WIOCLFONT,&altf);
                    871: #              }
                    872: #      }
                    873: #
                    874: # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
                    875: # they're confirmed by the man page for the System V display---esr)
                    876: #
                    877: att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300,
                    878:        am, xon,
                    879:        cols#80, it#8, lines#24,
                    880:        bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C,
                    881:        clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD,
                    882:        cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                    883:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                    884:        cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
                    885:        ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL,
                    886:        il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB,
                    887:        kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE,
                    888:        kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM,
                    889:        kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR,
                    890:        kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO,
                    891:        kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z,
                    892:        kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
                    893:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf,
                    894:        ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd,
                    895:        kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                    896:        kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B,
                    897:        kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv,
                    898:        kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt,
                    899:        kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB,
                    900:        ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM,
                    901:        rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m,
                    902:        smul=\E[4m,
                    903:
                    904: # Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
                    905: # from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
                    906: # for the application keypad mode.  We have added iris-ansi-ap rather than
                    907: # change the original to keypad mode.
                    908: #
                    909: # (iris-ansi: added rmam/smam based on init string -- esr)
                    910: #
                    911: # This entry, and those derived from it, is used in xwsh (also known as
                    912: # winterm).  Some capabilities that do not fit into the terminfo model
                    913: # include the shift- and control-functionkeys:
                    914: #
                    915: # F1-F12 generate different codes when shift or control modifiers are used.
                    916: # For example:
                    917: #      F1              \E[001q
                    918: #      shift F1        \E[013q
                    919: #      control-F1      \E[025q
                    920: #
                    921: # In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
                    922: # \EOP to \EOS.  The shifted and control modifiers still do the same thing.
                    923: #
                    924: # The cursor keys also have different codes:
                    925: #      control-up      \E[162q
                    926: #      control-down    \E[165q
                    927: #      control-left    \E[159q
                    928: #      control-right   \E[168q
                    929: #
                    930: #      shift-up        \E[161q
                    931: #      shift-down      \E[164q
                    932: #      shift-left      \E[158q
                    933: #      shift-right     \E[167q
                    934: #
                    935: #      control-tab     \[072q
                    936: #
                    937: iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100),
                    938:        am,
                    939:        cols#80, it#8, lines#40,
                    940:        bel=^G, bold=\E[1m, clear=\E[H\E[2J,
                    941:        cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD,
                    942:        cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
                    943:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                    944:        cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h,
                    945:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                    946:        home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                    947:        is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P,
                    948:        kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q,
                    949:        kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
                    950:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
                    951:        kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\E[010q,
                    952:        kf11=\E[011q, kf12=\E[012q, kf2=\E[002q, kf3=\E[003q,
                    953:        kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
                    954:        kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
                    955:        knp=\E[154q, kpp=\E[150q, kprt=\E[209q, krmir=\E[146q,
                    956:        kspd=\E[217q, nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\,
                    957:        rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
                    958:        sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m,
                    959:        tbc=\E[3g,
                    960: iris-ansi-ap|IRIS ANSI in application-keypad mode,
                    961:        is2=\E[?1l\E=\E[?7h, kent=\EOM, kf10=\E[010q,
                    962:        kf11=\E[011q, kf12=\E[012q, kf9=\E[009q,
                    963:        use=iris-ansi,
                    964:
                    965: # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
                    966: # (T.Dickey 98/1/24)
                    967: iris-color|xwsh|IRIX ANSI with color,
                    968:        ncv#33,
                    969:        csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m,
                    970:        ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m,
                    971:        rmul=\E[24m, rs1=\Ec,
                    972:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                    973:        sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
                    974:        use=klone+color, use=iris-ansi-ap,
                    975:
                    976: # The following is a version of the ibm-pc entry distributed with PC/IX,
                    977: # (Interactive Systems' System 3 for the Big Blue), modified by Richard
                    978: # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
                    979: # (the former is untrue, and the latter failed under UCB/man); standout and
                    980: # underline modes have been added.  Note: this entry describes the "native"
                    981: # capabilities of the PC monochrome display, without ANY emulation; most
                    982: # communications packages (but NOT PC/IX connect) do some kind of emulation.
                    983: pcix|PC/IX console,
                    984:        am, bw, eo,
                    985:        cols#80, lines#24,
                    986:        clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
                    987:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                    988:        home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m,
                    989:        smul=\E[4m,
                    990:
                    991: # (ibmpcx: this entry used to be known as ibmx.
                    992: # It formerly included the following extension capabilities:
                    993: #      :GC=b:GL=v:GR=t:RT=^J:\
                    994: #      :GH=\E[196g:GV=\E[179g:\
                    995: #      :GU=\E[193g:GD=\E[194g:\
                    996: #      :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
                    997: #      :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
                    998: #      :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
                    999: # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
                   1000: # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
                   1001: # what was there before. -- esr)
                   1002: ibmpcx|xenix|ibmx|IBM PC xenix console display,
                   1003:        OTbs, am, msgr,
                   1004:        cols#80, lines#25,
                   1005:        clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1006:        cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   1007:        ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H,
                   1008:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d,
                   1009:        kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e,
                   1010:        kpp=\E[Z,
                   1011:        use=klone+acs, use=klone+sgr,
                   1012:
                   1013:
                   1014: # QNX 4.0 Console
                   1015: # Michael's original version of this entry had <am@>, <smcup=\Ei>,
                   1016: # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
                   1017: # right corner without triggering a scroll.  The ncurses terminfo library can
                   1018: # handle this case with the <ich1> capability, and prefers <am> for better
                   1019: # optimization.  Bug: The <op> capability resets attributes.
                   1020: # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
                   1021: # (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
                   1022: qnx|qnx4|qnx console,
                   1023:        daisy, km, mir, msgr, xhpa, xt,
                   1024:        colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8,
                   1025:        acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263,
                   1026:        bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ,
                   1027:        cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   1028:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ey2,
                   1029:        dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee,
                   1030:        il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263,
                   1031:        kCMD=\377\267, kCPY=\377\363, kCRT=\377\364,
                   1032:        kDL=\377\366, kEND=\377\301, kEOL=\377\311,
                   1033:        kEXT=\377\367, kFND=\377\370, kHLP=\377\371,
                   1034:        kHOM=\377\260, kIC=\377\340, kLFT=\377\264,
                   1035:        kMOV=\377\306, kMSG=\377\304, kNXT=\377\272,
                   1036:        kOPT=\377\372, kPRT=\377\275, kPRV=\377\262,
                   1037:        kRDO=\377\315, kRES=\377\374, kRIT=\377\266,
                   1038:        kRPL=\377\373, kSAV=\377\307, kSPD=\377\303,
                   1039:        kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0,
                   1040:        kclo=\377\343, kclr=\377\341, kcmd=\377\245,
                   1041:        kcpy=\377\265, kcrt=\377\305, kctab=\377\237,
                   1042:        kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246,
                   1043:        kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274,
                   1044:        ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320,
                   1045:        kext=\377\270, kf1=\377\201, kf10=\377\212,
                   1046:        kf11=\377\256, kf12=\377\257, kf13=\377\213,
                   1047:        kf14=\377\214, kf15=\377\215, kf16=\377\216,
                   1048:        kf17=\377\217, kf18=\377\220, kf19=\377\221,
                   1049:        kf2=\377\202, kf20=\377\222, kf21=\377\223,
                   1050:        kf22=\377\224, kf23=\377\333, kf24=\377\334,
                   1051:        kf25=\377\225, kf26=\377\226, kf27=\377\227,
                   1052:        kf28=\377\230, kf29=\377\231, kf3=\377\203,
                   1053:        kf30=\377\232, kf31=\377\233, kf32=\377\234,
                   1054:        kf33=\377\235, kf34=\377\236, kf35=\377\276,
                   1055:        kf36=\377\277, kf37=\377\321, kf38=\377\322,
                   1056:        kf39=\377\323, kf4=\377\204, kf40=\377\324,
                   1057:        kf41=\377\325, kf42=\377\326, kf43=\377\327,
                   1058:        kf44=\377\330, kf45=\377\331, kf46=\377\332,
                   1059:        kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206,
                   1060:        kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346,
                   1061:        khlp=\377\350, khome=\377\240, khts=\377\342,
                   1062:        kich1=\377\253, kil1=\377\273, kind=\377\261,
                   1063:        kmov=\377\351, kmrk=\377\355, kmsg=\377\345,
                   1064:        knp=\377\252, knxt=\377\312, kopn=\377\357,
                   1065:        kopt=\377\353, kpp=\377\242, kprt=\377\255,
                   1066:        kprv=\377\302, krdo=\377\336, kref=\377\354,
                   1067:        kres=\377\360, krfr=\377\347, kri=\377\271,
                   1068:        krmir=\377\313, krpl=\377\362, krst=\377\352,
                   1069:        ksav=\377\361, kslt=\377\247, kspd=\377\335,
                   1070:        ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER,
                   1071:        rep=\Eg%p2%{32}%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER,
                   1072:        rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d,
                   1073:        setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei,
                   1074:        smso=\E(, smul=\E[,
                   1075:
                   1076: # From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
                   1077: # (esr: commented out <scp> and <rmcup> to avoid warnings.)
                   1078: # (TD: derive from original qnx4 entry)
                   1079: qnxt2|qnx 2.15 serial terminal,
                   1080:        am,
                   1081:        civis@, cnorm@, cvvis@, dch1@, ich1@, kRES@, kRPL@, kUND@, kspd@,
                   1082:        rep@, rmcup@, rmso=\E>, setb@, setf@, smcup@, smso=\E<,
                   1083:        use=qnx4,
                   1084:
                   1085: #### NetBSD consoles
                   1086: #
                   1087: # pcvt termcap database entries (corresponding to release 3.31)
                   1088: # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
                   1089: #
                   1090: # (For the terminfo master file, I translated these into terminfo syntax.
                   1091: # Then I dropped all the pseudo-HP entries. we don't want and can't use
                   1092: # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
                   1093: # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
                   1094:
                   1095: # NOTE: <ich1> has been taken out of this entry. for reference, it should
                   1096: # be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
                   1097: # (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
                   1098: pcvtXX|pcvt vt200 emulator (DEC VT220),
                   1099:        am, km, mir, msgr, xenl,
                   1100:        it#8, vt#3,
                   1101:        acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~,
                   1102:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1103:        clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
                   1104:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1105:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   1106:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1107:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   1108:        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   1109:        il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS,
                   1110:        is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177,
                   1111:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1112:        kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
                   1113:        kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
                   1114:        khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,
                   1115:        nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100,
                   1116:        ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
                   1117:        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
                   1118:        rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1119:        sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                   1120:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1121:
                   1122: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                   1123: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
                   1124: #      50 lines entries; 80 columns
                   1125: pcvt25|dec vt220 emulation with 25 lines,
                   1126:        cols#80, lines#25,
                   1127:        is2=\E[1;25r\E[25;1H, use=pcvtXX,
                   1128: pcvt28|dec vt220 emulation with 28 lines,
                   1129:        cols#80, lines#28,
                   1130:        is2=\E[1;28r\E[28;1H, use=pcvtXX,
                   1131: pcvt35|dec vt220 emulation with 35 lines,
                   1132:        cols#80, lines#35,
                   1133:        is2=\E[1;35r\E[35;1H, use=pcvtXX,
                   1134: pcvt40|dec vt220 emulation with 40 lines,
                   1135:        cols#80, lines#40,
                   1136:        is2=\E[1;40r\E[40;1H, use=pcvtXX,
                   1137: pcvt43|dec vt220 emulation with 43 lines,
                   1138:        cols#80, lines#43,
                   1139:        is2=\E[1;43r\E[43;1H, use=pcvtXX,
                   1140: pcvt50|dec vt220 emulation with 50 lines,
                   1141:        cols#80, lines#50,
                   1142:        is2=\E[1;50r\E[50;1H, use=pcvtXX,
                   1143:
                   1144: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                   1145: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
                   1146: #      50 lines entries; 132 columns
                   1147: pcvt25w|dec vt220 emulation with 25 lines and 132 cols,
                   1148:        cols#132, lines#25,
                   1149:        is2=\E[1;25r\E[25;1H, use=pcvtXX,
                   1150: pcvt28w|dec vt220 emulation with 28 lines and 132 cols,
                   1151:        cols#132, lines#28,
                   1152:        is2=\E[1;28r\E[28;1H, use=pcvtXX,
                   1153: pcvt35w|dec vt220 emulation with 35 lines and 132 cols,
                   1154:        cols#132, lines#35,
                   1155:        is2=\E[1;35r\E[35;1H, use=pcvtXX,
                   1156: pcvt40w|dec vt220 emulation with 40 lines and 132 cols,
                   1157:        cols#132, lines#40,
                   1158:        is2=\E[1;40r\E[40;1H, use=pcvtXX,
                   1159: pcvt43w|dec vt220 emulation with 43 lines and 132 cols,
                   1160:        cols#132, lines#43,
                   1161:        is2=\E[1;43r\E[43;1H, use=pcvtXX,
                   1162: pcvt50w|dec vt220 emulation with 50 lines and 132 cols,
                   1163:        cols#132, lines#50,
                   1164:        is2=\E[1;50r\E[50;1H, use=pcvtXX,
                   1165:
                   1166: # Terminfo entries to enable the use of the ncurses library in colour on a
                   1167: # NetBSD-arm32 console (only tested on a RiscPC).
                   1168: # Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
                   1169: # modified codes for setf/setb to setaf/setab, then to klone+color, corrected
                   1170: # typo in invis - TD
                   1171: arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480),
                   1172:        am, bce, msgr, xenl, xon,
                   1173:        cols#80, it#8, lines#30,
                   1174:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1175:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1176:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1177:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1178:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   1179:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   1180:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   1181:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J,
                   1182:        invis=\E[8m$<2>, ka1=\E[q, ka3=\E[s, kb2=\E[r, kbs=^H,
                   1183:        kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   1184:        kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x,
                   1185:        kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v,
                   1186:        kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[6m$<2>, ri=\EM$<5>,
                   1187:        rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
                   1188:        rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   1189:        sc=\E7,
                   1190:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   1191:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   1192:        smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   1193:        use=ecma+sgr, use=klone+color,
                   1194:
                   1195: arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768),
                   1196:        cols#132, lines#50, use=arm100,
                   1197:
                   1198: # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
                   1199: # manufactured by Sharp for the Japenese market.
                   1200: # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
                   1201: x68k|x68k-ite|NetBSD/x68k ITE,
                   1202:        cols#96, lines#32,
                   1203:        kclr=\E[9~, khlp=\E[28~, use=vt220,
                   1204:
                   1205: # <tv@pobox.com>:
                   1206: # Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
                   1207: #
                   1208: # (still unfinished, but good enough so far.)
                   1209: ofcons,
                   1210:        bw,
                   1211:        cols#80, lines#30,
                   1212:        bel=^G, blink=\2337;2m, bold=\2331m, clear=^L, cr=^M,
                   1213:        cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
                   1214:        cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
                   1215:        cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
                   1216:        dim=\2332m, dl=\233%p1%dM, dl1=\233M, ed=\233J, el=\233K,
                   1217:        flash=^G, ht=^I, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL,
                   1218:        il1=\233L, ind=^J, invis=\2338m, kbs=^H, kcub1=\233D,
                   1219:        kcud1=\233B, kcuf1=\233C, kcuu1=\233A, kdch1=\233P,
                   1220:        kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W,
                   1221:        kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r,
                   1222:        kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m,
                   1223:        rmso=\2330m, rmul=\2330m, sgr0=\2330m,
                   1224:
                   1225: # NetBSD "wscons" emulator in vt220 mode
                   1226: # These are micro-minimal and probably need to be redone for real
                   1227: # after the manner of the pcvt entries.
                   1228: wsvt25|NetBSD wscons in 25 line DEC VT220 mode,
                   1229:        cols#80, lines#25, use=vt220,
                   1230:
                   1231: wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta,
                   1232:        km,
                   1233:        cols#80, lines#25, use=vt220,
                   1234:
                   1235: # `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and
                   1236: # DECstation/pmax.
                   1237: rcons|BSD rasterconsole,
                   1238:        use=sun-il,
                   1239: # Color version of above. Color currenly only provided by NetBSD.
                   1240: rcons-color|BSD rasterconsole with ANSI color,
                   1241:        bce,
                   1242:        colors#8, pairs#64,
                   1243:        op=\E[m, setab=\E[4%dm, setaf=\E[3%dm, use=rcons,
                   1244:
                   1245: #### FreeBSD console entries
                   1246: #
                   1247: # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
                   1248: # Andrey Chernov maintains the FreeBSD termcap distributions.
1.1       millert  1249: #
                   1250: # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
                   1251: # or comment out the :cb: capability in the console entry.
                   1252: #
                   1253: # Alexander Lukyanov reports:
                   1254: # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
                   1255: # Now el1 clears not only to the line beginning, but also a large chunk
                   1256: # of previous line. But there is another bug - ech does not work at all.
                   1257: #
                   1258:
                   1259: # for syscons
                   1260: # common entry without semigraphics
                   1261: # Bug: The <op> capability resets attributes.
                   1262: # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
                   1263: # instance el1 does if the cursor is moved to the right margin first.  Removed
                   1264: # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
                   1265: #
                   1266: # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
                   1267: # Note that this disables standout with color.
                   1268: cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),
                   1269:        am, bce, bw, eo, msgr, npc,
1.11      millert  1270:        colors#8, cols#80, it#8, lines#25, ncv#21, pairs#64,
1.1       millert  1271:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
1.11      millert  1272:        cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB,
                   1273:        cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   1274:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1275:        cvvis=\E[=1C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m,
                   1276:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   1277:        hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   1278:        il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, kb2=\E[E,
                   1279:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   1280:        kcuu1=\E[A, kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V,
                   1281:        kf11=\E[W, kf12=\E[X, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q,
                   1282:        kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
                   1283:        kich1=\E[L, knp=\E[G, kpp=\E[I, nel=\E[E, op=\E[x, rev=\E[7m,
                   1284:        ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, rs1=\E[x\E[m\Ec,
                   1285:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m,
                   1286:        smso=\E[7m, vpa=\E[%i%p1%dd,
1.1       millert  1287: cons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
                   1288:        acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371,
                   1289:        use=cons25w,
                   1290: cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),
                   1291:        colors@, pairs@,
                   1292:        bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25,
                   1293: cons30|ansi80x30|freebsd console (30-line ansi mode),
                   1294:        lines#30, use=cons25,
                   1295: cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode),
                   1296:        lines#30, use=cons25-m,
                   1297: cons43|ansi80x43|freebsd console (43-line ansi mode),
                   1298:        lines#43, use=cons25,
                   1299: cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode),
                   1300:        lines#43, use=cons25-m,
                   1301: cons50|ansil|ansi80x50|freebsd console (50-line ansi mode),
                   1302:        lines#50, use=cons25,
                   1303: cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode),
                   1304:        lines#50, use=cons25-m,
                   1305: cons60|ansi80x60|freebsd console (60-line ansi mode),
                   1306:        lines#60, use=cons25,
                   1307: cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode),
                   1308:        lines#60, use=cons25-m,
                   1309: cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic,
                   1310:        acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225,
                   1311:        use=cons25w,
                   1312: cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono),
                   1313:        colors@, pairs@,
                   1314:        op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r,
                   1315: cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines),
                   1316:        lines#50, use=cons25r,
                   1317: cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono),
                   1318:        lines#50, use=cons25r-m,
                   1319: cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines),
                   1320:        lines#60, use=cons25r,
                   1321: cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono),
                   1322:        lines#60, use=cons25r-m,
                   1323: # ISO 8859-1 FreeBSD console
                   1324: cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars,
                   1325:        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,
                   1326:        use=cons25w,
                   1327: cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono),
                   1328:        colors@, pairs@,
                   1329:        bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25l1,
                   1330: cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines),
                   1331:        lines#50, use=cons25l1,
                   1332: cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono),
                   1333:        lines#50, use=cons25l1-m,
                   1334: cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines),
                   1335:        lines#60, use=cons25l1,
                   1336: cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono),
                   1337:        lines#60, use=cons25l1-m,
                   1338:
                   1339: #### 386BSD and BSD/OS Consoles
                   1340: #
                   1341:
                   1342: # This was the original 386BSD console entry (I think).
                   1343: # Some places it's named oldpc3|oldibmpc3.
                   1344: # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
                   1345: origpc3|origibmpc3|IBM PC 386BSD Console,
1.11      millert  1346:        OTbs, am, bw, eo, xon,
1.1       millert  1347:        cols#80, lines#25,
1.11      millert  1348:        acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
1.1       millert  1349:        bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
1.11      millert  1350:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   1351:        home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   1352:        kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x,
                   1353:        rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x,
                   1354:        smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x,
1.1       millert  1355:
                   1356: # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
                   1357: oldpc3|oldibmpc3|old IBM PC BSD/386 Console,
1.11      millert  1358:        OTbs, km,
1.1       millert  1359:        lines#25,
1.11      millert  1360:        bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M,
                   1361:        ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   1362:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F,
                   1363:        knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R,
1.1       millert  1364:
                   1365: # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
                   1366: # Note, the emulator supports many of the additional console features
                   1367: # listed in the iBCS2 (e.g. character-set selection) though not all
                   1368: # are described here.  This entry really ought to be upgraded.
                   1369: # Also note, the console will also work with fewer lines after doing
                   1370: # "stty rows NN", e.g. to use 24 lines.
                   1371: # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
                   1372: # Bug: The <op> capability resets attributes.
1.11      millert  1373: bsdos-pc-nobold|BSD/OS PC console w/o bold,
                   1374:        OTbs, am, eo, km, xon,
                   1375:        cols#80, it#8, lines#25,
                   1376:        bel=^G, clear=\Ec, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   1377:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1378:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1379:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
1.1       millert  1380:        il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D,
1.11      millert  1381:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L,
                   1382:        kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7,
                   1383:        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%;,
                   1384:        use=klone+sgr, use=klone+color,
                   1385: bsdos-pc|IBM PC BSD/OS Console,
                   1386:        sgr=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, use=bsdos-pc-nobold,
                   1387:
                   1388: # Old names for BSD/OS PC console used in releases before 4.1.
                   1389: pc3|BSD/OS on the PC Console,
                   1390:        use=bsdos-pc-nobold,
                   1391: ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline,
                   1392:        use=bsdos-pc,
                   1393:
                   1394: # BSD/OS on the SPARC
                   1395: bsdos-sparc|Sun SPARC BSD/OS Console,
                   1396:        use=sun,
                   1397:
                   1398: # BSD/OS on the PowerPC
                   1399: bsdos-ppc|PowerPC BSD/OS Console,
                   1400:        use=bsdos-pc,
1.1       millert  1401:
                   1402: #### DEC VT100 and compatibles
                   1403: #
1.11      millert  1404: # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
                   1405: # the basis of some emulations) are collected here. Older DEC terminals and
                   1406: # micro consoles can be found in the `obsolete' section.  More details on
1.1       millert  1407: # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
                   1408: # found near the end of this file.
                   1409: #
                   1410: # Except where noted, these entries are DEC's official terminfos.
                   1411: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   1412: # Engineering for more information.  Updated terminfos and termcaps
                   1413: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   1414: #
                   1415: # In October 1995 DEC sold its terminals business, including the VT and Dorio
                   1416: # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
                   1417: # its name to Boundless Technologies; see http://www.boundless.com.
                   1418: #
                   1419:
1.11      millert  1420: # (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
                   1421: vt52|dec vt52,
                   1422:        OTbs,
                   1423:        cols#80, it#8, lines#24,
                   1424:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1425:        bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
                   1426:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   1427:        el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
                   1428:        kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
                   1429:
1.1       millert  1430: # NOTE:  Any VT100 emulation, whether in hardware or software, almost
                   1431: # certainly includes what DEC called the `Level 1 editing extension' codes;
                   1432: # only the very oldest VT100s lacked these and there probably aren't any of
                   1433: # those left alive.  To capture these, use one of the VT102 entries.
                   1434: #
                   1435: # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
                   1436: # since the cursor is left in a different position while in the
                   1437: # weird state (concept at beginning of next line, vt100 at end
                   1438: # of this line) so all versions of vi before 3.7 don't handle
                   1439: # <xenl> right on vt100. The correct way to handle <xenl> is when
                   1440: # you output the char in column 80, immediately output CR LF
                   1441: # and then assume you are in column 1 of the next line. If <xenl>
                   1442: # is on, am should be on too.
                   1443: #
                   1444: # I assume you have smooth scroll off or are at a slow enough baud
                   1445: # rate that it doesn't matter (1200? or less). Also this assumes
                   1446: # that you set auto-nl to "on", if you set it off use vt100-nam
                   1447: # below.
                   1448: #
                   1449: # The padding requirements listed here are guesses. It is strongly
                   1450: # recommended that xon/xoff be enabled, as this is assumed here.
                   1451: #
                   1452: # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the
                   1453: # tab settings are in non-volatile memory and don't need to be
                   1454: # reset upon login. Also setting the number of columns glitches
                   1455: # the screen annoyingly. You can type "reset" to get them set.
                   1456: #
                   1457: # Here's a diagram of the VT100 keypad keys with their bindings.
                   1458: # The top line is the name of the key (some DEC keyboards have the keys
                   1459: # labelled somewhat differently, like GOLD instead of PF1, but this is
                   1460: # the most "official" name).  The second line is the escape sequence it
                   1461: # generates in Application Keypad mode (where "$" means the ESC
                   1462: # character).  The third line contains two items, first the mapping of
                   1463: # the key in terminfo, and then in termcap.
                   1464: #   _______________________________________
                   1465: #  |   PF1   |   PF2   |   PF3   |   PF4   |
                   1466: #  |   $OP   |   $OQ   |   $OR   |   $OS   |
                   1467: #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
                   1468: #  |    7         8         9         -    |
                   1469: #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
                   1470: #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
                   1471: #  |    4    |    5    |    6    |    ,    |
                   1472: #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
                   1473: #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
                   1474: #  |    1    |    2    |    3    |         |
                   1475: #  |   $Oq   |   $Or   |   $Os   |  enter  |
                   1476: #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
                   1477: #  |         0         |   .     |         |
                   1478: #  |        $Op        |  $On    |         |
                   1479: #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
                   1480: #
                   1481: # And here, for those of you with orphaned VT100s lacking documentation, is
                   1482: # a description of the soft switches invoked when you do `Set Up'.
                   1483: #
                   1484: #  Scroll 0-Jump               Shifted 3   0-#
                   1485: #  |      1-Smooth             |           1-British pound sign
                   1486: #  | Autorepeat 0-Off          | Wrap Around 0-Off
                   1487: #  | |          1-On           | |           1-On
                   1488: #  | | Screen 0-Dark Bkg       | | New Line 0-Off
                   1489: #  | | |      1-Light Bkg      | | |        1-On
                   1490: #  | | | Cursor 0-Underline    | | | Interlace 0-Off
                   1491: #  | | | |      1-Block        | | | |         1-On
                   1492: #  | | | |                     | | | |
                   1493: #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
                   1494: #                | | | |                     | | | |
                   1495: #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
                   1496: #                | | |               1-On    | | |       1-50 Hz
                   1497: #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
                   1498: #                | |           1-ANSI        | |                1-8 Bits
                   1499: #                | Keyclick 0-Off            | Parity 0-Off
                   1500: #                |          1-On             |        1-On
                   1501: #                Margin Bell 0-Off           Parity Sense 0-Odd
                   1502: #                            1-On                         1-Even
                   1503: #
                   1504: # The following SET-UP modes are assumed for normal operation:
                   1505: #      ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
                   1506: #      WRAP_AROUND_ON  JUMP_SCROLL_OFF
                   1507: # Other SET-UP modes may be set for operator convenience or communication
                   1508: # requirements; I recommend
                   1509: #      AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
                   1510: # Unless you have a graphics add-on such as Digital Engineering's VT640
                   1511: # (and even then, whenever it can be arranged!) you should set
                   1512: #      INTERLACE_OFF
                   1513: #
                   1514: # (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
1.11      millert  1515: vt100|vt100-am|dec vt100 (w/advanced video),
1.1       millert  1516:        OTbs, am, msgr, xenl, xon,
1.11      millert  1517:        cols#80, it#8, lines#24, vt#3,
                   1518:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1519:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1520:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1521:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1522:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   1523:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   1524:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   1525:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq,
                   1526:        ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD,
                   1527:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy,
                   1528:        kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
                   1529:        kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   1530:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   1531:        rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   1532:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1533:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   1534:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   1535:        smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   1536: vt100nam|vt100-nam|vt100 no automargins,
                   1537:        am@, xenl@, use=vt100-am,
                   1538: vt100-vb|dec vt100 (w/advanced video) & no beep,
                   1539:        bel@, flash=\E[?5h\E[?5l, use=vt100,
1.1       millert  1540:
                   1541: # Ordinary vt100 in 132 column ("wide") mode.
1.11      millert  1542: vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
                   1543:        cols#132, lines#24,
                   1544:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am,
                   1545: vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin),
                   1546:        cols#132, lines#14, vt@,
                   1547:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam,
1.1       millert  1548:
                   1549: # vt100 with no advanced video.
1.11      millert  1550: vt100-nav|vt100 without advanced video option,
                   1551:        xmc#1,
                   1552:        blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m,
                   1553:        smul@,
                   1554:        use=vt100,
                   1555: vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option),
                   1556:        cols#132, lines#14, use=vt100-nav,
1.1       millert  1557:
                   1558: # vt100 with one of the 24 lines used as a status line.
                   1559: # We put the status line on the top.
1.11      millert  1560: vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline,
                   1561:        eslok, hs,
                   1562:        lines#23,
                   1563:        clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr,
                   1564:        cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8,
                   1565:        fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8,
                   1566:        tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am,
1.1       millert  1567:
                   1568: # Status line at bottom.
                   1569: # Clearing the screen will clobber status line.
1.11      millert  1570: vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline,
                   1571:        eslok, hs,
                   1572:        lines#23,
                   1573:        dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H,
                   1574:        tsl=\E7\E[24;%p1%dH\E[1K,
                   1575:        use=vt100-am,
1.1       millert  1576:
                   1577: # Most of the `vt100' emulators out there actually emulate a vt102
                   1578: # This entry (or vt102-nsgr) is probably the right thing to use for
                   1579: # these.
1.11      millert  1580: vt102|dec vt102,
                   1581:        mir,
                   1582:        dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100,
                   1583: vt102-w|dec vt102 in wide mode,
                   1584:        cols#132,
                   1585:        rs3=\E[?3h, use=vt102,
1.1       millert  1586:
                   1587: # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
                   1588: # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
                   1589: # string in the canonical vt100 entry above leaves the screen littered
                   1590: # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
                   1591: # after highlight turnoffs.  This entry should fix that, and even leave
                   1592: # ACS support working, at the cost of making multiple-highlight changes
                   1593: # slightly more expensive.
                   1594: # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1.11      millert  1595: vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes),
                   1596:        sgr@, sgr0=\E[m,
                   1597:        use=vt102,
1.1       millert  1598:
                   1599: # VT125 Graphics CRT.  Clear screen also erases graphics
1.11      millert  1600: vt125|vt125 graphics terminal,
1.1       millert  1601:        clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100,
                   1602:
                   1603: # This isn't a DEC entry, it came from University of Wisconsin.
                   1604: # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
                   1605: vt131|dec vt131,
                   1606:        OTbs, am, xenl,
                   1607:        cols#80, it#8, lines#24, vt#3,
                   1608:        bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
1.11      millert  1609:        clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1610:        cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   1611:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
                   1612:        ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
                   1613:        is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
                   1614:        kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   1615:        kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>,
                   1616:        rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>,
                   1617:        rmul=\E[m$<2/>,
1.1       millert  1618:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
1.11      millert  1619:        sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=,
1.1       millert  1620:        smso=\E[7m$<2/>, smul=\E[4m$<2/>,
                   1621:
                   1622: # vt132 - like vt100 but slower and has ins/del line and such.
                   1623: # I'm told that <smir>/<rmir> are backwards in the terminal from the
                   1624: # manual and from the ANSI standard, this describes the actual
                   1625: # terminal. I've never actually used a vt132 myself, so this
                   1626: # is untested.
                   1627: #
1.11      millert  1628: vt132|DEC vt132,
                   1629:        xenl,
                   1630:        dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
                   1631:        ip=$<7>, rmir=\E[4h, smir=\E[4l,
                   1632:        use=vt100,
1.1       millert  1633:
                   1634: # vt220:
                   1635: # This vt220 description maps F5--F9 to the second block of function keys
                   1636: # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
                   1637: # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
                   1638: # PF1--PF4 are used as F1--F4.
                   1639: #
1.11      millert  1640: vt220|vt200|DEC VT220 in vt100 emulation mode,
                   1641:        OTbs, OTpt, am, mir, xenl, xon,
                   1642:        cols#80, lines#24, vt#3,
                   1643:        OTnl=^J,
1.1       millert  1644:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.11      millert  1645:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l,
                   1646:        clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M,
                   1647:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1648:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1649:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   1650:        if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>,
1.12    ! millert  1651:        is2=\E[1;24r\E[24;1H, kbs=\177, kcub1=\EOD, kcud1=\EOB,
        !          1652:        kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\E[4~, kf1=\EOP,
1.11      millert  1653:        kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
                   1654:        kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~,
                   1655:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8,
                   1656:        rev=\E[7m$<2>, rf=/usr/share/tabset/vt100,
                   1657:        ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
                   1658:        rmso=\E[27m, rmul=\E[24m,
                   1659:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1660:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1661:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   1662:        smso=\E[7m, smul=\E[4m,
                   1663: vt220-w|vt200-w|DEC vt220 in wide mode,
                   1664:        cols#132,
                   1665:        rs3=\E[?3h, use=vt220,
1.1       millert  1666:
                   1667: #
                   1668: # vt220d:
                   1669: # This vt220 description regards F6--F10 as the second block of function keys
                   1670: # at the top of the keyboard.  This mapping follows the description given
                   1671: # in the VT220 Programmer Reference Manual and agrees with the labeling
                   1672: # on some terminals that emulate the vt220.  There is no support for an F5.
                   1673: # See vt220 for an alternate mapping.
                   1674: #
1.11      millert  1675: vt220d|DEC VT220 in vt100 mode with DEC function key labeling,
                   1676:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   1677:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   1678:        kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~,
                   1679:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1680:        use=vt220,
                   1681:
                   1682: vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins,
                   1683:        am@,
                   1684:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
1.1       millert  1685:
                   1686: # This is misnamed (see xterm-8bit for an example of 8-bit controls)
1.11      millert  1687: vt220-8|dec vt220 8 bit terminal,
                   1688:        OTbs, am, mc5i, mir, msgr, xenl, xon,
                   1689:        cols#80, it#8, lines#24,
                   1690:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1691:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   1692:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1693:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1694:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1695:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   1696:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
                   1697:        flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH,
                   1698:        ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
                   1699:        il=\E[%p1%dL, il1=\E[L, ind=\ED,
1.12    ! millert  1700:        is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=\177, kcub1=\EOD,
        !          1701:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf10=\E[21~,
1.11      millert  1702:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   1703:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
                   1704:        kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
                   1705:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   1706:        khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~,
                   1707:        kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i,
                   1708:        mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   1709:        rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m,
                   1710:        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
                   1711:        smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1.1       millert  1712:
                   1713: # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
                   1714: # (not an official DEC entry!)
                   1715: # The problem with real vt220 terminals is they don't send escapes when in
                   1716: # in vt220 mode.  This can be gotten around two ways.  1> don't send
                   1717: # escapes or 2> put the vt220 into vt100 mode and use all the nifty
                   1718: # features of vt100 advanced video which it then has.
                   1719: #
                   1720: # This entry takes the view of putting a vt220 into vt100 mode so
                   1721: # you can use the escape key in emacs and everything else which needs it.
                   1722: #
                   1723: # You probably don't want to use this on a VMS machine since VMS will think
                   1724: # it has a vt220 and will get fouled up coming out of emacs
                   1725: #
                   1726: # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
                   1727: vt200-js|vt220-js|dec vt200 series with jump scroll,
                   1728:        am,
                   1729:        cols#80,
1.11      millert  1730:        bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1731:        cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   1732:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
1.1       millert  1733:        il1=\E[L, ind=\ED,
                   1734:        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.12    ! millert  1735:        kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1.11      millert  1736:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED,
                   1737:        rf=/usr/lib/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l,
                   1738:        rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m,
                   1739:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smdc=,
                   1740:        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m,
1.1       millert  1741:
                   1742: # This was DEC's vt320.  Use the purpose-built one below instead
                   1743: #vt320|DEC VT320 in vt100 emulation mode,
                   1744: #      use=vt220,
                   1745:
                   1746: #
                   1747: # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
                   1748: #
1.11      millert  1749: vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode,
                   1750:        am@,
                   1751:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
1.1       millert  1752:
                   1753: # These entries are not DEC's official ones, they were purpose-built for the
                   1754: # VT320.  Here are the designer's notes:
                   1755: # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
                   1756: # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
                   1757: # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
                   1758: # Things that use <knxt> usually use tab anyways... and things that don't use
                   1759: # tab usually use <knxt> instead...
                   1760: # kprv is same as tab - Backtab is useless...
                   1761: # I left out <sgr> because of its RIDICULOUS complexity,
                   1762: # and the resulting fact that it causes the termcap translation of the entry
                   1763: # to SMASH the 1k-barrier...
                   1764: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   1765: # (vt320: uncommented <fsl> --esr)
1.11      millert  1766: vt320|vt300|dec vt320 7 bit terminal,
                   1767:        am, eslok, hs, mir, msgr, xenl,
                   1768:        cols#80, lines#24, wsl#80,
                   1769:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1770:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1771:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   1772:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1773:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1774:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1775:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   1776:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$},
                   1777:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
                   1778:        il1=\E[L, ind=\ED,
                   1779:        is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1780:        ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs,
                   1781:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1782:        kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
                   1783:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   1784:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   1785:        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
                   1786:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1787:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~,
                   1788:        kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i,
                   1789:        nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300,
                   1790:        ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
                   1791:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   1792:        rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1793:        sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                   1794:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1795:        tsl=\E[1$}\E[H\E[K,
                   1796: vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy,
                   1797:        am@,
                   1798:        is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1799:        rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1800:        use=vt320,
1.1       millert  1801: # We have to init 132-col mode, not 80-col mode.
1.11      millert  1802: vt320-w|vt300-w|dec vt320 wide 7 bit terminal,
                   1803:        cols#132, wsl#132,
                   1804:        is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1805:        rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1806:        use=vt320,
                   1807: vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am,
                   1808:        am@,
                   1809:        is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1810:        rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1811:        use=vt320-w,
1.1       millert  1812:
                   1813: # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
                   1814: #   which are pretty much a superset of the VT320.  They have the
                   1815: #   host writable status line, yet another different DRCS matrix size,
                   1816: #   and such, but they add the DEC Technical character set, Multiple text
                   1817: #   pages, selectable length pages, and the like.  The difference between
                   1818: #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
                   1819: #   monitor, the former has 4 planes and a color monitor.  These terminals
                   1820: #   support VT131 and ANSI block mode, but as with much of these things,
                   1821: #   termcap/terminfo doesn't deal with these features.
                   1822: #
                   1823: # Note that this entry is are set up in what was the standard way for GNU
                   1824: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1825: # keys were switched into application mode at the same time the numeric pad
                   1826: # is switched into application mode.  This changes the definitions of the
                   1827: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1828: # your termcap or terminfo entry,
                   1829: #
                   1830: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1831: # (vt340: string capability "sb=\E[M" corrected to "sr";
                   1832: # also, added <rmam>/<smam> based on the init string -- esr)
                   1833: vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page,
                   1834:        am, eslok, hs, mir, msgr, xenl, xon,
                   1835:        cols#80, it#8, lines#24, vt#3,
1.11      millert  1836:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1837:        blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
                   1838:        cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1839:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1840:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   1841:        cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP,
                   1842:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
1.1       millert  1843:        dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
1.11      millert  1844:        flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I,
                   1845:        hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
1.1       millert  1846:        is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1.12    ! millert  1847:        kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1.11      millert  1848:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   1849:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
                   1850:        lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
                   1851:        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O,
                   1852:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
                   1853:        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
                   1854:        smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
                   1855:        smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
1.1       millert  1856:
                   1857: # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
                   1858: # (originally written with vt420 as its primary name, and usable for it).
                   1859: #
                   1860: # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
                   1861: #    text pages and long text pages with selectable length of the vt340, along
                   1862: #    with left and right margins, rectangular area text copy, fill, and erase
                   1863: #    operations, selected region character attribute change operations,
                   1864: #    page memory and rectangle checksums, insert/delete column, reception
                   1865: #    macros, and other features too numerous to remember right now.  TERMCAP
                   1866: #    can only take advantage of a few of these added features.
                   1867: #
                   1868: # Note that this entry is are set up in what was the standard way for GNU
                   1869: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1870: # keys were switched into application mode at the same time the numeric pad
                   1871: # is switched into application mode.  This changes the definitions of the
                   1872: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1873: # your termcap entry,
                   1874: #
                   1875: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1876: # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
                   1877: # also, added <rmam>/<smam> based on the init string -- esr)
                   1878: vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap,
                   1879:        am, eslok, hs, mir, msgr, xenl, xon,
                   1880:        cols#80, it#8, lines#24, vt#3,
1.11      millert  1881:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  1882:        blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1883:        clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M,
                   1884:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1885:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1886:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1.11      millert  1887:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   1888:        dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>,
1.1       millert  1889:        el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
1.11      millert  1890:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   1891:        il=\E[%p1%dL, il1=\E[L, ind=\ED,
1.1       millert  1892:        is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1.12    ! millert  1893:        kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1.11      millert  1894:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   1895:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
                   1896:        lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
                   1897:        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O,
                   1898:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
                   1899:        rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m,
                   1900:        smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   1901:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1.1       millert  1902:        tsl=\E[2$~\E[1$}\E[1;%dH,
                   1903:
                   1904: # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
                   1905: # a missing <sc> -- esr)
1.11      millert  1906: vt420|DEC VT420,
                   1907:        am, mir, xenl, xon,
                   1908:        cols#80, lines#24, vt#3,
                   1909:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1910:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1911:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1912:        cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1913:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1914:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   1915:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
1.12    ! millert  1916:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=\177,
1.11      millert  1917:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   1918:        kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
                   1919:        kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
                   1920:        kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   1921:        kslt=\E[4~, rc=\E8, rev=\E[7m$<2>,
                   1922:        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>,
                   1923:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
                   1924:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   1925:        rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
                   1926:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1927:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   1928:        smkx=\E=, smso=\E[7m, smul=\E[4m,
1.1       millert  1929:
                   1930: #
                   1931: # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
                   1932: # takes two parameters, the key and the string.  Translating the key is
                   1933: # straightforward (keys 1-5 are not defined on real terminals, though some
                   1934: # emulators define these):
                   1935: #
                   1936: #               if (key < 16) then  value = key;
                   1937: #               else if (key < 21) then value = key + 1;
                   1938: #               else if (key < 25) then value = key + 2;
                   1939: #               else if (key < 27) then value = key + 3;
                   1940: #               else if (key < 30) then value = key + 4;
                   1941: #               else value = key + 5;
                   1942: #
                   1943: # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT".
                   1944: # There's no provision in terminfo for emitting a string in this format, so the
                   1945: # application has to know it.
                   1946: #
1.11      millert  1947: vt420pc|DEC VT420 w/PC keyboard,
                   1948:        kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~,
                   1949:        kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~,
                   1950:        kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~,
                   1951:        kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~,
                   1952:        kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~,
                   1953:        kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~,
                   1954:        kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~,
                   1955:        kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~,
                   1956:        kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~,
                   1957:        kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~,
                   1958:        kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~,
                   1959:        kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~,
                   1960:        kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
                   1961:        kf8=\E[19~, kf9=\E[20~, khome=\E[H,
                   1962:        pctrm=USR_TERM\:vt420pcdos\:,
                   1963:        pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, use=vt420,
                   1964:
                   1965: vt420pcdos|DEC VT420 w/PC for DOS Merge,
                   1966:        lines#25,
                   1967:        dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;,
                   1968:        pctrm@,
                   1969:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@,
                   1970:        sgr0=\E[m, smsc=\E[?1;2r\E[34h,
                   1971:        use=vt420pc,
                   1972:
                   1973: vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys,
                   1974:        kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
                   1975:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   1976:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   1977:        kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
                   1978:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1979:        khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS,
                   1980:        use=vt420,
                   1981:
                   1982: vt510|DEC VT510,
                   1983:        use=vt420,
                   1984: vt510pc|DEC VT510 w/PC keyboard,
                   1985:        use=vt420pc,
                   1986: vt510pcdos|DEC VT510 w/PC for DOS Merge,
                   1987:        use=vt420pcdos,
1.1       millert  1988:
                   1989: # VT520/VT525
                   1990: #
                   1991: # The VT520 is a monochrome text terminal capable of managing up to
                   1992: # four independent sessions in the terminal.  It has multiple ANSI
                   1993: # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
                   1994: # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
                   1995: # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
                   1996: #
                   1997: # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
                   1998: # [Alt]/[Print Screen] depending upon which keyboard and which
                   1999: # terminal mode is being used.  If Set-Up has been disabled or
                   2000: # assigned to an unknown key, Set-Up may be entered by pressing
                   2001: # [F3] as the first key after power up, regardless of keyboard type.
                   2002: # (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
1.11      millert  2003: vt520|DEC VT520,
                   2004:        am, mir, xenl, xon,
                   2005:        cols#80, lines#24, vt#3,
                   2006:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2007:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   2008:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   2009:        cub1=^H, cud1=\E[B, cuf1=\E[C,
                   2010:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   2011:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   2012:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
1.12    ! millert  2013:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=\177,
1.11      millert  2014:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   2015:        kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ,
                   2016:        kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~,
                   2017:        kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
                   2018:        kpp=\E[5~, kslt=\E[4~,
                   2019:        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\\,
                   2020:        rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
                   2021:        ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
                   2022:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   2023:        rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
                   2024:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   2025:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   2026:        smso=\E[7m, smul=\E[4m,
1.1       millert  2027:
                   2028: # (vt525: I added <rmam>/<smam> based on the init string;
                   2029: # removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
1.11      millert  2030: vt525|DEC VT525,
                   2031:        am, mir, xenl, xon,
                   2032:        cols#80, lines#24, vt#3,
                   2033:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2034:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   2035:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   2036:        cub1=^H, cud1=\E[B, cuf1=\E[C,
                   2037:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   2038:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   2039:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
1.12    ! millert  2040:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=\177,
1.11      millert  2041:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   2042:        kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ,
                   2043:        kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~,
                   2044:        kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
                   2045:        kpp=\E[5~, kslt=\E[4~,
                   2046:        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\\,
                   2047:        rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
                   2048:        ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
                   2049:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   2050:        rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
                   2051:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   2052:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   2053:        smso=\E[7m, smul=\E[4m,
1.1       millert  2054:
                   2055: #### VT100 emulations
                   2056: #
                   2057:
                   2058: # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
                   2059: # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
                   2060: # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
                   2061: # that this works best with a stock vt100 entry.
1.11      millert  2062: dec-vt100|EWAN telnet's vt100 emulation,
                   2063:        use=vt100,
1.1       millert  2064:
                   2065: # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
1.11      millert  2066: dec-vt220|DOS tnvt200 terminal emulator,
                   2067:        am@, use=vt220,
1.1       millert  2068:
                   2069: # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
                   2070: # anyone who needs PC VT340 emulation. (or anything below that level, for
                   2071: # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
                   2072: # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
                   2073: # I can send the address if requested.
                   2074: # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
                   2075: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1.11      millert  2076: z340|zstem vt340 terminal emulator 132col 42line,
                   2077:        lines#42,
                   2078:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
                   2079:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
                   2080:        use=vt320-w,
                   2081: z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins),
                   2082:        am@,
                   2083:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
                   2084:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
                   2085:        use=z340,
                   2086:
                   2087: # CRT is shareware.  It implements some xterm features, including mouse.
                   2088: crt|crt-vt220|CRT 2.3 emulating VT220,
                   2089:        bce, msgr,
                   2090:        colors#8, pairs#64,
                   2091:        hts=\EH, op=\E[39;49m, setab=\E[4%p1%dm,
                   2092:        setaf=\E[3%p1%dm, setb=\E[4%p1%dm, setf=\E[3%p1%dm,
                   2093:        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
                   2094:        use=vt220,
                   2095:
                   2096: # This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
                   2097: # T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
                   2098: # (communication program) which supports:
                   2099: #
                   2100: #      - Serial port connections.
                   2101: #      - TCP/IP (telnet) connections.
                   2102: #      - VT100 emulation, and selected VT200/300 emulation.
                   2103: #      - TEK4010 emulation.
                   2104: #      - File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
                   2105: #        Quick-VAN).
                   2106: #      - Scripts using the "Tera Term Language".
                   2107: #      - Japanese and Russian character sets.
                   2108: #
                   2109: # The program does not come with terminfo or termcap entries.  However, the
                   2110: # emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
                   2111: # vt52 or doublesize character support; blinking is done with color).  Besides
                   2112: # the HPA, VPA extensions it also implements CPL and CNL.
                   2113: #
                   2114: # All of the function keys can be remapped.  This description shows the default
                   2115: # mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
                   2116: # are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
                   2117: # is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
                   2118: #      kfnd    Insert
                   2119: #      kslt    Delete
                   2120: #      kich1   Home
                   2121: #      kdch1   PageUp
                   2122: #      kpp     End
                   2123: #      knp     PageDown
                   2124: #
                   2125: # ANSI colors are implemented, but cannot be combined with video attributes
                   2126: # except for reverse.
                   2127: #
                   2128: # No fonts are supplied with the program, so the acsc string is chosen to
                   2129: # correspond with the default Microsoft terminal font.
                   2130: #
                   2131: # Tera Term recognizes some xterm sequences, including those for setting and
                   2132: # retrieving the window title, and for setting the window size (i.e., using
                   2133: # "resize -s"), though it does not pass SIGWINCH to the application if the
                   2134: # user resizes the window with the mouse.
                   2135: teraterm|Tera Term Pro,
                   2136:        km, xon@,
                   2137:        ncv#43, vt@,
                   2138:        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,
                   2139:        blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
                   2140:        cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   2141:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   2142:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
                   2143:        flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG,
                   2144:        il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~,
                   2145:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   2146:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   2147:        kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~,
                   2148:        kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
                   2149:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
                   2150:        kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM,
                   2151:        rmso=\E[27m, rmul=\E[24m, sgr0=\E[m, smso=\E[7m,
                   2152:        smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
                   2153:        vpa=\E[%i%p1%dd,
                   2154:        use=klone+color, use=vt100,
                   2155:
                   2156: # Tested with WinNT 4.0, the telnet application assumes the screensize is
                   2157: # 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
                   2158: ms-vt100|MS telnet imitating dec vt100,
                   2159:        lines#25,
                   2160:        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,
                   2161:        tbc@, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c,
                   2162:        use=vt100,
1.1       millert  2163:
                   2164: #### X terminal emulators
                   2165: #
                   2166: # You can add the following line to your .Xdefaults to change the terminal type
                   2167: # set by the xterms you start up to my-xterm:
                   2168: #
                   2169: # *termName:  my-xterm
                   2170: #
                   2171: # System administrators can change the default entry for xterm instances
                   2172: # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
                   2173: # case, xterm will detect and reject an invalid terminal type, falling back
                   2174: # to the default of xterm.
                   2175: #
                   2176:
                   2177: # X10/6.6      11/7/86, minus alternate screen, plus (csr)
                   2178: # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
                   2179: # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
                   2180: # as these seem not to work -- esr)
                   2181: x10term|vs100-x10|xterm terminal emulator (X10 window system),
                   2182:        OTbs, am, km, mir, msgr, xenl, xon,
                   2183:        cols#80, it#8, lines#65,
                   2184:        bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
                   2185:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   2186:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   2187:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
                   2188:        il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H,
                   2189:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   2190:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l,
                   2191:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   2192:        sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   2193:        smso=\E[7m, smul=\E[4m,
                   2194: # Compatible with the R5 xterm
                   2195: # (from the XFree86 3.2 distribution, <blink=@> removed)
1.11      millert  2196: # added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
                   2197: # corrected typos in rs2 string - TD
                   2198: # added u6-u9 -TD
1.1       millert  2199: xterm-r5|xterm R5 version,
                   2200:        OTbs, am, km, msgr, xenl,
                   2201:        cols#80, it#8, lines#24,
                   2202:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   2203:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2204:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2205:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2206:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2207:        el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   2208:        il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
                   2209:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
1.11      millert  2210:        kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~,
                   2211:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
                   2212:        kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
                   2213:        kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
                   2214:        kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8,
                   2215:        rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
                   2216:        rmul=\E[m,
                   2217:        rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H,
                   2218:        sc=\E7,
1.1       millert  2219:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
1.11      millert  2220:        sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
                   2221:        smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
                   2222:        u8=\E[?1;2c, u9=\E[c,
1.1       millert  2223: # Compatible with the R6 xterm
                   2224: # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
1.11      millert  2225: # added khome/kend, hts based on the R6 xterm code - TD
1.1       millert  2226: xterm-r6|xterm-old|xterm X11R6 version,
                   2227:        OTbs, am, km, mir, msgr, xenl,
                   2228:        cols#80, it#8, lines#24,
1.11      millert  2229:        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  2230:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   2231:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2232:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2233:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2234:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
1.11      millert  2235:        el=\E[K, enacs=\E)0, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
1.1       millert  2236:        il1=\E[L, ind=^J,
                   2237:        is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H,
                   2238:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1.11      millert  2239:        kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
1.8       millert  2240:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   2241:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
1.11      millert  2242:        kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
                   2243:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   2244:        kfnd=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
                   2245:        kslt=\E[4~, meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM,
                   2246:        rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
                   2247:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
1.9       millert  2248:        rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,
1.1       millert  2249:        sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
                   2250:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1.11      millert  2251:        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
1.1       millert  2252: # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
                   2253: # The name has been changed and some aliases have been removed.
                   2254: xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
                   2255:        OTbs, am, bce, km, mir, msgr, xenl,
                   2256:        colors#8, cols#80, it#8, lines#24, pairs#64,
1.11      millert  2257:        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  2258:        bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   2259:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   2260:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2261:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2262:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2263:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   2264:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
                   2265:        enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H,
                   2266:        hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   2267:        il=\E[%p1%dL, il1=\E[L, ind=^J,
                   2268:        is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
                   2269:        ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq,
                   2270:        kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   2271:        kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~,
                   2272:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   2273:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   2274:        kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
                   2275:        kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
                   2276:        kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~,
                   2277:        kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El,
                   2278:        memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
                   2279:        rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
                   2280:        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=^O,
                   2281:        rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,
                   2282:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                   2283:        setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   2284:        setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   2285:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   2286:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
                   2287:        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
1.11      millert  2288:        tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
                   2289:        vpa=\E[%i%p1%dd,
1.1       millert  2290:
                   2291: # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
                   2292: # codes for F1-F4 except while in VT220 mode.
                   2293: xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System),
                   2294:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   2295:        use=xterm-xf86-v32,
                   2296:
1.11      millert  2297: # This version was released in XFree86 3.3.3 (November 1998).
1.1       millert  2298: # Besides providing printer support, it exploits a new feature that allows
                   2299: # xterm to use terminfo-based descriptions with the titeInhibit resource.
1.11      millert  2300: xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System),
1.1       millert  2301:        mc5i,
1.11      millert  2302:        blink=\E[5m, ich1@, invis=\E[8m,
                   2303:        is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kend=\E[4~,
                   2304:        kfnd@, khome=\E[1~, kslt@, mc0=\E[i, mc4=\E[4i, mc5=\E[5i,
                   2305:        rmcup=\E[?1047l\E[?1048l, rs1=\Ec,
                   2306:        rs2=\E[!p\E[?3;4l\E[4l\E>,
                   2307:        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%;,
                   2308:        smcup=\E[?1048h\E[?1047h,
1.1       millert  2309:        use=xterm-xf86-v33,
                   2310:
1.11      millert  2311: # This beta version will probably be released in XFree86 4.0.
                   2312: xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System),
                   2313:        kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~,
                   2314:        kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C, ka1@,
                   2315:        ka3@, kb2=\EOE, kc1@, kc3@, kdch1=\177, kend=\EOF, kf13=\EO2P,
                   2316:        kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S, kf17=\E[15;2~,
                   2317:        kf18=\E[17;2~, kf19=\E[18;2~, kf20=\E[19;2~,
                   2318:        kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~,
                   2319:        kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q, kf27=\EO5R,
                   2320:        kf28=\EO5S, kf29=\E[15;5~, kf30=\E[17;5~, kf31=\E[18;5~,
                   2321:        kf32=\E[19;5~, kf33=\E[20;5~, kf34=\E[21;5~,
                   2322:        kf35=\E[23;5~, kf36=\E[24;5~, kf37=\EO6P, kf38=\EO6Q,
                   2323:        kf39=\EO6R, kf40=\EO6S, kf41=\E[15;6~, kf42=\E[17;6~,
                   2324:        kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
                   2325:        kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~, khome=\EOH,
                   2326:        rmcup=\E[?1049l, smcup=\E[?1049h,
                   2327:        use=xterm-xf86-v333,
                   2328:
                   2329: xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System),
                   2330:        use=xterm-xf86-v40,
                   2331:
1.1       millert  2332: # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
1.11      millert  2333: xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1,
                   2334:        rmso=\E[m, rmul=\E[m,
1.1       millert  2335:        use=xterm-xf86-v33,
                   2336:
1.11      millert  2337: # This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
1.1       millert  2338: xterm-16color|xterm with 16 colors like aixterm,
                   2339:        colors#16, ncv#32, pairs#256,
1.11      millert  2340:        setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
                   2341:        setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
1.1       millert  2342:        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,
                   2343:        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,
                   2344:        use=xterm-xf86-v40,
                   2345:
1.11      millert  2346: # These variants of XFree86 3.9.16 xterm are built as a configure option.
                   2347: xterm-256color|xterm with 256 colors,
                   2348:        ccc,
                   2349:        colors#256, ncv#32, pairs#256,
                   2350:        initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
                   2351:        setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm,
                   2352:        setb=\E[48;5;%p1%dm, setf=\E[38;5;%p1%dm,
                   2353:        use=xterm-xfree86,
                   2354: xterm-88color|xterm with 88 colors,
                   2355:        colors#88, pairs#88, use=xterm-256color,
                   2356:
1.1       millert  2357: # This is another variant, for XFree86 4.0 xterm (T.Dickey)
                   2358: # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
                   2359: # To use it, your decTerminalID resource must be set to 200 or above.
                   2360: #
                   2361: #      HTS     \E H    \210
                   2362: #      RI      \E M    \215
                   2363: #      SS3     \E O    \217
                   2364: #      CSI     \E [    \233
                   2365: #
                   2366: xterm-8bit|xterm terminal emulator 8-bit controls (X Window System),
                   2367:        OTbs, am, bce, km, mc5i, mir, msgr, xenl,
                   2368:        colors#8, cols#80, it#8, lines#24, pairs#64,
1.11      millert  2369:        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2370:        bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z,
                   2371:        civis=\233?25l, clear=\233H\2332J, cnorm=\233?25h, cr=^M,
1.1       millert  2372:        csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H,
                   2373:        cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C,
                   2374:        cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A,
                   2375:        cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P,
                   2376:        dl=\233%p1%dM, dl1=\233M, ech=\233%p1%dX, ed=\233J,
                   2377:        el=\233K, el1=\2331K, enacs=\E(B\E)0,
                   2378:        flash=\233?5h\233?5l, home=\233H, hpa=\233%i%p1%dG,
1.11      millert  2379:        ht=^I, hts=\210, ich=\233%p1%d@, il=\233%p1%dL, il1=\233L,
                   2380:        ind=^J, invis=\2338m,
1.1       millert  2381:        is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
                   2382:        ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H,
                   2383:        kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B,
1.11      millert  2384:        kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~,
1.1       millert  2385:        kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~,
                   2386:        kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
                   2387:        kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
                   2388:        kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~,
                   2389:        kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~,
1.11      millert  2390:        kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M,
                   2391:        knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i,
                   2392:        meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m,
                   2393:        ri=\215, rmacs=^O, rmam=\233?7l, rmcup=\233?1049l,
                   2394:        rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
                   2395:        rs1=\Ec,
1.1       millert  2396:        rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
                   2397:        sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm,
                   2398:        setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   2399:        setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
1.11      millert  2400:        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%;,
                   2401:        sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\233?1049h,
1.1       millert  2402:        smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m,
1.11      millert  2403:        tbc=\2333g, u6=\233[%i%d;%dR, u7=\E[6n, u8=\233[?1;2c,
                   2404:        u9=\E[c, vpa=\233%i%p1%dd,
                   2405:
                   2406: xterm-hp|XFree86 xterm with hpterm function keys,
                   2407:        kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   2408:        kdch1=\EP, kend=\EF, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es,
                   2409:        kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, kich1=\EQ,
                   2410:        knp=\ES, kpp=\ET,
                   2411:        use=xterm-xfree86,
                   2412:
                   2413: xterm-vt220|XFree86 xterm emulating vt220,
                   2414:        ka1=\EOw, ka3=\EOy, kbeg=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs,
                   2415:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   2416:        kdch1=\E[3~, kend=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
                   2417:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   2418:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   2419:        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
                   2420:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   2421:        khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
                   2422:        use=xterm-xfree86,
                   2423:
                   2424: xterm-vt52|XFree86 xterm emulating dec vt52,
                   2425:        cols#80, it#8, lines#24,
                   2426:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2427:        bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
                   2428:        cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, ed=\EJ, el=\EK,
                   2429:        home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
                   2430:        kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
                   2431:
                   2432: xterm-noapp|xterm with cursor keys in normal mode,
                   2433:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rmcup@,
                   2434:        rmkx=\E>, smcup@, smkx=\E=,
                   2435:        use=xterm,
                   2436:
                   2437: xterm-24|vs100|xterms|xterm terminal emulator (X Window System),
                   2438:        lines#24, use=xterm-r6,
1.1       millert  2439:
1.11      millert  2440: # This is xterm for ncurses.
                   2441: xterm|xterm terminal emulator (X Window System),
1.1       millert  2442:        use=xterm-r6,
1.11      millert  2443: #      use=xterm-xfree86,
1.1       millert  2444:
                   2445: # These entries allow access to the X titlebar and icon name as a status line.
                   2446: # Note that twm (and possibly window managers descended from it such as tvtwm,
                   2447: # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
                   2448: # with it.
                   2449: xterm+sl|access X title line and icon name,
                   2450:        hs,
                   2451:        wsl#40,
1.11      millert  2452:        dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm,
1.1       millert  2453: xterm+sl-twm|access X title line (pacify twm-descended window managers),
                   2454:        hs,
                   2455:        wsl#40,
1.11      millert  2456:        dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm,
1.1       millert  2457:
                   2458: #
                   2459: # The following xterm variants don't depend on your base version
                   2460: #
1.11      millert  2461: # xterm with bold instead of underline
1.1       millert  2462: xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
1.11      millert  2463:        smso=\E[7m, smul=\E[1m,
1.1       millert  2464:        use=xterm,
                   2465: # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
                   2466: # (kterm should not invoke DEC Graphics as the alternate character set
                   2467: #  -- Kenji Rikitake)
                   2468: kterm|kterm kanji terminal emulator (X window system),
                   2469:        eslok, hs,
                   2470:        acsc@, csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs@, fsl=\E[?F,
                   2471:        kmous=\E[M, op=\E[39;49m, rc=\E8, rmacs@, sc=\E7, smacs@,
                   2472:        tsl=\E[?E\E[?%i%dT,
                   2473:        use=xterm-r6, use=klone+color,
                   2474: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                   2475: xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
                   2476:        ich@, ich1@,
                   2477:        use=xterm,
                   2478: # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
                   2479: xterm1|xterm terminal emulator ignoring the alternate screen buffer,
                   2480:        rmcup@, smcup@,
                   2481:        use=xterm,
                   2482:
                   2483: # This describes the capabilities of color_xterm, an xterm variant from
                   2484: # before ECMA-64 color support was folded into the main-line xterm release.
                   2485: # This entry is straight from color_xterm's maintainer.
                   2486: # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
                   2487: # The README's with the distribution also say that it supports SGR 21, 24, 25
                   2488: # and 27, but they are not present in the terminfo or termcap.
                   2489: color_xterm|cx|cx100|color_xterm color terminal emulator for X,
                   2490:        OTbs, am, km, mir, msgr, xenl,
                   2491:        colors#8, cols#80, it#8, lines#65, pairs#64,
                   2492:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2493:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   2494:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2495:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2496:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2497:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2498:        el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I,
                   2499:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   2500:        is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy,
                   2501:        kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB,
                   2502:        kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~,
                   2503:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
                   2504:        kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
                   2505:        kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~,
                   2506:        kmous=\E[M, knp=\E[6~, kpp=\E[5~, op=\E[39;49m, rc=\E8,
                   2507:        rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l,
                   2508:        rmcup=\E>\E[?41;1r, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   2509:        rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
                   2510:        sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                   2511:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   2512:        sgr0=\E[m, smacs=^N, smam=\E[?7h,
                   2513:        smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m,
                   2514:        smul=\E[4m,
                   2515:
1.11      millert  2516: # The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
1.1       millert  2517: # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
                   2518: # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
                   2519: # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
                   2520: # that each of those implements the home, end, delete keys differently.
1.11      millert  2521: #
                   2522: # Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
                   2523: # colors; note that this is not compatible with the 5.2 version.
                   2524: nxterm|xterm-color|generic color xterm,
                   2525:        ncv@,
                   2526:        op=\E[m, use=xterm-r6, use=klone+color,
                   2527:
                   2528: # this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
                   2529: gnome|Gnome terminal,
                   2530:        bce,
                   2531:        kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=xterm-color,
                   2532:
                   2533: # This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
                   2534: # or not is debatable).
                   2535: kvt|KDE terminal,
                   2536:        bce, km@,
                   2537:        kdch1=\177, kend=\E[F, khome=\E[H, use=xterm-color,
1.1       millert  2538:
                   2539: # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
                   2540: # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
                   2541: # Notes:
                   2542: # rxvt 2.21b uses
                   2543: #      smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
                   2544: # but some applications don't work with that.
                   2545: # It also has an AIX extension
                   2546: #      box2=lqkxjmwuvtn,
                   2547: # and
                   2548: #      ech=\E[%p1%dX,
                   2549: # but the latter does not work correctly.
                   2550: #
1.11      millert  2551: # The distributed terminfo says it implements hpa and vpa, but they are not
                   2552: # implemented correctly, using relative rather than absolute positioning.
                   2553: #
1.1       millert  2554: # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
                   2555: # Since rxvt is not really compatible with xterm, it should be configured as
                   2556: # "rxvt" (monochrome) and "rxvt-color".
                   2557: rxvt-basic|rxvt terminal base (X Window System),
                   2558:        am, bce, eo, km, mir, msgr, xenl, xon,
                   2559:        cols#80, it#8, lines#24,
                   2560:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2561:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   2562:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   2563:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2564:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2565:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2566:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   2567:        dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
                   2568:        flash=\E[?5h\E[?5l, home=\E[H, ht=^I, hts=\EH,
                   2569:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   2570:        is1=\E[?47l\E=\E[?1l,
                   2571:        is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
                   2572:        kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$,
                   2573:        kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H,
                   2574:        kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
                   2575:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^,
                   2576:        kend=\E[8~, kent=\EOM, kf0=\E[21~, kf1=\E[11~, kf10=\E[21~,
                   2577:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   2578:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   2579:        kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
                   2580:        kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
                   2581:        kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~,
                   2582:        kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8,
1.11      millert  2583:        rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8,
                   2584:        rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
1.1       millert  2585:        rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
                   2586:        rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>,
                   2587:        s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N,
                   2588:        smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m,
                   2589:        smul=\E[4m, tbc=\E[3g,
                   2590: rxvt|rxvt terminal emulator (X Window System),
                   2591:        colors#8, pairs#64,
                   2592:        op=\E[39;49m, setab=\E[%p1%{40}%+%dm,
                   2593:        setaf=\E[%p1%{30}%+%dm, sgr0=\E[m\017, use=rxvt-basic,
                   2594:
1.11      millert  2595: # These (xtermc and xtermm) are distributed with Solaris.  They refer to a
                   2596: # variant of xterm which is apparently no longer supported, but are interesting
                   2597: # because they illustrate SVr4 curses mouse controls - T.Dickey
                   2598: xtermm|xterm terminal emulator (monocrome),
                   2599:        am, km, mir, msgr, xenl,
                   2600:        btns#3, cols#80, it#8, lines#24,
                   2601:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2602:        bel=^G, blink=@, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   2603:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D,
                   2604:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2605:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2606:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2607:        el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY,
                   2608:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   2609:        il=\E[%p1%dL, il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr,
                   2610:        kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
                   2611:        kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kent=\EOM, kf0=\EOy,
                   2612:        kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ,
                   2613:        kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
                   2614:        kf9=\EOX, khome=\E[H, kmous=\E[^_, knp=\E[U, kpp=\E[V,
                   2615:        rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM, rmacs=^O,
                   2616:        rmcup=\E@0\E[?4r, rmso=\E[m,
                   2617:        rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
                   2618:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   2619:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   2620:        sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1,
                   2621:        smso=\E[7m, tbc=\E[3g,
                   2622:
                   2623: xtermc|xterm terminal emulator (color),
                   2624:        colors#8, ncv#7, pairs#64,
                   2625:        op=\E[100m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                   2626:        setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   2627:        setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   2628:        use=xtermm,
                   2629:
1.1       millert  2630: # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
                   2631: # Here's a termcap entry I've been using for xterm_color, which comes
                   2632: # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
                   2633: # color stuff, I also have a status line defined as the window manager
                   2634: # title bar. [I have translated it to terminfo -- ESR]
                   2635: xterm-pcolor|xterm with color used for highlights and status line,
                   2636:        bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m,
                   2637:        smul=\E[4m\E[42m,
                   2638:        use=xterm+sl, use=xterm-r6,
                   2639:
                   2640: # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
                   2641: # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
                   2642: hpterm|X-hpterm|hp X11 terminal emulator,
                   2643:        am, da, db, mir, xhp,
                   2644:        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0,
                   2645:        acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M,
                   2646:        cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC,
                   2647:        cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK,
                   2648:        hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H,
                   2649:        kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   2650:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
                   2651:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   2652:        khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
                   2653:        knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El,
                   2654:        memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
                   2655:        pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
                   2656:        pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
                   2657:        pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET,
                   2658:        rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@,
                   2659:        rmul=\E&d@,
1.11      millert  2660:        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  2661:        sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
                   2662:        smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   2663:
                   2664: # This entry describes an xterm with Sun-style function keys enabled
                   2665: # via the X resource setting "xterm*sunFunctionKeys:true"
                   2666: # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
                   2667: # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
                   2668: # because we want it to be seen as <kcpy>.
                   2669: # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
                   2670: # with their Sun keyboard labels instead.
                   2671: # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
                   2672: xterm-sun|xterm with sunFunctionKeys true,
                   2673:        kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z,
                   2674:        kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z,
                   2675:        kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z,
                   2676:        kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z,
                   2677:        kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z,
                   2678:        kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z,
                   2679:        kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z,
                   2680:        kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
                   2681:        kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z,
                   2682:        knp=\E[222z, kpp=\E[216z, kund=\E[195z,
                   2683:        use=xterm,
                   2684: xterms-sun|small (80x24) xterm with sunFunctionKeys true,
                   2685:        cols#80, lines#24, use=xterm-sun,
                   2686:
                   2687: # This is for the extensible terminal emulator on the X11R6 contrib tape.
                   2688: emu|emu native mode,
                   2689:        mir, msgr, xon,
                   2690:        colors#15, cols#80, it#8, lines#24, pairs#64, vt#200,
                   2691:        acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
                   2692:        bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ,
                   2693:        clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;,
                   2694:        cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB,
                   2695:        cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;,
                   2696:        cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;,
                   2697:        dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN,
                   2698:        el=\EK, el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh,
                   2699:        il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;,
                   2700:        kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA,
                   2701:        kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10,
                   2702:        kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15,
                   2703:        kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02,
                   2704:        kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06,
                   2705:        kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins,
                   2706:        knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;,
                   2707:        rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES,
1.11      millert  2708:        rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;,
                   2709:        setaf=\Er%i%p1%d;, sgr0=\ES, smacs=\0, smir=\EY,
                   2710:        smso=\ES\ET, smul=\ES\EV, tbc=\Ej,
1.1       millert  2711:
1.11      millert  2712: #### MGR
                   2713: #
                   2714: # MGR is a Bell Labs window system lighter-weight than X.
                   2715: # These entries describe MGR's xterm-equivalent.
                   2716: # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
1.1       millert  2717: #
                   2718:
1.11      millert  2719: mgr|Bellcore MGR (non X) window system terminal emulation,
                   2720:        am, km,
                   2721:        bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M,
                   2722:        csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er,
                   2723:        cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h,
                   2724:        dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>,
                   2725:        dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u,
                   2726:        ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>,
                   2727:        il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   2728:        kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S,
                   2729:        rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n,
                   2730:        smul=\E4n,
                   2731: mgr-sun|Mgr window with Sun keyboard,
                   2732:        ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z,
                   2733:        kc3=\E[222z, kcpy=\E[197z, kend=\E[220z, kent=\E[250z,
                   2734:        kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z,
                   2735:        kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z,
                   2736:        kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
                   2737:        kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z,
                   2738:        kopn=\E[198z, kpp=\E[216z, kund=\E[195z,
                   2739:        use=mgr,
                   2740: mgr-linux|Mgr window with Linux keyboard,
                   2741:        ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~,
                   2742:        kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~,
                   2743:        kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D,
                   2744:        kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   2745:        khome=\E[1~, knp=\E[6~, kpp=\E[5~,
                   2746:        use=mgr,
                   2747:
                   2748: ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
1.1       millert  2749: #
                   2750:
1.11      millert  2751: # Columbus UNIX virtual terminal. This terminal also appears in
                   2752: # UNIX 4.0 and successors as line discipline 1 (?), but is
                   2753: # undocumented and does not really work quite right.
                   2754: cbunix|cb unix virtual terminal,
                   2755:        OTbs, am, da, db,
                   2756:        cols#80, lines#24, lm#0,
                   2757:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   2758:        cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL,
                   2759:        el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB,
                   2760:        kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A,
                   2761:        smso=\Ea^D, smul=\Ea^A,
                   2762: # (vremote: removed obsolete ":nl@:" -- esr)
                   2763: vremote|virtual remote terminal,
                   2764:        am@,
                   2765:        cols#79, use=cbunix,
                   2766:
                   2767: pty|4bsd pseudo teletype,
                   2768:        cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!,
                   2769:        smso=\Ea$, smul=\Ea!,
                   2770:        use=cbunix,
                   2771:
                   2772: # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
                   2773: eterm|gnu emacs term.el terminal emulation,
                   2774:        am, mir, xenl,
                   2775:        cols#80, lines#24,
                   2776:        bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   2777:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2778:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2779:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2780:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2781:        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
                   2782:        il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m,
                   2783:        rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   2784:        sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
                   2785:        smul=\E[4m,
1.1       millert  2786:
1.11      millert  2787: # Entries for use by the FSF's `screen' program.  The screen and
                   2788: # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
                   2789: # come from University of Wisconsin and may be older.
                   2790: # (screen: added <cnorm> on ANSI model -- esr)
1.1       millert  2791: #
1.11      millert  2792: # 'screen' defines extensions to termcap.  Some are used in its terminal
                   2793: # description:
                   2794: #      G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
                   2795: #      AX   (bool)  Does  understand ANSI set default fg/bg color
                   2796: #                   (\E[39m / \E[49m).
                   2797: screen|VT 100/ANSI X3.64 virtual terminal,
                   2798:        OTbs, OTpt, am, km, mir, msgr, xenl, AX, G0,
                   2799:        colors#8, cols#80, it#8, lines#24, pairs#64,
                   2800:        acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2801:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   2802:        clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M,
                   2803:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2804:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2805:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   2806:        cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   2807:        dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
                   2808:        flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   2809:        il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
                   2810:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP,
                   2811:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR,
                   2812:        kf4=\EOS, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
                   2813:        kf9=\E[20~, khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~,
                   2814:        kpp=\E[5~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
                   2815:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m,
                   2816:        rs2=\Ec, sc=\E7, sgr0=\E[m, smacs=^N, smir=\E[4h,
                   2817:        smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g,
                   2818:        use=ecma+color,
                   2819:
                   2820: screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
                   2821:        cols#132, use=screen,
1.1       millert  2822:
1.11      millert  2823: screen2|old VT 100/ANSI X3.64 virtual terminal,
                   2824:        cols#80, it#8, lines#24,
                   2825:        cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H,
1.1       millert  2826:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   2827:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1.11      millert  2828:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2829:        el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
                   2830:        il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   2831:        kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
                   2832:        kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
                   2833:        nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
                   2834:        rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h,
                   2835:        smso=\E[3m, smul=\E[4m, tbc=\E[3g,
                   2836: # (screen3: removed unknown ":xv:LP:G0:" -- esr)
                   2837: screen3|older VT 100/ANSI X3.64 virtual terminal,
                   2838:        km, mir, msgr,
                   2839:        cols#80, it#8, lines#24,
                   2840:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   2841:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2842:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2843:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   2844:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2845:        el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   2846:        il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
                   2847:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
                   2848:        kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   2849:        rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec,
                   2850:        sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,
                   2851:        smul=\E[4m, tbc=\E[3g,
1.1       millert  2852:
1.11      millert  2853: # Francesco Potorti <F.Potorti@cnuce.cnr.it>:
                   2854: # NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
                   2855: # been maintained until recently by the National Center for Supercomputer
                   2856: # Applications, and it is feature rich, stable and free.  It can be downloaded
                   2857: # from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
                   2858: # xterm+sl, and the docs at NCSA.  It works well.
                   2859: #
                   2860: # NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
                   2861: # The terminal options should be set as follows:
                   2862: #         Xterm sequences ON
                   2863: #         use VT wrap mode ON
                   2864: #         use Emacs arrow keys OFF
                   2865: #         CTRL-COMND is Emacs meta ON
                   2866: #         8 bit mode ON
                   2867: #         answerback string: "ncsa-vt220-8"
                   2868: #         setup keys: all disabled
                   2869: #
                   2870: # Application mode is not used.
1.1       millert  2871: #
1.11      millert  2872: # Other special mappings:
                   2873: #      Apple           VT220
                   2874: #      HELP            Find
                   2875: #      HOME            Insert here
                   2876: #      PAGEUP          Remove
                   2877: #      DEL             Select
                   2878: #      END             Prev Screen
                   2879: #      PAGEDOWN        Next Screen
                   2880: #
                   2881: # Though it supports ANSI color, NCSA Telnet uses color to represent blinking
                   2882: # text.
                   2883: #
                   2884: # The status-line manipulation is a mapping of the xterm-compatible control
                   2885: # sequences for setting the window-title.  So you must use tsl and fsl in
                   2886: # pairs, since the latter ends the string that is loaded to the window-title.
                   2887: ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
                   2888:        am, hs, km, mir, msgr, xenl,
                   2889:        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2890:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   2891:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   2892:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2893:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2894:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2895:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   2896:        dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
                   2897:        flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH,
                   2898:        ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
                   2899:        il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>,
                   2900:        is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H,
                   2901:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   2902:        kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~,
                   2903:        kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, kf14=\E[33~,
                   2904:        kf15=\E[34~, kf2=\E[18, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~,
                   2905:        kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~,
                   2906:        khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i,
                   2907:        rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM,
                   2908:        rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l,
                   2909:        rmso=\E[27m, rmul=\E[24m,
                   2910:        rs2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, sc=\E7,
                   2911:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   2912:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7,
                   2913:        smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;,
                   2914:        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?62;1;6c, u9=\E[c,
                   2915: ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
                   2916:        use=ncsa-m, use=klone+color,
                   2917: ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
                   2918:        hs@,
                   2919:        dsl@, fsl@, tsl@, use=ncsa,
                   2920: ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
                   2921:        hs@,
                   2922:        dsl@, fsl@, tsl@, use=ncsa-m,
                   2923: # alternate -TD:
                   2924: # The documented function-key mapping refers to the Apple Extended Keyboard
                   2925: # (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
                   2926: # codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
                   2927: # some keyboards and many applications require these as F1-F4.
                   2928: #
                   2929: ncsa-vt220|NCSA Telnet using vt220-compatible function keys,
                   2930:        kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   2931:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
                   2932:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
                   2933:        kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
                   2934:        kf8=\E[19~, kf9=\E[20~,
                   2935:        use=ncsa,
                   2936:
                   2937: #### Pilot Pro Palm-Top
1.1       millert  2938: #
1.11      millert  2939: # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
                   2940: pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional,
                   2941:        am, xenl,
                   2942:        cols#39, lines#16,
                   2943:        bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J,
                   2944:        cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I,
                   2945:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s,
                   2946:        rmso=\EB, smso=\Eb,
                   2947:
                   2948: ######## COMMERCIAL WORKSTATION CONSOLES
1.1       millert  2949: #
1.11      millert  2950:
                   2951: #### Alpha consoles
1.1       millert  2952: #
1.11      millert  2953:
                   2954: # This is from the OSF/1 Release 1.0 termcap file
                   2955: pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation,
1.1       millert  2956:        am, xon,
1.11      millert  2957:        cols#80, lines#25,
                   2958:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   2959:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   2960:        el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H,
                   2961:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   2962:        nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m,
1.1       millert  2963:
1.11      millert  2964: #### Sun consoles
1.1       millert  2965: #
                   2966:
1.11      millert  2967: # :is1: resets scrolling region in case a previous user had used "tset vt100"
                   2968: oldsun|Sun Microsystems Workstation console,
                   2969:        OTbs, am, km, mir, msgr,
                   2970:        cols#80, it#8, lines#34,
                   2971:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   2972:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   2973:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
                   2974:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   2975:        is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   2976:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
                   2977:        rmso=\E[m, sgr0=\E[m, smso=\E[7m,
                   2978: # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
                   2979: # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
                   2980: # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
                   2981: sun-il|Sun Microsystems console with working insert-line,
                   2982:        am, km, msgr,
                   2983:        cols#80, lines#34,
                   2984:        bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   2985:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   2986:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
                   2987:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   2988:        kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   2989:        kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z,
                   2990:        kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z,
                   2991:        kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z,
                   2992:        kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z,
                   2993:        knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z,
                   2994:        kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s,
                   2995:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
                   2996:        sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t,
                   2997: # On a SparcStation 5, <il1>/<il> flake out on the last line.
                   2998: # Unfortunately, without them the terminal has no way to scroll.
                   2999: sun-ss5|Sun SparcStation 5 console,
                   3000:        il@, il1@, use=sun-il,
                   3001: # If you are using an SS5, change the sun definition to use sun-ss5.
                   3002: sun|sun1|sun2|Sun Microsystems Inc. workstation console,
                   3003:        use=sun-il,
1.1       millert  3004:
1.11      millert  3005: # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
                   3006: sun-s|Sun Microsystems Workstation window with status line,
                   3007:        hs,
                   3008:        dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun,
                   3009: sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs,
                   3010:        hs,
                   3011:        dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,
                   3012: sun-48|Sun 48-line window,
                   3013:        cols#80, lines#48, use=sun,
                   3014: sun-34|Sun 34-line window,
                   3015:        cols#80, lines#34, use=sun,
                   3016: sun-24|Sun 24-line window,
                   3017:        cols#80, lines#24, use=sun,
                   3018: sun-17|Sun 17-line window,
                   3019:        cols#80, lines#17, use=sun,
                   3020: sun-12|Sun 12-line window,
                   3021:        cols#80, lines#12, use=sun,
                   3022: sun-1|Sun 1-line window for sysline,
                   3023:        eslok, hs,
                   3024:        cols#80, lines#1,
                   3025:        dsl=^L, fsl=\E[K, tsl=^M, use=sun,
                   3026: sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character,
                   3027:        ich1@, rmir@, smir@,
                   3028:        use=sun,
                   3029: sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,
                   3030:        lines#35,
                   3031:        rmcup=\E[>4h, smcup=\E[>4l, use=sun,
1.1       millert  3032:
                   3033: #### Iris consoles
                   3034: #
                   3035:
                   3036: # (wsiris: this had extension capabilities
                   3037: #      :HS=\E7F2:HE=\E7F7:\
                   3038: #      :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
                   3039: # See the note on Iris extensions near the end of this file.
                   3040: # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> &
                   3041: # <flash> from BRL -- esr)
                   3042: wsiris|iris40|iris emulating a 40 line visual 50 (approximately),
                   3043:        OTbs, OTnc, OTpt, am,
                   3044:        OTkn#3, cols#80, it#8, lines#40,
1.11      millert  3045:        OTnl=\EB, bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB,
                   3046:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   3047:        cvvis=\E;, dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK,
                   3048:        flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL,
                   3049:        ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB,
                   3050:        kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3,
                   3051:        kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI,
                   3052:        rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P,
                   3053:        smul=\E7R2\E9P,
1.1       millert  3054:
                   3055: #### NeWS consoles
                   3056: #
                   3057: # Console terminal windows under the NeWS (Sun's Display Postscript windowing
                   3058: # environment).   Note: these have nothing to do with Sony's News workstation
                   3059: # line.
                   3060: #
                   3061:
                   3062: # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
                   3063: # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
                   3064: psterm|psterm-basic|NeWS psterm-80x34,
                   3065:        OTbs, am, hs, km, ul,
                   3066:        cols#80, it#8, lines#34,
1.11      millert  3067:        blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;,
                   3068:        cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY,
                   3069:        dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl,
                   3070:        home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D,
                   3071:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr,
                   3072:        ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^],
                   3073:        sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu,
                   3074:        tsl=\EOl,
1.1       millert  3075: psterm-96x48|NeWS psterm 96x48,
1.11      millert  3076:        cols#96, lines#48, use=psterm,
1.1       millert  3077: psterm-90x28|NeWS psterm 90x28,
1.11      millert  3078:        cols#90, lines#28, use=psterm,
1.1       millert  3079: psterm-80x24|NeWS psterm 80x24,
1.11      millert  3080:        cols#80, lines#24, use=psterm,
1.1       millert  3081: # This is a faster termcap for psterm.  Warning:  if you use this termcap,
                   3082: # some control characters you type will do strange things to the screen.
                   3083: # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
                   3084: psterm-fast|NeWS psterm fast version (flaky ctrl chars),
                   3085:        OTbs, am, hs, km, ul,
                   3086:        cols#80, it#8, lines#34,
1.11      millert  3087:        blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;,
                   3088:        cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y,
                   3089:        dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I,
                   3090:        il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   3091:        kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni,
                   3092:        rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi,
                   3093:        smso=^Oo, smul=^Ou, tsl=^Ol,
1.1       millert  3094:
                   3095: #### NeXT consoles
                   3096: #
                   3097: # Use `glasstty' for the Workspace application
                   3098: #
                   3099:
                   3100: # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
                   3101: next|NeXT console,
                   3102:        am, xt,
                   3103:        cols#80, it#8, lines#24,
1.11      millert  3104:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   3105:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                   3106:        ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   3107:        rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m,
1.1       millert  3108: nextshell|NeXT Shell application,
                   3109:        am,
                   3110:        cols#80,
1.11      millert  3111:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H,
                   3112:        kcud1=^J, nel=^M^J,
1.1       millert  3113:
1.11      millert  3114: #### Sony NEWS workstations
1.1       millert  3115: #
                   3116:
1.11      millert  3117: # (news-unk: this had :KB=news: -- esr)
                   3118: news-unk|SONY NEWS vt100 emulator common entry,
                   3119:        OTbs, OTpt, am, xenl,
                   3120:        cols#80,
                   3121:        OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
                   3122:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   3123:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
                   3124:        ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   3125:        if=/usr/lib/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
                   3126:        is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD,
                   3127:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP,
                   3128:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV,
                   3129:        kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM,
                   3130:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   3131:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r, sc=\E7,
                   3132:        sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   3133: #
                   3134: # (news-29: this had :TY=ascii: --esr)
                   3135: news-29,
                   3136:        lines#29, use=news-unk,
                   3137: # (news-29-euc: this had :TY=euc: --esr)
                   3138: news-29-euc,
                   3139:        use=news-29,
                   3140: # (news-29-sjis: this had :TY=sjis: --esr)
                   3141: news-29-sjis,
                   3142:        use=news-29,
                   3143: #
                   3144: # (news-33: this had :TY=ascii: --esr)
                   3145: news-33,
                   3146:        lines#33, use=news-unk,
                   3147: # (news-33-euc: this had :TY=euc: --esr)
                   3148: news-33-euc,
                   3149:        use=news-33,
                   3150: # (news-33-sjis: this had :TY=sjis: --esr)
                   3151: news-33-sjis,
                   3152:        use=news-33,
                   3153: #
                   3154: # (news-42: this had :TY=ascii: --esr)
                   3155: news-42,
                   3156:        lines#42, use=news-unk,
                   3157: # (news-42-euc: this had :TY=euc: --esr)
                   3158: news-42-euc,
                   3159:        use=news-42,
                   3160: # (news-42-sjis: this had :TY=sjis: --esr)
                   3161: news-42-sjis,
                   3162:        use=news-42,
                   3163: #
                   3164: #      NEWS-OS old termcap entry
                   3165: #
                   3166: # (news-old-unk: this had :KB=news:TY=sjis: --esr)
                   3167: news-old-unk|SONY NEWS vt100 emulator common entry,
                   3168:        OTbs, OTpt, am, xenl,
                   3169:        cols#80, vt#3,
                   3170:        OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
                   3171:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   3172:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   3173:        home=\E[H, ht=^I, if=/usr/lib/tabset/vt100, kbs=^H,
                   3174:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   3175:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM,
                   3176:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   3177:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   3178:        sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   3179: #
                   3180: # (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
                   3181: nwp512|news|nwp514|news40|vt100-bm|sony vt100 emulator 40 lines,
                   3182:        OTbs,
                   3183:        lines#40,
                   3184:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk,
                   3185: #
                   3186: # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
                   3187: nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line,
                   3188:        lines#42,
                   3189:        is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, use=news-old-unk,
                   3190: #
                   3191: # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
                   3192: nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines,
                   3193:        OTbs,
                   3194:        lines#40,
                   3195:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk,
                   3196: #
                   3197: # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
                   3198: nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines,
                   3199:        OTbs,
                   3200:        lines#31,
                   3201:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk,
                   3202: #
                   3203: # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
                   3204: # also the alias vt100-bm.
                   3205: nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|sony vt100 emulator 33 lines,
                   3206:        OTbs,
                   3207:        lines#33,
                   3208:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8, use=news-old-unk,
                   3209: #
                   3210: # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
                   3211: nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|sony vt100 emulator 33 lines,
                   3212:        OTbs,
                   3213:        lines#31,
                   3214:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk,
                   3215: #
                   3216: # (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
                   3217: news28|sony vt100 emulator 28 lines,
                   3218:        OTbs,
                   3219:        lines#28,
                   3220:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8, use=news-old-unk,
                   3221: #
                   3222: # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
                   3223: news29|news28-a|sony vt100 emulator 29 lines,
                   3224:        lines#29,
                   3225:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8, use=news-old-unk,
1.1       millert  3226: #
1.11      millert  3227: # (news511: this had :TY=sjis: --esr)
                   3228: nwp511|nwp-511|nwp-511 vt100,
                   3229:        OTbs, OTpt, am, xenl,
1.1       millert  3230:        cols#80, lines#24,
1.11      millert  3231:        clear=\E[;H\E[2J$<20/>, cuf1=\E[C,
                   3232:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M,
                   3233:        ed=\E[J$<30/>, el=\E[K$<3/>,
                   3234:        flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
                   3235:        il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D,
                   3236:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
                   3237:        kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H,
                   3238:        ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
                   3239:        rs2=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h,
                   3240:        smso=\E[7m$<2/>, smul=\E[4m$<2/>,
                   3241: # (news517: this had :TY=sjis:. --esr)
                   3242: nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows,
                   3243:        eslok, hs,
                   3244:        cols#80, lines#30,
                   3245:        OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
                   3246:        is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   3247:        tsl=\E[1$}\E[;%df,
                   3248:        use=vt200,
                   3249: # (news517-w: this had :TY=sjis:. --esr)
                   3250: nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows,
1.1       millert  3251:        eslok, hs,
1.11      millert  3252:        cols#132, lines#50,
                   3253:        OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
                   3254:        is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
                   3255:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
                   3256:        tsl=\E[1$}\E[;%df, use=vt200,
1.1       millert  3257:
                   3258: #### Common Desktop Environment
                   3259: #
                   3260:
                   3261: # This ships with Sun's CDE in Solaris 2.5
                   3262: # Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
                   3263: dtterm|CDE desktop terminal,
                   3264:        am, mir, msgr, xenl, xon,
                   3265:        colors#8, cols#80, it#8, lines#24, lm#0, pairs#64,
                   3266:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   3267:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   3268:        clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
                   3269:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   3270:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   3271:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   3272:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
1.11      millert  3273:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
                   3274:        enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H,
                   3275:        ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
                   3276:        ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l,
                   3277:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
1.1       millert  3278:        kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
                   3279:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   3280:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   3281:        kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
                   3282:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   3283:        kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   3284:        kslt=\E[4~, nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
                   3285:        rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m,
                   3286:        rmul=\E[24m, sc=\E7, setab=\E[%p1%{40}%+%dm,
                   3287:        setaf=\E[%p1%{30}%+%dm,
                   3288:        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  3289:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
1.1       millert  3290:        smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
                   3291:
1.11      millert  3292: #### Non-Unix Consoles
1.1       millert  3293: #
                   3294:
1.11      millert  3295: # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
                   3296: # a Unix-style environment used on OS/2.  (Note that the suffix makes some
                   3297: # names longer than 14 characters, the nominal maximum).
1.1       millert  3298: #
1.11      millert  3299: # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
                   3300: ansi-emx|ANSI.SYS color,
                   3301:        am, bce, eo, mir, msgr, xenl, xon,
                   3302:        colors#16, cols#80, it#8, lines#25, pairs#64,
                   3303:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   3304:        clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
                   3305:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   3306:        dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
                   3307:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
                   3308:        kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
                   3309:        kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
                   3310:        kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
                   3311:        knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m,
                   3312:        rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m,
                   3313:        rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm,
                   3314:        setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h,
                   3315:        smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m,
                   3316:        tbc=\E[3g, u8=\E[?6c, u9=\E[c,
                   3317: ansi-color-2-emx|ANSI.SYS color 2,
                   3318:        am, bce, eo, mir, msgr, xenl, xon,
                   3319:        colors#16, cols#80, it#8, lines#25, pairs#64,
                   3320:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   3321:        clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
                   3322:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   3323:        dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
                   3324:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
                   3325:        kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
                   3326:        kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
                   3327:        kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
                   3328:        knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m,
                   3329:        rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;44m,
                   3330:        rmul=\E[0;37;44m, rs1=\Ec, setab=\E[4%p1%dm,
                   3331:        setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smir=\E[4h,
                   3332:        smpch=\E[11m, smso=\E[1;37;46m, smul=\E[1;36;44m,
                   3333:        tbc=\E[3g, u8=\E[?6c, u9=\E[c,
                   3334: ansi-color-3-emx|ANSI.SYS color 3,
                   3335:        am, bce, eo, mir, msgr, xenl, xon,
                   3336:        colors#16, cols#80, it#8, lines#25, pairs#64,
                   3337:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   3338:        clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
                   3339:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   3340:        dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
                   3341:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
                   3342:        kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
                   3343:        kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
                   3344:        kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
                   3345:        knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m,
                   3346:        rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;40m,
                   3347:        rmul=\E[0;37;40m, rs1=\Ec, setab=\E[4%p1%dm,
                   3348:        setaf=\E[3%p1%dm, sgr0=\E[0;10m, smir=\E[4h,
                   3349:        smpch=\E[11m, smso=\E[1;37;46m, smul=\E[0;36;40m,
                   3350:        tbc=\E[3g, u8=\E[?6c, u9=\E[c,
                   3351: mono-emx|stupid monochrome ansi terminal with only one kind of emphasis,
                   3352:        am,
1.1       millert  3353:        cols#80, it#8, lines#24,
1.11      millert  3354:        clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   3355:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                   3356:        ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M,
                   3357:        kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>,
                   3358:        kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G,
                   3359:        kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m,
                   3360:        sgr0=\E[0m,
1.1       millert  3361:
1.11      millert  3362: # Use this for cygwin32 (tested with beta 19.1)
                   3363: # underline is colored bright magenta
                   3364: # shifted kf1-kf12 are kf11-kf22
                   3365: cygwin|ansi emulation for cygwin32,
                   3366:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   3367:        kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
                   3368:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   3369:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   3370:        kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
                   3371:        kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   3372:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmam@, smam@,
                   3373:        use=ansi.sys,
1.1       millert  3374:
1.11      millert  3375: # This entry fits the Windows NT console when the _POSIX_TERM environment
                   3376: # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
                   3377: # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
                   3378: # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
                   3379: # systems is not, and (surprise!) they match very well.
1.1       millert  3380: #
1.11      millert  3381: # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
                   3382: # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
                   3383: # are the installation instructions a pile of mind-numbing bureaucratese,
                   3384: # but the termcap entry is actually broken and unusable as given; the :do:
                   3385: # capability is misspelled "d".
1.1       millert  3386: #
                   3387: # To use this, you need to a bunch of environment variables:
                   3388: #
                   3389: # SET _POSIX_TERM=on
                   3390: # SET TERM=ansi
                   3391: # SET TERMCAP=location of termcap file in POSIX file format
                   3392: # which is case-sensitive.
                   3393: # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
                   3394: # SET TMP=//C/TEMP
                   3395: #
                   3396: # Important note: setting the TMP environment variable in POSIX style renders
                   3397: # it incompatible with a lot of other applications, including Visual C++. So
                   3398: # you should have a separate command window just for vi. All the other
                   3399: # variables may be permanently set in the Control Panel\System applet.
                   3400: #
                   3401: # You can find out more about the restrictions of this facility at
                   3402: # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
                   3403: #
                   3404: # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
                   3405: ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode,
                   3406:        am, bw, msgr,
                   3407:        cols#80, it#8, lines#25,
                   3408:        bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   3409:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   3410:        home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V,
                   3411:        kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m,
                   3412:        ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m,
                   3413:
                   3414: ######## COMMON TERMINAL TYPES
                   3415: #
                   3416: # This section describes terminal classes and maker brands that are still
                   3417: # quite common, but have proprietary command sets not blessed by ANSI.
                   3418: #
                   3419:
1.11      millert  3420: #### Altos
1.1       millert  3421: #
1.11      millert  3422: # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
                   3423: # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
                   3424: # Acer has a web site at http://www.acer.com.
1.1       millert  3425: #
1.11      millert  3426: # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
                   3427: # His comments suggest they were shipped with the system.
1.1       millert  3428: #
                   3429:
1.11      millert  3430: # (altos2: had extension capabilities
                   3431: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   3432: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   3433: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   3434: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   3435: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   3436: #      :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
                   3437: #      :HL=^AP\r:SP=\E[i:\
                   3438: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   3439: #      :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
                   3440: # Comparison with the k* capabilities makes it obvious that the c* things are
                   3441: # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
                   3442: # :sr: was given as a boolean-- esr)
                   3443: altos2|alt2|altos-2|altos II,
                   3444:        cols#80, it#8, lines#24, xmc#0,
                   3445:        clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C,
                   3446:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M,
                   3447:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   3448:        if=/usr/share/tabset/vt100, il1=\E[L, ind=^J,
                   3449:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r,
                   3450:        kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D,
                   3451:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r,
                   3452:        kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
                   3453:        kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
                   3454:        kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
                   3455:        kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   3456:        kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r,
                   3457:        nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   3458:        smam=\E[?7h, smso=\E[7m, smul=\E[4m,
                   3459: # (altos3: had extension capabilities
                   3460: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   3461: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   3462: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   3463: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   3464: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   3465: #      :HL=^AP\r:SP=\E[i:\
                   3466: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   3467: altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,
                   3468:        blink=\E[5p, ri=\EM, sgr0=\E[p,
                   3469:        use=altos2,
                   3470: altos4|alt4|altos-4|altos IV,
                   3471:        use=wy50,
                   3472: # (altos7: had extension capabilities:
                   3473: #      :GG#0:GI=\EH8:GF=\EH7:\
                   3474: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   3475: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   3476: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   3477: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   3478: # Comparison with the k* capabilities makes it obvious that the c* things are
                   3479: # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
                   3480: # also made this entry relative to adm12 in order to give it an <sgr>. The
                   3481: # <invis> imported by use=adm+sgr may work, let me know. -- esr)
                   3482: altos7|alt7|altos VII,
                   3483:        am, mir,
                   3484:        cols#80, lines#24, xmc#0,
                   3485:        acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt,
                   3486:        clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
1.1       millert  3487:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  3488:        dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE,
                   3489:        ind=^J, invis=\EG1,
                   3490:        is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r,
                   3491:        kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H,
                   3492:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r,
                   3493:        kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
                   3494:        kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
                   3495:        kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
                   3496:        kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   3497:        kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r,
                   3498:        knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej,
                   3499:        rmir=\Er, smir=\Eq,
                   3500:        use=adm+sgr,
                   3501: altos7pc|alt7pc|altos PC VII,
                   3502:        kend=\ET, use=altos7,
                   3503:
                   3504: #### Hewlett-Packard (hp)
                   3505: #
                   3506: #      Hewlett-Packard
                   3507: #      8000 Foothills Blvd
                   3508: #      Roseville, CA 95747
                   3509: #      Vox: 1-(916)-785-4363   (Technical response line for VDTs)
                   3510: #           1-(800)-633-3600   (General customer support)
                   3511: #
                   3512:
                   3513: # Generic HP terminal - this should (hopefully) work on any HP terminal.
                   3514: hpgeneric|hp|hewlett-packard generic terminal,
                   3515:        OTbs, OTpt, am, da, db, mir, xhp,
                   3516:        cols#80, lines#24, lm#0, vt#6,
                   3517:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   3518:        cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM,
                   3519:        ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
                   3520:        ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@,
                   3521:        sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3,
                   3522:        vpa=\E&a%p1%dY,
                   3523:
                   3524: hp110|hewlett-packard model 110 portable,
                   3525:        lines#16, use=hpgeneric,
                   3526:
                   3527: hp+pfk+cr|hp function keys with CR,
                   3528:        kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r,
                   3529:        kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,
                   3530:
                   3531: hp+pfk-cr|hp function keys w/o CR,
                   3532:        kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,
                   3533:        kf8=\Ew,
                   3534:
                   3535: # The hp2621s use the same keys for the arrows and function keys,
                   3536: # but not separate escape sequences. These definitions allow the
                   3537: # user to use those keys as arrow keys rather than as function
                   3538: # keys.
                   3539: hp+pfk+arrows|hp alternate arrow definitions,
                   3540:        kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@,
                   3541:        kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r,
                   3542:        kll=\Eq\r, kri=\Es\r,
                   3543:
                   3544: hp+arrows|hp arrow definitions,
                   3545:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   3546:        kind=\ES, kll=\EF, kri=\ET,
                   3547:
                   3548: # Generic stuff from the HP 262x series
1.1       millert  3549: #
1.11      millert  3550: hp262x|HP 262x terminals,
                   3551:        xhp,
                   3552:        blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES,
                   3553:        invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   3554:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
                   3555:        kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET,
                   3556:        krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
                   3557:        sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c,
                   3558:        sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD,
                   3559:
                   3560: # Note: no <home> on HPs since that homes to top of memory, not screen.
                   3561: # Due to severe 2621 braindamage, the only way to get the arrow keys to
                   3562: # transmit anything at all is to turn on the function key labels
                   3563: # with <smkx>, and even then the user has to hold down shift!
                   3564: # The default 2621 turns off the labels except when it has to to
                   3565: # enable the function keys. If your installation prefers labels
                   3566: # on all the time, or off all the time (at the "expense" of the
                   3567: # function keys), use 2621-nl or 2621-wl.
                   3568: #
                   3569: # Note: there are newer ROMs for 2621's that allow you to set
                   3570: # strap A so the regular arrow keys xmit \EA, etc, as with the
                   3571: # 2645. However, even with this strap set, the terminal stops
                   3572: # xmitting if you reset it, until you unset and reset the strap!
                   3573: # Since there is no way to set/unset the strap with an escape
                   3574: # sequence, we don't use it in the default.
                   3575: # If you like, you can use 2621-ba (brain-damaged arrow keys).
                   3576: hp2621-ba|2621 w/new rom and strap A set,
                   3577:        rmkx@, smkx@, use=hp+arrows,
                   3578:        use=hp2621,
                   3579:
                   3580: # hp2621 with function labels. Most of the time they are off,
                   3581: # but inside vi, the function key labels appear. You have to
                   3582: # hold down shift to get them to xmit.
                   3583: hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,
                   3584:        is2=\E&jA\r, rmkx=\E&jA,
                   3585:        use=hp2621-fl,
                   3586: hp2621-fl|hp 2621,
                   3587:        xhp@, xon,
                   3588:        pb#19200,
                   3589:        cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>,
                   3590:        ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@,
                   3591:        sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD,
                   3592:        use=hp+pfk+cr, use=hpgeneric,
                   3593:
                   3594: # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
                   3595: hp2621p|hp 2621 with printer,
                   3596:        mc4=\E&p13C, mc5=\E&p11C, use=hp2621,
                   3597:
                   3598: hp2621p-a|hp2621p with fn as arrows,
                   3599:        use=hp+pfk+arrows, use=hp2621p,
                   3600:
                   3601: # hp2621 with k45 keyboard
                   3602: hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard,
                   3603:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   3604:        khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A,
                   3605:        use=hp2621,
                   3606:
                   3607: # 2621 using all 48 lines of memory, only 24 visible at any time.
                   3608: hp2621-48|48 line 2621,
                   3609:        lines#48,
                   3610:        cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, use=hp2621,
                   3611:
                   3612: # 2621 with no labels ever. Also prevents vi delays on escape.
                   3613: hp2621-nl|hp 2621 with no labels,
                   3614:        kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, use=hp2621-fl,
                   3615:
                   3616: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
                   3617: # (wrong).
1.1       millert  3618: #
1.11      millert  3619: hp2621-nt|hp 2621 w/no tabs,
                   3620:        ht@, use=hp2621,
                   3621:
                   3622: # Hp 2624 B with 4 or 10 pages of memory.
                   3623: #
                   3624: # Some assumptions are made with this entry. These settings are
                   3625: # NOT set up by the initialization strings.
1.1       millert  3626: #
1.11      millert  3627: # Port Configuration
                   3628: #      RecvPace=Xon/Xoff
                   3629: #      XmitPace=Xon/Xoff
                   3630: #      StripNulDel=Yes
1.1       millert  3631: #
1.11      millert  3632: # Terminal Configuration
                   3633: #      InhHndShk=Yes
                   3634: #      InhDC2=Yes
                   3635: #      XmitFnctn(A)=No
                   3636: #      InhEolWrp=No
1.1       millert  3637: #
1.11      millert  3638: # Note: the 2624 DOES have a true <home>, believe it or not!
1.1       millert  3639: #
1.11      millert  3640: # The 2624 has an "error line" to which messages can be sent.
                   3641: # This is CLOSE to what is expected for a "status line". However,
                   3642: # after a message is sent to the "error line", the next carriage
                   3643: # return is EATEN and the "error line" is turned back off again!
                   3644: # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
1.1       millert  3645: #
1.11      millert  3646: # This entry supports emacs (and any other program that uses raw
                   3647: # mode) at 4800 baud and less. I couldn't get the padding right
                   3648: # for 9600.
1.1       millert  3649: #
1.11      millert  3650: # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
                   3651: hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B,
                   3652:        da, db,
                   3653:        lm#96,
                   3654:        flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, use=hp+labels, use=scrhp,
                   3655:
                   3656: # This hp2626 entry does not use any of the fancy windowing stuff
                   3657: # of the 2626.
                   3658: #
                   3659: # Indeed, terminfo does not yet handle such stuff. Since changing
                   3660: # any window clears memory, it is probably not possible to use
                   3661: # this for screen opt.
                   3662: #
                   3663: # ed is incredibly slow most of the time - I am guessing at the
                   3664: # exact padding. Since the terminal uses xoff/xon this is intended
                   3665: # only for cost computation, so that the terminal will prefer el
                   3666: # or even dl1 which is probably faster!
                   3667: #
                   3668: # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
                   3669: # extra slow on the last line of the window.
                   3670: #
                   3671: # The padding probably should be changed.
1.1       millert  3672: #
1.11      millert  3673: hp2626|hp2626a|hp2626p|hp 2626,
                   3674:        da, db,
                   3675:        lm#0, pb#19200,
                   3676:        ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>,
                   3677:        is2=\E&j@\r, rin=\E&r%p1%dU,
                   3678:        use=hp+pfk+cr, use=hp+labels, use=scrhp,
                   3679:
                   3680: # This entry is for sysline. It allocates a 23 line window with
                   3681: # a 115 line workspace for regular use, and a 1 line window for
                   3682: # the status line.
                   3683: #
                   3684: # This assumes port 2 is being used.
                   3685: # Turn off horizontal line, Create ws #1 with 115 lines,
                   3686: # Create ws #2 with 1 line, Create window #1 lines 1-23,
                   3687: # Create window #2 lines 24-24, Attach cursor to workspace #1.
                   3688: # Note that this clears the tabs so it must be done by tset before
                   3689: # it sets the tabs.
1.1       millert  3690: #
1.11      millert  3691: hp2626-s|hp 2626 using only 23 lines,
                   3692:        eslok, hs,
                   3693:        lines#23,
                   3694:        fsl=\E&d@\E&w7f2p1I\E&w4f1I,
                   3695:        is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
                   3696:        tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC,
                   3697:        use=hp2626,
                   3698: # Force terminal back to 24 lines after being 23.
                   3699: hp2626-ns|hp 2626 using all 24 lines,
                   3700:        is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, use=hp2626,
                   3701: # Various entries useful for small windows on 2626.
                   3702: hp2626-12|hewlett-packard 2626 12 lines,
                   3703:        lines#12, use=hp2626,
                   3704: hp2626-12x40|hewlett-packard 2626 12 lines 40 columns,
                   3705:        cols#40, lines#12, use=hp2626,
                   3706: hp2626-x40|hewlett-packard 2626 40 columns,
                   3707:        cols#40, use=hp2626,
                   3708: hp2626-12-s|hewlett-packard 2626 11 lines plus status,
                   3709:        lines#11, use=hp2626-s,
                   3710:
1.1       millert  3711: #
1.11      millert  3712: # hp2627 color tubes from University of Wisconsin
1.1       millert  3713: #
1.11      millert  3714: hp2627a-rev|hp 2627 with reverse video colors,
                   3715:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   3716:        is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r,
                   3717:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@,
                   3718:        smul=\E&dD\E&v1S,
                   3719:        use=hp2621-nl,
                   3720: hp2627a|hp 2627 color terminal with no labels,
                   3721:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   3722:        is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r,
                   3723:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S,
                   3724:        rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S,
                   3725:        use=hp2621-nl,
                   3726: hp2627c|hp 2627 color (cyan) terminal with no labels,
                   3727:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   3728:        is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r,
                   3729:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   3730:        use=hp2627a,
                   3731:
                   3732: # hp2640a doesn't have the Y cursor addressing feature, and C is
                   3733: # memory relative instead of screen relative, as we need.
1.1       millert  3734: #
1.11      millert  3735: hp2640a|hp 2640a,
                   3736:        cup@, rmkx@, smkx@, use=hp2645,
                   3737:
                   3738: hp2640b|hp2644a|hp 264x series,
                   3739:        rmkx@, smkx@, use=hp2645,
                   3740:
                   3741: # (hp2641a: removed unknown :gu: -- esr)
                   3742: hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry,
                   3743:        am, da, db, mir, xhp,
                   3744:        cols#80, lines#24,
                   3745:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   3746:        cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,
                   3747:        ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I,
                   3748:        if=/usr/share/tabset/std, il1=\EL, ind=^J,
                   3749:        is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   3750:        rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB,
                   3751:        vpa=\E&a%p1%2dY,
                   3752:
                   3753: # This terminal should be used at 4800 baud or less. It needs padding for
                   3754: # plain characters at 9600, I guessed at an appropriate cr delay.  It really
                   3755: # wants ^E/^F handshaking, but that doesn't work well even if you write
                   3756: # software to support it.
                   3757: hp2645|hp45|HP 2645 series,
                   3758:        pb#9600,
                   3759:        blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED,
                   3760:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   3761:        ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL,
                   3762:        kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB,
                   3763:        rmkx=\E&s0A,
                   3764:        sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c,
                   3765:        sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD,
                   3766:        use=hpgeneric,
                   3767: # You should use this terminal at 4800 baud or less.
                   3768: hp2648|hp2648a|HP 2648a graphics terminal,
                   3769:        clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
                   3770:        dch1=\EP$<7>, ip=$<5>,
                   3771:        use=hp2645,
                   3772:
                   3773: # The HP 150 terminal is a fairly vanilla HP terminal, with the
                   3774: # clreol standout problem. It also has graphics capabilities and
                   3775: # a touch screen, which we don't describe here.
                   3776: hp150|hewlett packard Model 150,
                   3777:        OTbs, use=hp2622,
                   3778:
                   3779: # HP 2382a terminals, "the little ones." They don't have any
                   3780: # alternate character set support and sending out ^N/^O will
                   3781: # leave the screen blank.
                   3782: hp2382a|hp2382|hewlett packard 2382a,
                   3783:        da, db,
                   3784:        lh#1, lm#48,
                   3785:        acsc@,
                   3786:        pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
                   3787:        rmacs@,
                   3788:        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,
                   3789:        sgr0=\E&d@, smacs@,
                   3790:        use=hp+labels, use=scrhp,
                   3791:
                   3792: hp2621-a|hp2621a-a|hp2621 with fn as arrows,
                   3793:        use=hp+pfk+arrows, use=hp2621-fl,
                   3794:
                   3795: # newer hewlett packard terminals
                   3796:
                   3797: newhpkeyboard|generic entry for HP extended keyboard,
                   3798:        kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   3799:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
                   3800:        kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV,
                   3801:        kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A,
                   3802:        use=hp+pfk-cr,
                   3803:
                   3804: newhp|generic entry for new hewlett packard terminals,
                   3805:        am, bw, mir, xhp, xon,
                   3806:        cols#80, lines#24, pb#4800,
                   3807:        acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x.,
                   3808:        bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H,
                   3809:        cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH,
                   3810:        dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J,
                   3811:        invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J,
                   3812:        pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,
                   3813:        pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,
                   3814:        pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET,
                   3815:        rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg,
                   3816:        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%;,
                   3817:        sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,
                   3818:        tbc=\E3,
                   3819:        use=newhpkeyboard,
                   3820:
                   3821: memhp|memory relative addressing for new HP ttys,
                   3822:        vt#6,
                   3823:        clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR,
                   3824:        cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR,
                   3825:        home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r,
                   3826:        mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp,
                   3827:
                   3828: scrhp|screen relative addressing for new HP ttys,
                   3829:        clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC,
                   3830:        cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC,
                   3831:        cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR,
                   3832:        home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA,
                   3833:        mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp,
                   3834:
                   3835: # (hp+labels: added label values from a BRL termcap -- esr)
                   3836: hp+labels|"standard" label info for new HP ttys,
                   3837:        lh#2, lw#8, nlab#8,
                   3838:        lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8,
                   3839:        pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
                   3840:        rmln=\E&j@, smln=\E&jB,
                   3841:
                   3842: hp+printer|"standard" printer info for HP ttys,
                   3843:        ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,
                   3844:
                   3845:
                   3846: # The new hp2621b is kind of a cross between the old 2621 and the
                   3847: # new 262x series of machines. It has dip-switched options.
                   3848: # The firmware has a bug in it such that if you give it a null
                   3849: # length label, the following character is eaten!
                   3850: hp2621b|hp 2621b with old style keyboard,
                   3851:        lh#1, lm#48, lw#8, nlab#8,
                   3852:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   3853:        kind=\ET, kll=\EF, kri=\ES,
                   3854:        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,
                   3855:        smln=\E&jB,
                   3856:        use=hp2621,
                   3857:
                   3858: hp2621b-p|hp 2621b with printer,
                   3859:        use=hp+printer, use=hp2621b,
                   3860:
                   3861: # hp2621b - new 2621b with new extended keyboard
                   3862: # these are closer to the new 26xx series than the other 2621b
                   3863: hp2621b-kx|hp 2621b with extended keyboard,
                   3864:        use=newhpkeyboard, use=hp2621b,
                   3865:
                   3866: hp2621b-kx-p|hp 2621b with new keyboard & printer,
                   3867:        use=hp+printer, use=hp2621b-kx,
                   3868:
                   3869: # Some assumptions are made in the following entries.
                   3870: # These settings are NOT set up by the initialization strings.
                   3871: #
                   3872: #    Port Configuration
                   3873: # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff       StripNulDel=Yes
                   3874: #
                   3875: #    Terminal Configuration
                   3876: # InhHndShk(G)=Yes     InhDC2(H)=Yes
                   3877: # XmitFnctn(A)=No              InhEolWrp=No
1.1       millert  3878: #
1.11      millert  3879: #
                   3880: # Hp 2622a & hp2623a display and graphics terminals
1.1       millert  3881: #
1.11      millert  3882: hp2622|hp2622a|hp 2622,
                   3883:        da, db,
                   3884:        lm#0, pb#19200,
                   3885:        is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp,
                   3886:
                   3887: # The 2623 is a 2622 with extra graphics hardware.
                   3888: hp2623|hp2623a|hp 2623,
                   3889:        use=hp2622,
                   3890:
                   3891: hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer,
                   3892:        use=hp+printer, use=hp2624,
                   3893:
                   3894: # The hewlett packard B can have an optional extra 6 pages of memory.
                   3895: hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory,
                   3896:        lm#240, use=hp2624,
                   3897:
                   3898: hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,
                   3899:        lm#240, use=hp2624b-p,
                   3900:
                   3901: # Color manipulations for HP terminals
                   3902: hp+color|hp with colors,
                   3903:        ccc,
                   3904:        colors#16, ncv#17, pairs#7,
                   3905:        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,
                   3906:        oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
                   3907:        op=\E&v0S, scp=\E&v%p1%dS,
                   3908:
                   3909: # <is2> sets the screen to be 80 columns wide
                   3910: hp2397a|hp2397|hewlett packard 2397A color terminal,
                   3911:        is2=\E&w6f80X,
                   3912:        use=memhp, use=hp+labels, use=hp+color,
                   3913:
                   3914: #  HP 700/44 Setup parameters:
                   3915: # Terminal Mode                HP-PCterm
                   3916: # Inhibit Auto Wrap    NO
                   3917: # Status Line          Host Writable
                   3918: # PC Character Set     YES
                   3919: # Twenty-Five Line Mode        YES
                   3920: # XON/XOFF             @128 or 64 (sc)
                   3921: # Keycode Mode                 NO   or YES (sc)
                   3922: # Backspace Key                BS or BS/DEL
1.1       millert  3923: #
1.11      millert  3924: # <is2>        sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
                   3925: # \E\\? does not turn off keycode mode
                   3926: # <smsc>       sets alternate start/stop; keycode on
                   3927: hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,
                   3928:        am, eo, xenl, xon,
                   3929:        cols#80, lines#25,
                   3930:        acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
                   3931:        bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H,
                   3932:        cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   3933:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   3934:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
                   3935:        ind=^J,
                   3936:        is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\,
                   3937:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   3938:        kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
                   3939:        kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~,
                   3940:        kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~,
                   3941:        kpp=\E[5~, rmam=\E[?7l,
                   3942:        rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m,
                   3943:        rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
                   3944:        smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m,
                   3945:        smul=\E[4m, xoffc=g, xonc=e,
1.1       millert  3946: #
1.11      millert  3947: # (hp2392: copied <rmir> here from hpex -- esr)
                   3948: hp2392|239x series,
                   3949:        cols#80,
                   3950:        cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r,
                   3951:        kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,
                   3952:        kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV,
                   3953:        rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY,
                   3954:        use=hpsub,
                   3955:
                   3956: hpsub|hp terminals -- capability subset,
                   3957:        am, da, db, mir, xhp, xon,
                   3958:        lines#24,
                   3959:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   3960:        cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
                   3961:        ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J,
                   3962:        is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB,
                   3963:        kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@,
                   3964:        sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB,
                   3965:
                   3966: # hpex:
                   3967: #      May be used for most 24 x 80 hp terminals,
                   3968: # but has no padding added, so may allow runover in some terminals at high
                   3969: # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
                   3970: # hp98x5 terminal emulators or hp98x6 consoles.
                   3971: #      Adds xy-cursor addressing, vertical cursor addressing, home,
                   3972: # last line, and underline capabilities.
1.1       millert  3973: #
1.11      millert  3974: # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
                   3975: # moved <rmir> here from hpsub -- esr)
                   3976: hpex|hp extended capabilites,
                   3977:        cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H,
                   3978:        kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ,
                   3979:        smul=\E&dD, vpa=\E&a%p1%dY,
                   3980:        use=hpsub,
                   3981:
                   3982: # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
                   3983: hp2|hpex2|hewlett-packard extended capabilities newer version,
                   3984:        am, da, db, mir, xhp,
                   3985:        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0,
                   3986:        bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
                   3987:        cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
                   3988:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
                   3989:        il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
                   3990:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   3991:        ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
                   3992:        kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
                   3993:        kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
                   3994:        krmir=\ER, ktbc=\E3, meml=\El, memu=\Em,
                   3995:        pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
                   3996:        pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
                   3997:        pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
                   3998:        pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A,
                   3999:        rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
                   4000:        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%;,
                   4001:        sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB,
                   4002:        smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   4003:
                   4004: # HP 236 console
                   4005: # From: <ddavis@ic.berkeley.edu>
                   4006: hp236|hp236 internal terminal emulator,
                   4007:        OTbs, am,
                   4008:        cols#80, lines#24,
                   4009:        clear=\EF, cnorm=\EDE, cub1=^H,
                   4010:        cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB,
                   4011:        dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI,
                   4012:        sgr0=\ECI, smso=\EBI,
                   4013:
                   4014: # This works on a hp300 console running Utah 4.3 BSD
                   4015: # From: Craig Leres <leres@okeeffe.berkeley.edu>
                   4016: hp300h|HP Catseye console,
                   4017:        OTbs, am, da, db, mir, xhp,
                   4018:        cols#128, lines#51, lm#0, xmc#0,
                   4019:        bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
                   4020:        cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
                   4021:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I,
                   4022:        if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H,
                   4023:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   4024:        rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@,
                   4025:        smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3,
                   4026:        vpa=\E&a%p1%dY,
                   4027: # From: Greg Couch <gregc@ernie.berkeley.edu>
                   4028: hp9837|hp98720|hp98721|HP 9000/300 workstations,
                   4029:        OTbs, am, da, db, mir, xhp,
                   4030:        cols#128, it#8, lines#46, lm#0,
                   4031:        bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB,
                   4032:        cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
                   4033:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
                   4034:        il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED,
                   4035:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   4036:        ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU,
                   4037:        kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@,
                   4038:        sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD,
                   4039:        tbc=\E3, vpa=\E&a%p1%dY,
                   4040: # HP 9845 desktop computer from BRL
                   4041: # (hp9845: removed unknown capability :gu: -- esr)
                   4042: hp9845|HP 9845,
                   4043:        OTbs, am, da, db, eo, mir, xhp,
                   4044:        cols#80, lines#21,
                   4045:        OTbc=\ED, clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY,
                   4046:        cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK,
                   4047:        if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@,
                   4048:        smir=\EQ, smso=\E&dB,
                   4049: # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
                   4050: # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
                   4051: # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
                   4052: hp98550|hp98550a|HP 9000 Series 300 color console,
                   4053:        OTbs, am, da, db, mir, xhp,
                   4054:        cols#128, it#8, lines#49, lm#0,
                   4055:        acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR,
                   4056:        clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   4057:        cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
                   4058:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
                   4059:        if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds,
                   4060:        kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   4061:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
                   4062:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   4063:        khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
                   4064:        knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ,
                   4065:        rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
                   4066:        sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ,
                   4067:        smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   4068: # From: Victor Duchovni <vic@fine.princeton.edu>
                   4069: # (hp700-wy: removed obsolete ":nl=^J:";
                   4070: # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
                   4071: hp700-wy|HP700/41 emulating wyse30,
                   4072:        OTbs, am, bw, mir, msgr,
                   4073:        cols#80, it#8, lines#24, xmc#1,
                   4074:        cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
                   4075:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   4076:        dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1,
                   4077:        if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>,
                   4078:        is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI,
                   4079:        kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY,
                   4080:        kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K,
                   4081:        ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
                   4082:        sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
                   4083:        smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
                   4084: # (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
                   4085: hp70092|hp70092a|hp70092A|70092|HP 700/92,
                   4086:        am, da, db, xhp,
                   4087:        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
                   4088:        acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA,
                   4089:        bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H,
                   4090:        cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA,
                   4091:        dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I,
                   4092:        hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
                   4093:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   4094:        ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
                   4095:        kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
                   4096:        kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
                   4097:        krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER,
                   4098:        rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
                   4099:        sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
                   4100:        smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   4101:
                   4102: bobcat|sbobcat|HP 9000 model 300 console,
                   4103:        am, da, db, mir, xhp,
                   4104:        cols#128, it#8, lines#47, xmc#0,
                   4105:        cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   4106:        cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>,
                   4107:        ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>,
                   4108:        ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   4109:        khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@,
                   4110:        rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB,
                   4111:        smul=\E&dD, vpa=\E&a%dY$<6/>,
                   4112: gator-t|HP 9000 model 237 emulating extra-tall AAA,
                   4113:        lines#94, use=gator,
                   4114: gator|HP 9000 model 237 emulating AAA,
                   4115:        bw, km, mir, ul,
                   4116:        cols#128, it#8, lines#47,
                   4117:        bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J,
                   4118:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM,
                   4119:        dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>,
                   4120:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`,
                   4121:        ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>,
                   4122:        il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   4123:        rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m,
                   4124:        rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   4125: gator-52|HP 9000 model 237 emulating VT52,
                   4126:        cols#128, lines#47, use=vt52,
                   4127: gator-52t|HP 9000 model 237 emulating extra-tall VT52,
                   4128:        lines#94, use=gator-52,
                   4129:
                   4130: #### Honeywell-Bull
1.1       millert  4131: #
1.11      millert  4132: # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
1.1       millert  4133: #
1.11      millert  4134:
                   4135: # Honeywell Bull terminal.  Its cursor and function keys send single
                   4136: # control characters and it has standout/underline glitch.  Most programs
                   4137: # do not like these features/bugs.  Visual bell is realized by flashing the
                   4138: # "keyboard locked" LED.
                   4139: dku7003-dumb|Honeywell Bull DKU 7003 dumb mode,
                   4140:        cols#80, lines#25,
                   4141:        clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X,
                   4142:        cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K,
                   4143:        flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y,
                   4144:        kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J,
                   4145: dku7003|Honeywell Bull DKU 7003 all features described,
                   4146:        msgr,
                   4147:        xmc#1,
                   4148:        blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m,
                   4149:        rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   4150:        use=dku7003-dumb,
                   4151:
                   4152: #### Lear-Siegler (adm)
1.1       millert  4153: #
1.11      millert  4154: # These guys are long since out of the terminals business, but
                   4155: # in 1995 many current terminals still have an adm type as one of their
                   4156: # emulations (usually their stupidest, and usually labeled adm3, though
                   4157: # these `adm3' emulations normally have adm3a+ capabilities).
                   4158: #
                   4159: # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
                   4160: # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
                   4161: # was being held to ground would trigger a send of the top line on the screen.
                   4162: # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
                   4163: # hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
                   4164: # for clearing up this point.)
                   4165:
                   4166: adm1a|adm1|lsi adm1a,
                   4167:        am,
                   4168:        cols#80, lines#24,
                   4169:        bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4170:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^,
                   4171:        ind=^J,
                   4172: adm2|lsi adm2,
                   4173:        OTbs, am,
                   4174:        cols#80, lines#24,
                   4175:        bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4176:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   4177:        dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J,
                   4178:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   4179: # (adm3: removed obsolete ":ma=^K^P:" -- esr)
                   4180: adm3|lsi adm3,
                   4181:        OTbs, am,
                   4182:        cols#80, lines#24,
                   4183:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   4184: # The following ADM-3A switch settings are assumed for normal operation:
                   4185: #      SPACE           U/L_DISP        CLR_SCRN        24_LINE
                   4186: #      CUR_CTL         LC_EN           AUTO_NL         FDX
                   4187: # Other switches may be set for operator convenience or communication
                   4188: # requirements.  I recommend
                   4189: #      DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
                   4190: #      ETX_OFF         EOT_OFF
                   4191: # Most of these terminals required an option ROM to support lower case display.
                   4192: # Open the case and look at the motherboard; if you see an open 24-pin DIP
                   4193: # socket, you may be out of luck.
                   4194: #
                   4195: # (adm3a: some capabilities merged in from BRl entry -- esr)
                   4196: adm3a|lsi adm3a,
                   4197:        OTbs, am,
                   4198:        cols#80, lines#24,
                   4199:        OTma=^K^P, OTnl=^J, bel=^G, clear=\032$<1/>, cr=^M, cub1=^H,
                   4200:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   4201:        cuu1=^K, home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L,
                   4202:        kcuu1=^K, rs2=^N,
                   4203: adm3a+|adm3a plus,
                   4204:        kbs=^H, use=adm3a,
                   4205: # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
                   4206: adm5|lsi adm5,
                   4207:        xmc#1,
                   4208:        bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^,
                   4209:        rmso=\EG, smso=\EG,
                   4210:        use=adm3a+,
                   4211: # A lot of terminals other than adm11s use these.  Wherever you see
                   4212: # use=adm+sgr with some of its capabilities disabled, try the
                   4213: # disabled ones.  They may well work but not have been documented or
                   4214: # expressed in the using entry.  We'd like to cook up an <sgr> but the
                   4215: # <rmacs>/<smacs> sequences of the using entries vary too much.
                   4216: adm+sgr|adm style highlight capabilities,
                   4217:        invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0,
                   4218:        smso=\EG4, smul=\EG8,
                   4219: # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
                   4220: # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
                   4221: # <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
                   4222: # be ^Z, according to his entry.
                   4223: # (adm11: <smul>=\EG4 was obviously erroneous because it also said
                   4224: # <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
                   4225: adm11|LSI ADM-11,
                   4226:        OTbs, am, hs,
                   4227:        OTkn#8, cols#80, lines#24,
                   4228:        OTnl=^J, bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H,
                   4229:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   4230:        cuu1=^K, dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I,
                   4231:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
                   4232:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4233:        kf7=^AF\r, kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E),
                   4234:        use=adm+sgr,
                   4235: # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
                   4236: # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
                   4237: # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
                   4238: # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
                   4239: # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
                   4240: # via BRL.  That entry asserted <xmc#1>, but I've left that out because
                   4241: # neither earlier nor later ADMSs have it -- esr)
                   4242: #
                   4243: # You will need to get into the supervisor setup before you can set
                   4244: # baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
                   4245: # see a lot more setup options.
                   4246: #
                   4247: # While in supervisor setup you can also use following codes:
                   4248: #
                   4249: # Ctrl-P Personality character selections (configure for example what
                   4250: #        arrow keys send, if I recall correctly)
                   4251: # Ctrl-T tabs 1-80   use left&right to move and up to set and
                   4252: # Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
                   4253: # Ctrl-B Binary setup (probably not needed. I think that everything can
                   4254: #        be set using normal setup)
                   4255: # Ctrl-A Answerback mode (enter answerback message)
                   4256: # Ctrl-U User friendly mode (normal setup)
                   4257: # Ctrl-D Defaults entire setup and function keys from EPROM tables
                   4258: # Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
                   4259: # Ctrl-R Reads both setup and functions keys from NVM.
                   4260: # Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
                   4261: #
                   4262: # ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
                   4263: # RTS/CTS used nowadays with virtually every modem and computer. 19200
                   4264: # bps works fine with hardware flow control.
                   4265: #
                   4266: # The following null-modem cable should fix this and enable you to use
                   4267: # RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
                   4268: # set ADM-12+ for DTR handshaking from supervisor setup.
                   4269: #
                   4270: # PC Serial   ADM-12+
                   4271: #  --------   -------
                   4272: #         2 - 3
                   4273: #         3 - 2
                   4274: #         4 - 5
                   4275: #         5 - 20
                   4276: #       6,8 - 4
                   4277: #         7 - 7
                   4278: #        20 - 6,8
                   4279: #
                   4280: adm12|lsi adm12,
                   4281:        OTbs, OTpt, am, mir,
                   4282:        OTug#1, cols#80, it#8, lines#24,
                   4283:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4284:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   4285:        dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
                   4286:        is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1,
                   4287:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
                   4288:        kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
                   4289:        kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0,
                   4290:        use=adm+sgr,
                   4291: # (adm20: removed obsolete ":kn#7:" -- esr)
                   4292: adm20|lear siegler adm20,
                   4293:        OTbs, am,
                   4294:        cols#80, it#8, lines#24,
                   4295:        bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L,
                   4296:        cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW,
                   4297:        dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE,
                   4298:        kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(,
                   4299:        sgr0=\E(, smso=\E),
                   4300: adm21|lear siegler adm21,
                   4301:        xmc#1,
                   4302:        bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET,
                   4303:        ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H,
                   4304:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   4305:        use=adm+sgr, use=adm3a,
                   4306: # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
                   4307: # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
                   4308: # removed bogus-looking \200 from before <cup>. -- esr)
                   4309: adm22|lsi adm22,
                   4310:        OTbs, am,
                   4311:        cols#80, lines#24,
                   4312:        bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4313:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   4314:        dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE,
                   4315:        is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0,
                   4316:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
                   4317:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4318:        kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   4319:        lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E),
                   4320: # ADM 31 DIP Switches
                   4321: #
                   4322: # This information comes from two versions of the manual for the
                   4323: # Lear-Siegler ADM 31.
                   4324: #
                   4325: # Main board:
                   4326: #                  rear of case
                   4327: #   +-||||-------------------------------------+
                   4328: #   + S1S2                              ||S    +
                   4329: #   +                                   ||3    +
                   4330: #   +                                          +
                   4331: #   +                                ||S       +
                   4332: #   +                                ||4       +
                   4333: #   +                                          +
                   4334: #   +                                          +
                   4335: #   +                                          +
                   4336: #   +                                          +
                   4337: #   +                                          +
                   4338: # +-+                                          +-+
                   4339: # +                                              +
                   4340: # +                               S5 S6 S7       +
                   4341: # +                               == == ==       +
                   4342: # +----------------------------------------------+
                   4343: #            front of case (keyboard)
                   4344: #
                   4345: #  S1 - Data Rate - Modem
                   4346: #  S2 - Data Rate - Printer
                   4347: # ------------------------
                   4348: # Data Rate   Setting
                   4349: # -------------------
                   4350: # 50          0 0 0 0
                   4351: # 75          1 0 0 0
                   4352: # 110         0 1 0 0
                   4353: # 134.5       1 1 0 0
                   4354: # 150         0 0 1 0
                   4355: # 300         1 0 1 0
                   4356: # 600         0 1 1 0
                   4357: # 1200        1 1 1 0
                   4358: # 1800        0 0 0 1
                   4359: # 2000        1 0 0 1
                   4360: # 2400        0 1 0 1
                   4361: # 3600        1 1 0 1
                   4362: # 4800        0 0 1 1
                   4363: # 7200        1 0 1 1
                   4364: # 9600        0 1 1 1
                   4365: # x           1 1 1 1
                   4366: #
                   4367: # S3 - Interface/Printer/Attributes
                   4368: # ---------------------------------
                   4369: # Printer Busy Control
                   4370: # sw1   sw2   sw3
                   4371: # ---------------
                   4372: # off   off   off   Busy not active, CD disabled
                   4373: # off   off   on    Busy not active, CD enabled
                   4374: # off   on    off   Busy active on J5-20, CD disabled
                   4375: # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
                   4376: # on    off   on    Busy active on J5-19, CD enabled
                   4377: #
                   4378: # sw4   Used in conjuction with S4 for comm interface control - Fact 0
                   4379: #
                   4380: # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
                   4381: #
                   4382: # sw6   ON enables printer BUSY active LOW - Factory Setting
                   4383: #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
                   4384: #
                   4385: # sw7   ON - steady cursor - Factory Setting
                   4386: #       OFF - blinking cursor
                   4387: #
                   4388: # sw8   ON causes selected attribute character to be displayed
                   4389: #       OFF causes SPACE to be displayed instead - Factory Setting
                   4390: #
                   4391: # S4 - Interface
                   4392: # --------------
                   4393: # Modem Interface
                   4394: # S3    S4    S4    S4    S4
                   4395: # sw4   sw1   sw2   sw3   sw4
                   4396: # ---------------------------
                   4397: # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
                   4398: #                               Current Loop disabled - Factory Setting
                   4399: # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
                   4400: #                               disabled
                   4401: # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
                   4402: #                               Current Loop Disabled
                   4403: #
                   4404: # sw5   ON disables dot stretching mode - Factory Setting
                   4405: #       OFF enables dot stretching mode
                   4406: # sw6   ON enables blanking function
                   4407: #       OFF enables underline function - Factory Setting
                   4408: # sw7   ON causes NULLS to be displayed as NULLS
                   4409: #       OFF causes NULLS to be displayed as SPACES - Factory Setting
                   4410: #
                   4411: # S5 - Word Structure
                   4412: # -------------------
                   4413: # sw1   ON enables BREAK key - Factory Setting
                   4414: #       OFF disables BREAK key
                   4415: # sw2   ON selects 50Hz monitor refresh rate
                   4416: #       OFF selects 60Hz monitor refresh rate - Factory Setting
                   4417: #
                   4418: # Modem Port Selection
                   4419: # sw3   sw4   sw5
                   4420: # ---------------
                   4421: # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
                   4422: # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
                   4423: # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
                   4424: # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
                   4425: # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
                   4426: # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
                   4427: # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
                   4428: # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
1.1       millert  4429: #
                   4430: # sw6   ON  sends bit 8 a 1 (mark)
                   4431: #       OFF sends bit 8 as 0 (space) - Factory Setting
                   4432: # sw7   ON  selects Block Mode
                   4433: #       OFF selects Conversation Mode - Factory Setting
                   4434: # sw8   ON  selects Full Duplex operation
                   4435: #       OFF selects Half Duplex operation - Factory Setting
                   4436: #
                   4437: # S6 - Printer
                   4438: # ------------
                   4439: # sw1, sw2, sw6, sw7   Reserved - Factory 0
                   4440: #
                   4441: # Printer Port Selection
                   4442: # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
                   4443: #
                   4444: # sw8   ON   enables Printer Port
                   4445: #       OFF disables Printer Port - Factory Setting
                   4446: #
                   4447: # S7 - Polling Address
                   4448: # --------------------
                   4449: # sw1-7 Establish ASCII character which designates terminal polling address
                   4450: #       ON  = logic 0
                   4451: #       OFF = logic 1 - Factory Setting
                   4452: # sw8   ON   enables Polling Option
                   4453: #       OFF disables Polling Option - Factory Setting
                   4454: #
                   4455: #
                   4456: # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
                   4457: #
                   4458: # This adm31 entry uses underline as the standout mode.
                   4459: # If the adm31 gives you trouble with standout mode, check the DIP switch in
                   4460: # position 6, bank @c11, 25% from back end of the circuit board.  Should be
                   4461: # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
                   4462: # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
                   4463: adm31|lsi adm31 with sw6 set for underline mode,
1.11      millert  4464:        OTbs, am, mir,
1.1       millert  4465:        cols#80, lines#24,
                   4466:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4467:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  4468:        dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0,
                   4469:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
                   4470:        kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
                   4471:        kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0,
1.1       millert  4472:        rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1,
1.11      millert  4473: adm31-old|o31|old adm31,
                   4474:        rmul@, smso=\EG4, smul@, use=adm31,
1.1       millert  4475: # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
                   4476: adm36|LSI ADM36,
1.11      millert  4477:        OTbs, OTpt,
1.1       millert  4478:        OTkn#4,
                   4479:        if=/usr/lib/tabset/vt100,
1.11      millert  4480:        is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l, use=vt100,
1.1       millert  4481: # (adm42: removed obsolete ":ma=^K^P:" -- esr)
                   4482: adm42|lsi adm42,
                   4483:        OTbs, am,
                   4484:        cols#80, lines#24,
                   4485:        bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4486:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
1.11      millert  4487:        cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I,
                   4488:        il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J,
                   4489:        kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@,
                   4490:        smir=\Eq, smul@,
                   4491:        use=adm+sgr,
1.1       millert  4492: # The following termcap for the Lear Siegler ADM-42 leaves the
                   4493: # "system line" at the bottom of the screen blank (for those who
                   4494: # find it distracting otherwise)
1.11      millert  4495: adm42-ns|lsi adm-42 with no system line,
                   4496:        cbt=\EI\EF \011, clear=\E;\EF \011,
                   4497:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011,
                   4498:        dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011,
                   4499:        el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011,
                   4500:        smir=\Eq\EF \011,
                   4501:        use=adm42,
1.1       millert  4502: # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
                   4503: # The insert mode of this terminal is commented out because it's broken for our
                   4504: # purposes in that it will shift the position of every character on the page,
                   4505: # not just the cursor line!
                   4506: # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
                   4507: adm1178|1178|lsi adm1178,
                   4508:        am,
                   4509:        cols#80, lines#24, xmc#1,
                   4510:        bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J,
                   4511:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   4512:        cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET,
                   4513:        home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H,
1.11      millert  4514:        kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0,
                   4515:        sgr0=\E), smso=\EG4, smul=\EG1,
                   4516:
                   4517: #### Prime
                   4518: #
                   4519: # Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
                   4520: # <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
                   4521: # Prime merged with ComputerVision in the late 1980s; you can reach them at:
                   4522: #
                   4523: #      ComputerVision Services
                   4524: #      500 Old Connecticut Path
                   4525: #      Framingham, Mass.
                   4526: #
                   4527:
                   4528: # Standout mode is dim reverse-video.
                   4529: pt100|pt200|wren|fenix|prime pt100/pt200,
                   4530:        am, bw, mir, msgr,
                   4531:        cols#80, it#8, lines#24,
                   4532:        cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   4533:        cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,
                   4534:        cup=\E0%p1%{33}%+%c%p2%{33}%+%c, cuu=\E[%p1%dA,
                   4535:        cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M,
                   4536:        ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P,
                   4537:        home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D,
                   4538:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J,
                   4539:        rmcup=, rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m,
                   4540:        sgr0=\E[m,
                   4541:        smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q,
                   4542:        smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m,
                   4543: pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode,
                   4544:        cols#132,
                   4545:        cup=\E[%i%p1%d;%p2%dH, use=pt100,
                   4546: pt250|Prime PT250,
                   4547:        rmso@, smso@, use=pt100,
                   4548: pt250w|Prime PT250 in 132-column mode,
                   4549:        rmso@, smso@, use=pt100w,
1.1       millert  4550:
                   4551: #### Qume (qvt)
                   4552: #
                   4553: #      Qume, Inc.
                   4554: #      3475-A North 1st Street
                   4555: #      San Jose CA 95134
                   4556: #      Vox: (800)-457-4447
                   4557: #      Fax: (408)-473-1510
                   4558: #      Net: josed@techsupp.wyse.com (Jose D'Oliveira)
                   4559: #
                   4560: # Qume was bought by Wyse, but still (as of early 1995) has its own support
                   4561: # group and production division.
                   4562: #
                   4563: # Discontinued Qume models:
                   4564: #
                   4565: # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
                   4566: # built to replace them, and a qvt119+ which was a 101+ with available wide
                   4567: # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
                   4568: # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
                   4569: # ANSI-compatible terminals with the qvt323 and qvt61.
                   4570: #
                   4571: # Current Qume models (as of February 1995):
                   4572: #
                   4573: # All current Qume terminals have ANSI-compatible operation modes.
                   4574: # Qume is still producing the qvt62, which features emulations for other
                   4575: # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
                   4576: # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
                   4577: # with many emulations including Wyse370, Wyse 325, etc.  Their newest
                   4578: # model is the qvt520, which is vt420-compatible.
                   4579: #
                   4580: # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
                   4581: #
                   4582: # If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
                   4583: # setup mode.  Shift-s should be a configuration save to NVRAM.
                   4584:
1.11      millert  4585: qvt101|qvt108|qume qvt 101 and QVT 108,
1.1       millert  4586:        xmc#1, use=qvt101+,
                   4587:
                   4588: # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
                   4589: # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked
                   4590: # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
                   4591: # What seems to be going on here is that this entry was designed so that
                   4592: # the normal highlight is bold and standout is dim plus something else
                   4593: # (reverse-video maybe?  But then, are there two <rev> sequences?)
1.11      millert  4594: qvt101+|qvt101p|qume qvt 101 PLUS product,
                   4595:        am, bw, hs, ul,
                   4596:        cols#80, lines#24, xmc#0,
                   4597:        bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J,
                   4598:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   4599:        dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
                   4600:        flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
                   4601:        ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H,
                   4602:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET,
                   4603:        kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   4604:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   4605:        khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(,
                   4606:        smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef,
                   4607:        use=adm+sgr,
                   4608: qvt102|qume qvt 102,
                   4609:        cnorm=\E., use=qvt101,
1.1       millert  4610: # (qvt103: added <rmam>/<smam> based on init string -- esr)
1.11      millert  4611: qvt103|qume qvt 103,
                   4612:        am, xenl, xon,
                   4613:        cols#80, it#8, lines#24, vt#3,
                   4614:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   4615:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   4616:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   4617:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   4618:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   4619:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   4620:        hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   4621:        kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8,
                   4622:        rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>,
                   4623:        rmso=\E[m$<2>, rmul=\E[m$<2>,
                   4624:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   4625:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   4626:        sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=,
                   4627:        smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   4628: qvt103-w|qume qvt103 132 cols,
                   4629:        cols#132, lines#24,
                   4630:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103,
                   4631: qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals,
                   4632:        am, hs, mir, msgr,
                   4633:        cols#80, lines#24, xmc#0,
                   4634:        bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H,
                   4635:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   4636:        cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey,
                   4637:        el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I,
                   4638:        hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX,
                   4639:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r,
                   4640:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   4641:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   4642:        mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8,
                   4643:        tbc=\E3, tsl=\Eg\Ef,
                   4644:        use=adm+sgr,
                   4645: qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines,
                   4646:        lines#25, use=qvt119+,
                   4647: qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode,
                   4648:        cols#132,
                   4649:        is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+,
                   4650: qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25,
1.1       millert  4651:        lines#25, use=qvt119+,
                   4652: qvt203|qvt203+|qume qvt 203 Plus,
1.11      millert  4653:        dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
                   4654:        ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
                   4655:        kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
                   4656:        kf9=\E[28~, rmir=\E[4l, smir=\E[4h,
                   4657:        use=qvt103,
                   4658: qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video),
                   4659:        cols#132, lines#24,
                   4660:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203,
1.1       millert  4661: #
                   4662: #      Since a command is present for enabling 25 data lines,
                   4663: #      a specific terminfo entry may be generated for the 203.
                   4664: #      If one is desired for the QVT 119 PLUS then 25 lines must
                   4665: #      be selected in the status line (setup line 9).
                   4666: #
1.11      millert  4667: qvt203-25|QVT 203 PLUS with 25 by 80 column mode,
                   4668:        cols#80, lines#25,
                   4669:        is2=\E[=40h\E[?3l, use=qvt203,
                   4670: qvt203-25-w|QVT 203 PLUS with 25 by 132 columns,
                   4671:        cols#132, lines#25,
                   4672:        rs2=\E[?3h\E[=40h, use=qvt203,
1.1       millert  4673:
                   4674: #### Televideo (tvi)
                   4675: #
                   4676: #      TeleVideo
                   4677: #      550 East Brokaw Road
                   4678: #      PO Box 49048    95161
                   4679: #      San Jose CA 95112
                   4680: #      Vox: (408)-954-8333
                   4681: #      Fax: (408)-954-0623
                   4682: #
                   4683: #
                   4684: # There are some tvi terminals that require incredible amounts of padding and
                   4685: # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
                   4686: # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
                   4687: #
                   4688: # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
                   4689: # Televideo terminals are ANSI and PC-ANSI compatible.
                   4690:
1.11      millert  4691: tvi803|televideo 803,
                   4692:        clear=\E*$<10>, use=tvi950,
1.1       millert  4693:
                   4694: # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
                   4695: # Switch settings are:
                   4696: #
                   4697: # S1  1 2 3 4
                   4698: #     D D D D  9600
                   4699: #     D D D U    50
                   4700: #     D D U D    75
                   4701: #     D D U U   110
                   4702: #     D U D D   135
                   4703: #     D U D U   150
                   4704: #     D U U D   300
                   4705: #     D U U U   600
                   4706: #     U D D D  1200
                   4707: #     U D D U  1800
                   4708: #     U D U D  2400
                   4709: #     U D U U  3600
                   4710: #     U U D D  4800
                   4711: #     U U D U  7200
                   4712: #     U U U D  9600
                   4713: #     U U U U 19200
                   4714: #
                   4715: # S1  5 6 7 8
                   4716: #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
                   4717: #     U D X U  7N2
                   4718: #     U U D D  7O1
                   4719: #     U U D U  7O2
                   4720: #     U U U D  7E1
                   4721: #     U U U U  7E2
                   4722: #     D D X D  8N1
                   4723: #     D D X U  8N2
                   4724: #     D U D D  8O1
                   4725: #     D U U U  8E2
                   4726: #
                   4727: # S1  9  Autowrap
                   4728: #     U  on
                   4729: #     D  off
                   4730: #
                   4731: # S1 10  CR/LF
                   4732: #     U  do CR/LF when CR received
                   4733: #     D  do CR when CR received
                   4734: #
                   4735: # S2  1  Mode
                   4736: #     U  block
                   4737: #     D  conversational
                   4738: #
                   4739: # S2  2  Duplex
                   4740: #     U  half
                   4741: #     D  full
                   4742: #
                   4743: # S2  3  Hertz
                   4744: #     U  50
                   4745: #     D  60
                   4746: #
                   4747: # S2  4  Edit mode
                   4748: #     U  local
                   4749: #     D  duplex
                   4750: #
                   4751: # S2  5  Cursor type
                   4752: #     U  underline
                   4753: #     D  block
                   4754: #
                   4755: # S2  6  Cursor down key
                   4756: #     U  send ^J
                   4757: #     D  send ^V
                   4758: #
                   4759: # S2  7  Screen colour
                   4760: #     U  green on black
                   4761: #     D  black on green
                   4762: #
                   4763: # S2  8  DSR status (pin 6)
                   4764: #     U  disconnected
                   4765: #     D  connected
                   4766: #
                   4767: # S2  9  DCD status (pin 8)
                   4768: #     U  disconnected
                   4769: #     D  duplex
                   4770: #
                   4771: # S2 10  DTR status (pin 20)
                   4772: #     U  disconnected
                   4773: #     D  duplex
                   4774: # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
                   4775: # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
                   4776: tvi910|televideo model 910,
1.11      millert  4777:        OTbs, am, msgr,
1.1       millert  4778:        cols#80, it#8, lines#24, xmc#1,
                   4779:        bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
1.11      millert  4780:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
                   4781:        home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I,
                   4782:        if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H,
                   4783:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r,
                   4784:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4785:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   4786:        vpa=\E[%p1%{32}%+%c, use=adm+sgr,
1.1       millert  4787: # From: Alan R. Rogers <rogers%albany@csnet-relay>
                   4788: # as subsequently hacked over by someone at SCO
                   4789: # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
                   4790: #
                   4791: # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
                   4792: #
                   4793: # S1  1 2 3 4:
                   4794: #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
                   4795: #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
                   4796: #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
                   4797: #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
                   4798: #
                   4799: # S1  5 6 7 8:
                   4800: #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
                   4801: #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
                   4802: #     D U D D  8O1     D U U U  8E2
                   4803: #
                   4804: # S1  9  Autowrap            (U = on, D = off)
                   4805: # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
                   4806: # S2  1  Mode                (U = block, D = conversational)
                   4807: # S2  2  Duplex              (U =  half, D = full)
                   4808: # S2  3  Hertz               (U = 50, D = 60)
                   4809: # S2  4  Edit mode           (U = local, D = duplex)
                   4810: # S2  5  Cursor type         (U = underline, D = block)
                   4811: # S2  6  Cursor down key     (U = send ^J, D = send ^V)
                   4812: # S2  7  Screen colour       (U = green on black, D = black on green)
                   4813: # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
                   4814: # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
                   4815: # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
                   4816: #
                   4817: tvi910+|televideo 910+,
1.11      millert  4818:        dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>,
                   4819:        kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
                   4820:        kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
                   4821:        ll=\E=7\s,
                   4822:        use=tvi910,
1.1       millert  4823:
                   4824: # (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
                   4825: # <khome> from BRL entry -- esr)
                   4826: tvi912|tvi914|tvi920|old televideo 912/914/920,
                   4827:        OTbs, OTpt, am, msgr,
1.11      millert  4828:        cols#80, it#8, lines#24, xmc#1,
1.1       millert  4829:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4830:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  4831:        dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^,
                   4832:        ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt,
                   4833:        il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
                   4834:        kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
                   4835:        kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
                   4836:        kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El,
                   4837:        tbc=\E3,
1.1       millert  4838: # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
                   4839: # The 920 has this plus real function keys that xmit different things.
                   4840: # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
                   4841: tvi912c|tvi912b|new televideo 912,
1.11      millert  4842:        dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912,
1.1       millert  4843: # set to page 1 when entering curses application (\E-17 )
                   4844: # reset to page 0 when exiting curses application (\E-07 )
                   4845: tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages,
1.11      millert  4846:        rmcup=\E-07\s, smcup=\E-17\s, use=tvi912,
1.1       millert  4847: # We got some new tvi912c terminals that act really weird on the regular
                   4848: # termcap, so one of our gurus worked this up. Seems that cursor
                   4849: # addressing is broken.
1.11      millert  4850: tvi912cc|tvi912 at cowell college,
                   4851:        cup@, use=tvi912c,
1.1       millert  4852:
                   4853: # Here are the switch settings for the tvi920c:
                   4854: #
                   4855: # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
                   4856: # 2: 9600      3: 4800         4: 2400         5: 1200
                   4857: # 6:  600      7:  300         8:  150         9:   75
                   4858: # 10: 110
                   4859: #
                   4860: # S2 UART/Terminal options:
                   4861: #              Up                      Down
                   4862: # 1:           Not used                Not allowed
                   4863: # 2:   Alternate character set   Standard character set
                   4864: # 3:       Full duplex             Half duplex
                   4865: # 4:       50 Hz refresh           60 Hz refresh
                   4866: # 5:         No parity              Send parity
                   4867: # 6:        2 stop bits             1 stop bit
                   4868: # 7:        8 data bits             7 data bits
                   4869: # 8:           Not used                Not allowed on Rev E or lower
                   4870: # 9:        Even parity             Odd parity
                   4871: # 10:      Steady cursor           Blinking cursor
                   4872: #      (On Rev E or lower, use W25 instead of switch 10.)
                   4873: #
                   4874: # S5 UART/Terminal options:
                   4875: #              Open                    Closed
                   4876: # 1:   P3-6 Not connected      DSR received on P3-6
                   4877: # 2:   P3-8 Not connected      DCD received on P3-8
                   4878: #
                   4879: # 3 Open, 4 Open:              P3-20 Not connected
                   4880: # 3 Open, 4 Closed:    DTR on when terminal is on
                   4881: # 3 Closed, 4 Open:    DTR is connected to RTS
                   4882: # 3 Closed, 4 Closed:  Not allowed
                   4883: #
                   4884: # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
                   4885: #              all data transmitted out of the modem port (P3) will also be
                   4886: #              transmitted out of the printer port (P4).
                   4887: #
                   4888: # 6 Open, 7 Open:              Not allowed
                   4889: # 6 Open, 7 Closed:    20ma current loop input
                   4890: # 6 Closed, 7 Open:    RS232 input
                   4891: # 6 Closed, 7 Closed:  Not allowed
                   4892: #
                   4893: # Jumper options:
                   4894: # If the jumper is installed, the effect will occur (the next time the terminal
                   4895: # is switched on).
                   4896: #
                   4897: # S4/W31:      Enables automatic LF upon receipt of CR from
                   4898: #              remote or keyboard.
                   4899: # S4/W32:      Enables transmission of EOT at the end of Send.  If not
                   4900: #              installed, a carriage return is sent.
                   4901: # S4/W33:      Disables automatic carriage return in column 80.
                   4902: # S4/W34:      Selects Page Print Mode as initial condition.  If not
                   4903: #              installed, Extension Mode is selected.
                   4904: #
                   4905: tvi920b|tvi920c|new televideo 920,
                   4906:        dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r,
1.11      millert  4907:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4908:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   4909:        use=tvi912,
1.1       millert  4910:
                   4911: # Televideo 921 and variants
                   4912: # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
                   4913: # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
                   4914: # also added empty <acsc> to suppress tic warning -- esr)
                   4915: tvi921|televideo model 921 with sysline same as page & real vi function,
                   4916:        OTbs, OTpt, am, hs, xenl, xhp,
                   4917:        cols#80, lines#24, xmc#0,
1.11      millert  4918:        acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
                   4919:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
                   4920:        cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
                   4921:        el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
                   4922:        if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@,
                   4923:        is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H,
                   4924:        kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>,
                   4925:        ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%,
1.1       millert  4926:        rmir=, smacs=\E$, smir=, tsl=\Ef\EG0,
1.11      millert  4927:        use=adm+sgr,
1.1       millert  4928: # without the beeper
                   4929: # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
                   4930: # also added empty <acsc> to suppress tic warning -- esr)
                   4931: tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper,
                   4932:        am, hs, xenl, xhp,
                   4933:        cols#80, lines#24, xmc#0,
1.11      millert  4934:        acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
                   4935:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
                   4936:        cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
                   4937:        el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I,
                   4938:        ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
                   4939:        invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z,
1.1       millert  4940:        kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
1.11      millert  4941:        kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE,
                   4942:        nel=^M^J, rmacs=\E%, smacs=\E$, tsl=\Ef\EG0,
                   4943:        use=adm+sgr,
1.1       millert  4944: # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
                   4945: tvi92D|tvi92B with DTR instead of XON/XOFF & better padding,
                   4946:        dl1=\ER$<2*/>, il1=\EE$<2*/>,
                   4947:        is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>,
                   4948:        kil1=\EE$<2*/>,
1.11      millert  4949:        use=tvi92B,
1.1       millert  4950:
                   4951: # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
                   4952: # in from a BSD termcap file because it looks like they do something the
                   4953: # old ones skip -- esr)
                   4954: tvi924|televideo tvi924,
                   4955:        am, bw, hs, in, mir, msgr, xenl, xon,
                   4956:        cols#80, it#8, lines#24, wsl#80, xmc#0,
1.11      millert  4957:        bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0,
                   4958:        cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c,
                   4959:        cub1=^H, cud1=^V, cuf1=^L,
                   4960:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1,
                   4961:        dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et,
                   4962:        flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1,
                   4963:        ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
                   4964:        invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0,
                   4965:        kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
                   4966:        kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r,
                   4967:        kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r,
                   4968:        kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r,
                   4969:        kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^,
                   4970:        kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4,
                   4971:        lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10,
                   4972:        pfkey=\E|%p1%{49}%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, use=adm+sgr,
1.1       millert  4973:
                   4974: # TVI925 DIP switches.  In each of these, D = Down and U = Up,
                   4975: #
                   4976: # Here are the settings for the external (baud) switches (S1):
                   4977: #
                   4978: #             Position         Baud
                   4979: # 7    8       9       10              [Printer]
                   4980: # 1    2       3       4               [Main RS232]
                   4981: # -----------------------------------------------------
                   4982: # D    D       D       D       9600
                   4983: # D    D       D       U         50
                   4984: # D    D       U       D         75
                   4985: # D    D       U       U        110
                   4986: # D    U       D       D        135
                   4987: # D    U       D       U        150
                   4988: # D    U       U       D        300
                   4989: # D    U       U       U        600
                   4990: # U    D       D       D       1200
                   4991: # U    D       D       U       1800
                   4992: # U    D       U       D       2400
                   4993: # U    D       U       U       3600
                   4994: # U    U       D       D       4800
                   4995: # U    U       D       U       7200
                   4996: # U    U       U       D       9600
                   4997: # U    U       U       U       19200
                   4998: #
                   4999: #
                   5000: # Settings for word length and stop-bits (S1)
                   5001: #
                   5002: #  Position    Description
                   5003: # 5    6
                   5004: # ---------------------------
                   5005: # U    -       7-bit word
                   5006: # D    -       8-bit word
                   5007: # -    U       2 stop bits
                   5008: # -    D       1 stop bit
                   5009: #
                   5010: #
                   5011: # S2 (external) settings
                   5012: #
                   5013: # Position     Up      Dn      Description
                   5014: # --------------------------------------------
                   5015: # 1            X               Local edit
                   5016: #                      X       Duplex edit (transmit editing keys)
                   5017: # --------------------------------------------
                   5018: # 2            X               912/920 emulation
                   5019: #                      X       925
                   5020: # --------------------------------------------
                   5021: # 3                    X
                   5022: # 4                    X       No parity
                   5023: # 5                    X
                   5024: # --------------------------------------------
                   5025: # 3                    X
                   5026: # 4                    X       Odd parity
                   5027: # 5            X
                   5028: # --------------------------------------------
                   5029: # 3                    X
                   5030: # 4            X               Even parity
                   5031: # 5            X
                   5032: # --------------------------------------------
                   5033: # 3            X
                   5034: # 4                    X       Mark parity
                   5035: # 5            X
                   5036: # --------------------------------------------
                   5037: # 3            X
                   5038: # 4            X               Space parity
                   5039: # 5            X
                   5040: # --------------------------------------------
                   5041: # 6            X               White on black display
                   5042: #                      X       Black on white display
                   5043: # --------------------------------------------
                   5044: # 7                    X       Half Duplex
                   5045: # 8                    X
                   5046: # --------------------------------------------
                   5047: # 7            X               Full Duplex
                   5048: # 8                    X
                   5049: # --------------------------------------------
                   5050: # 7                    X       Block mode
                   5051: # 8            X
                   5052: # --------------------------------------------
                   5053: # 9                    X       50 Hz
                   5054: #              X               60 Hz
                   5055: # --------------------------------------------
                   5056: # 10           X               CR/LF (Auto LF)
                   5057: #                      X       CR only
                   5058: #
                   5059: # S3 (internal switch) settings:
                   5060: #
                   5061: # Position     Up      Dn      Description
                   5062: # --------------------------------------------
                   5063: # 1            X               Keyclick off
                   5064: #                      X       Keyclick on
                   5065: # --------------------------------------------
                   5066: # 2                    X       English
                   5067: # 3                    X
                   5068: # --------------------------------------------
                   5069: # 2                    X       German
                   5070: # 3            X
                   5071: # --------------------------------------------
                   5072: # 2            X               French
                   5073: # 3                    X
                   5074: # --------------------------------------------
                   5075: # 2            X               Spanish
                   5076: # 3            X
                   5077: # --------------------------------------------
                   5078: # 4                    X       Blinking block cursor
                   5079: # 5                    X
                   5080: # --------------------------------------------
                   5081: # 4                    X       Blinking underline cursor
                   5082: # 5            X
                   5083: # --------------------------------------------
                   5084: # 4            X               Steady block cursor
                   5085: # 5                    X
                   5086: # --------------------------------------------
                   5087: # 4            X               Steady underline cursor
                   5088: # 5            X
                   5089: # --------------------------------------------
                   5090: # 6            X               Screen blanking timer (ON)
                   5091: #                      X       Screen blanking timer (OFF)
                   5092: # --------------------------------------------
                   5093: # 7            X               Page attributes
                   5094: #                      X       Line attributes
                   5095: # --------------------------------------------
                   5096: # 8            X               DCD disconnected
                   5097: #                      X       DCD connected
                   5098: # --------------------------------------------
                   5099: # 9            X               DSR disconnected
                   5100: #                      X       DSR connected
                   5101: # --------------------------------------------
                   5102: # 10           X               DTR Disconnected
                   5103: #                      X       DTR connected
                   5104: # --------------------------------------------
                   5105: #
                   5106: # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
                   5107: tvi925|televideo 925,
1.11      millert  5108:        OTbs, am, bw, hs, ul,
1.1       millert  5109:        cols#80, lines#24, xmc#1,
1.11      millert  5110:        bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V,
                   5111:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   5112:        cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
                   5113:        flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1,
                   5114:        ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z,
                   5115:        kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
                   5116:        ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
                   5117:        kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
                   5118:        kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3,
                   5119:        tsl=\Eh\Ef,
                   5120:        use=adm+sgr,
1.1       millert  5121: # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
                   5122: # to avoid "magic cookie" standout glitch:
                   5123: tvi925-hi|TeleVideo Model 925 with half intensity standout mode,
                   5124:        xmc@,
                   5125:        kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925,
                   5126:
                   5127: # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
                   5128: # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
                   5129: # for additional capabilities,
                   5130: # The following tvi descriptions from B:pjphar and virus!mike
                   5131: # is for all 950s.  It sets the following attributes:
                   5132: # full duplex (\EDF)           write protect off (\E()
                   5133: # conversation mode (\EC)      graphics mode off (\E%)
                   5134: # white on black (\Ed)         auto page flip off (\Ew)
                   5135: # turn off status line (\Eg)   clear status line (\Ef\r)
                   5136: # normal video (\E0)           monitor mode off (\EX or \Eu)
                   5137: # edit mode (\Er)              load blank char to space (\Ee\040)
                   5138: # line edit mode (\EO)         enable buffer control (^O)
                   5139: # protect mode off (\E\047)    duplex edit keys (\El)
                   5140: # program unshifted send key to send line all (\E016)
                   5141: # program shifted send key to send line unprotected (\E004)
                   5142: # set the following to nulls:
                   5143: #      field delimiter (\Ex0\200\200)
                   5144: #      line delimiter (\Ex1\200\200)
                   5145: #      start-protected field delimiter (\Ex2\200\200)
                   5146: #      end-protected field delimiter (\Ex3\200\200)
                   5147: # set end of text delimiter to carriage return/null (\Ex4\r\200)
                   5148: #
                   5149: #                     TVI 950 Switch Setting Reference Charts
                   5150: #
                   5151: #                                     TABLE 1:
                   5152: #
                   5153: #      S1     1     2     3     4     5     6     7     8     9    10
                   5154: #          +-----------------------+-----+-----+-----------------------+
                   5155: #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
                   5156: #          |                       |Bits |Bits |                       |
                   5157: #   +------+-----------------------+-----+-----+-----------------------+
                   5158: #   |  Up  |        See            |  7  |  2  |        See            |
                   5159: #   +------+-----------------------+-----+-----+-----------------------+
                   5160: #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
                   5161: #   +------+-----------------------+-----+-----+-----------------------+
                   5162: #
                   5163: #
                   5164: #      S2     1     2     3     4     5     6     7     8     9    10
                   5165: #          +-----+-----+-----------------+-----+-----------+-----+-----+
                   5166: #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
                   5167: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   5168: #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
                   5169: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   5170: #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
                   5171: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   5172: #
                   5173: #                                    TABLE 2:
                   5174: #
                   5175: #             +-----------+-----+-----+-----+-----+-----------+
                   5176: #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
                   5177: #             +-----------+-----+-----+-----+-----+           |
                   5178: #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
                   5179: #             +-----------+-----+-----+-----+-----+-----------+
                   5180: #                         |  D  |  D  |  D  |  D  |   9600    |
                   5181: #                         |  U  |  D  |  D  |  D  |     50    |
                   5182: #                         |  D  |  U  |  D  |  D  |     75    |
                   5183: #                         |  U  |  U  |  D  |  D  |    110    |
                   5184: #                         |  D  |  D  |  U  |  D  |    135    |
                   5185: #                         |  U  |  D  |  U  |  D  |    150    |
                   5186: #                         |  D  |  U  |  U  |  D  |    300    |
                   5187: #                         |  U  |  U  |  U  |  D  |    600    |
                   5188: #                         |  D  |  D  |  D  |  U  |   1200    |
                   5189: #                         |  U  |  D  |  D  |  U  |   1800    |
                   5190: #                         |  D  |  U  |  D  |  U  |   2400    |
                   5191: #                         |  U  |  U  |  D  |  U  |   3600    |
                   5192: #                         |  D  |  D  |  U  |  U  |   4800    |
                   5193: #                         |  U  |  D  |  U  |  U  |   7200    |
                   5194: #                         |  D  |  U  |  U  |  U  |   9600    |
                   5195: #                         |  U  |  U  |  U  |  U  |  19200    |
                   5196: #                         +-----+-----+-----+-----+-----------+
                   5197: #
                   5198: #                                    TABLE 3:
                   5199: #                         +-----+-----+-----+-----------+
                   5200: #                         |  3  |  4  |  5  |   Parity  |
                   5201: #                         +-----+-----+-----+-----------+
                   5202: #                         |  X  |  X  |  D  |    None   |
                   5203: #                         |  D  |  D  |  U  |     Odd   |
                   5204: #                         |  D  |  U  |  U  |    Even   |
                   5205: #                         |  U  |  D  |  U  |    Mark   |
                   5206: #                         |  U  |  U  |  U  |   Space   |
                   5207: #                         +-----+-----+-----+-----------+
                   5208: #                                 X = don't care
                   5209: #
                   5210: #                                     CHART:
                   5211: #                         +-----+-----+-----------------+
                   5212: #                         |  7  |  8  | Communication   |
                   5213: #                         +-----+-----+-----------------+
                   5214: #                         |  D  |  D  |  Half Duplex    |
                   5215: #                         |  D  |  U  |  Full Duplex    |
                   5216: #                         |  U  |  D  |     Block       |
                   5217: #                         |  U  |  U  |     Local       |
                   5218: #                         +-----+-----+-----------------+
                   5219: #
                   5220: # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
                   5221: # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich>
                   5222: # should be present and all tvi native modes use the same string for this.
                   5223: # Finally, note that BSD has cud1=^V. -- esr)
1.11      millert  5224: tvi950|televideo 950,
                   5225:        OTbs, am, hs, mir, msgr, xenl, xon,
                   5226:        cols#80, it#8, lines#24, xmc#1,
                   5227:        acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*,
                   5228:        cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   5229:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   5230:        dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed,
                   5231:        fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J,
                   5232:        invis@,
                   5233:        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,
                   5234:        kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L,
                   5235:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r,
                   5236:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   5237:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   5238:        kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X,
                   5239:        rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
                   5240:        use=adm+sgr,
1.1       millert  5241: #
                   5242: # is for 950 with two pages adds the following:
                   5243: #      set 48 line page (\E\\2)
                   5244: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   5245: #      set local (no send) edit keys (\Ek)
                   5246: #
                   5247: # two page 950 adds the following:
                   5248: #      when entering ex, set 24 line page (\E\\1)
                   5249: #      when exiting ex, reset 48 line page (\E\\2)
                   5250: #                       place cursor at 0,24,1 (\E-07 )
                   5251: #      set duplex (send) edit keys (\El) when entering vi
                   5252: #      set local (no send) edit keys (\Ek) when exiting vi
                   5253: #
1.11      millert  5254: tvi950-2p|televideo950 w/2 pages,
                   5255:        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,
                   5256:        rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
                   5257:        smkx=\El,
                   5258:        use=tvi950,
1.1       millert  5259: #
                   5260: # is for 950 with four pages adds the following:
                   5261: #      set 96 line page (\E\\3)
                   5262: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   5263: #
                   5264: # four page 950 adds the following:
                   5265: #      when entering ex, set 24 line page (\E\\1)
                   5266: #      when exiting ex, reset 96 line page (\E\\3)
                   5267: #                       place cursor at 0,24,1 (\E-07 )
                   5268: #
1.11      millert  5269: tvi950-4p|televideo950 w/4 pages,
                   5270:        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,
                   5271:        rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
                   5272:        smkx=\El,
                   5273:        use=tvi950,
1.1       millert  5274: #
                   5275: # <is2> for reverse video 950 changes the following:
                   5276: #      set reverse video (\Ed)
                   5277: #
                   5278: # set vb accordingly (\Ed ...delay... \Eb)
                   5279: #
1.11      millert  5280: tvi950-rv|televideo950 rev video,
                   5281:        flash=\Ed$<200/>\Eb,
                   5282:        is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0, use=tvi950,
1.1       millert  5283:
                   5284: # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
1.11      millert  5285: tvi950-rv-2p|televideo950 rev video w/2 pages,
                   5286:        flash=\Ed$<200/>\Eb,
                   5287:        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,
                   5288:        rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
                   5289:        smkx=\El,
                   5290:        use=tvi950,
1.1       millert  5291:
                   5292: # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
1.11      millert  5293: tvi950-rv-4p|televideo950 rev video w/4 pages,
                   5294:        flash=\Ed$<200/>\Eb,
                   5295:        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,
                   5296:        rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
                   5297:        smkx=\El,
                   5298:        use=tvi950,
1.1       millert  5299: # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
                   5300: # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
                   5301: # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
                   5302: # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
                   5303: # the :ko: string had :cl: in it, which means that one of the original
                   5304: # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
                   5305: # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
                   5306: # ko implies -- esr)
                   5307: # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
                   5308: # also work.
                   5309: tvi955|televideo 955,
1.11      millert  5310:        OTbs, mc5i, msgr@,
1.1       millert  5311:        it#8, xmc@,
1.11      millert  5312:        acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2,
                   5313:        civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH,
1.1       millert  5314:        cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1,
1.11      millert  5315:        is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1,
                   5316:        knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%,
                   5317:        rmam=\E[=7l, rmxon=^N,
1.1       millert  5318:        rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r,
                   5319:        sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O,
1.11      millert  5320:        use=tvi950,
1.1       millert  5321: tvi955-w|955-w|televideo955 w/132 cols,
                   5322:        cols#132,
1.11      millert  5323:        is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955,
1.1       millert  5324: # use half-intensity as normal mode, full intensity as <bold>
                   5325: tvi955-hb|955-hb|televideo955 half-bright,
1.11      millert  5326:        bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El,
                   5327:        sgr0=\EG0\E[=5h,
                   5328:        use=tvi955,
1.1       millert  5329: # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
                   5330: # (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
                   5331: # added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
                   5332: # According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
                   5333: # it does to the function keys.  I deduced <rmam>/<smam>.
                   5334: # also added empty <acsc> to suppress tic warning,  -- esr)
                   5335: tvi970|televideo 970,
                   5336:        OTbs, OTpt, am, da, db, mir, msgr,
                   5337:        cols#80, it#8, lines#24,
1.11      millert  5338:        acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
                   5339:        cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df,
                   5340:        cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r,
                   5341:        ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H,
                   5342:        hpa=\E[%i%p1%dG, ht=^I, il1=\E[L,
                   5343:        is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J,
                   5344:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   5345:        kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f,
                   5346:        kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B,
                   5347:        rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   5348:        sgr0=\E[m, smacs=\E(B, smam=\E[?7l,
                   5349:        smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m,
                   5350:        smul=\E[4m, vpa=\E[%i%p1%dd,
1.1       millert  5351: tvi970-vb|televideo 970 with visual bell,
1.11      millert  5352:        flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, use=tvi970,
1.1       millert  5353: tvi970-2p|televideo 970 with using 2 pages of memory,
1.11      millert  5354:        rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q,
1.1       millert  5355:        use=tvi970,
                   5356: # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
                   5357: # per line (rather than 40), Esc K chooses the normal character set.  Not sure
                   5358: # padding is needed, but adapted from the tvi920c termcap.  The <smso> and
                   5359: # <smul> strings are klutzy, but at least use no screen space.
                   5360: # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
                   5361: # its absence means <smam>=\Ev isn't safe to use. -- esr)
                   5362: # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
                   5363: # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
                   5364: # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
                   5365: tvipt|televideo personal terminal,
                   5366:        OTbs, am,
                   5367:        cols#80, lines#24,
                   5368:        cbt=\EI, clear=^Z, cub1=^H, cuf1=^L,
1.11      millert  5369:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>,
                   5370:        ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt,
                   5371:        il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J,
                   5372:        kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R,
                   5373:        rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH,
1.1       millert  5374: # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
1.11      millert  5375: tvi9065|televideo 9065,
                   5376:        am, bw, chts, hs, mc5i, mir, msgr, xenl, xon,
                   5377:        cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0,
                   5378:        wnum#0, wsl#30,
                   5379:        acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G,
                   5380:        blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z,
                   5381:        cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,
                   5382:        cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L,
                   5383:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu=\E[%p1%dA,
                   5384:        cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp,
                   5385:        dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY,
                   5386:        el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
                   5387:        ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt,
                   5388:        il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1,
                   5389:        ip=$<3>,
                   5390:        is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er,
                   5391:        is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s,
                   5392:        kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
                   5393:        kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r,
                   5394:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   5395:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H,
                   5396:        mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J,
                   5397:        pfkey=\E|%p1%{48}%+%c3%p2%s\031,
                   5398:        pfloc=\E|%p1%{48}%+%c2%p2%s\031,
                   5399:        pfx=\E|%p1%{48}%+%c1%p2%s\031,
                   5400:        pln=\E_%p1%{63}%+%c%p2%s\r, prot=\E&,
                   5401:        rep=\E[%p2%db%p1%c, rev=\EG4,
                   5402:        rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT,
                   5403:        rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H,
                   5404:        rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0,
                   5405:        rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l,
                   5406:        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,
                   5407:        rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0,
                   5408:        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%%%;,
                   5409:        sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er,
                   5410:        smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O,
                   5411:        tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0,
1.1       millert  5412:
                   5413: #### Visual (vi)
                   5414: #
                   5415: # In September 1993, Visual Technology of Westboro, Massachusetts,
                   5416: # merged with White Pine Software of Nashua, New Hampshire.
                   5417: #
                   5418: # White Pine Software may be contacted at +1 603/886-9050.
                   5419: # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
                   5420: #
                   5421:
                   5422: # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
                   5423: # Recently I hacked together the following termcap for Visual
                   5424: # Technology's Visual 50 terminal. It's a slight modification of
                   5425: # the vt52 termcap.
                   5426: # It's intended to run when the Visual 50 is in vt52 emulation mode
                   5427: # (I know what you're thinking; if it's emulating a vt52, then why
                   5428: # another termcap? Well, it turns out that the Visual 50 can handle
                   5429: # <dl1> and db(?) among other things, which the vt52 can't)
                   5430: # The termcap works OK for the most part. The only problem is on
                   5431: # character inserts. The whole line gets painfully redrawn for each
                   5432: # character typed. Any suggestions?
                   5433: # Beau's entry is combined with the vi50 entry from University of Wisconsin.
                   5434: # Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
                   5435: # disguise; <kf7>-<kf9> are really l1-l3.
                   5436: vi50|visual 50,
                   5437:        OTbs, OTpt, am, da, db, msgr,
                   5438:        cols#80, it#8, lines#24,
1.11      millert  5439:        OTnl=^J, bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H,
                   5440:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   5441:        cuu1=\EA, dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH,
                   5442:        ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
                   5443:        kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV,
                   5444:        kf5=\EE, kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH,
                   5445:        nel=^M^J, ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES,
1.1       millert  5446: # this one was BSD & SCO's vi50
                   5447: vi50adm|visual 50 in adm3a mode,
                   5448:        am, msgr,
                   5449:        cols#80, it#8, lines#24,
                   5450:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   5451:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM,
                   5452:        ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H,
1.11      millert  5453:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH,
                   5454:        rmso=\ET, smso=\EU,
1.1       millert  5455: # From: Jeff Siegal <jbs@athena.mit.edu>
                   5456: vi55|Visual 55,
1.11      millert  5457:        OTbs, am, mir, msgr,
1.1       millert  5458:        cols#80, it#8, lines#24,
1.11      millert  5459:        clear=\Ev, csr=\E_%p1%{65}%+%c%p2%{65}%+%c, cub1=^H,
1.1       millert  5460:        cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
1.11      millert  5461:        cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I,
                   5462:        il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED,
                   5463:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET,
                   5464:        smir=\Ea, smso=\EU,
1.1       millert  5465:
                   5466: # Visual 200 from BRL
                   5467: # The following switch settings are assumed for normal operation:
                   5468: #      FULL_DUPLEX             SCROLL                  CR
                   5469: #      AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
                   5470: # Other switches may be set for operator convenience or communication
                   5471: # requirements.
                   5472: # Character insertion is kludged in order to get around the "beep" misfeature.
                   5473: # (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
                   5474: # Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
                   5475: # and <dl1> strings, but we seem to get along fine without them.
                   5476: vi200|visual 200,
                   5477:        OTbs, OTpt, am, mir, msgr,
                   5478:        OTkn#10, cols#80, it#8, lines#24,
                   5479:        acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H,
                   5480:        cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   5481:        cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey,
1.11      millert  5482:        el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea,
                   5483:        kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   5484:        kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p,
                   5485:        kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v,
                   5486:        kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei,
                   5487:        kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI,
                   5488:        rmacs=\EG, rmkx=\E>, rmso=\E3,
                   5489:        rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF,
                   5490:        smkx=\E=, smso=\E4, tbc=\Eg,
1.1       millert  5491: # The older Visuals didn't come with function keys. This entry uses
                   5492: # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
                   5493: # If your version of vi doesn't support function keys you may want
                   5494: # to use vi200-f.
                   5495: vi200-f|visual 200 no function keys,
                   5496:        is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q,
1.11      millert  5497:        kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w,
                   5498:        kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@,
                   5499:        use=vi200,
1.1       millert  5500: vi200-rv|visual 200 reverse video,
1.11      millert  5501:        cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200,
1.1       millert  5502:
                   5503: # the function keys are programmable but we don't reprogram them to their
                   5504: # default values with <is2> because programming them is very verbose. maybe
                   5505: # an initialization file should be made for the 300 and they could be stuck
                   5506: # in it.
                   5507: # (vi300: added <rmam>/<smam> based on init string -- esr)
1.11      millert  5508: vi300|visual 300 ansi x3.64,
                   5509:        am, bw, mir, xenl,
                   5510:        cols#80, lines#24,
                   5511:        bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
                   5512:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   5513:        dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   5514:        il1=\E[L, ind=^J,
                   5515:        is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s,
                   5516:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   5517:        kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\,
                   5518:        kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\,
                   5519:        kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l,
                   5520:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
                   5521:        smso=\E[1m, smul=\E[4m,
1.1       millert  5522: # some of the vi300s have older firmware that has the command
                   5523: # sequence for setting editing extent reversed.
1.11      millert  5524: vi300-old|visual 300 with old firmware (set edit extent reversed),
                   5525:        is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s,
                   5526:        use=vi300,
1.1       millert  5527:
                   5528: # Visual 500 prototype entry from University of Wisconsin.
                   5529: # The best place to look for the escape sequences is page A1-1 of the
                   5530: # Visual 500 manual.  The initialization sequence given here may be
                   5531: # overkill, but it does leave out some of the initializations which can
                   5532: # be done with the menus in set-up mode.
                   5533: # The :xp: line below is so that emacs can understand the padding requirements
                   5534: # of this slow terminal.  :xp: is 10 time the padding factor.
                   5535: # (vi500: removed unknown :xp#4: termcap;
                   5536: # also added empty <acsc> to suppress tic warning -- esr)
                   5537: vi500|visual 500,
                   5538:        am, mir, msgr,
                   5539:        cols#80, it#8, lines#33,
                   5540:        acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M,
                   5541:        csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB,
1.11      millert  5542:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   5543:        dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>,
                   5544:        el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>,
                   5545:        ind=^J,
1.1       millert  5546:        is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\,
                   5547:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   5548:        khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G,
1.11      millert  5549:        rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D,
1.1       millert  5550:
                   5551: # The visual 550 is a visual 300 with tektronix graphics,
                   5552: # and with 33 lines. clear screen is modified here to
                   5553: # also clear the graphics.
1.11      millert  5554: vi550|visual 550 ansi x3.64,
                   5555:        lines#33,
                   5556:        clear=\030\E[H\E[2J, use=vi300,
1.1       millert  5557:
                   5558: vi603|visual603|visual 603,
                   5559:        hs, mir,
1.11      millert  5560:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   5561:        csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C,
                   5562:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   5563:        dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L,
                   5564:        ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r,
                   5565:        rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   5566:        sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~,
                   5567:        use=vt100,
1.1       millert  5568:
                   5569: #### Wyse (wy)
                   5570: #
                   5571: #      Wyse Technology
                   5572: #      3471 North First Street
                   5573: #      San Jose, CA 95134
                   5574: #      Vox: (408)-473-1200
                   5575: #      Fax: (408) 473-1222
                   5576: #      Web: http://www.wyse.com
                   5577: #
                   5578: # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
                   5579: # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
                   5580: # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
                   5581: # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
                   5582: #
                   5583: # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
                   5584: # They now own the Qume and Amdek brands, too.  So these are the people to
                   5585: # talk with about all Link, Qume, and Amdek terminals.
                   5586: #
                   5587: # These entries include a few small fixes.
                   5588: # I canceled the bel capacities in the vb entries.
                   5589: # I made two trivial syntax fixes in the wyse30 entry.
                   5590: # I made some entries relative to adm+sgr.
                   5591: #
                   5592: #
                   5593: # Note: The wyse75, wyse85, and wyse99 have been discontinued.
                   5594:
                   5595: #         Although the Wyse 30 can support more than one attribute
                   5596: #      it requires magic cookies to do so.  Many applications do not
                   5597: #      function well with magic cookies.  The following terminfo uses
                   5598: #      the protect mode to support one attribute (dim) without cookies.
                   5599: #      If more than one attribute is needed then the wy30-mc terminfo
                   5600: #      should be used.
                   5601: #
                   5602: wy30|wyse30|Wyse 30,
                   5603:        am, bw, hs, mc5i, mir, msgr, xon,
                   5604:        cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
                   5605:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
                   5606:        civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H,
                   5607:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   5608:        cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>,
                   5609:        dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9,
                   5610:        fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>,
                   5611:        ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024,
                   5612:        kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
                   5613:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7,
                   5614:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   5615:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ,
                   5616:        kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T,
1.11      millert  5617:        mc5=^X, nel=^M^J, pfx=\Ez%p1%{63}%+%c%p2%s\177,
                   5618:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>,
1.1       millert  5619:        rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
                   5620:        sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   5621:        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
                   5622:        smso=\E`7\E), tbc=\E0, tsl=\EF,
                   5623: #
                   5624: #      This terminal description uses the non-hidden attribute mode
                   5625: #      (with magic cookie).
                   5626: #
                   5627: # (wy30-mc: added <smcup> to suppress tic warning --esr)
                   5628: wy30-mc|wyse30-mc|wyse 30 with magic cookies,
                   5629:        msgr@,
                   5630:        ma@, xmc#1,
                   5631:        blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,
                   5632:        rmcup=\EG0, rmso=\EG0,
1.11      millert  5633:        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  5634:        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
                   5635:        smso=\EG4, use=wy30,
                   5636:        use=adm+sgr,
                   5637: #      The mandatory pause used by <flash> does not work with
                   5638: #      older versions of terminfo.  If you see this effect then
                   5639: #      unset xon and delete the / from the delay.
                   5640: #      i.e. change $<100/> to $<100>
                   5641: wy30-vb|wyse30-vb|wyse 30 visible bell,
                   5642:        bel@, use=wy30,
                   5643: #
                   5644: #         The Wyse 50 can support one attribute (e.g. Dim, Inverse,
                   5645: #      Normal) without magic cookies by using the protect mode.
                   5646: #      The following description uses this feature, but when more
                   5647: #      than one attribute is put on the screen at once, all attributes
                   5648: #      will be changed to be the same as the last attribute given.
                   5649: #         The Wyse 50 can support more attributes when used with magic
                   5650: #      cookies.  The wy50-mc terminal description uses magic cookies
                   5651: #      to correctly handle multiple attributes on a screen.
                   5652: #
                   5653: wy50|wyse50|Wyse 50,
                   5654:        am, bw, hs, mc5i, mir, msgr, xon,
                   5655:        cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
                   5656:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
                   5657:        civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H,
                   5658:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   5659:        cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r,
                   5660:        ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
                   5661:        home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>,
                   5662:        is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H,
                   5663:        kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW,
                   5664:        kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   5665:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   5666:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   5667:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   5668:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   5669:        ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J,
1.11      millert  5670:        pfx=\Ez%p1%{63}%+%c%p2%s\177,
                   5671:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E),
1.1       millert  5672:        ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
                   5673:        sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   5674:        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
                   5675:        smso=\E`6\E), tbc=\E0, tsl=\EF,
                   5676: #
                   5677: #      This terminal description uses the non-hidden attribute mode
                   5678: #      (with magic cookie).
                   5679: #
                   5680: #      The mandatory pause used by flash does not work with some
                   5681: #      older versions of terminfo.  If you see this effect then
                   5682: #      unset <xon> and delete the / from the delay.
                   5683: #      i.e. change $<100/> to $<100>
                   5684: # (wy50-mc: added <smcup> to suppress tic warning --esr)
                   5685: wy50-mc|wyse50-mc|wyse 50 with magic cookies,
                   5686:        msgr@,
                   5687:        ma@, xmc#1,
                   5688:        blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4,
                   5689:        rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0,
1.11      millert  5690:        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  5691:        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
                   5692:        smso=\EGt, use=wy50,
                   5693:        use=adm+sgr,
                   5694: wy50-vb|wyse50-vb|wyse 50 visible bell,
                   5695:        bel@, use=wy50,
                   5696: wy50-w|wyse50-w|wyse 50 132-column,
                   5697:        cols#132, lw#7, nlab#16, wsl#97,
                   5698:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy50,
                   5699: wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell,
                   5700:        bel@,
                   5701:        use=wy50-w,
1.11      millert  5702:
1.1       millert  5703: #
                   5704: #      The Wyse 350 is a Wyse 50 with color.
                   5705: #      Unfortunately this means that it has magic cookies.
                   5706: #      The color attributes are designed to overlap the reverse, dim and
                   5707: #      underline attributes.  This is nice for monochrome applications
                   5708: #      because you can make underline stuff green (or any other color)
                   5709: #      but for true color applications it's not so hot because you cannot
                   5710: #      mix color with reverse, dim or underline.
                   5711: #          To further complicate things one of the attributes must be
                   5712: #      black (either the foreground or the background).  In reverse video
                   5713: #      the background changes color with black letters.  In normal video
                   5714: #      the foreground changes colors on a black background.
                   5715: #          This terminfo uses some of the more advanced features of curses
                   5716: #      to display both color and blink.  In the final analysis I am not
                   5717: #      sure that the wy350 runs better with this terminfo than it does
                   5718: #      with the wy50 terminfo (with user adjusted colors).
                   5719: #
                   5720: #      The mandatory pause used by flash does not work with
                   5721: #      older versions of terminfo.  If you see this effect then
                   5722: #      unset xon and delete the / from the delay.
                   5723: #      i.e. change $<100/> to $<100>
                   5724: #
                   5725: # Bug: The <op> capability resets attributes.
                   5726: wy350|wyse350|Wyse 350,
                   5727:        am, bw, hs, mc5i, mir, xon,
                   5728:        colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8,
                   5729:        wsl#45, xmc#1,
                   5730:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
                   5731:        cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
                   5732:        cub1=^H, cud1=^J, cuf1=^L,
                   5733:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>,
                   5734:        dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET,
                   5735:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
                   5736:        il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>,
                   5737:        is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI,
                   5738:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
                   5739:        ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   5740:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   5741:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   5742:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   5743:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   5744:        ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0,
1.11      millert  5745:        pfx=\Ez%p1%{63}%+%c%p2%s\177,
                   5746:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\EG0\E), ri=\Ej,
1.1       millert  5747:        rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=,
1.11      millert  5748:        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,
                   5749:        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  5750:        sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002,
                   5751:        smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF,
                   5752:        use=adm+sgr,
                   5753: wy350-vb|wyse350-vb|wyse 350 visible bell,
                   5754:        bel@, use=wy350,
                   5755: wy350-w|wyse350-w|wyse 350 132-column,
                   5756:        cols#132, lw#7, nlab#16, wsl#97,
                   5757:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy350,
                   5758: wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell,
                   5759:        bel@,
                   5760:        use=wy350-w,
                   5761: #
                   5762: #      This terminfo description is untested.
                   5763: #      The wyse100 emulates an adm31, so the adm31 entry should work.
                   5764: #
                   5765: wy100|wyse 100,
                   5766:        hs, mir,
                   5767:        cols#80, lines#24, xmc#1,
                   5768:        bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   5769:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   5770:        dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J,
                   5771:        invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
                   5772:        kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   5773:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{,
                   5774:        rmir=\Er, smir=\Eq, tsl=\EF,
                   5775:        use=adm+sgr,
                   5776: #
                   5777: #      The Wyse 120/150 has most of the features of the Wyse 60.
                   5778: #      This terminal does not need padding up to 9600 baud!
                   5779: #      <msgr> should be set but the clear screen fails when in
                   5780: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   5781: #      then set <msgr>.
                   5782: #
                   5783: wy120|wyse120|wy150|wyse150|Wyse 120/150,
                   5784:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   5785:        cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
                   5786:        acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   5787:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
                   5788:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   5789:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
                   5790:        dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
                   5791:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>,
                   5792:        hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
                   5793:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   5794:        is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   5795:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   5796:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   5797:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   5798:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   5799:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   5800:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
                   5801:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
1.11      millert  5802:        pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
                   5803:        pfx=\EZ1%p1%{63}%+%c%p2%s\177,
                   5804:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
1.1       millert  5805:        rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11,
                   5806:        rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
                   5807:        rs3=\EwG\Ee($<100>,
1.11      millert  5808:        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  5809:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   5810:        smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
                   5811:        tbc=\E0, tsl=\EF,
                   5812:        use=adm+sgr,
                   5813: #
                   5814: wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column,
                   5815:        cols#132, lw#7, nlab#16, wsl#97,
                   5816:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
                   5817:        rs2=\E`;$<70>, use=wy120,
                   5818: #
                   5819: wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines,
                   5820:        lh@, lines#25, lw@, nlab@,
                   5821:        pln@, rs3=\EwG\Ee)$<100>, use=wy120,
                   5822: #
                   5823: wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines,
                   5824:        lh@, lines#25, lw@, nlab@,
                   5825:        pln@, rs3=\EwG\Ee)$<100>, use=wy120-w,
                   5826: #
                   5827: wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell,
                   5828:        bel@,
                   5829:        use=wy120,
                   5830: #
                   5831: wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell,
                   5832:        bel@,
                   5833:        use=wy120-w,
                   5834: #
                   5835: #      The Wyse 60 is like the Wyse 50 but with more padding.
                   5836: #      The reset strings are slow and the pad times very depending
                   5837: #      on other parameters such as font loading.  I have tried
                   5838: #      to follow the following outline:
                   5839: #
                   5840: #              <rs1> -> set personality
                   5841: #              <rs2> -> set number of columns
                   5842: #              <rs3> -> set number of lines
                   5843: #              <is1> -> select the proper font
                   5844: #              <is2> -> do the initialization
                   5845: #              <is3> -> set up display memory (2 pages)
                   5846: #
                   5847: #      The Wyse 60's that have vt100 emulation are slower than the
                   5848: #      older Wyse 60's.  This change happened mid-1987.
                   5849: #      The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
                   5850: #
                   5851: #      The meta key is only half right.  This terminal will return the
                   5852: #      high order bit set when you hit CTRL-function_key
                   5853: #
                   5854: #      It may be useful to assign two function keys with the
                   5855: #      values  \E=(\s  look at old data in page 1
                   5856: #              \E=W,   look at bottom of page 1
                   5857: #      where \s is a space ( ).
                   5858: #
                   5859: #      Note:
                   5860: #         The Wyse 60 runs faster when the XON/XOFF
                   5861: #         handshake is turned off.
                   5862: #
                   5863: # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
                   5864: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   5865: wy60|wyse60|Wyse 60,
                   5866:        am, bw, hs, km, mc5i, mir, msgr,
                   5867:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45,
                   5868:        acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   5869:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>,
                   5870:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   5871:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   5872:        dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r,
                   5873:        ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
                   5874:        home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>,
                   5875:        ip=$<3>, is1=\EcB0\EcC1,
                   5876:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   5877:        is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   5878:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   5879:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   5880:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   5881:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   5882:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   5883:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
                   5884:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
1.11      millert  5885:        pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
                   5886:        pfx=\EZ1%p1%{63}%+%c%p2%s\177,
                   5887:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
1.1       millert  5888:        rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er,
                   5889:        rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>,
                   5890:        rs2=\EeG$<150>, rs3=\EwG\Ee($<200>,
1.11      millert  5891:        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  5892:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   5893:        smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
                   5894:        tbc=\E0, tsl=\EF,
                   5895:        use=adm+sgr,
                   5896: #
                   5897: wy60-w|wyse60-w|wyse 60 132-column,
                   5898:        cols#132, lw#7, nlab#16, wsl#97,
                   5899:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>,
                   5900:        rs2=\EeF$<150>\E`;$<150>, use=wy60,
                   5901: #
                   5902: wy60-25|wyse60-25|wyse 60 80-column 25-lines,
                   5903:        lh@, lines#25, lw@, nlab@,
                   5904:        pln@, rs3=\EwG\Ee)$<200>, use=wy60,
                   5905: wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines,
                   5906:        lh@, lines#25, lw@, nlab@,
                   5907:        pln@, rs3=\EwG\Ee)$<200>, use=wy60-w,
                   5908: #
                   5909: wy60-42|wyse60-42|wyse 60 80-column 42-lines,
                   5910:        lines#42,
                   5911:        clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>,
                   5912:        dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>,
                   5913:        ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>,
                   5914:        ri=\Ej$<10>, rs3=\Ee*$<150>,
                   5915:        use=wy60,
                   5916: wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines,
                   5917:        cols#132, lw#7, nlab#16, wsl#97,
                   5918:        clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>,
                   5919:        dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>,
                   5920:        nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>,
                   5921:        use=wy60-42,
                   5922: #
                   5923: wy60-43|wyse60-43|wyse 60 80-column 43-lines,
                   5924:        lh@, lines#43, lw@, nlab@,
                   5925:        pln@, rs3=\Ee+$<150>, use=wy60-42,
                   5926: wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines,
                   5927:        lh@, lines#43, lw@, nlab@,
                   5928:        pln@, rs3=\Ee+$<150>, use=wy60-42-w,
                   5929: #
                   5930: wy60-vb|wyse60-vb|Wyse 60 visible bell,
                   5931:        bel@, use=wy60,
                   5932: wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell,
                   5933:        bel@,
                   5934:        use=wy60-w,
                   5935:
                   5936: #      The Wyse-99GT looks at lot like the Wyse 60 except that it
                   5937: #      does not have the 42/43 line mode.  In the Wyse-60 the "lines"
                   5938: #      setup parameter controls the number of lines on the screen.
                   5939: #      For the Wyse 99GT the "lines" setup parameter controls the
                   5940: #      number of lines in a page.  The screen can display 25 lines max.
                   5941: #          The Wyse-99GT also has personalities for the VT220 and
                   5942: #      Tektronix 4014.  But this has no bearing on the native mode.
                   5943: #
                   5944: #      (msgr) should be set but the clear screen fails when in
                   5945: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   5946: #      then set msgr, else use msgr@.
                   5947: #
                   5948: #      u0 -> enter Tektronix mode
                   5949: #      u1 -> exit Tektronix mode
                   5950: #
                   5951: wy99gt|wyse99gt|Wyse 99gt,
                   5952:        msgr@,
                   5953:        clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>,
                   5954:        el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>,
                   5955:        il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@,
                   5956:        ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1,
                   5957:        u0=\E~>\E8, u1=\E[42h,
                   5958:        use=wy60,
                   5959: #
                   5960: wy99gt-w|wyse99gt-w|wyse 99gt 132-column,
                   5961:        cols#132, lw#7, nlab#16, wsl#97,
                   5962:        clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>,
                   5963:        dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>, use=wy99gt,
                   5964: #
                   5965: wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines,
                   5966:        lh@, lines#25, lw@, nlab@,
                   5967:        pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt,
                   5968: #
                   5969: wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines,
                   5970:        lh@, lines#25, lw@, nlab@,
                   5971:        pln@, rs2=\E`;$<150>, use=wy99gt-w,
                   5972: #
                   5973: wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell,
                   5974:        bel@, use=wy99gt,
                   5975: #
                   5976: wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell,
                   5977:        bel@,
                   5978:        use=wy99gt-w,
1.11      millert  5979:
                   5980: # Can't set tabs! Other bugs (ANSI mode only):
                   5981: # - can't redefine function keys (anyway, key redefinition in ANSI mode
                   5982: #   is too much complex to be described);
                   5983: # - meta key can't be described (the terminal forgets it when reset);
                   5984: # The xon-xoff handshaking can't be disabled while in ansi personality, so
                   5985: # emacs can't work at speed greater than 9600 baud.  No padding is needed at
                   5986: # this speed.
                   5987: #   dch1 has been commented out because it causes annoying glittering when
                   5988: # vi deletes one character at the beginning of a line with tabs in it.
                   5989: #   dch makes sysgen(1M) have a horrible behaviour when deleting
                   5990: # a screen and makes screen(1) behave badly, so it is disabled too. The nice
                   5991: # thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
                   5992: # not, so smir and rmir are commented out as well.
                   5993: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
                   5994: wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard),
                   5995:        am, km, mc5i, mir, msgr, xenl,
                   5996:        cols#80, it#8, lines#25, vt#3,
                   5997:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~,
                   5998:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   5999:        clear=\E[H\E[J$<200>, cnorm=\E[34h\E[?25h, cr=^M,
                   6000:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<1>,
                   6001:        cub1=\010$<1>, cud=\E[%p1%dB, cud1=\ED,
                   6002:        cuf=\E[%p1%dC$<1>, cuf1=\E[C$<1>,
                   6003:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   6004:        cvvis=\E[34l\E[?25h, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
                   6005:        ech=\E[%p1%dX, ed=\E[J$<8*>, el=\E[K$<1>, el1=\E[1K$<1>,
                   6006:        enacs=\E)0, flash=\E[?5h$<30/>\E[?5l, home=\E[H,
                   6007:        hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL,
                   6008:        il1=\E[L, ind=\n$<1>, invis=\E[8m,
                   6009:        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,
                   6010:        kbs=^H, kcbt=\E[z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   6011:        kcuu1=\EOA, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   6012:        kf12=\E[24~, kf17=\E[K, kf18=\E[31~, kf19=\E[32~, kf2=\EOQ,
                   6013:        kf20=\E[33~, kf21=\E[34~, kf22=\E[35~, kf23=\E[1~,
                   6014:        kf24=\E[2~, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~,
                   6015:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, ll=\E[24E, mc0=\E[?19h,
                   6016:        mc4=\E[4i, mc5=\E[5i, nel=\EE, prot=\E[1"q, rc=\E8,
                   6017:        rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
                   6018:        rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m,
                   6019:        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,
                   6020:        sc=\E7,
                   6021:        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%;,
                   6022:        sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6023:        smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
                   6024:
                   6025: #   This is the american terminal. Here tabs work fine.
                   6026: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
                   6027: wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard),
                   6028:        hts=\EH, is3=\E[?5l, rs3=\E[?5l, tbc=\E[3g,
                   6029:        use=wy99-ansi,
                   6030:
                   6031: # This terminal (firmware version 02) has a lot of bugs:
                   6032: # - can't set tabs;
                   6033: # - other bugs in ANSI modes (see above).
                   6034: # This description disables handshaking when using cup. This is because
                   6035: # GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
                   6036: # cannot be used at speeds greater than 9600 baud, because at greater
                   6037: # speeds handshaking is needed even for character sending. If you use
                   6038: # DTR handshaking, you can use even greater speeds.
                   6039: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
                   6040: wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard),
                   6041:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   6042:        cols#80, it#8, lines#25, wsl#46,
                   6043:        acsc='x+y.wI~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G,
                   6044:        blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032,
                   6045:        cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L,
                   6046:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   6047:        cvvis=\E`2\E`1, dch1=\EW, dim=\EGp, dl1=\ER, dsl=\EF\r,
                   6048:        ed=\EY$<8*>, el=\ET$<8>, enacs=\Ec@1J$<2000>,
                   6049:        flash=\E\^1$<30/>\E\^0, fsl=^M, home=^^, ht=^I, il1=\EE,
                   6050:        ind=^J, invis=\EG3,
                   6051:        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,
                   6052:        ka1=^^, ka3=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H,
                   6053:        kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r,
                   6054:        kf11=^AJ\r, kf12=^AK\r, kf13=^A`\r, kf14=^Aa\r, kf15=^Ab\r,
                   6055:        kf16=^Ac\r, kf17=^Ad\r, kf18=^Ae\r, kf19=^Af\r, kf2=^AA\r,
                   6056:        kf20=^Ag\r, kf21=^Ah\r, kf22=^Ai\r, kf23=^Aj\r, kf24=^Ak\r,
                   6057:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   6058:        kf8=^AG\r, kf9=^AH\r, kprt=\EP, mc0=\EP, mc4=^T, mc5=\Ed#,
                   6059:        nel=^_, prot=\E), rev=\EG4, ri=\Ej, rmacs=\EcD, rmam=\Ed.,
                   6060:        rmcup=\Ec21\Ec31, rmir=\Er, rmso=\EG0, rmxon=\Ec20\Ec30,
                   6061:        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,
                   6062:        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%;,
                   6063:        sgr0=\E(\EG0, smacs=\EcE, smam=\Ed/, smcup=\Ec20\Ec30,
                   6064:        smir=\Eq, smso=\EG4, smxon=\Ec21\Ec31, tsl=\EF,
                   6065:
                   6066: # This is the american terminal. Here tabs work.
                   6067: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
                   6068: wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard),
                   6069:        hts=\E1, tbc=\E0,
                   6070:        use=wy99f,
                   6071:
1.1       millert  6072: #
                   6073: #      The Wyse 160 is combination of the WY-60 and the WY-99gt.
                   6074: #      The reset strings are slow and the pad times very depending
                   6075: #      on other parameters such as font loading.  I have tried
                   6076: #      to follow the following outline:
                   6077: #
                   6078: #              <rs1> -> set personality
                   6079: #              <rs2> -> set number of columns
                   6080: #              <rs3> -> set number of lines
                   6081: #              <is1> -> select the proper font
                   6082: #              <is2> -> do the initialization
                   6083: #              <is3> -> set up display memory (2 pages)
                   6084: #
                   6085: #      The display memory may be used for either text or graphics.
                   6086: #      When "Display Memory = Shared" the terminal will have more pages
                   6087: #      but garbage may be left on the screen when you switch from
                   6088: #      graphics to text.  If "Display Memory = Unshared" then the
                   6089: #      text area will be only one page long.
                   6090: #
                   6091: # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
                   6092: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   6093: wy160|wyse160|Wyse 160,
                   6094:        am, bw, hs, km, mc5i, mir, msgr,
                   6095:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38,
                   6096:        acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   6097:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>,
                   6098:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   6099:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>,
                   6100:        dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>,
                   6101:        el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I,
                   6102:        hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1,
                   6103:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   6104:        is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   6105:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   6106:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   6107:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   6108:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   6109:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   6110:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
                   6111:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>,
1.11      millert  6112:        pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
                   6113:        pfx=\EZ1%p1%{63}%+%c%p2%s\177,
                   6114:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<1>,
1.1       millert  6115:        rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er,
                   6116:        rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>,
                   6117:        rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>,
1.11      millert  6118:        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  6119:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   6120:        smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
                   6121:        tbc=\E0, tsl=\EF,
                   6122:        use=adm+sgr,
                   6123: #
                   6124: wy160-w|wyse160-w|wyse 160 132-column,
                   6125:        cols#132, lw#7, nlab#16, wsl#90,
                   6126:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>,
                   6127:        rs2=\EeF$<150>\E`;$<150>, use=wy160,
                   6128: #
                   6129: wy160-25|wyse160-25|wyse 160 80-column 25-lines,
                   6130:        lh@, lines#25, lw@, nlab@,
                   6131:        pln@, rs3=\EwG\Ee)$<200>, use=wy160,
                   6132: wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines,
                   6133:        lh@, lines#25, lw@, nlab@,
                   6134:        pln@, rs3=\EwG\Ee)$<200>, use=wy160-w,
                   6135: #
                   6136: wy160-42|wyse160-42|wyse 160 80-column 42-lines,
                   6137:        lines#42,
                   6138:        clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>,
                   6139:        ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>,
                   6140:        rs3=\Ee*$<150>,
                   6141:        use=wy160,
                   6142: wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines,
                   6143:        cols#132, lw#7, nlab#16, wsl#90,
                   6144:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>,
                   6145:        rs2=\EeF$<150>\E`;$<150>,
                   6146:        use=wy160-42,
                   6147: #
                   6148: wy160-43|wyse160-43|wyse 160 80-column 43-lines,
                   6149:        lh@, lines#43, lw@, nlab@,
                   6150:        pln@, rs3=\Ee+$<150>, use=wy160-42,
                   6151: wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines,
                   6152:        lh@, lines#43, lw@, nlab@,
                   6153:        pln@, rs3=\Ee+$<150>, use=wy160-42-w,
                   6154: #
                   6155: wy160-vb|wyse160-vb|Wyse 160 visible bell,
                   6156:        bel@, use=wy160,
                   6157: wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell,
                   6158:        bel@,
                   6159:        use=wy160-w,
                   6160: #
                   6161: #      The Wyse 75 is a vt100 lookalike without advanced video.
                   6162: #
                   6163: #         The Wyse 75 can support one attribute (e.g. Dim, Inverse,
                   6164: #      Underline) without magic cookies.  The following description
                   6165: #      uses this capability, but when more than one attribute is
                   6166: #      put on the screen at once, all attributes will be changed
                   6167: #      to be the same as the last attribute given.
                   6168: #         The Wyse 75 can support more attributes when used with magic
                   6169: #      cookies.  The wy75-mc terminal description uses magic cookies
                   6170: #      to correctly handle multiple attributes on a screen.
                   6171: #
                   6172: wy75|wyse75|wyse 75,
                   6173:        am, hs, mc5i, mir, msgr, xenl, xon,
                   6174:        cols#80, lines#24, ma#1, pb#1201, wsl#78,
                   6175:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6176:        bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>,
                   6177:        cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>,
                   6178:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   6179:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   6180:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>,
                   6181:        dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>,
                   6182:        dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001,
                   6183:        ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>,
                   6184:        enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A,
                   6185:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   6186:        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
                   6187:        ind=\n$<2>, ip=$<1>,
                   6188:        is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h,
                   6189:        is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy,
                   6190:        kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
                   6191:        kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM,
                   6192:        kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   6193:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
                   6194:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i,
                   6195:        kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M,
                   6196:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   6197:        khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~,
                   6198:        kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i,
                   6199:        mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O,
                   6200:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m,
                   6201:        rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l,
                   6202:        sc=\E7,
                   6203:        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%;,
                   6204:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6205:        smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m,
                   6206:        tbc=\E[3g, tsl=\E[>\,\001,
                   6207: #
                   6208: #      This terminal description uses the non-hidden attribute mode
                   6209: #      (with magic cookie).
                   6210: #
                   6211: wy75-mc|wyse75-mc|wyse 75 with magic cookies,
                   6212:        msgr@,
                   6213:        ma@, xmc#1,
                   6214:        blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p,
                   6215:        rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p,
                   6216:        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%;,
                   6217:        sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p,
                   6218:        use=wy75,
                   6219: wy75-vb|wyse75-vb|wyse 75 with visible bell,
                   6220:        pb@,
                   6221:        bel@, use=wy75,
                   6222: wy75-w|wyse75-w|wyse 75 in 132 column mode,
                   6223:        cols#132, wsl#130,
                   6224:        rs2=\E[35h\E[?3h$<80>, use=wy75,
                   6225: wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns,
                   6226:        pb@,
                   6227:        bel@, use=wy75-w,
                   6228: #
                   6229: #      Wyse 85 emulating a vt220 7 bit mode.
                   6230: #              24 line screen with status line.
                   6231: #
                   6232: #      The vt220 mode permits more function keys but it wipes out
                   6233: #      the escape key.  I strongly recommend that <f11> be set to
                   6234: #      escape (esc).
                   6235: #      The terminal may have to be set for 8 data bits and 2 stop
                   6236: #      bits for the arrow keys to work.
                   6237: #      The Wyse 85 runs faster with XON/XOFF enabled.  Also the
                   6238: #      <dch> and <ich> work best when XON/XOFF is set.  <ich> and
                   6239: #      <dch> leave trash on the screen when used without XON/XOFF.
                   6240: #
                   6241: wy85|wyse85|wyse 85,
                   6242:        am, hs, mc5i, mir, msgr, xenl, xon,
                   6243:        cols#80, it#8, lines#24, wsl#80,
                   6244:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6245:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6246:        clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
                   6247:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6248:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6249:        cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
                   6250:        dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
                   6251:        dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
                   6252:        ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
                   6253:        enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
                   6254:        fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
                   6255:        ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
                   6256:        ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
                   6257:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
                   6258:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
                   6259:        kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
                   6260:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP,
                   6261:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   6262:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   6263:        kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR,
                   6264:        kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   6265:        kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~,
                   6266:        knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3,
                   6267:        lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   6268:        ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
                   6269:        rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p,
                   6270:        rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7,
                   6271:        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%;,
                   6272:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6273:        smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   6274:        tsl=\E[40h\E7\E[25;%i%p1%dH,
                   6275: #
                   6276: #      Wyse 85 with visual bell.
                   6277: wy85-vb|wyse85-vb|wyse 85 with visible bell,
                   6278:        bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85,
                   6279: #
                   6280: #      Wyse 85 in 132-column mode.
                   6281: wy85-w|wyse85-w|wyse 85 in 132-column mode,
                   6282:        cols#132, wsl#132,
                   6283:        rs2=\E[35h\E[?3h$<70>, use=wy85,
                   6284: #
                   6285: #      Wyse 85 in 132-column mode with visual bell.
                   6286: wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns,
                   6287:        bel@,
                   6288:        use=wy85-w,
                   6289: #
                   6290: #      Wyse 185 emulating a vt320 7 bit mode.
                   6291: #
                   6292: #      This terminal always displays 25 lines.  These lines may be used
                   6293: #      as 24 data lines and a terminal status line (top or bottom) or
                   6294: #      25 data lines.  The 48 and 50 line modes change the page size
                   6295: #      and not the number of lines on the screen.
                   6296: #
                   6297: #      The Compose Character key can be used as a meta key if changed
                   6298: #      by set-up.
                   6299: #
                   6300: wy185|wyse185|wyse 185,
                   6301:        am, hs, km, mc5i, mir, msgr, xenl, xon,
                   6302:        cols#80, it#8, lines#24, wsl#80,
                   6303:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6304:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6305:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   6306:        csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
                   6307:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6308:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6309:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>,
                   6310:        dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
                   6311:        dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>,
                   6312:        el=\E[K, el1=\E[1K, enacs=\E)0,
                   6313:        flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8,
                   6314:        home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH,
                   6315:        ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>,
                   6316:        ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
                   6317:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h,
                   6318:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
                   6319:        kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D,
                   6320:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM,
                   6321:        kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   6322:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
                   6323:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
                   6324:        kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
                   6325:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   6326:        khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   6327:        kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
                   6328:        mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>,
                   6329:        rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>,
                   6330:        rmso=\E[27m, rmul=\E[24m,
                   6331:        rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
                   6332:        rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
                   6333:        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%;,
                   6334:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
                   6335:        smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
                   6336:        tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd,
                   6337: #
                   6338: #      Wyse 185 with 24 data lines and top status (terminal status)
                   6339: wy185-24|wyse185-24|wyse 185 with 24 data lines,
                   6340:        hs@,
                   6341:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy185,
                   6342: #
                   6343: #      Wyse 185 with visual bell.
                   6344: wy185-vb|wyse185-vb|wyse 185+flash,
                   6345:        bel@, use=wy185,
                   6346: #
                   6347: #      Wyse 185 in 132-column mode.
                   6348: wy185-w|wyse185-w|wyse 185 in 132-column mode,
                   6349:        cols#132, wsl#132,
                   6350:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
                   6351:        ip=$<7>, rs2=\E[35h\E[?3h,
                   6352:        use=wy185,
                   6353: #
                   6354: #      Wyse 185 in 132-column mode with visual bell.
                   6355: wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols,
                   6356:        bel@, use=wy185-w,
                   6357:
                   6358: # wy325 terminfo entries
                   6359: # Done by Joe H. Davis        3-9-92
                   6360:
                   6361: # lines 25  columns 80
                   6362: #
                   6363: wy325|wyse325|Wyse epc,
                   6364:        am, bw, hs, mc5i, mir,
                   6365:        cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
                   6366:        acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   6367:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
                   6368:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   6369:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
                   6370:        dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
                   6371:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
                   6372:        il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
                   6373:        is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   6374:        is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   6375:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   6376:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   6377:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   6378:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   6379:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq,
                   6380:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
                   6381:        mc0=\EP, mc4=^T, mc5=\Ed#,
1.11      millert  6382:        pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
                   6383:        pfx=\EZ1%p1%{63}%+%c%p2%s\177,
                   6384:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
1.1       millert  6385:        rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11,
                   6386:        rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
                   6387:        rs3=\EwG\Ee($<100>,
1.11      millert  6388:        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  6389:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   6390:        smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0,
                   6391:        tsl=\EF,
                   6392:        use=adm+sgr,
                   6393:
                   6394: #
                   6395: # lines 24  columns 80  vb
                   6396: #
                   6397: wy325-vb|wyse325-vb|wyse-325 with visual bell,
                   6398:        bel@, use=wy325,
                   6399:
                   6400: #
                   6401: # lines 24  columns 132
                   6402: #
                   6403: wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode,
                   6404:        cols#132, lw#7, nlab#16, wsl#97,
                   6405:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
                   6406:        rs2=\E`;$<70>, use=wy325,
                   6407: #
                   6408: # lines 25  columns 80
                   6409: #
                   6410: wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines,
                   6411:        lh@, lines#25, lw@, nlab@,
                   6412:        pln@, rs3=\EwG\Ee)$<100>, use=wy325,
                   6413: #
                   6414: # lines 25  columns 132
                   6415: #
                   6416: wy325-25w|wyse325-25w|wy325 132 columns,
                   6417:        lh@, lines#25, lw@, nlab@,
                   6418:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   6419: #
                   6420: # lines 25  columns 132  vb
                   6421: #
                   6422: wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video,
                   6423:        bel@,
                   6424:        use=wy325-w,
                   6425:
                   6426: #
                   6427: # lines 42  columns 80
                   6428: #
                   6429: wy325-42|wyse325-42|wyse-325 42 lines,
                   6430:        lh@, lines#42, lw@, nlab@,
                   6431:        pln@, rs3=\EwG\Ee)$<100>, use=wy325,
                   6432: #
                   6433: # lines 42  columns 132
                   6434: #
                   6435: wy325-42w|wyse325-42w|wyse-325 42 lines wide mode,
                   6436:        lh@, lines#42, lw@, nlab@,
                   6437:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   6438: #
                   6439: # lines 42  columns 132  vb
                   6440: #
                   6441: wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell,
                   6442:        bel@,
                   6443:        use=wy325-w,
                   6444: #
                   6445: # lines 43  columns 80
                   6446: #
                   6447: wy325-43|wyse325-43|wyse-325 43 lines,
                   6448:        lh@, lines#43, lw@, nlab@,
                   6449:        pln@, use=wy325,
                   6450: #
                   6451: # lines 43  columns 132
                   6452: #
                   6453: wy325-43w|wyse325-43w|wyse-325 43 lines wide mode,
                   6454:        lh@, lines#43, lw@, nlab@,
                   6455:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   6456: #
                   6457: # lines 43  columns 132  vb
                   6458: #
                   6459: wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell,
                   6460:        bel@,
                   6461:        use=wy325-w,
                   6462:
                   6463: #      Wyse 370 -- 24 line screen with status line.
                   6464: #
                   6465: #      The terminal may have to be set for 8 data bits and 2 stop
                   6466: #      bits for the arrow keys to work.
                   6467: #
                   6468: #      If you change keyboards the terminal will send different
                   6469: #      escape sequences.
                   6470: #      The following definition is for the basic terminal without
                   6471: #      function keys.
                   6472: #
                   6473: #      <u0> -> enter Tektronix 4010/4014 mode
                   6474: #      <u1> -> exit  Tektronix 4010/4014 mode
                   6475: #      <u2> -> enter ASCII mode (from any ANSI mode)
                   6476: #      <u3> -> exit  ASCII mode (goto native ANSI mode)
                   6477: #      <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
                   6478: #      <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
                   6479: #
                   6480: # Bug: The <op> capability resets attributes.
                   6481: wy370-nk|wyse 370 without function keys,
                   6482:        am, ccc, hs, mc5i, mir, msgr, xenl, xon,
                   6483:        colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80,
                   6484:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6485:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6486:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   6487:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6488:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6489:        cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
                   6490:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>,
                   6491:        dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
                   6492:        dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>,
                   6493:        el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0,
                   6494:        flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8,
                   6495:        home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH,
                   6496:        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
                   6497:        ind=\n$<2>,
                   6498:        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,
                   6499:        invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>,
                   6500:        is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h,
                   6501:        is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i,
                   6502:        mc5=\E[5i,
                   6503:        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,
                   6504:        op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O,
                   6505:        rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l,
                   6506:        rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
                   6507:        rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>,
                   6508:        rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw,
                   6509:        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%;,
                   6510:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
                   6511:        smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
                   6512:        tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH,
                   6513:        u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B,
                   6514:        u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd,
                   6515: #
                   6516: #      Function key set for the ASCII (wy-50 compatible) keyboard
                   6517: #      This is the default 370.
                   6518: #
                   6519: wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard,
                   6520:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6521:        kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i,
                   6522:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   6523:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i,
                   6524:        kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
                   6525:        kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP,
                   6526:        knp=\E[U, kpp=\E[V,
                   6527:        use=wy370-nk,
                   6528: #
                   6529: #      Function key set for the VT-320 (and wy85) compatible keyboard
                   6530: #
                   6531: wy370-105k|Wyse 370 with 105 key keyboard,
                   6532:        ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs,
                   6533:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   6534:        kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   6535:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   6536:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   6537:        kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   6538:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   6539:        khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
                   6540:        kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
                   6541:        use=wy370-nk,
                   6542: #
                   6543: #      Function key set for the PC compatible keyboard
                   6544: #
                   6545: wy370-EPC|Wyse 370 with 102 key keyboard,
                   6546:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6547:        kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
                   6548:        kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   6549:        kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   6550:        khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V,
                   6551:        use=wy370-nk,
                   6552: #
                   6553: #      Wyse 370 with visual bell.
                   6554: wy370-vb|Wyse 370 with visible bell,
                   6555:        bel@, use=wy370,
                   6556: #
                   6557: #      Wyse 370 in 132-column mode.
                   6558: wy370-w|Wyse 370 in 132-column mode,
                   6559:        cols#132, wsl#132,
                   6560:        rs2=\E[35h\E[?3h$<70>, use=wy370,
                   6561: #
                   6562: #      Wyse 370 in 132-column mode with visual bell.
                   6563: wy370-wvb|Wyse 370 with visible bell 132-columns,
                   6564:        flash=\E[30h\E\,\E[30l$<300>,
                   6565:        use=wy370-w,
                   6566: wy370-rv|Wyse 370 reverse video,
                   6567:        rs3=\E[32h\E[?5h, use=wy370,
                   6568: #
                   6569: #      Wyse 99gt Tektronix 4010/4014 emulator,
                   6570: #
                   6571: wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator,
                   6572:        am, os,
                   6573:        cols#74, lines#35,
                   6574:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
                   6575:        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,
                   6576:        cuu1=^K, ff=^L,
                   6577:        hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
                   6578:        home=^]7`x @\037,
                   6579:        hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
                   6580:        is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h,
                   6581: #
                   6582: #      Wyse 160 Tektronix 4010/4014 emulator,
                   6583: #
                   6584: wy160-tek|Wyse 160 Tektronix 4010/4014 emulator,
                   6585:        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,
                   6586:        home=^]8`g @\037,
                   6587:        use=wy99gt-tek,
                   6588: #
                   6589: #      Wyse 370 Tektronix 4010/4014 emulator,
                   6590: #
                   6591: wy370-tek|Wyse 370 Tektronix 4010/4014 emulator,
                   6592:        am, os,
                   6593:        cols#80, lines#36,
                   6594:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
                   6595:        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,
                   6596:        cuu1=^K, ff=^L,
                   6597:        hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
                   6598:        home=^]8g @\037,
                   6599:        hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
                   6600:        is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K,
                   6601:        nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0,
                   6602:
                   6603: # Vendor-supplied Wyse entries end here.
                   6604:
                   6605: #
                   6606: #TITLE:  TERMINFO ENTRY WY520
                   6607: #DATE:   8/5/93
                   6608: # The WY520 terminfo is based on the WY285 entry published on the WYSE
                   6609: # BBS with the addition of more function keys and special keys.
                   6610: #
                   6611: #               rs1 -> set personality
                   6612: #               rs2 -> set number of columns
                   6613: #               rs3 -> set number of lines
                   6614: #               is1 -> select the proper font
                   6615: #               is2 -> do the initialization
                   6616: #               is3 -> If this string is empty then rs3 gets sent.
                   6617: #
                   6618: #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
                   6619: #       - The BS key is programmed to generate BS in smcup since
                   6620: #         is2 doesn't seem to work.
                   6621: #       - Remove and shift/Remove: delete a character
                   6622: #       - Insert : enter insert mode
                   6623: #       - Find   : delete to end of file
                   6624: #       - Select : clear a line
                   6625: #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
                   6626: #       - F14 : Home key
                   6627: #       - Bottom status line (host writable line) is used.
                   6628: #       - smkx,rmkx are removed because this would put the numeric
                   6629: #         keypad in Dec application mode which doesn't seem to work
                   6630: #         with SCO applications.
                   6631: #
                   6632: wy520|wyse520|wyse 520,
                   6633:        am, hs, km, mc5i, mir, xenl, xon,
                   6634:        cols#80, it#8, lines#24, wsl#80,
                   6635:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6636:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6637:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   6638:        csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
                   6639:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6640:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6641:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>,
                   6642:        dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~,
                   6643:        ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K,
                   6644:        enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I,
                   6645:        hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>,
                   6646:        il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
                   6647:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h,
                   6648:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy,
                   6649:        kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D,
                   6650:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~,
                   6651:        kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   6652:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   6653:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   6654:        kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   6655:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   6656:        khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
                   6657:        kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
                   6658:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   6659:        ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l,
                   6660:        rmso=\E[m, rmul=\E[24m,
                   6661:        rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
                   6662:        rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
                   6663:        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%;,
                   6664:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h,
                   6665:        smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   6666:        tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`,
                   6667:        vpa=\E[%i%p1%dd,
                   6668: #
                   6669: #       Wyse 520 with 24 data lines and status (terminal status)
                   6670: wy520-24|wyse520-24|wyse 520 with 24 data lines,
                   6671:        hs@,
                   6672:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520,
                   6673: #
                   6674: #       Wyse 520 with visual bell.
                   6675: wy520-vb|wyse520-vb|wyse 520 with visible bell,
1.11      millert  6676:        flash=\E[30h\E\,\E[30l$<100>, use=wy520,
1.1       millert  6677: #
                   6678: #       Wyse 520 in 132-column mode.
                   6679: wy520-w|wyse520-w|wyse 520 in 132-column mode,
                   6680:        cols#132, wsl#132,
                   6681:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
                   6682:        ip=$<7>, rs2=\E[35h\E[?3h,
                   6683:        use=wy520,
                   6684: #
                   6685: #       Wyse 520 in 132-column mode with visual bell.
                   6686: wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,
1.11      millert  6687:        flash=\E[30h\E\,\E[30l$<100>,
1.1       millert  6688:        use=wy520-w,
                   6689: #
                   6690: #
                   6691: #       Wyse 520 emulating a vt420 7 bit mode.
                   6692: #       The DEL key is programmed to generate BS in is2.
                   6693: #       With EPC keyboard.
                   6694: #       - 'End' key will clear till end of line on EPC keyboard
                   6695: #       - Shift/End : ignored.
                   6696: #       - Insert : enter insert mode.
                   6697: #       - Delete : delete a character (have to change interrupt character
                   6698: #                  to CTRL-C: stty intr '^c') for it to work since the
                   6699: #                  Delete key sends 7FH.
                   6700: wy520-epc|wyse520-epc|wyse 520 with EPC keyboard,
                   6701:        kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~,
                   6702:        kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H,
                   6703:        use=wy520,
                   6704: #
                   6705: #       Wyse 520 with 24 data lines and status (terminal status)
                   6706: #       with EPC keyboard.
1.11      millert  6707: wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines,
1.1       millert  6708:        hs@,
                   6709:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520-epc,
                   6710: #
                   6711: #       Wyse 520 with visual bell.
1.11      millert  6712: wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell,
                   6713:        flash=\E[30h\E\,\E[30l$<100>,
1.1       millert  6714:        use=wy520-epc,
                   6715: #
                   6716: #       Wyse 520 in 132-column mode.
                   6717: wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard,
                   6718:        cols#132, wsl#132,
                   6719:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
                   6720:        ip=$<7>, rs2=\E[35h\E[?3h,
                   6721:        use=wy520-epc,
                   6722: #
                   6723: #       Wyse 520 in 132-column mode with visual bell.
1.11      millert  6724: wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns,
                   6725:        flash=\E[30h\E\,\E[30l$<100>,
1.1       millert  6726:        use=wy520-epc-w,
                   6727: #
                   6728: #       Wyse 520 in 80-column, 36 lines
                   6729: wy520-36|wyse520-36|wyse 520 with 36 data lines,
                   6730:        hs@,
                   6731:        lines#36,
                   6732:        dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520,
                   6733: #
                   6734: #       Wyse 520 in 80-column, 48 lines
                   6735: wy520-48|wyse520-48|wyse 520 with 48 data lines,
                   6736:        hs@,
                   6737:        lines#48,
                   6738:        dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520,
                   6739: #
                   6740: #       Wyse 520 in 132-column, 36 lines
                   6741: wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines,
                   6742:        cols#132, wsl#132,
                   6743:        rs2=\E[?3h,
                   6744:        rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36,
                   6745: #
                   6746: #       Wyse 520 in 132-column, 48 lines
                   6747: wy520-48w|wyse520-48w|wyse 520 with 48 data lines,
                   6748:        cols#132, wsl#132,
                   6749:        rs2=\E[?3h,
                   6750:        rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48,
                   6751: #
                   6752: #
                   6753: #       Wyse 520 in 80-column, 36 lines with EPC keyboard
                   6754: wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard,
                   6755:        hs@,
                   6756:        lines#36,
                   6757:        dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520-epc,
                   6758: #
                   6759: #       Wyse 520 in 80-column, 48 lines with EPC keyboard
                   6760: wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard,
                   6761:        hs@,
                   6762:        lines#48,
                   6763:        dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520-epc,
                   6764: #
                   6765: #       Wyse 520 in 132-column, 36 lines with EPC keyboard
                   6766: wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard,
                   6767:        cols#132, wsl#132,
                   6768:        rs2=\E[?3h,
                   6769:        rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36pc,
                   6770: #
                   6771: #       Wyse 520 in 132-column, 48 lines with EPC keyboard
1.11      millert  6772: wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines,
1.1       millert  6773:        cols#132, wsl#132,
                   6774:        rs2=\E[?3h,
                   6775:        rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48pc,
                   6776:
                   6777: # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
                   6778: # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
                   6779: # file and we don't know what <hts> is -- esr)
                   6780: wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on,
1.11      millert  6781:        OTbs, am,
1.1       millert  6782:        cols#80, it#8, lines#24,
                   6783:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   6784:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW,
                   6785:        dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J,
1.11      millert  6786:        is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F,
                   6787:        kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O,
                   6788:        rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N,
                   6789:        smul=^N,
1.1       millert  6790:
                   6791: wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad,
                   6792:        is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=,
1.11      millert  6793:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   6794:        khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>,
                   6795:        use=wy75,
1.1       millert  6796:
                   6797: # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
                   6798: wy100q|Wyse 100 for Quotron,
1.11      millert  6799:        OTbs,
                   6800:        cols#80, lines#24, xmc#1,
1.1       millert  6801:        cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L,
                   6802:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  6803:        dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@,
                   6804:        is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J,
                   6805:        kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq,
                   6806:        use=adm+sgr,
1.1       millert  6807:
                   6808: #### Kermit terminal emulations
                   6809: #
                   6810: # Obsolete Kermit versions may be listed in the section describing obsolete
                   6811: # non-ANSI terminal emulators later in the file.
                   6812: #
                   6813:
                   6814: # KERMIT standard all versions.
                   6815: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   6816: # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   6817: # From: greg small <gts@populi.berkeley.edu> 9-25-84
                   6818: kermit|standard kermit,
1.11      millert  6819:        OTbs,
                   6820:        cols#80, lines#24,
1.1       millert  6821:        clear=\EE, cub1=^H, cuf1=\EC,
                   6822:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
1.11      millert  6823:        el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n,
                   6824:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
1.1       millert  6825: kermit-am|standard kermit plus auto-margin,
                   6826:        am,
1.11      millert  6827:        is2=K1 Standard Kermit plus Automatic Margins\n, use=kermit,
1.1       millert  6828: # IBMPC Kermit 1.2.
                   6829: # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
                   6830: # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
                   6831: # line).
                   6832: # From: greg small <gts@populi.berkeley.edu> 8-30-84
                   6833: pckermit|pckermit12|UCB IBMPC Kermit 1.2,
                   6834:        am,
                   6835:        lines#25,
                   6836:        clear=\EH\EJ, ed@, el@,
1.11      millert  6837:        is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit,
1.1       millert  6838: # IBMPC Kermit 1.20
                   6839: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   6840: # Initialization must escape from that region by cursor position to line 24.
                   6841: # Cannot use character insert because 1.20 goes crazy if insert at col 80.
                   6842: # Does not use :am: because autowrap is lost when kermit dropped and restarted.
                   6843: # From: greg small <gts@populi.berkeley.edu> 12-19-84
                   6844: pckermit120|UCB IBMPC Kermit 1.20,
                   6845:        it#8, lines#24,
1.11      millert  6846:        cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I,
                   6847:        il1=\EL,
1.1       millert  6848:        is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n,
                   6849:        rmir@, rmso=\Eq, smir@, smso=\Ep,
1.11      millert  6850:        use=kermit,
1.1       millert  6851: # MS-DOS Kermit 2.27 for the IBMPC
                   6852: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   6853: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   6854: # Initialization must escape from that region by cursor position to line 24.
                   6855: # Does not use am: because autowrap is lost when kermit dropped and restarted.
                   6856: # Reverse video for standout like H19.
                   6857: # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   6858: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   6859: msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC,
1.11      millert  6860:        OTbs, am@,
1.1       millert  6861:        cols#80, it#8, lines#24,
                   6862:        clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
                   6863:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
1.11      millert  6864:        cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK,
                   6865:        home=\EH, ht=^I, il1=\EL,
1.1       millert  6866:        is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n,
1.11      millert  6867:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek,
                   6868:        rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep,
1.1       millert  6869: # MS-DOS Kermit 2.27 with automatic margins
                   6870: # From:        greg small <gts@populi.berkeley.edu> 3-17-85
                   6871: msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins,
                   6872:        am,
                   6873:        cvvis=\EO\Eq\EG\EvK5,
1.11      millert  6874:        is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n, use=msk227,
1.1       millert  6875: # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
                   6876: # Automatic margins now default.  Use ansi <sgr> for highlights.
                   6877: # Define function keys.
                   6878: # (msk22714: removed obsolete ":kn#10:" -- esr)
                   6879: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   6880: msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC,
                   6881:        am,
                   6882:        bold=\E[1m, cvvis=\EO\Eq\EG\EvK6,
                   6883:        is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n,
1.11      millert  6884:        kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6,
                   6885:        kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m,
                   6886:        sgr0=\E[m, smso=\E[1m, smul=\E[4m,
                   6887:        use=mskermit227,
1.1       millert  6888: # This was designed for a VT320 emulator, but it is probably a good start
                   6889: # at support for the VT320 itself.
                   6890: # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
                   6891: # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
                   6892: vt320-k3|MS-Kermit 3.00's vt320 emulation,
                   6893:        am, eslok, hs, km, mir, msgr, xenl,
                   6894:        cols#80, it#8, lines#49, pb#9600, vt#3,
1.11      millert  6895:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  6896:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   6897:        clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M,
1.11      millert  6898:        csr=\E[%i%p1%d;%p1%dr, cub=\E[%p1%dD, cub1=^H,
                   6899:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6900:        cup=\E[%i%p1%d;%p1%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6901:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   6902:        dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
1.1       millert  6903:        flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l,
1.11      millert  6904:        fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   6905:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   6906:        is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD,
                   6907:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~,
                   6908:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   6909:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~,
                   6910:        kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8,
                   6911:        rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l,
                   6912:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
                   6913:        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  6914:        sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                   6915:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   6916:        tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd,
                   6917: # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
                   6918: # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
                   6919: # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
                   6920: vt320-k311|dec vt320 series as defined by kermit 3.11,
                   6921:        am, eslok, hs, mir, msgr, xenl, xon,
                   6922:        cols#80, it#8, lines#24, vt#3,
1.11      millert  6923:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  6924:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   6925:        clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M,
                   6926:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6927:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6928:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1.11      millert  6929:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   6930:        dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
                   6931:        flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH,
                   6932:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED,
1.1       millert  6933:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1.11      millert  6934:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   6935:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   6936:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
                   6937:        lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
                   6938:        rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O,
                   6939:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
                   6940:        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
                   6941:        smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
                   6942:        smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
                   6943:
                   6944: ######## NON-ANSI TERMINAL EMULATIONS
                   6945: #
1.1       millert  6946:
1.11      millert  6947: #### Avatar
                   6948: #
                   6949: # These entries attempt to describe Avatar, a terminal emulation used with
                   6950: # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
                   6951: # capabilities, but with cheaper (shorter) control sequences.  Messy design,
                   6952: # excessively dependent on PC idiosyncracies, but apparently rather popular
                   6953: # in the BBS world.
                   6954: #
                   6955: # No color support.  Avatar doesn't fit either of the Tektronix or HP color
                   6956: # models that terminfo knows about.  An Avatar color attribute is the
                   6957: # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
                   6958: #
                   6959: # I wrote these entries while looking at the Avatar spec.  I don't have
                   6960: # the facilities to test them.  Let me know if they work, or don't.
                   6961: #
                   6962: # Avatar escapes not used by these entries (because maybe you're smarter
                   6963: # and more motivated than I am and can figure out how to wrap terminfo
                   6964: # around some of them, and because they are weird enough to be funny):
                   6965: #                              level 0:
                   6966: # ^L           -- clear window/reset current attribute to default
                   6967: # ^V^A%p1%c    -- set current color attribute, parameter decodes as follows:
                   6968: #
                   6969: #      bit:         6   5   4   3   2   1   0
                   6970: #                   |       |   |   |       |
                   6971: #                   +---+---+   |   +---+---+
                   6972: #                       |       |       |
                   6973: #                       |       |  foreground color
                   6974: #                       |  foreground intensity
                   6975: #                  background color
                   6976: #                              level 0+:
                   6977: # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c        -- scroll (p2,p3) to (p4,p5) up by p1 lines
                   6978: # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c        -- scroll (p2,p3) to (p4,p5) down by p1 lines
                   6979: # ^V^L%p1%c%p2%c%p3%c          -- clear p2 lines and p3 cols w/attr %p1
                   6980: # ^V^M%p1%c%p2%c%p3%c%p4%c     -- fill p3 lines & p4 cols w/char p2+attr %p1
                   6981: # (^V^L and ^V^M set the current attribute as a side-effect.)
                   6982: # ^V ^Y <a> [...] <c>  -- repeat pattern. <a> specifies the number of bytes
                   6983: #                         in the pattern, <c> the number of times the pattern
                   6984: #                         should be repeated. If either value is 0, no-op.
                   6985: #                         The pattern can contain Avatar console codes,
                   6986: #                         including other ^V ^Y patterns.
                   6987: #                              level 1:
                   6988: # ^V^O         -- clockwise mode on; turn print direction right each time you
                   6989: #                 hit a window edge (yes, really).  Turned off by CR
                   6990: # ^V^P         -- no-op
                   6991: # ^V^Q%c       -- query the driver
                   6992: # ^V^R         -- driver reset
                   6993: # ^V^S         -- Sound tone (PC-specific)
                   6994: # ^V^T                 -- change highlight at current cursor poition to %c
                   6995: # ^V^U%p1%c%p2%c       -- highlight window <a> with attribute <b>
                   6996: # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
                   6997: #                      -- define window
1.1       millert  6998: #
1.11      millert  6999: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   7000: # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
                   7001: # tell ncurses that the corresponding highlights exist; it should use <sgr>,
                   7002: # which is the only method that will actually work for multiple highlights.)
                   7003: avatar0|avatar terminal emulator level 0,
                   7004:        am, bce, msgr,
                   7005:        cols#80, it#8, lines#25,
                   7006:        blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D,
                   7007:        cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G,
                   7008:        ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%d, rev=^A^Vp,
                   7009:        rs2=^L,
                   7010:        sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;,
                   7011:        sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A,
                   7012:        use=klone+acs,
                   7013: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   7014: avatar0+|avatar terminal emulator level 0+,
                   7015:        dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0,
                   7016: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   7017: avatar|avatar1|avatar terminal emulator level 1,
                   7018:        civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+,
                   7019:        rmam=^V", rmir=^V^P, smam=^V$,
                   7020:        use=avatar0+,
                   7021:
                   7022: #### RBcomm
1.1       millert  7023: #
1.11      millert  7024: # RBComm is a lean and mean terminal emulator written by the Interrupt List
                   7025: # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
                   7026: # '90s), especially in the BBS world, and still has some loyal users due to
                   7027: # its very small memory footprint and to a cute macro language.
                   7028: rbcomm|IBM PC with RBcomm and EMACS keybindings,
                   7029:        am, bw, mir, msgr, xenl,
                   7030:        cols#80, it#8, lines#25,
                   7031:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   7032:        clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   7033:        cub1=^H, cud1=^C, cuf1=^B,
                   7034:        cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^,
                   7035:        cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z,
                   7036:        ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I, il=\E[%p1%dL, il1=^K,
                   7037:        ind=\ED, invis=\E[8m,
                   7038:        is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H,
                   7039:        kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED,
                   7040:        rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=,
                   7041:        rmir=^], rmkx=\E>, rmso=^U, rmul=^U,
                   7042:        rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m,
                   7043:        smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T,
                   7044: rbcomm-nam|IBM PC with RBcomm without autowrap,
                   7045:        am@,
                   7046:        bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
                   7047:        is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H,
                   7048:        kcub1=^H, kcud1=^J, nel=^M^J,
                   7049:        use=rbcomm,
                   7050: rbcomm-w|IBM PC with RBcomm in 132 column mode,
                   7051:        cols#132,
                   7052:        bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
                   7053:        is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H,
                   7054:        kcub1=^H, kcud1=^J, nel=^M^J,
                   7055:        use=rbcomm,
1.1       millert  7056:
                   7057: ######## OLDER TERMINAL TYPES
                   7058: #
                   7059: # This section is devoted to older commercial terminal brands that are now
                   7060: # discontinued, but known to be still in use or represented by emulations.
                   7061: #
                   7062:
                   7063: #### AT&T (att, tty)
                   7064: #
                   7065: # This section also includes Teletype-branded VDTs.
                   7066: #
                   7067: # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
                   7068: # Boundless Technologies); for details, see the header comment on the ADDS
                   7069: # section.
                   7070: #
                   7071: # These are AT&T's official terminfo entries.  All-caps aliases have been
                   7072: # removed.
                   7073: #
1.11      millert  7074: att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode,
                   7075:        am, eo, mir, msgr, xon,
                   7076:        cols#80, it#8, lines#24,
                   7077:        bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   7078:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   7079:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7080:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   7081:        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
                   7082:        il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J,
                   7083:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   7084:        kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r,
                   7085:        kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r,
                   7086:        kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r,
                   7087:        kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H,
                   7088:        kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   7089:        rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h,
                   7090:        smso=\E[7m,
                   7091: att2350|AT&T 2350 Video Information Terminal 80 column mode,
                   7092:        mc0@, mc4@, mc5@,
                   7093:        use=att2300,
1.1       millert  7094:
                   7095: # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
                   7096: # Seems upward compatible with vt100, plus ins/del line/char.
                   7097: # On sgr, the protection parameter is ignored.
                   7098: # No check is made to make sure that only 3 parameters are output.
                   7099: #      standout= reverse + half-intensity = 3 | 5.
                   7100: #      bold= reverse + underline = 2 | 3.
                   7101: # note that half-bright blinking doesn't look different from normal blinking.
                   7102: # NOTE:you must program the function keys first, label second!
                   7103: # (att4410: a BSD entry has been seen with the following capabilities:
                   7104: # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
                   7105: # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
1.11      millert  7106: att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1,
                   7107:        am, hs, mir, msgr, xon,
                   7108:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   7109:        acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7110:        bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M,
                   7111:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   7112:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m,
                   7113:        dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I,
                   7114:        ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0,
                   7115:        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,
                   7116:        kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   7117:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT,
                   7118:        kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H,
                   7119:        ll=\E[24H, nel=^M^J,
                   7120:        pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s,
                   7121:        pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
                   7122:        rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
                   7123:        sc=\E7,
                   7124:        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%;,
                   7125:        sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
                   7126:        tsl=\E7\E[25;%p1%{1}%+%dH,
                   7127:
                   7128: att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1,
                   7129:        cols#132, wsl#132,
                   7130:        is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1,
                   7131:
                   7132: att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2,
                   7133:        OTbs,
                   7134:        pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s, use=att5410v1,
                   7135:
                   7136: att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode,
                   7137:        cols#132, wsl#132,
                   7138:        is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410,
1.1       millert  7139:
                   7140: # 5410 in terms of a vt100
                   7141: # (v5410: added <rmam>/<smam> based on init string -- esr)
1.11      millert  7142: v5410|att5410 in terms of a vt100,
                   7143:        am, mir, msgr, xon,
                   7144:        cols#80, it#8, lines#24, vt#3,
                   7145:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7146:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   7147:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   7148:        cub1=^H, cud1=^J, cuf1=\E[C$<2>,
                   7149:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P,
                   7150:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   7151:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@,
                   7152:        il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H,
                   7153:        kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   7154:        kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx,
                   7155:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv,
                   7156:        kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>,
                   7157:        rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
                   7158:        rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   7159:        sc=\E7,
                   7160:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   7161:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   7162:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
1.1       millert  7163:
                   7164: #
                   7165: # Teletype Model 5420 -- A souped up 5410, with multiple windows,
                   7166: # even! the 5420 has three modes: scroll, window or page mode
                   7167: # this terminfo should work in scroll or window mode, but doesn't
                   7168: # take advantage of any of the differences between them.
                   7169: #
                   7170: # Has memory below (2 lines!)
                   7171: # 3 pages of memory (plus some spare)
                   7172: # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
                   7173: # <hpa>, <hts> would work for these, but these work in both scroll and window
                   7174: # mode... Unset insert character so insert mode works
                   7175: # <is1> sets 80 column mode,
                   7176: # <is2> escape sequence:
                   7177: # 1) turn off all fonts
                   7178: # 2) function keys off, keyboard lock off, control display off,
                   7179: #    insert mode off, erasure mode off,
                   7180: # 3) full duplex, monitor mode off, send graphics off, nl on lf off
                   7181: # 4) reset origin mode
                   7182: # 5) set line wraparound
                   7183: # 6) exit erasure mode, positional attribute mode, and erasure extent mode
                   7184: # 7) clear margins
                   7185: # 8) program ENTER to transmit ^J,
                   7186: # We use \212 to program the ^J because a bare ^J will get translated by
                   7187: # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
                   7188: #     1      2            3              4     5     6    7  8
                   7189: # <is3> set screen color to black,
                   7190: # No representation in terminfo for the delete word key: kdw1=\Ed
                   7191: # Key capabilities assume the power-up send sequence...
                   7192: # This <rmcup> is not strictly necessary, but it helps maximize
                   7193: # memory usefulness: <rmcup=\Ez>,
                   7194: # Alternate sgr0:      <sgr0=\E[m\EW^O>,
                   7195: # 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%;>,
                   7196: # smkx programs the SYS PF keys to send a set sequence.
                   7197: # It also sets up labels f1, f2, ..., f8, and sends edit keys.
                   7198: # This string causes them to send the strings <kf1>-<kf8>
                   7199: # when pressed in SYS PF mode.
                   7200: # (att4415: I added <rmam>/<smam> based on the init string -- esr)
1.11      millert  7201: att4415|tty5420|att5420|AT&T 4415/5420 80 cols,
                   7202:        OTbs, db, mir, xon,
                   7203:        lh#2, lm#78, lw#8, nlab#8, wsl#55,
                   7204:        cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD,
                   7205:        cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx,
                   7206:        cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP,
                   7207:        dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD,
                   7208:        flash=\E[?5h$<200>\E[?5l, home=\E[x,
                   7209:        hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@,
                   7210:        il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>,
                   7211:        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,
                   7212:        is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M,
                   7213:        kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd,
                   7214:        kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                   7215:        kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
                   7216:        kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   7217:        lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i,
                   7218:        mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt,
                   7219:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s,
                   7220:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV,
                   7221:        rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l,
                   7222:        rmkx=\E[19;0j\E[21;1j\212, rmln=\E|,
                   7223:        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%;,
                   7224:        sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h,
                   7225:        smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g,
                   7226:        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
                   7227:        use=att4410,
                   7228:
                   7229: att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols,
                   7230:        cols#132, lm#54, wsl#97,
                   7231:        is1=\E[?3h$<100>, use=att4415,
                   7232:
                   7233: att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv,
                   7234:        flash=\E[?5l$<200>\E[?5h, is3=\E[?5h,
                   7235:        use=att4415,
                   7236:
                   7237: att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv,
                   7238:        cols#132, lm#54, wsl#97,
                   7239:        flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h, use=att4415,
1.1       millert  7240:
                   7241: # Note that this mode permits programming USER PF KEYS and labels
                   7242: # However, when you program user pf labels you have to reselect
                   7243: # user pf keys to make them appear!
1.11      millert  7244: att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels,
                   7245:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   7246:        pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s,
                   7247:        pln=\E[%p1%d;0;0;1q%p2%:-16.16s,
                   7248:
                   7249: att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels,
                   7250:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   7251:        use=att4415+nl, use=att4415,
                   7252:
                   7253: att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels,
                   7254:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   7255:        use=att4415+nl, use=att4415-rv,
                   7256:
                   7257: att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels,
                   7258:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   7259:        use=att4415+nl, use=att4415-w,
                   7260:
                   7261: att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels,
                   7262:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   7263:        use=att4415+nl, use=att4415-w-rv,
                   7264:
                   7265: att5420_2|AT&T 5420 model 2 80 cols,
                   7266:        am, db, hs, mir, msgr, xon,
                   7267:        cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
                   7268:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7269:        blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j,
                   7270:        cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7271:        cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
                   7272:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j,
                   7273:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
                   7274:        dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K,
                   7275:        el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
                   7276:        hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   7277:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
                   7278:        invis=\E[8m,
                   7279:        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,
                   7280:        kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D,
                   7281:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
                   7282:        kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe,
                   7283:        kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H,
                   7284:        kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
                   7285:        kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   7286:        lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i,
                   7287:        mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J,
                   7288:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~,
                   7289:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8,
                   7290:        rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j,
                   7291:        rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
                   7292:        sc=\E7,
                   7293:        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%;,
                   7294:        sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~,
                   7295:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   7296:        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
                   7297: att5420_2-w|AT&T 5420 model 2 in 132 column mode,
                   7298:        cols#132,
                   7299:        is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;1j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, use=att5420_2,
                   7300:
                   7301: att4418|att5418|AT&T 5418 80 cols,
                   7302:        am, xon,
                   7303:        cols#80, lines#24,
                   7304:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7305:        bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD,
                   7306:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                   7307:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   7308:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m,
                   7309:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H,
                   7310:        ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J,
                   7311:        is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%, kcub1=\E@,
                   7312:        kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h,
                   7313:        kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I,
                   7314:        kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E,
                   7315:        kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j,
                   7316:        kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8,
                   7317:        rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7,
                   7318:        sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
                   7319: att4418-w|att5418-w|AT&T 5418 132 cols,
                   7320:        cols#132,
                   7321:        is1=\E[?3h, use=att5418,
                   7322:
                   7323: att4420|tty4420|teletype 4420,
                   7324:        OTbs, da, db, eo, msgr, ul, xon,
                   7325:        cols#80, lines#24, lm#72,
                   7326:        bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC,
                   7327:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
                   7328:        dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s,
                   7329:        kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC,
                   7330:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH,
                   7331:        kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET,
                   7332:        lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~,
                   7333:        rmul=\EZ, smdc@, smso=\E}, smul=\E\\,
1.1       millert  7334:
                   7335: #  The following is a terminfo entry for the Teletype 4424
                   7336: #  asynchronous keyboard-display terminal.  It supports
                   7337: #  the vi editor.  The terminal must be set up as follows,
                   7338: #
                   7339: #      HIGHLIGHT DEFINITION    3-TONE
                   7340: #      DISPLAY FUNCTION        GROUP III
                   7341: #
                   7342: #  The second entry below provides limited (a la adm3a)
                   7343: #  operation under GROUP II.
                   7344: #
                   7345: #  This must be used with DISPLAY FUNCTION GROUP I or III
                   7346: #      and HIGHLIGHT DEFINITION 3-TONE
                   7347: # The terminal has either bold or blink, depending on options
                   7348: #
                   7349: # (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
1.11      millert  7350: att4424|tty4424|teletype 4424,
                   7351:        OTbs, am, xon,
                   7352:        cols#80, lines#24,
                   7353:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7354:        bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M,
                   7355:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7356:        cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC,
                   7357:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA,
                   7358:        dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM,
                   7359:        ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   7360:        ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h,
                   7361:        kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   7362:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   7363:        khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~,
                   7364:        rmul=\EZ,
                   7365:        sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m,
                   7366:        sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\,
                   7367:        tbc=\EF,
                   7368:
                   7369: att4424-1|tty4424-1|teletype 4424 in display function group I,
                   7370:        kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@,
                   7371:        use=att4424,
1.1       millert  7372:
                   7373: # This entry is not one of AT&T's official ones, it was translated from the
                   7374: # 4.4BSD termcap file.  The highlight strings are different from att4424.
                   7375: # I have no idea why this is -- older firmware version, maybe?
                   7376: # The following two lines are the comment originally attached to the entry:
                   7377: # This entry appears to avoid the top line - I have no idea why.
                   7378: # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
                   7379: att4424m|tty4424m|teletype 4424M,
                   7380:        am, da, db, mir,
                   7381:        cols#80, it#8, lines#23,
1.11      millert  7382:        bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   7383:        cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP,
                   7384:        dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>,
                   7385:        is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   7386:        kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   7387:        kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m,
                   7388:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1.1       millert  7389:
                   7390: # The Teletype 5425 is really version 2 of the Teletype 5420. It
                   7391: # is quite similar, except for some minor differences. No page
                   7392: # mode, for example, so all of the <cup> sequences used above have
                   7393: # to change back to what's being used for the 5410. Many of the
                   7394: # option settings have changed their numbering as well.
                   7395: #
                   7396: # This has been tested on a preliminary model.
                   7397: #
                   7398: # (att5425: added <rmam>/<smam> based on the init string -- esr)
1.11      millert  7399: att5425|tty5425|att4425|AT&T 4425/5425,
                   7400:        am, da, db, hs, mir, msgr, xenl, xon,
                   7401:        cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
                   7402:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7403:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   7404:        clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M,
                   7405:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7406:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   7407:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7408:        cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   7409:        dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J,
                   7410:        el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
                   7411:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
                   7412:        hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   7413:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
                   7414:        invis=\E[8m, is1=\E<\E[?3l$<100>,
                   7415:        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,
                   7416:        is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J,
                   7417:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   7418:        kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc,
                   7419:        kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi,
                   7420:        kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T,
                   7421:        kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i,
                   7422:        nel=^M^J,
                   7423:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   7424:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8,
1.1       millert  7425:        rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l,
1.11      millert  7426:        rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|,
                   7427:        rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7,
                   7428:        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%;,
                   7429:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   7430:        smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m,
                   7431:        smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH,
                   7432:        vpa=\E[%p1%{1}%+%dd,
                   7433:
                   7434: att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels,
                   7435:        smkx=\E[21;1j\E[25;4j\Eent,
                   7436:        use=att4425,
                   7437:
                   7438: att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode,
                   7439:        cols#132, lm#54, wsl#97,
                   7440:        is1=\E[?3h$<100>, use=tty5425,
1.1       millert  7441:
                   7442: # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
                   7443: # I also added <rmam>/<smam> -- esr)
1.11      millert  7444: att4426|tty4426|teletype 4426S,
                   7445:        am, da, db, xon,
                   7446:        cols#80, lines#24, lm#48,
                   7447:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7448:        bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V,
                   7449:        cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
                   7450:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   7451:        cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP,
                   7452:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H,
                   7453:        hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^,
                   7454:        il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS,
                   7455:        is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO,
                   7456:        kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   7457:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
                   7458:        kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H,
                   7459:        nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT,
                   7460:        rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
                   7461:        rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0,
                   7462:        smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g,
                   7463:        vpa=\E[%p1%dd,
1.1       millert  7464:
                   7465: # Terminfo entry for the AT&T 510 A Personal Terminal
                   7466: # Function keys 9 - 16 are available only after the
                   7467: # screen labeled (soft keys/action blocks) are labeled.  Function key
                   7468: # 9 corresponds to the leftmost touch target on the screen,
                   7469: # function key 16 corresponds to the rightmost.
                   7470: #
                   7471: # This entry is based on one done by Ernie Rice at Summit, NJ and
                   7472: # changed by Anne Gallup, Skokie, IL, ttrdc!anne
1.11      millert  7473: att510a|bct510a|AT&T 510A Personal Terminal,
                   7474:        am, mir, msgr, xenl, xon,
                   7475:        cols#80, lh#2, lines#24, lw#7, nlab#8,
                   7476:        acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
                   7477:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   7478:        civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M,
                   7479:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B,
                   7480:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   7481:        cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP,
                   7482:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J,
                   7483:        el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I,
                   7484:        hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l,
                   7485:        is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z,
                   7486:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm,
                   7487:        kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh,
                   7488:        kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe,
                   7489:        kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T,
                   7490:        mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE,
                   7491:        pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
                   7492:        rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7,
                   7493:        sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;,
                   7494:        sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m,
                   7495:        smul=\E[4m, tbc=\E[3g,
1.1       millert  7496:
                   7497: # Terminfo entry for the AT&T 510 D Personal Terminal
                   7498: # Function keys 9 through 16 are accessed by bringing up the
                   7499: # system blocks.
                   7500: # Function key 9 corresponds to the leftmost touch target on the screen,
                   7501: # function key 16 corresponds to the rightmost.
                   7502: #
                   7503: # There are problems with soft key labeling.  These are due to
                   7504: # strangenesses in the native terminal that are impossible to
                   7505: # describe in a terminfo.
1.11      millert  7506: att510d|bct510d|AT&T 510D Personal Terminal,
                   7507:        am, da, db, mir, msgr, xenl, xon,
                   7508:        cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8,
                   7509:        acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
                   7510:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   7511:        clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD,
                   7512:        cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC,
                   7513:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   7514:        cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P,
                   7515:        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K,
                   7516:        el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H,
                   7517:        hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   7518:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
                   7519:        invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212,
                   7520:        kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
                   7521:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd,
                   7522:        kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi,
                   7523:        kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf,
                   7524:        kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2,
                   7525:        mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE,
                   7526:        pln=\E[%p1%dp%p2%:-16s, rc=\E8,
                   7527:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
                   7528:        rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|,
                   7529:        rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|,
                   7530:        rs2=\E[5;0|, sc=\E7,
                   7531:        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%;,
                   7532:        sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h,
                   7533:        smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m,
                   7534:        smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
1.1       millert  7535:
                   7536: # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
1.11      millert  7537: att500|att513|AT&T 513 using page mode,
                   7538:        am, chts, mir, msgr, xenl, xon,
                   7539:        cols#80, lh#2, lines#24, lw#8, nlab#8,
                   7540:        acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
                   7541:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   7542:        clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M,
                   7543:        csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7544:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   7545:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7546:        cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m,
                   7547:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   7548:        enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
                   7549:        hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   7550:        indn=\E[%p1%dE, invis=\E[8m,
                   7551:        is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l,
                   7552:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   7553:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   7554:        kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK,
                   7555:        kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ,
                   7556:        kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY,
                   7557:        kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw,
                   7558:        kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd,
                   7559:        kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   7560:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent,
                   7561:        kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
                   7562:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm,
                   7563:        khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi,
                   7564:        kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
                   7565:        kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
                   7566:        kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB,
                   7567:        ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2,
                   7568:        mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i,
                   7569:        nel=\EE,
                   7570:        pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s,
                   7571:        pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s,
                   7572:        pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s,
                   7573:        pln=\E[%p1%dp%p2%:-16s, rc=\E8,
                   7574:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
                   7575:        rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l,
                   7576:        rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m,
                   7577:        rmul=\E[m,
                   7578:        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,
                   7579:        rs2=\E[5;0|, sc=\E7,
                   7580:        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%;,
                   7581:        sgr0=\E[m\017, smacs=^N, smir=\E[4h,
                   7582:        smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m,
                   7583:        smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
1.1       millert  7584:
                   7585: # 01-07-88
                   7586: # printer must be set to EMUL ANSI to accept ESC codes
                   7587: # <cuu1> stops at top margin
                   7588: # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
                   7589: #      and alt font ascii,wrap on,tabs cleared
                   7590: # <is2> disables newline on LF,Emphasized off
                   7591: # The <u0> capability sets form length
1.11      millert  7592: att5310|att5320|AT&T Model 53210 or 5320 matrix printer,
                   7593:        xhpa, xvpa,
                   7594:        bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10,
                   7595:        orhi#100, orl#12, orvi#72,
                   7596:        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%;,
                   7597:        cr=^M,
                   7598:        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%;,
                   7599:        cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM,
                   7600:        ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r,
                   7601:        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%;,
                   7602:        rshm=\E[m,
                   7603:        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(}%;,
                   7604:        smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds,
                   7605:        smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m,
                   7606:        u0=\E[%p1%dt, vpa=\E[%p1%dd,
1.1       millert  7607:
                   7608: # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
                   7609: # The following SET-UP modes are assumed for normal operation:
                   7610: #      CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
                   7611: # Other SET-UP modes may be set for operator convenience or communication
                   7612: # requirements.  This termcap description is for the Resident Terminal Mode.
                   7613: # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   7614: # The BRL entry also said: UNSAFE :ll=\E[70H:
                   7615: att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs,
                   7616:        am, xon,
                   7617:        cols#88, it#8, lines#70, vt#3,
                   7618:        bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   7619:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   7620:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   7621:        home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   7622:        il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J,
                   7623:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   7624:        kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT,
                   7625:        rs1=\Ec, sc=\E7,
                   7626:
                   7627: # 5620 terminfo  (2.0 or later ROMS with char attributes)
                   7628: # The following SET-UP modes are assumed for normal operation:
                   7629: #      DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
                   7630: # Other SET-UP modes may be set for operator convenience or communication
                   7631: # requirements.  This termcap description is for Resident Terminal Mode.  No
                   7632: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   7633: # assumptions: <ind> (scroll forward one line) is only done at screen bottom
                   7634: # Be aware that older versions of the dmd have a firmware bug that affects
                   7635: # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
                   7636: # <msgr> is from an otherwise inferior BRL for this terminal.  That entry
                   7637: # also has <ll>=\E[70H commented out and marked unsafe.
                   7638: # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
1.11      millert  7639: att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns,
                   7640:        OTbs, am, msgr, npc, xon,
                   7641:        cols#88, it#8, lines#70,
                   7642:        bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H,
                   7643:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   7644:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
                   7645:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@,
                   7646:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
                   7647:        indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
                   7648:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J,
                   7649:        pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T,
                   7650:        rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7,
                   7651:        sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
                   7652: att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer,
                   7653:        lines#24, use=att5620,
                   7654: att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer,
                   7655:        lines#34, use=att5620,
1.1       millert  7656: # 5620 layer running the "S" system's downloaded graphics handler:
                   7657: att5620-s|tty5620-s|layer|vitty|5620 S layer,
                   7658:        OTbs, OTpt, am,
                   7659:        cols#80, it#8, lines#72,
                   7660:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
                   7661:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED,
                   7662:        el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J,
                   7663:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   7664:        kll=\E[70;1H,
                   7665:
                   7666: # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
                   7667: #
                   7668: # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
                   7669: # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
1.11      millert  7670: att605|AT&T 605 80 column 102key keyboard,
                   7671:        am, eo, xon,
                   7672:        cols#80, lines#24, lw#8, nlab#8, wsl#80,
                   7673:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7674:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   7675:        cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   7676:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   7677:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   7678:        el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   7679:        il1=\E[L, ind=^J, invis=\E[8m,
                   7680:        is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017,
                   7681:        kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J,
                   7682:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   7683:        kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq,
                   7684:        kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD,
                   7685:        kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH,
                   7686:        kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ,
                   7687:        kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe,
                   7688:        kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx,
                   7689:        kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv,
                   7690:        kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs,
                   7691:        kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh,
                   7692:        kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@,
                   7693:        kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H,
                   7694:        mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   7695:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   7696:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
                   7697:        rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
                   7698:        rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016,
                   7699:        smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
                   7700:        tsl=\E7\E[25;%i%p1%dx,
                   7701: att605-pc|ATT 605 in pc term mode,
                   7702:        acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
                   7703:        cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
                   7704:        dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z,
                   7705:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   7706:        kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N,
                   7707:        kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
                   7708:        kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I,
                   7709:        rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g,
                   7710:        xonc=e,
                   7711:        use=att605,
                   7712: att605-w|AT&T 605-w 132 column 102 key keyboard,
                   7713:        cols#132, wsl#132,
                   7714:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0, use=att605,
1.1       millert  7715: # (att610: I added <rmam>/<smam> based on the init string.  I also
                   7716: # added <indn> and <rin> because the BSD file says the att615s have them,
                   7717: # and the 615 is like a 610 with a big keyboard, and most of their other
                   7718: # smart terminals support the same sequence -- esr)
1.11      millert  7719: att610|AT&T 610; 80 column; 98key keyboard,
                   7720:        am, eslok, hs, mir, msgr, xenl, xon,
                   7721:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   7722:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7723:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   7724:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   7725:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7726:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   7727:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7728:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   7729:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   7730:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
                   7731:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   7732:        indn=\E[%p1%dS, invis=\E[8m,
                   7733:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0,
                   7734:        is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
                   7735:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   7736:        kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   7737:        kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
                   7738:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
                   7739:        kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i,
                   7740:        nel=\EE,
                   7741:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   7742:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
                   7743:        ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
                   7744:        rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7,
                   7745:        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%;,
                   7746:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   7747:        smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx,
                   7748: att610-w|AT&T 610; 132 column; 98key keyboard,
1.1       millert  7749:        cols#132, wsl#132,
1.11      millert  7750:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610,
1.1       millert  7751:
1.11      millert  7752: att610-103k|AT&T 610; 80 column; 103key keyboard,
                   7753:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   7754:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   7755:        kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
                   7756:        kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
                   7757:        kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
                   7758:        kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
                   7759:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
                   7760:        kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx,
                   7761:        khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl,
                   7762:        knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V,
                   7763:        kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq,
                   7764:        krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo,
                   7765:        kslt=\ENI, kspd=\EOp, kund=\EOs,
                   7766:        use=att610,
                   7767: att610-103k-w|AT&T 610; 132 column; 103key keyboard,
1.1       millert  7768:        cols#132, wsl#132,
1.11      millert  7769:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610-103k,
                   7770: att615|AT&T 615; 80 column; 98key keyboard,
                   7771:        kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
                   7772:        kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
                   7773:        kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
                   7774:        kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
                   7775:        kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
                   7776:        kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
                   7777:        kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM,
                   7778:        use=att610,
                   7779: att615-w|AT&T 615; 132 column; 98key keyboard,
                   7780:        kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
                   7781:        kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
                   7782:        kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
                   7783:        kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
                   7784:        kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
                   7785:        kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
                   7786:        kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM,
                   7787:        use=att610-w,
                   7788: att615-103k|AT&T 615; 80 column; 103key keyboard,
                   7789:        kLFT=\E[ A, kRIT=\E[ @,
                   7790:        use=att610-103k,
                   7791: att615-103k-w|AT&T 615; 132 column; 103key keyboard,
                   7792:        kLFT=\E[ A, kRIT=\E[ @,
                   7793:        use=att610-103k-w,
1.1       millert  7794: # (att620: I added <rmam>/<smam> based on the init string and
                   7795: # <rin>/<indn> from a BSD termcap -- esr)
1.11      millert  7796: att620|AT&T 620; 80 column; 98key keyboard,
                   7797:        am, eslok, hs, mir, msgr, xenl, xon,
                   7798:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   7799:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7800:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   7801:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   7802:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7803:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   7804:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7805:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   7806:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   7807:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
                   7808:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   7809:        indn=\E[%p1%dS, invis=\E[8m,
                   7810:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h,
                   7811:        is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H,
                   7812:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   7813:        kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   7814:        kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE,
                   7815:        kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI,
                   7816:        kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR,
                   7817:        kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ,
                   7818:        kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy,
                   7819:        kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf,
                   7820:        kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp,
                   7821:        kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                   7822:        kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H,
                   7823:        mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   7824:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   7825:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
                   7826:        ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l,
                   7827:        rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
                   7828:        rs2=\Ec\E[?3l, sc=\E7,
                   7829:        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%;,
                   7830:        sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h,
                   7831:        smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
                   7832:        tsl=\E7\E[25;%i%p1%dx,
                   7833: att620-w|AT&T 620; 132 column; 98key keyboard,
                   7834:        cols#132, wsl#132,
                   7835:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620,
                   7836: att620-103k|AT&T 620; 80 column; 103key keyboard,
                   7837:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   7838:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   7839:        kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
                   7840:        kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
                   7841:        kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
                   7842:        kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
                   7843:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
                   7844:        kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@,
                   7845:        kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@,
                   7846:        kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@,
                   7847:        kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@,
                   7848:        kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi,
                   7849:        kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
                   7850:        kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
                   7851:        kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB,
                   7852:        ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs,
                   7853:        use=att620,
                   7854:
                   7855: att620-103k-w|AT&T 620; 132 column; 103key keyboard,
                   7856:        cols#132, wsl#132,
                   7857:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620-103k,
1.1       millert  7858:
                   7859: # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
                   7860: # The following SETUP modes are assumed for normal operation:
                   7861: #      Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
                   7862: #      Font_Size=Large         Non-Layers_Window_Cols=80
                   7863: #                              Non-Layers_Window_Rows=60
                   7864: # Other SETUP modes may be set for operator convenience or communication
                   7865: # requirements.  Some capabilities assume a printer attached to the Aux EIA
                   7866: # port.  This termcap description is for the Fixed Non-Layers Window.  No
                   7867: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   7868: # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
1.11      millert  7869: att630|AT&T 630 windowing terminal,
                   7870:        OTbs, am, da, db, mir, msgr, npc, xon,
                   7871:        cols#80, it#8, lines#60, lm#0,
                   7872:        bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M,
                   7873:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   7874:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   7875:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   7876:        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   7877:        el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   7878:        il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m,
                   7879:        kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
                   7880:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M,
                   7881:        kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt,
                   7882:        kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy,
                   7883:        kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~,
                   7884:        kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i,
                   7885:        mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8,
                   7886:        rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m,
                   7887:        rmul=\E[m, rs2=\Ec, sc=\E7,
                   7888:        sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m,
                   7889:        sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   7890: att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,
                   7891:        lines#24, use=att630,
1.1       millert  7892:
                   7893: # This is the att700 entry for 700 native emulation of the AT&T 700
                   7894: # terminal.  Comments are relative to changes from the 605V2 entry and
                   7895: # att730 on which the entry is based.  Comments show the terminfo
                   7896: # capability name, termcap name, and description.
                   7897: #
                   7898: # Here is what's going onm in the init string:
                   7899: #      ESC [ 50;4|     set 700 native mode (really is 605)
                   7900: # x    ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
                   7901: #      ESC [ 53;0|     set GenFlow to Xon/Xoff
                   7902: #      ESC [ 8 ;0|     set CR on NL
                   7903: # x    ESC [ ? 3 l/h   set workspace: 80 col(l); 132 col(h)
                   7904: #      ESC [ ? 4 l     jump scroll
                   7905: #      ESC [ ? 5 l/h   video: normal (l); reverse (h)
                   7906: #      ESC [ ?13 l     Labels on
                   7907: #      ESC [ ?15 l     parity check = no
                   7908: #      ESC [ 13 l      monitor mode off
                   7909: #      ESC [ 20 l      LF on NL (not CRLF on NL)
                   7910: #      ESC [ ? 7 h     autowrap on
                   7911: #      ESC [ 12 h      local echo off
                   7912: #      ESC ( B         GO = ASCII
                   7913: #      ESC ) 0         G1 = Special Char & Line Drawing
                   7914: #      ESC [ ? 31 l    Set 7 bit controls
                   7915: #
                   7916: # Note: Most terminals, especially the 600 family use Reverse Video for
                   7917: # standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
                   7918: # Assume we should stay with reverse video for 70..  However, the 605V2 exits
                   7919: # standout mode with \E[m (all normal attributes).  The 730 entry simply
                   7920: # exits reverse video which would leave other current attributes intact.  It
                   7921: # was assumed the 730 entry to be more correct so rmso has changed.  The
                   7922: # 605V2 has no sequences to turn individual attributes off, thus its setting
                   7923: # and the rmso/smso settings from the 730.
                   7924: #
                   7925: # Note: For the same reason as above in rmso I changed exit under-score mode
                   7926: # to specifically turn off underscore, rather than return to all normal
                   7927: # attributes
                   7928: #
                   7929: # Note: The following pkey_xmit is taken from the 605V2 which contained the
                   7930: # capability as pfxl.  It was changed here to pfx since pfxl
                   7931: # will only compile successfully with Unix 4.0 tic.  Also note that pfx only
                   7932: # allows strings to be parameters and label values must be programmed as
                   7933: # constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
                   7934: # and strings to be parameters.  The 605V2 pfx entry should be examined later
                   7935: # in this regard. For reference the 730 pfxl entry is shown here for comparison
                   7936: # 730 pfx entry:
                   7937: #     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
                   7938: # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
                   7939: #
                   7940: # (for 4.0 tic)
                   7941: #     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
                   7942: #
                   7943: # (for <4.0 tic)
                   7944: #     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
                   7945: #
                   7946: # From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
                   7947: #
                   7948: # Port1 Interface
                   7949: #
                   7950: # modular 10 pin Connector
                   7951: # Left side       Right side
                   7952: # Pin 1 2 3 4 5 6 7 8 9 10
                   7953: #
                   7954: #        Key (notch) at bottom
                   7955: #
                   7956: # Pin    1 DSR
                   7957: #        3 DCD
                   7958: #        4 DTR
                   7959: #        5 Sig Ground
                   7960: #        6 RD
                   7961: #        7 SD
                   7962: #        8 CTS
                   7963: #        9 RTS
                   7964: #        10 Frame Ground
                   7965: #
                   7966: # The manual is 189 pages and is loaded with details about the escape codes,
                   7967: # etc..... Available from AT&T CIC 800-432-6600...
                   7968: # ask for Document number 999-300-660..
                   7969: #
1.11      millert  7970: att700|AT&T 700 24x80 column display w/102key keyboard,
1.1       millert  7971:        am, eslok, hs, mir, msgr, xenl, xon,
                   7972:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   7973:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7974:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   7975:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   7976:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7977:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   7978:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7979:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   7980:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   7981:        enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4,
                   7982:        fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   7983:        il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m,
                   7984:        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,
                   7985:        is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z,
                   7986:        kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   7987:        kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp,
                   7988:        kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC,
                   7989:        kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd,
                   7990:        kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP,
                   7991:        kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq,
                   7992:        kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu,
                   7993:        kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu,
                   7994:        kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr,
                   7995:        kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg,
                   7996:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
                   7997:        kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H,
                   7998:        mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   7999:        pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
                   8000:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
                   8001:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
                   8002:        rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m,
                   8003:        rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7,
                   8004:        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%;,
                   8005:        sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m,
                   8006:        smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g,
                   8007:        tsl=\E7\E[99;%i%p1%dx,
                   8008:
                   8009: # This entry was modified 3/13/90 by JWE.
                   8010: # fixes include additions of <enacs>, correcting <rep>, and modification
                   8011: # of <kHOM>.  (See comments below)
                   8012: # att730 has status line of 80 chars
                   8013: # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
                   8014: # the <kf25> and up keys are used for shifted system Fkeys
                   8015: # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
                   8016: # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
                   8017: # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
                   8018: # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
                   8019: # 102, 102+1, or 122 key keyboards
                   8020: #       kHOM=\E[2J,
                   8021: # (att730: I added <rmam>/<smam> based on the init string -- esr)
1.11      millert  8022: att730|AT&T 730 windowing terminal,
                   8023:        am, da, db, eslok, hs, mir, msgr, npc, xenl, xon,
                   8024:        cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80,
                   8025:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   8026:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   8027:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   8028:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   8029:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   8030:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   8031:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   8032:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   8033:        enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8,
                   8034:        home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
                   8035:        ind=\ED, invis=\E[8m,
                   8036:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B,
                   8037:        is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
                   8038:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   8039:        kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   8040:        kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw,
                   8041:        kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{,
                   8042:        kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD,
                   8043:        kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH,
                   8044:        kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ,
                   8045:        kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf,
                   8046:        kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ,
                   8047:        kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg,
                   8048:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
                   8049:        kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T,
                   8050:        mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   8051:        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,
                   8052:        pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s,
                   8053:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
                   8054:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
                   8055:        rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m,
                   8056:        rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7,
                   8057:        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%;,
                   8058:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   8059:        smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h,
                   8060:        swidm=\E#6, tsl=\E7\E[;%i%p1%dx,
                   8061: att730-41|730MTG-41|AT&T 730-41 windowing terminal Version,
                   8062:        lines#41, use=att730,
                   8063: att730-24|730MTG-24|AT&T 730-24 windowing terminal Version,
                   8064:        lines#24, use=att730,
                   8065: att730r|730MTGr|AT&T 730 rev video windowing terminal Version,
                   8066:        flash=\E[?5l$<200>\E[?5h,
                   8067:        is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B, use=att730,
                   8068: att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version,
                   8069:        lines#41, use=att730r,
                   8070: att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version,
                   8071:        lines#24, use=att730r,
1.1       millert  8072:
                   8073: # The following represents the screen layout along with the associated
                   8074: # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
                   8075: # not appear on the screen but are shown to reference the bezel buttons.
                   8076: # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
                   8077: # position relative to the screen.
                   8078: #
                   8079: #
                   8080: #
                   8081: #      +----------------------------------------------------------------+
                   8082: #      |                                                                |
                   8083: # XXXX | kf0                                                       kf24 | XXXX
                   8084: #      |                                                                |
                   8085: #      |                                                                |
                   8086: # XXXX | kf1                                                       kf23 | XXXX
                   8087: #      |                                                                |
                   8088: #      |                                                                |
                   8089: # XXXX | kf2                                                       kf22 | XXXX
                   8090: #      |                                                                |
                   8091: #      |                                                                |
                   8092: # XXXX | kf3                                                       kf21 | XXXX
                   8093: #      |                                                                |
                   8094: #      |                                                                |
                   8095: # XXXX | kf4                                                       kf20 | XXXX
                   8096: #      |                                                                |
                   8097: #      |                                                                |
                   8098: # XXXX | kf5                                                       kf19 | XXXX
                   8099: #      |                                                                |
                   8100: #      |                                                                |
                   8101: # XXXX | kf6                                                       kf18 | XXXX
                   8102: #      |                                                                |
                   8103: #      |                                                                |
                   8104: # XXXX |                                                                | XXXX
                   8105: #      |                                                                |
                   8106: #      |                                                                |
                   8107: #      +----------------------------------------------------------------+
                   8108: #
                   8109: #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
                   8110: #
                   8111: # Note: XXXX represents the screen buttons
                   8112: #                                                          CMD   REDRAW
                   8113: #
                   8114: #                                                          MAIL
                   8115: #
                   8116: # version 1 note:
                   8117: #      The character string sent by key 'kf26' may be user programmable
                   8118: #       to send either \E[16s, or \E[26s.
                   8119: #       The character string sent by key 'krfr' may be user programmable
                   8120: #       to send either \E[17s, or \E[27s.
                   8121: #
                   8122: # Depression of the "CMD" key sends    \E!    (kcmd)
                   8123: # Depression of the "MAIL" key sends   \E[26s (kf26)
                   8124: # "REDRAW" same as "REFRESH" (krfr)
                   8125: #
                   8126: # "kf" functions adds carriage return to output string if terminal is in
                   8127: # 'new line' mode.
                   8128: #
                   8129: # The following are functions not covered in the table above:
                   8130: #
                   8131: #       Set keyboard character (SKC): \EPn1;Pn2w
                   8132: #                       Pn1= 0 Back Space key
                   8133: #                       Pn1= 1 Break key
                   8134: #                       Pn2=   Program char (hex)
                   8135: #
                   8136: #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
                   8137: #                       Pn1=     Window number (1-39)
                   8138: #                       Pn2-Pn5= Y;X;Y;X coordinates
                   8139: #
                   8140: #       Screen Selection (SSL): \E[Pnu
                   8141: #                       Pn= Window number
                   8142: #
                   8143: #       Set Terminal Modes (SM): \E[Pnh
                   8144: #                       Pn= 3 Graphics mode
                   8145: #                       Pn= > Cursor blink
                   8146: #                       Pn= < Enter new line mode
                   8147: #                       Pn= = Enter reverse insert/replace mode
                   8148: #                       Pn= ? Enter no scroll mode
                   8149: #
                   8150: #       Reset Terminal Mode (RM): \E[Pnl
                   8151: #                       Pn= 3 Exit graphics mode
                   8152: #                       Pn= > Exit cursor blink
                   8153: #                       Pn= < Exit new line mode
                   8154: #                       Pn= = Exit reverse insert/replace mode
                   8155: #                       Pn= ? Exit no scroll mode
                   8156: #
                   8157: #       Screen Status Report (SSR): \E[Pnp
                   8158: #                       Pn= 0 Request current window number
                   8159: #                       Pn= 1 Request current window dimensions
                   8160: #
                   8161: #       Device Status Report (DSR): \E[6n    Request cursor position
                   8162: #
                   8163: #       Call Status Report (CSR): \E[Pnv
                   8164: #                       Pn= 0 Call failed
                   8165: #                       Pn= 1 Call successful
                   8166: #
                   8167: #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
                   8168: #                       Pn1= Button number to be loaded
                   8169: #                       Pn2= Character count of "string"
                   8170: #                       Pn3= Key mode being loaded:
                   8171: #                               0= Unshifted
                   8172: #                               1= Shifted
                   8173: #                               2= Control
                   8174: #                       String= Text string (15 chars max)
                   8175: #
                   8176: #       Screen Number Report (SNR): \E[Pnp
                   8177: #                       Pn= Screen number
                   8178: #
                   8179: #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
                   8180: #                       Pn1= Number of rows available in window
                   8181: #                       Pn2= Number of columns available in window
                   8182: #
                   8183: #       Cursor Position Report (CPR): \E[Pn1;Pn2R
                   8184: #                       Pn1= "Y" Position of cursor
                   8185: #                       Pn2= "X" Position of cursor
                   8186: #
                   8187: #       Request Answer Back (RAB): \E[c
                   8188: #
                   8189: #       Answer Back Response (ABR): \E[?;*;30;VSV
                   8190: #                       *=  0 No printer available
                   8191: #                       *=  2 Printer available
                   8192: #                       V=  Software version number
                   8193: #                       SV= Software sub version number
                   8194: #      (printer-available field not documented in v1)
                   8195: #
                   8196: #       Screen Alignment Aid: \En
                   8197: #
                   8198: #       Bell (lower pitch): \E[x
                   8199: #
                   8200: #       Dial Phone Number: \EPdstring\
                   8201: #                       string= Phone number to be dialed
                   8202: #
                   8203: #       Set Phone Labels: \EPpstring\
                   8204: #                       string= Label for phone buttons
                   8205: #
                   8206: #       Set Clock: \EPchour;minute;second\
                   8207: #
                   8208: #       Position Clock: \EPsY;X\
                   8209: #                       Y= "Y" coordinate
                   8210: #                       X= "X" coordinate
                   8211: #
                   8212: #       Delete Clock: \Epr\
                   8213: #
                   8214: #       Programming The Function Buttons: \EPfPn;string\
                   8215: #                       Pn= Button number (00-06, 18-24)
                   8216: #                                         (kf00-kf06, kf18-kf24)
                   8217: #                       string= Text to sent on button depression
                   8218: #
                   8219: # The following in version 2 only:
                   8220: #
                   8221: #       Request For Local Directory Data: \EPp12;\
                   8222: #
                   8223: #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
                   8224: #
                   8225: #      Request for Local Directory Data in print format: \EPp13;\
                   8226: #
                   8227: #      Enable 'Prt on Line' mode: \022 (DC2)
                   8228: #
                   8229: #      Disable 'Prt on Line' mode: \024 (DC4)
                   8230: #
                   8231:
                   8232: # 05-Aug-86:
                   8233: # The following Terminfo entry describes functions which are supported by
                   8234: # the AT&T 5430/pt505 terminal software version 2 and later.
1.11      millert  8235: att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal,
1.1       millert  8236:        am, xon,
                   8237:        cols#80, it#8, lines#24,
1.11      millert  8238:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   8239:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H,
                   8240:        cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
                   8241:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   8242:        cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   8243:        cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   8244:        dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E[2K, home=\E[H, ht=^I,
                   8245:        il=\E[%p1%dL, il1=\E[L, ind=^J,
                   8246:        is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l,
                   8247:        kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   8248:        kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s,
                   8249:        kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s,
                   8250:        kf22=\E[22s, kf23=\E[23s, kf24=\E[24s, kf26=\E[26s,
                   8251:        kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s,
                   8252:        krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   8253:        rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m,
                   8254:        rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m,
                   8255:        smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m,
1.1       millert  8256:
                   8257: # The following Terminfo entry describes functions which are supported by
                   8258: # the AT&T 5430/pt505 terminal software version 1.
                   8259: att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines,
1.11      millert  8260:        lines#24,
                   8261:        mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505,
                   8262: tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines,
                   8263:        lines#22, use=att505,
                   8264: #
                   8265: #### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
                   8266: # This cut mark helps make life less painful for people running ncurses tic
                   8267: # on machines with relatively little RAM.  The file can be broken in half here
                   8268: # cleanly and compiled in sections -- no `use' references cross this cut
                   8269: # going forward.
                   8270: #
1.1       millert  8271:
                   8272: #### Ampex (Dialogue)
                   8273: #
                   8274: # Yes, these are the same people who are better-known for making audio- and
                   8275: # videotape.  I'm told they are located in Redwood City, CA.
                   8276: #
                   8277:
                   8278: # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
                   8279: # (ampex80: some capabilities merged in from SCO's entry -- esr)
                   8280: ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80,
1.11      millert  8281:        OTbs, am, bw, ul,
1.1       millert  8282:        cols#80, it#8, lines#24,
1.11      millert  8283:        bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J,
                   8284:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   8285:        dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1,
                   8286:        ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em,
1.1       millert  8287:        smso=\Ej, smul=\El, tbc=\E3,
                   8288: # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
1.11      millert  8289: ampex175|ampex d175,
                   8290:        am,
                   8291:        cols#80, lines#24,
                   8292:        bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   8293:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   8294:        dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J,
                   8295:        is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   8296:        kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K,
                   8297:        rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El,
1.1       millert  8298: # No backspace key in the main QWERTY cluster. Fortunately, it has a
                   8299: # NEWLINE/PAGE key just above RETURN that sends a strange single-character
                   8300: # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
                   8301: # mode), this key can be used as the erase key; I find I like this. Because
                   8302: # some people and some systems may not, there is another termcap ("ampex175")
                   8303: # that suppresses this little eccentricity by omitting the relevant capability.
1.11      millert  8304: ampex175-b|ampex d175 using left arrow for erase,
                   8305:        kbs=^_,
                   8306:        use=ampex175,
1.1       millert  8307: # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
                   8308: # (ampex210: removed obsolete ":kn#10:" -- esr)
                   8309: ampex210|a210|ampex a210,
1.11      millert  8310:        OTbs, am, hs, xenl,
1.1       millert  8311:        cols#80, it#8, lines#24, xmc#1,
                   8312:        cbt=\EI, clear=\E*, cub1=^H, cuf1=^L,
                   8313:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  8314:        dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX,
                   8315:        fsl=\E.2, home=^^, ht=^I, ich1=\EQ,
                   8316:        if=/usr/share/tabset/std, il1=\EE, invis@,
                   8317:        is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H,
                   8318:        kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
                   8319:        kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
                   8320:        kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^,
                   8321:        tsl=\E.0\Eg\E}\Ef, use=adm+sgr,
1.1       millert  8322: # (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
                   8323: # from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
                   8324: # and moved the padding to be *after* the caps -- esr)
1.11      millert  8325: ampex219|ampex-219|amp219|Ampex with Automargins,
                   8326:        hs, xenl,
                   8327:        cols#80, it#8, lines#24,
                   8328:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z,
                   8329:        clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M,
                   8330:        csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B,
                   8331:        cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>,
                   8332:        cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>,
                   8333:        el=\E[K$<3>, home=\E[H, ht=^I, ind=^J,
                   8334:        is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   8335:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~,
                   8336:        kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~,
                   8337:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H,
                   8338:        rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>,
                   8339:        rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h,
                   8340:        smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>,
                   8341: ampex219w|ampex-219w|amp219w|Ampex 132 cols,
                   8342:        cols#132, lines#24,
                   8343:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   8344:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219,
1.1       millert  8345: # (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr)
                   8346: ampex232|ampex-232|Ampex Model 232,
                   8347:        am,
                   8348:        cols#80, lines#24, xmc#1,
1.11      millert  8349:        cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V,
                   8350:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   8351:        dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET,
                   8352:        flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>,
                   8353:        invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L,
                   8354:        kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
                   8355:        kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
                   8356:        kf9=^AI\r, khome=^^,
                   8357:        use=adm+sgr,
1.1       millert  8358: # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr)
1.11      millert  8359: ampex232w|Ampex Model 232 / 132 columns,
1.1       millert  8360:        cols#132, lines#24,
1.11      millert  8361:        is2=\E\034Eg\El, use=ampex232,
1.1       millert  8362:
                   8363: #### Ann Arbor (aa)
                   8364: #
                   8365: # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
                   8366: # numbers of function keys.  At least some used monitors in portrait mode,
                   8367: # allowing up to 76-character screen heights!  They were reachable at:
                   8368: #
                   8369: #      Ann Arbor Terminals
                   8370: #      6175 Jackson Road
                   8371: #      Ann Arbor, MI 48103
                   8372: #      (313)-663-8000
                   8373: #
                   8374: # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
                   8375: # can't be found on the Web; I fear they're long dead.  R.I.P.
                   8376: #
                   8377:
                   8378:
                   8379: # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
                   8380: # Highly modified 6/22 by Mike O'Brien.
                   8381: # split out into several for the various screen sizes by dave-yost@rand
                   8382: # Modifications made 3/82 by Mark Horton
                   8383: # Modified by Tom Quarles at UCB for greater efficiency and more diversity
                   8384: # status line moved to top of screen, <flash> removed 5/82
                   8385: # Some unknown person at SCO then hacked the init strings to make them more
                   8386: # efficient.
                   8387: #
                   8388: # assumes the following setup:
                   8389: #   A menu: 0000 1010  0001 0000
                   8390: #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   8391: #   C menu: 56   66   0    0    9600  0110 1100
                   8392: #   D menu: 0110 1001   1   0
                   8393: #
                   8394: #      Briefly, the settings are for the following modes:
                   8395: #         (values are for bit set/clear with * indicating our preference
                   8396: #          and the value used to test these termcaps)
                   8397: #      Note that many of these settings are irrelevent to the terminfo
                   8398: #      and are just set to the default mode of the terminal as shipped
                   8399: #      by the factory.
                   8400: #
                   8401: # A menu: 0000 1010  0001 0000
                   8402: #      Block/underline cursor*
                   8403: #      blinking/nonblinking cursor*
                   8404: #      key click/no key click*
                   8405: #      bell/no bell at column 72*
                   8406: #
                   8407: #      key pad is cursor control*/key pad is numeric
                   8408: #      return and line feed/return for <cr> key *
                   8409: #      repeat after .5 sec*/no repeat
                   8410: #      repeat at 25/15 chars per sec. *
                   8411: #
                   8412: #      hold data until pause pressed/process data unless pause pressed*
                   8413: #      slow scroll/no slow scroll*
                   8414: #      Hold in area/don't hold in area*
                   8415: #      functions keys have default*/function keys disabled on powerup
                   8416: #
                   8417: #      show/don't show position of cursor during page transmit*
                   8418: #      unused
                   8419: #      unused
                   8420: #      unused
                   8421: #
                   8422: # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   8423: #      Baud rate (9600*)
                   8424: #
                   8425: #      2 bits of parity - 00=odd,01=even*,10=space,11=mark
                   8426: #      1 stop bit*/2 stop bits
                   8427: #      parity error detection off*/on
                   8428: #
                   8429: #      keyboard local/on line*
                   8430: #      half/full duplex*
                   8431: #      disable/do not disable keyboard after data transmission*
                   8432: #
                   8433: #      transmit entire page/stop transmission at cursor*
                   8434: #      transfer/do not transfer protected characters*
                   8435: #      transmit all characters/transmit only selected characters*
                   8436: #      transmit all selected areas/transmit only 1 selected area*
                   8437: #
                   8438: #      transmit/do not transmit line separators to host*
                   8439: #      transmit/do not transmit page tab stops tabs to host*
                   8440: #      transmit/do not transmit column tab stop tabs to host*
                   8441: #      transmit/do not transmit graphics control (underline,inverse..)*
                   8442: #
                   8443: #      enable*/disable auto XON/XOFF control
                   8444: #      require/do not require receipt of a DC1 from host after each LF*
                   8445: #      pause key acts as a meta key/pause key is pause*
                   8446: #      unused
                   8447: #
                   8448: #      unused
                   8449: #      unused
                   8450: #      unused
                   8451: #      unused
                   8452: #
                   8453: #      XON character (17*)
                   8454: #      XOFF character (19*)
                   8455: #
                   8456: # C menu: 56   66   0    0    9600  0110 1100
                   8457: #      number of lines to print data on (printer) (56*)
                   8458: #
                   8459: #      number of lines on a sheet of paper (printer) (66*)
                   8460: #
                   8461: #      left margin (printer) (0*)
                   8462: #
                   8463: #      number of pad chars on new line to printer (0*)
                   8464: #
                   8465: #      printer baud rate (9600*)
                   8466: #
                   8467: #      printer parity: 00=odd,01=even*,10=space,11=mark
                   8468: #      printer stop bits: 2*/1
                   8469: #      print/do not print guarded areas*
                   8470: #
                   8471: #      new line is: 01=LF,10=CR,11=CRLF*
                   8472: #      unused
                   8473: #      unused
                   8474: #
                   8475: # D menu: 0110 1001   1   0
                   8476: #      LF is newline/LF is down one line, same column*
                   8477: #      wrap to preceding line if move left from col 1*/don't wrap
                   8478: #      wrap to next line if move right from col 80*/don't wrap
                   8479: #      backspace is/is not destructive*
                   8480: #
                   8481: #      display*/ignore DEL character
                   8482: #      display will not/will scroll*
                   8483: #      page/column tab stops*
                   8484: #      erase everything*/erase unprotected only
                   8485: #
                   8486: #      editing extent: 0=display,1=line*,2=field,3=area
                   8487: #
                   8488: #      unused
                   8489: #
                   8490:
1.11      millert  8491: annarbor4080|aa4080|ann arbor 4080,
                   8492:        OTbs, am,
                   8493:        cols#80, lines#40,
                   8494:        bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_,
                   8495:        cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c,
                   8496:        cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H,
                   8497:        kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P,
1.1       millert  8498:
                   8499: # Strange Ann Arbor terminal from BRL
                   8500: aas1901|Ann Arbor K4080 w/S1901 mod,
                   8501:        am,
                   8502:        cols#80, lines#40,
                   8503:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N,
                   8504:        home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c,
                   8505:        nel=^M^J,
                   8506:
                   8507: # If you're using the GNU termcap library, add
                   8508: #      :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
                   8509: # to these capabilities.  This is the nonstandard GNU termcap scrolling
                   8510: # capability, arguments are:
                   8511: #   1. Total number of lines on the screen.
                   8512: #   2. Number of lines above desired scroll region.
                   8513: #   3. Number of lines below (outside of) desired scroll region.
                   8514: #   4. Total number of lines on the screen, the same as the first parameter.
                   8515: # The generic Ann Arbor entry is the only one that uses this.
1.11      millert  8516: aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly),
                   8517:        OTbs, am, km, mc5i, mir, xon,
                   8518:        cols#80, it#8,
                   8519:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   8520:        clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   8521:        cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
                   8522:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   8523:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   8524:        el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
                   8525:        hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL,
                   8526:        il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8,
                   8527:        is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z,
                   8528:        kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   8529:        kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK,
                   8530:        kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP,
                   8531:        kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT,
                   8532:        kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC,
                   8533:        kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI,
                   8534:        khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i,
                   8535:        mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8,
                   8536:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
                   8537:        rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\,
                   8538:        rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7,
                   8539:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   8540:        sgr0=\E[m,
                   8541:        smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,
                   8542:        smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   8543:        vpa=\E[%p1%{1}%+%dd,
                   8544:
                   8545: aaa+rv|ann arbor ambassador in reverse video,
                   8546:        blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m,
                   8547:        is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
                   8548:        rs1=\E[H\E[7m\E[J$<156>,
                   8549:        sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
                   8550:        sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m,
1.1       millert  8551: # Ambassador with the DEC option, for partial vt100 compatibility.
1.11      millert  8552: aaa+dec|ann arbor ambassador in dec vt100 mode,
                   8553:        acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}},
                   8554:        csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N,
                   8555:        sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;,
                   8556:        smacs=^O,
                   8557: aaa-18|ann arbor ambassador/18 lines,
                   8558:        lines#18,
                   8559:        is2=\E7\E[60;0;0;18p\E8,
                   8560:        rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p, use=aaa+unk,
                   8561: aaa-18-rv|ann arbor ambassador/18 lines+reverse video,
                   8562:        use=aaa+rv, use=aaa-18,
                   8563: aaa-20|ann arbor ambassador/20 lines,
                   8564:        lines#20,
                   8565:        is2=\E7\E[60;0;0;20p\E8,
                   8566:        rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p, use=aaa+unk,
                   8567: aaa-22|ann arbor ambassador/22 lines,
                   8568:        lines#22,
                   8569:        is2=\E7\E[60;0;0;22p\E8,
                   8570:        rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p, use=aaa+unk,
                   8571: aaa-24|ann arbor ambassador/24 lines,
                   8572:        lines#24,
                   8573:        is2=\E7\E[60;0;0;24p\E8,
                   8574:        rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p, use=aaa+unk,
                   8575: aaa-24-rv|ann arbor ambassador/24 lines+reverse video,
                   8576:        use=aaa+rv, use=aaa-24,
                   8577: aaa-26|ann arbor ambassador/26 lines,
                   8578:        lines#26,
                   8579:        is2=\E7\E[60;0;0;26p\E8,
                   8580:        rmcup=\E[60;0;0;26p\E[26;1H\E[K,
                   8581:        smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk,
                   8582: aaa-28|ann arbor ambassador/28 lines,
                   8583:        lines#28,
                   8584:        is2=\E7\E[60;0;0;28p\E8,
                   8585:        rmcup=\E[60;0;0;28p\E[28;1H\E[K,
                   8586:        smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk,
                   8587: aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status,
                   8588:        eslok, hs,
                   8589:        lines#29,
                   8590:        dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K,
                   8591:        fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8,
                   8592:        rmcup=\E[60;1;0;30p\E[29;1H\E[K,
                   8593:        smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K,
                   8594:        tsl=\E[>51h\E[1;%p1%dH\E[2K,
                   8595:        use=aaa+unk,
                   8596: aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video,
                   8597:        use=aaa+rv, use=aaa-30-s,
                   8598: aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context,
                   8599:        rmcup=\E[60;1;0;30p\E[59;1H\E[K,
                   8600:        smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s,
                   8601: aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video,
                   8602:        rmcup=\E[60;1;0;30p\E[59;1H\E[K,
                   8603:        smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv,
                   8604: aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines,
                   8605:        lines#30,
                   8606:        is2=\E7\E[60;0;0;30p\E8,
                   8607:        rmcup=\E[60;0;0;30p\E[30;1H\E[K,
                   8608:        smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk,
                   8609: aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video,
                   8610:        use=aaa+rv, use=aaa-30,
                   8611: aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context,
                   8612:        rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
                   8613:        use=aaa-30,
                   8614: aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context,
                   8615:        rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
                   8616:        use=aaa+rv, use=aaa-30,
                   8617: aaa-36|ann arbor ambassador/36 lines,
                   8618:        lines#36,
                   8619:        is2=\E7\E[60;0;0;36p\E8,
                   8620:        rmcup=\E[60;0;0;36p\E[36;1H\E[K,
                   8621:        smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk,
                   8622: aaa-36-rv|ann arbor ambassador/36 lines+reverse video,
                   8623:        use=aaa+rv, use=aaa-36,
                   8624: aaa-40|ann arbor ambassador/40 lines,
                   8625:        lines#40,
                   8626:        is2=\E7\E[60;0;0;40p\E8,
                   8627:        rmcup=\E[60;0;0;40p\E[40;1H\E[K,
                   8628:        smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk,
                   8629: aaa-40-rv|ann arbor ambassador/40 lines+reverse video,
                   8630:        use=aaa+rv, use=aaa-40,
                   8631: aaa-48|ann arbor ambassador/48 lines,
                   8632:        lines#48,
                   8633:        is2=\E7\E[60;0;0;48p\E8,
                   8634:        rmcup=\E[60;0;0;48p\E[48;1H\E[K,
                   8635:        smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk,
                   8636: aaa-48-rv|ann arbor ambassador/48 lines+reverse video,
                   8637:        use=aaa+rv, use=aaa-48,
                   8638: aaa-60-s|ann arbor ambassador/59 lines+status,
                   8639:        eslok, hs,
                   8640:        lines#59,
                   8641:        dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K,
                   8642:        fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8,
                   8643:        tsl=\E[>51h\E[1;%p1%dH\E[2K,
                   8644:        use=aaa+unk,
                   8645: aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video,
                   8646:        use=aaa+rv, use=aaa-60-s,
                   8647: aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video,
                   8648:        use=aaa+dec, use=aaa+rv, use=aaa-60-s,
                   8649: aaa-60|ann arbor ambassador/60 lines,
                   8650:        lines#60,
                   8651:        is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, use=aaa+unk,
                   8652: aaa-60-rv|ann arbor ambassador/60 lines+reverse video,
                   8653:        use=aaa+rv, use=aaa-60,
                   8654: aaa-db|ann arbor ambassador 30/destructive backspace,
                   8655:        OTbs@,
                   8656:        cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, use=aaa-30,
                   8657:
                   8658: guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols,
                   8659:        lines#33,
                   8660:        flash=\E[>59h$<100>\E[>59l,
                   8661:        is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l,
                   8662:        rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p,
                   8663:        use=aaa+unk,
                   8664: guru+rv|guru changes for reverse video,
                   8665:        flash=\E[>59l$<100>\E[>59h, is3=\E[>59h,
                   8666: guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video,
                   8667:        use=guru+rv, use=guru-33,
                   8668: guru+s|guru status line,
                   8669:        eslok, hs,
                   8670:        dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l,
1.1       millert  8671:        rmcup=\E[255;1p\E[255;1H\E[K, smcup=,
1.11      millert  8672:        tsl=\E[>51h\E[1;%p1%dH\E[2K,
                   8673: guru-nctxt|guru with no saved context,
                   8674:        smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru,
                   8675: guru-s|guru-33-s|ann arbor guru/33 lines+status,
                   8676:        lines#32,
                   8677:        is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J,
                   8678:        smcup=\E[33;1p\E[255;1H\E[K,
                   8679:        use=guru+s, use=guru+unk,
                   8680: guru-24|ann arbor guru 24 lines,
                   8681:        cols#80, lines#24,
                   8682:        is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p, use=guru+unk,
                   8683: guru-44|ann arbor guru 44 lines,
                   8684:        cols#97, lines#44,
                   8685:        is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p, use=guru+unk,
                   8686: guru-44-s|ann arbor guru/44 lines+status,
                   8687:        lines#43,
                   8688:        is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J,
                   8689:        smcup=\E[44;1p\E[255;1H\E[K,
                   8690:        use=guru+s, use=guru+unk,
                   8691: guru-76|guru with 76 lines by 89 cols,
                   8692:        cols#89, lines#76,
                   8693:        is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p, use=guru+unk,
                   8694: guru-76-s|ann arbor guru/76 lines+status,
                   8695:        cols#89, lines#75,
                   8696:        is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J,
                   8697:        smcup=\E[76;1p\E[255;1H\E[K,
                   8698:        use=guru+s, use=guru+unk,
                   8699: guru-76-lp|guru-lp|guru with page bigger than line printer,
                   8700:        cols#134, lines#76,
                   8701:        is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p, use=guru+unk,
                   8702: guru-76-w|guru 76 lines by 178 cols,
                   8703:        cols#178, lines#76,
                   8704:        is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p, use=guru+unk,
                   8705: guru-76-w-s|ann arbor guru/76 lines+status+wide,
                   8706:        cols#178, lines#75,
                   8707:        is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J,
                   8708:        smcup=\E[76;1p\E[255;1H\E[K,
                   8709:        use=guru+s, use=guru+unk,
                   8710: guru-76-wm|guru 76 lines by 178 cols with 255 cols memory,
                   8711:        cols#178, lines#76,
                   8712:        is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p, use=guru+unk,
                   8713: aaa-rv-unk|ann arbor unknown type,
                   8714:        lh#0, lw#0, nlab#0,
                   8715:        blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m,
                   8716:        is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
                   8717:        rs1=\E[H\E[7m\E[J,
                   8718:        sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
                   8719:        sgr0=\E[7m, smso=\E[m, smul=\E[4;7m,
1.1       millert  8720:
                   8721: #### Applied Digital Data Systems (adds)
                   8722: #
                   8723: # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
                   8724: # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
                   8725: # terminals was merged again.  Then AT&T sold the terminal business to
                   8726: # SunRiver, which later changed its  name to Boundless Technologies.  The
                   8727: # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
                   8728: # as of early 1995) are at:
                   8729: #
                   8730: #      Boundless Technologies
                   8731: #      100 Marcus Boulevard
                   8732: #      Hauppauge, NY 11788-3762
                   8733: #      Vox: (800)-231-5445
                   8734: #      Fax: (516)-342-7378
                   8735: #      Web: http://boundless.com
                   8736: #
                   8737: # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
                   8738: # In 1995 Boundless acquired DEC's terminals business.
                   8739: #
                   8740:
                   8741: # Regent: lowest common denominator, works on all regents.
                   8742: # (regent: renamed ":bc:" to ":le:" -- esr)
                   8743: regent|Adds Regent Series,
                   8744:        OTbs, am,
                   8745:        cols#80, lines#24,
                   8746:        bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z,
                   8747:        home=\EY\s\s, ind=^J, ll=^A,
                   8748: # Regent 100 has a bug where if computer sends escape when user is holding
                   8749: # down shift key it gets confused, so we avoid escape.
                   8750: regent100|Adds Regent 100,
                   8751:        xmc#1,
1.11      millert  8752:        bel=^G,
                   8753:        cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
                   8754:        kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r,
                   8755:        kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3,
                   8756:        lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@,
                   8757:        sgr0=\E0@, smso=\E0P, smul=\E0`,
                   8758:        use=regent,
1.1       millert  8759: regent20|Adds Regent 20,
1.11      millert  8760:        bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK, use=regent,
1.1       millert  8761: regent25|Adds Regent 25,
1.11      millert  8762:        bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, use=regent20,
1.1       millert  8763: regent40|Adds Regent 40,
                   8764:        xmc#1,
                   8765:        bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r,
1.11      millert  8766:        kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
                   8767:        kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6,
                   8768:        lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P,
                   8769:        smul=\E0`,
                   8770:        use=regent25,
1.1       millert  8771: regent40+|Adds Regent 40+,
1.11      millert  8772:        is2=\EB, use=regent40,
1.1       millert  8773: regent60|regent200|Adds Regent 60,
                   8774:        dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF,
1.11      millert  8775:        rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV,
                   8776:        use=regent40+,
1.1       millert  8777: # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
                   8778: # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
                   8779: viewpoint|addsviewpoint|adds viewpoint,
1.11      millert  8780:        OTbs, am,
1.1       millert  8781:        cols#80, lines#24,
1.11      millert  8782:        bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J,
                   8783:        cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   8784:        cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>,
                   8785:        ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
                   8786:        kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A,
1.1       millert  8787:        rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N,
                   8788: # Some viewpoints have bad ROMs that foo up on ^O
1.11      millert  8789: screwpoint|adds viewpoint with ^O bug,
                   8790:        cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint,
1.1       millert  8791:
                   8792: # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
                   8793: # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.
                   8794: # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
                   8795: # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
                   8796: # invis=01000100 and %c is the logical or of desired attributes.
                   8797: # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
                   8798: vp3a+|viewpoint3a+|adds viewpoint 3a+,
                   8799:        am, bw,
                   8800:        cols#80, it#8, lines#24,
1.11      millert  8801:        civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J,
                   8802:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   8803:        ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H,
                   8804:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(,
                   8805:        sgr=\E0%{64}%?%p1%tQ%|%;%?%p2%t%{96}%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E),
1.1       millert  8806:        sgr0=\E(, smso=\E0Q\E),
                   8807: vp60|viewpoint60|addsvp60|adds viewpoint60,
1.11      millert  8808:        use=regent40,
1.1       millert  8809: #
                   8810: # adds viewpoint 90 - from cornell
                   8811: # Note:  emacs sends ei occasionally to insure the terminal is out of
                   8812: #        insert mode. This unfortunately puts the viewpoint90 IN insert
                   8813: #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
                   8814: #   -    :ei=:im=: must be present in the termcap translation.)
                   8815: #   -    <xhp> indicates glitch that attributes stick to location
                   8816: #   -    <msgr> means it's safe to move in standout mode
                   8817: #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
                   8818: #               the status line
                   8819: # Function key and label capabilities merged in from SCO.
                   8820: vp90|viewpoint90|adds viewpoint 90,
1.11      millert  8821:        OTbs, bw, msgr, xhp,
1.1       millert  8822:        cols#80, lines#24,
1.11      millert  8823:        clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F,
1.1       millert  8824:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE,
                   8825:        dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I,
                   8826:        ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J,
1.11      millert  8827:        kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r,
                   8828:        kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
                   8829:        kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2,
                   8830:        lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9,
                   8831:        lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV,
                   8832:        sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV,
1.1       millert  8833: # Note: if return acts weird on a980, check internal switch #2
                   8834: # on the top chip on the CONTROL pc board.
                   8835: adds980|a980|adds consul 980,
1.11      millert  8836:        OTbs, am,
1.1       millert  8837:        cols#80, lines#24,
1.11      millert  8838:        bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J,
                   8839:        cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d,
1.1       millert  8840:        dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1,
1.11      millert  8841:        kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8,
                   8842:        kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N,
1.9       millert  8843:
1.1       millert  8844: #### C. Itoh Electronics
                   8845: #
                   8846: # As of 1995 these people no longer make terminals (they're still in the
                   8847: # printer business).  Their terminals were all clones of the DEC VT series.
                   8848: # They're located in Orange County, CA.
                   8849: #
                   8850:
                   8851: # CIT 80  - vt-52 emulator, the termcap has been modified to remove
                   8852: #           the delay times and do an auto tab set rather than the indirect
                   8853: #           file used in vt100.
                   8854: cit80|cit-80|citoh 80,
1.11      millert  8855:        OTbs, am,
1.1       millert  8856:        cols#80, lines#24,
1.11      millert  8857:        clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C,
                   8858:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L,
                   8859:        ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   8860:        kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=,
1.1       millert  8861: # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
                   8862: # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
                   8863: cit101|citc|C.itoh fast vt100,
1.11      millert  8864:        OTbs, am, xenl,
1.1       millert  8865:        cols#80, lines#24,
                   8866:        bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C,
                   8867:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U,
                   8868:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
1.11      millert  8869:        flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L,
1.1       millert  8870:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g,
                   8871:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   8872:        rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
1.11      millert  8873:        sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
                   8874:        smul=\E[4m,
1.1       millert  8875: # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
                   8876: # The following termcap entry was created from the Callan cd100 entry.  The
                   8877: # last two lines (with the capabilities in caps) are used by RM-cobol to allow
                   8878: # full selection of combinations of reverse video, underline, and blink.
                   8879: # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
                   8880: # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
                   8881: # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
                   8882: cit101e|C. Itoh CIT-101e,
                   8883:        OTbs, OTpt, am, mir, msgr,
                   8884:        cols#80, it#8, lines#24,
1.11      millert  8885:        acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr,
                   8886:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
1.1       millert  8887:        cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J,
                   8888:        el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L,
1.11      millert  8889:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT,
                   8890:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl,
                   8891:        kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l,
                   8892:        rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h,
                   8893:        smkx=\E=, smso=\E[7m, smul=\E[4m,
1.1       millert  8894: # From: David S. Lawyer, June 1997:
                   8895: # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
                   8896: # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
                   8897: # late 1980's CIT Terminals went out of business.
                   8898: # There is no need to use the initialization string is=... (by invoking
                   8899: # tset or setterm etc.) provided that the terminal has been manually set
                   8900: # up (and the setup saved with ^S) to be compatible with this termcap.  To be
                   8901: # compatible it should be in ANSI mode (not VT52).   A set-up that
                   8902: # works is to set all the manually setable stuff to factory defaults
                   8903: # by pressing ^D in set-up mode.  Then increse the brighness with the
                   8904: # up-arrow key since the factory default will likely be dim on an old
                   8905: # terminal.  Then change any options you want (provided that they are
                   8906: # compatible with the termcap).  For my terminal I set: Screen
                   8907: # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
                   8908: # on.  I also set up mine for parity (but you may not need it).  Then
                   8909: # save the setup with ^S.
                   8910: # (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
                   8911: cit101e-rv|Citoh CIT-101e (sets reverse video),
                   8912:        am, eo, mir, msgr, xenl, xon,
                   8913:        cols#80, it#8, lines#24,
1.11      millert  8914:        OTnl=\EM, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   8915:        civis=\E[1v, clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M,
                   8916:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   8917:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   8918:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   8919:        cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   8920:        dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>,
                   8921:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   8922:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
1.1       millert  8923:        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  8924:        kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   8925:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8,
                   8926:        rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l,
                   8927:        rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7,
                   8928:        sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h,
                   8929:        smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR,
1.1       millert  8930:        u7=\E[6n, u8=\E[?6c, u9=\E[c,
                   8931: cit101e-n|CIT-101e w/o am,
                   8932:        am@,
                   8933:        cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
                   8934: cit101e-132|CIT-101e with 132 cols,
                   8935:        cols#132,
                   8936:        kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
                   8937: cit101e-n132|CIT-101e with 132 cols w/o am,
                   8938:        am@,
                   8939:        cols#132,
                   8940:        cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
                   8941: # CIE Terminals CIT-500 from BRL
                   8942: # The following SET-UP modes are assumed for normal operation:
                   8943: #      GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
                   8944: #      AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
                   8945: #      DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
                   8946: # Other SET-UP modes may be set for operator convenience or communication
                   8947: # requirements.
                   8948: # Hardware tabs are assumed to be set every 8 columns; they can be set up
                   8949: # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
                   8950: # "stty ixon -ixany" to enable DC3/DC1 flow control!
                   8951: # (cit500: I added <rmam>/<smam> based on the init string -- esr)
                   8952: cit500|CIE Terminals CIT-500,
                   8953:        OTbs, OTpt, mir, msgr, xon,
                   8954:        OTkn#10, cols#80, it#8, lines#64, vt#3,
                   8955:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   8956:        clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   8957:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   8958:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   8959:        cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   8960:        ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
1.11      millert  8961:        il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD,
                   8962:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M,
                   8963:        ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
                   8964:        kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ,
                   8965:        khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1,
                   8966:        lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18,
                   8967:        lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m,
                   8968:        ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
1.1       millert  8969:        rmso=\E[m, rmul=\E[m,
                   8970:        rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>,
1.11      millert  8971:        sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   8972:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1.1       millert  8973:
                   8974: # C. Itoh printers begin here
1.11      millert  8975: citoh|ci8510|8510|c.itoh 8510a,
                   8976:        cols#80, it#8,
                   8977:        bold=\E!, cub1@,
                   8978:        is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073.,
                   8979:        rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY,
                   8980:        smul=\EX,
                   8981:        use=lpr,
                   8982: citoh-pica|citoh in pica,
                   8983:        is1=\EN, use=citoh,
                   8984: citoh-elite|citoh in elite,
                   8985:        cols#96,
                   8986:        is1=\EE,
                   8987:        is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089., use=citoh,
                   8988: citoh-comp|citoh in compressed,
                   8989:        cols#136,
                   8990:        is1=\EQ,
                   8991:        is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129., use=citoh,
1.1       millert  8992: # citoh has infinite cols because we don't want lp ever inserting \n\t**.
1.11      millert  8993: citoh-prop|citoh-ps|ips|citoh in proportional spacing mode,
                   8994:        cols#32767,
                   8995:        is1=\EP, use=citoh,
                   8996: citoh-6lpi|citoh in 6 lines per inch mode,
                   8997:        is3=\EA, use=citoh,
                   8998: citoh-8lpi|citoh in 8 lines per inch mode,
                   8999:        lines#88,
                   9000:        is3=\EB, use=citoh,
1.1       millert  9001:
                   9002: #### Control Data (cdc)
                   9003: #
                   9004:
                   9005: cdc456|cdc 456 terminal,
1.11      millert  9006:        OTbs, am,
1.1       millert  9007:        cols#80, lines#24,
                   9008:        bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
1.11      millert  9009:        cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X,
                   9010:        el=^V, home=^Y, il1=\EL, ind=^J,
1.1       millert  9011:
                   9012: # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
                   9013: cdc721|CDC Viking,
                   9014:        OTbs, am,
                   9015:        cols#80, lines#24,
1.11      millert  9016:        clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
                   9017:        cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
1.1       millert  9018:        kcuu1=^W, khome=^Y,
                   9019: cdc721ll|CDC Vikingll,
                   9020:        OTbs, am,
                   9021:        cols#132, lines#24,
1.11      millert  9022:        clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
                   9023:        cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
1.1       millert  9024:        kcuu1=^W, khome=^Y,
                   9025: # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
                   9026: cdc752|CDC 752,
                   9027:        OTbs, am, bw, xhp,
                   9028:        cols#80, lines#24,
                   9029:        bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   9030:        cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V,
1.11      millert  9031:        home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017,
1.1       millert  9032: # CDC 756
                   9033: # The following switch/key settings are assumed for normal operation:
                   9034: #      96 chars        SCROLL          FULL duplex     not BLOCK
                   9035: # Other switches may be set according to communication requirements.
                   9036: # Insert/delete-character cannot be used, as the whole display is affected.
                   9037: # "so" & "se" are commented out until jove handles "sg" correctly.
                   9038: cdc756|CDC 756,
                   9039:        OTbs, am, bw,
                   9040:        OTkn#10, cols#80, lines#24,
                   9041:        bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   9042:        cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z,
1.11      millert  9043:        dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J,
                   9044:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI,
                   9045:        kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED,
                   9046:        kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y,
                   9047:        khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4,
                   9048:        lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z,
1.1       millert  9049:        rs1=\031\030\002\003\017,
                   9050: #
                   9051: # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
                   9052: #
                   9053: # Part of the long initialization string defines the "DOWN" key to the left
                   9054: # of the tab key to send an ESC.  The real ESC key is positioned way out
                   9055: # in right field.
                   9056: #
                   9057: # The termcap won't work in 132 column mode due to the way it it moves the
                   9058: # cursor.  Termcap doesn't have the capability (as far as I could tell) to
                   9059: # handle the 721 in 132 column mode.
                   9060: #
                   9061: # (cdc721: changed :ri: to :sr: -- esr)
1.11      millert  9062: cdc721-esc|Control Data 721,
1.1       millert  9063:        OTbs, OTpt, am, bw, msgr, xon,
                   9064:        OTkn#10, cols#80, it#8, lines#30,
                   9065:        bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z,
                   9066:        cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W,
1.11      millert  9067:        dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW,
                   9068:        ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[,
1.1       millert  9069:        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  9070:        kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q,
                   9071:        kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x,
                   9072:        kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D,
                   9073:        ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^],
                   9074:        sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk,
                   9075:        smso=^^D, smul=^\, tbc=^^^RY,
1.1       millert  9076:
                   9077: #### Getronics
                   9078: #
                   9079: # Getronics is a Dutch electronics company that at one time was called
                   9080: # `Geveke' and made async terminals; but (according to the company itself!)
                   9081: # they've lost all their documentation on the command set.  The hardware
                   9082: # documentation suggests the terminals were actually manufactured by a
                   9083: # Taiwanese electronics company named Cal-Comp.  There are known
                   9084: # to have been at least two models, the 33 and the 50.
                   9085: #
                   9086:
                   9087: # The 50 seems to be a top end vt220 clone, with the addition of a higher
                   9088: # screen resolution, a larger screen, at least 1 page of memory above and
                   9089: # below the screen, apparently pages of memory right and left of the screen
                   9090: # which can be panned, and about 75 function keys (15 function keys x normal,
                   9091: # shift, control, func A, func B). It also has more setup possibilities than
                   9092: # the vt220. The monitor case is dated November 1978 and the keyboard case is
                   9093: # May 1982.
                   9094: #
                   9095: # The vt100 emulation works as is.  The entry below describes the rather
                   9096: # non-conformant (but more featureful) ANSI mode.
                   9097: #
                   9098: # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
                   9099: visa50|geveke visa 50 terminal in ansi 80 character mode,
                   9100:        bw, mir, msgr,
                   9101:        cols#80, lines#25,
1.11      millert  9102:        acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G,
                   9103:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M,
                   9104:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   9105:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   9106:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   9107:        dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM,
                   9108:        dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H,
                   9109:        hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   9110:        il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
1.1       millert  9111:        is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h,
1.11      millert  9112:        ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS,
                   9113:        kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
                   9114:        kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002,
                   9115:        kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007,
                   9116:        kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char,
                   9117:        lf3=A insert line, lf4=A delete line, lf5=A clear,
                   9118:        lf6=A ce of/cf gn, lf7=A print, lf8=A on-line,
                   9119:        lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l,
                   9120:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m,
                   9121:        rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h,
                   9122:        smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
1.1       millert  9123:        vpa=\E[%i%p1%dd,
                   9124:
                   9125: #### Human Designed Systems (Concept)
                   9126: #
                   9127: #      Human Designed Systems
                   9128: #      400 Fehley Drive
                   9129: #      King of Prussia, PA 19406
                   9130: #      Vox: (610)-277-8300
                   9131: #      Fax: (610)-275-5739
                   9132: #      Net: support@hds.com
                   9133: #
                   9134: # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
                   9135: # the character-terminal business now (1995) and making X terminals.  In
                   9136: # particular, the whole `Concept' line described here was discontinued long
                   9137: # ago.
                   9138: #
                   9139:
                   9140: # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
                   9141: # Extensive changes to c108 by arpavax:eric Feb 1982
                   9142: # Some unknown person at SCO then translated it to terminfo.
                   9143: #
                   9144: # There seem to be a number of different versions of the C108 PROMS
                   9145: # (with bug fixes in its Z-80 program).
                   9146: #
                   9147: # The first one that we had would lock out the keyboard of you
                   9148: # sent lots of short lines (like /usr/dict/words) at 9600 baud.
                   9149: # Try that on your C108 and see if it sends a ^S when you type it.
                   9150: # If so, you have an old version of the PROMs.
                   9151: #
                   9152: # You should configure the C108 to send ^S/^Q before running this.
                   9153: # It is much faster (at 9600 baud) than the c100 because the delays
                   9154: # are not fixed.
                   9155: # new status line display entries for c108-8p:
                   9156: # <is3> - init str #3 - setup term for status display -
                   9157: # set programmer mode, select window 2, define window at last
                   9158: # line of memory, set bkgnd stat mesg there, select window 0.
                   9159: #
                   9160: # <tsl> - to status line - select window 2, home cursor, erase to
                   9161: # end-of-window, 1/2 bright on, goto(line#0, col#?)
                   9162: #
                   9163: # <fsl> - from status line - 1/2 bright off, select window 0
                   9164: #
                   9165: # <dsl> - disable status display - set bkgnd status mesg with
                   9166: # illegal window #
                   9167: #
                   9168: # There are probably more function keys that should be added but
                   9169: # I don't know what they are.
                   9170: #
                   9171: # No delays needed on c108 because of ^S/^Q handshaking
                   9172: #
1.11      millert  9173: c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages,
                   9174:        is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n,
                   9175:        rmcup=\Ev  \001\177p\Ep\r\n,
                   9176:        use=c108-4p,
                   9177: c108-4p|concept108-4p|concept 108 w/4 pages,
                   9178:        OTbs, eslok, hs, xon,
                   9179:        pb@,
                   9180:        acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M,
                   9181:        cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c,
                   9182:        cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s,
                   9183:        ind=^J, is1=\EK\E!\E F,
                   9184:        is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n,
                   9185:        rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!,
                   9186:        smcup=\EU\Ev  8p\Ep\r\E\025,
                   9187:        tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100,
                   9188: c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video,
                   9189:        rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r,
                   9190:        use=c108-rv-4p,
                   9191: c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video,
                   9192:        flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE,
1.1       millert  9193:        use=c108-4p,
1.11      millert  9194: c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode,
                   9195:        cols#132,
                   9196:        is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n,
                   9197:        smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p,
1.1       millert  9198:
                   9199: # Concept 100:
                   9200: # These have only window relative cursor addressing, not screen
                   9201: # relative. To get it to work right here, smcup/rmcup (which
                   9202: # were invented for the concept) lock you into a one page
                   9203: # window for screen style programs.
                   9204: #
                   9205: # To get out of the one page window, we use a clever trick:
                   9206: # we set the window size to zero ("\Ev    " in rmcup) which the
                   9207: # terminal recognizes as an error and resets the window to all
                   9208: # of memory.
                   9209: #
                   9210: # This trick works on c100 but does not on c108, sigh.
                   9211: #
                   9212: # Some tty drivers use cr3 for concept, others use nl3, hence
                   9213: # the delays on cr and ind below. This padding is only needed at
                   9214: # 9600 baud and up.  One or the other is commented out depending on
                   9215: # local conventions.
                   9216: #
                   9217: # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe
                   9218: # less than 6 but more than 2 will work.
                   9219: #
                   9220: # Note: can't use function keys f7-f10 because they are
                   9221: # indistinguishable from arrow keys (!), also, del char and
                   9222: # clear eol use xon/xoff so they probably won't work very well.
                   9223: #
                   9224: # Also note that we don't define insrt/del char/delline/eop/send
                   9225: # because they don't transmit unless we reset them - I figured
                   9226: # it was a bad idea to clobber their definitions.
                   9227: #
                   9228: # The <mc5> sequence changes the escape character to ^^ so that
                   9229: # escapes will be passed through to the printer. Only trouble
                   9230: # is that ^^ won't be - ^^ was chosen to be unlikely.
                   9231: # Unfortunately, if you're sending raster bits through to be
                   9232: # plotted, any character you choose will be likely, so we lose.
                   9233: #
                   9234: # \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
                   9235: # cannot be # in is2 because it will hang a c100 with no printer
                   9236: # if sent twice.
1.11      millert  9237: c100|concept100|concept|c104|c100-4p|hds concept 100,
                   9238:        OTbs, am, eo, mir, ul, xenl,
                   9239:        cols#80, lines#24, pb#9600, vt#8,
                   9240:        bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r,
                   9241:        cub1=^H, cud1=^J, cuf1=\E=,
                   9242:        cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;,
                   9243:        dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>,
                   9244:        ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK,
                   9245:        ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>,
                   9246:        is1=\EK,
                   9247:        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,
                   9248:        is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_,
                   9249:        kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q,
                   9250:        kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7,
                   9251:        kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?,
                   9252:        khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E.,
                   9253:        kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027,
                   9254:        mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI,
                   9255:        rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED,
                   9256:        rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex,
                   9257:        rmso=\Ed, rmul=\Eg, sgr0=\EN@,
                   9258:        smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX,
                   9259:        smso=\ED, smul=\EG,
                   9260: c100-rv|c100-rv-4p|concept100-rv|c100 rev video,
                   9261:        cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee,
                   9262:        smso=\EE,
                   9263:        use=c100,
                   9264: oc100|oconcept|c100-1p|old 1 page concept 100,
                   9265:        in,
                   9266:        is3@, use=c100,
1.1       millert  9267:
                   9268: # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
                   9269: # Lots of notes, originally inline, but ncurses doesn't grok that.
                   9270: #
                   9271: # am:  not available in power on mode, but turned on with \E[=107;207h in
                   9272: #      is2=.  Also, \E=124l in is2= could have been used to prevent needing
                   9273: #      to specify xenl:, but that would have rendered the last space on the
                   9274: #      last line useless.
                   9275: # bw:  Not available in power on mode, but turned on with \E[=107;207h in
                   9276: #      is2=.
                   9277: # clear: Could be done with \E[2J alone, except that vi (and probably most
                   9278: #      other programs) assume that this also homes the cursor.
                   9279: # dsl: Go to window 2, go to the beginning of the line, use a line feed to
                   9280: #      scroll the window, and go back to window 1.
                   9281: # is2: the string may cause a warning to be issued by tic that it
                   9282: #      found a very long line and that it suspects that a comma is missing
                   9283: #      somewhere.  This warning can be ignored (unless it comes up more than
                   9284: #      once).  The initialization string contains the following commands:
                   9285: #
                   9286: #       [Setup mode items changed from factory defaults:]
                   9287: #              \E)0                    set alternate character set to
                   9288: #                                              graphics
                   9289: #              ^O                      set character set to default
                   9290: #       [In case it wasn't]
                   9291: #              \E[m                    turn off all attributes
                   9292: #       [In case they weren't off]
                   9293: #              \E[=107;                cursor wrap and
                   9294: #                      207h                    character wrap on
                   9295: #              \E[90;3u                set Fkey definitions to "transmit"
                   9296: #                                              defaults
                   9297: #              \E[92;3u                set cursor key definitions to
                   9298: #                                              "transmit" defaults
                   9299: #              \E[43;1u                set shift F13 to transmit...
                   9300: #              \177\E$P\177
                   9301: #              \E[44;1u                set shift F14 to transmit...
                   9302: #                      \177\E$Q\177
                   9303: #              \E[45;1u                set shift F15 to transmit...
                   9304: #                      \177\E$R\177
                   9305: #              \E[46;1u                set shift F16 to transmit...
                   9306: #                      \177\E$S\177
                   9307: #              \E[200;1u               set shift up to transmit...
                   9308: #                      \177\E$A\177
                   9309: #              \E[201;1u               set shift down to transmit...
                   9310: #                      \177\E$B\177
                   9311: #              \E[202;1u               set shift right to transmit...
                   9312: #                      \177\E$C\177
                   9313: #              \E[203;1u               set shift left to transmit...
                   9314: #                      \177\E$D\177
                   9315: #              \E[204;1u               set shift home to transmit...
                   9316: #                      \177\E$H\177
                   9317: #              \E[212;1u               set backtab to transmit...
                   9318: #                      \177\E$I\177
                   9319: #              \E[213;1u               set shift backspace to transmit...
                   9320: #                      \177\E$^H\177
                   9321: #              \E[214;1u               set shift del to transmit...
                   9322: #                      "\E$\177"
                   9323: #       [Necessary items not mentioned in setup mode:]
                   9324: #              \E[2!w                  move to window 2
                   9325: #              \E[25;25w               define window as line 25 of memory
                   9326: #              \E[!w                   move to window 1
                   9327: #              \E[2*w                  show current line of window 2 as
                   9328: #                                              status line
                   9329: #              \E[2+x                  set meta key to use high bit
                   9330: #              \E[;3+}                 move underline to bottom of character
                   9331: #
                   9332: #      All Fkeys are set to their default transmit definitions with \E[90;3u
                   9333: #      in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
                   9334: #      setting MUST be redefined or deactivated, because the default is
                   9335: #      contained in almost all of this terminal's Fkey strings!  If for some
                   9336: #      reason "quit" cannot be altered, the Fkeys can, but it would be
                   9337: #      necessary to change ^| to ^] in all of these definitions, and add
                   9338: #      \E[2;029!t to is2.
                   9339: # lines: is set to 24 because this terminal refuses to treat the 25th
                   9340: #      line normally.
                   9341: # ll:  Not available in power on mode, but turned on with \E[=107;207h in
                   9342: #      is2=.
                   9343: # lm:  Pointless, given that this definition locks a single screen of
                   9344: #      memory into view, but what the hey...
                   9345: # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
                   9346: #      other attributes alone), but some programs expect this to turn off
                   9347: #      everything.
                   9348: # rmul: Could use \E[4!{ to turn off only underline (leaving any other
                   9349: #      attributes alone), but some programs expect this to turn off
                   9350: #      everything.
                   9351: # sgr: Attributes are set on this terminal with the string \E[ followed by
                   9352: #      a list of attribute code numbers (in decimal, separated by
                   9353: #      semicolons), followed by the character m.  The attribute code
                   9354: #      numbers are:
                   9355: #                1 for bold;
                   9356: #                2 for dim (which is ignored in power on mode);
                   9357: #                4 for underline;
                   9358: #                5 for blinking;
                   9359: #                7 for inverse;
                   9360: #                8 for not displayable; and
                   9361: #              =99 for protected (except that there are strange side
                   9362: #              effects to protected characters which make them inadvisable).
                   9363: #       The mapping of terminfo parameters to attributes is as follows:
                   9364: #              %p1 (standout) = bold and inverse together;
                   9365: #              %p2 (underline) = underline;
                   9366: #              %p3 (reverse) = inverse;
                   9367: #              %p4 (blink) = blinking;
                   9368: #              %p5 (dim) is ignored;
                   9369: #              %p6 (bold) = bold;
                   9370: #              %p7 (invisible) = not displayable;
                   9371: #              %p8 (protected) is ignored; and
                   9372: #              %p9 (alt char set) = alt char set.
                   9373: #       The code to do this is:
                   9374: #              \E[0            OUTPUT  \E[0
                   9375: #              %?%p1%p6%O      IF      (standout; bold) OR
                   9376: #              %t;1            THEN    OUTPUT  ;1
                   9377: #              %;              ENDIF
                   9378: #              %?%p2           IF      underline
                   9379: #              %t;4            THEN    OUTPUT  ;4
                   9380: #              %;              ENDIF
                   9381: #              %?%p4           IF      blink
                   9382: #              %t;5            THEN    OUTPUT  ;5
                   9383: #              %;              ENDIF
                   9384: #              %?%p1%p3%O      IF      (standout; reverse) OR
                   9385: #              %t;7            THEN    OUTPUT  ;7
                   9386: #              %;              ENDIF
                   9387: #              %?%p7           IF      invisible
                   9388: #              %t;8            THEN    OUTPUT  ;8
                   9389: #              %;              ENDIF
                   9390: #              m               OUTPUT  m
                   9391: #              %?%p9           IF      altcharset
                   9392: #              %t^N            THEN    OUTPUT  ^N
                   9393: #              %e^O            ELSE    OUTPUT  ^O
                   9394: #              %;              ENDIF
                   9395: # sgr0: Everything is turned off (including alternate character set), since
                   9396: #      there is no way of knowing what it is that the program wants turned
                   9397: #      off.
                   9398: # smul: The "underline" attribute is reconfigurable to an overline or
                   9399: #      strikethru, or (as done with \E[;3+} in is2=), to a line at the true
                   9400: #      bottom of the character cell.  This was done to allow for more readable
                   9401: #      underlined characters, and to be able to distinguish between an
                   9402: #      underlined space, an underscore, and an underlined underscore.
                   9403: # xenl: Terminal can be configured to not need this, but this "glitch"
                   9404: #      behavior is actually preferable with autowrap terminals.
                   9405: #
                   9406: # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
                   9407: # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
                   9408: # string modifies the 'O' in kf43 to kf46 to a '$'.
                   9409: #
                   9410: # kcbt was originally ^I but redefined in is2=.
                   9411: # kHOM was \E[H originally but redefined in is2=, as were a number of
                   9412: # other keys.
                   9413: # kDC was originally \177 but redefined in is2=.
                   9414: #
                   9415: # kbs: Shift was also ^H originally but redefined as \E$^H in is2=.
                   9416: # tsl: Go to window 2, then do an hpa=.
                   9417: #
                   9418: #------- flash=\E[8;3!}^G\E[3;3!}
                   9419: #------- flash=\E[?5h$<100>\E[?5l
                   9420: # There are two ways to flash the screen, both of which have their drawbacks.
                   9421: # The first is to set the bell mode to video, transmit a bell character, and
                   9422: # set the bell mode back - but to what?  There is no way of knowing what the
                   9423: # user's old bell setting was before we messed with it.  Worse, the command to
                   9424: # set the bell mode also sets the key click volume, and there is no way to say
                   9425: # "leave that alone", or to know what it's set to, either.
                   9426: # The second way to do a flash is to set the screen to inverse video, pad for a
                   9427: # tenth of a second, and set it back - but like before, there's no way to know
                   9428: # that the screen wasn't ALREADY in inverse video, or that the user may prefer
                   9429: # it that way.  The point is moot anyway, since vi (and probably other
                   9430: # programs) assume that by defining flash=, you want the computer to use it
                   9431: # INSTEAD of bel=, rather than as a secondary type of signal.
                   9432: #
                   9433: #------- cvvis=\E[+{
                   9434: # The is the power on setting, which is also as visible as the cursor
                   9435: # gets.
                   9436: #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
                   9437: # Windowing is possible, but not defined here because it is also used to
                   9438: # emulate status line functions.  Allowing a program to set a window could
                   9439: # clobber the status line or render it unusable.  There is additional memory,
                   9440: # but screen scroll functions are destructive and do not make use of it.
                   9441: #
                   9442: #-------   dim=                        Not available in power on mode.
                   9443: # You have a choice of defining low intensity characters as "half bright" and
                   9444: # high intensity as "normal", or defining low as "normal" and high as "bold".
                   9445: # No matter which you choose, only one of either "half bright" or "bold" is
                   9446: # available at any time, so taking the time to override the default is
                   9447: # pointless.
                   9448: #
                   9449: #-------  prot=\E[=0;99m
                   9450: # Not defined, because it appears to have some strange side effects.
                   9451: #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
                   9452: #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
                   9453: #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
                   9454: #       Available, but making them available to programs is inadvisable.
                   9455: #       The code to do this is:
                   9456: #              %?%p1%{24}%<    IF      ((key; 24) <;
                   9457: #              %p1%{30}%>               ((key; 30) >;
                   9458: #              %p1%{54}%<                (key; 54) <
                   9459: #              %A                       ) AND
                   9460: #              %O                      ) OR
                   9461: #       [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
                   9462: #              %t\E[           THEN    OUTPUT  \E[
                   9463: #              %p1%d                   OUTPUT  (key) as decimal
                   9464: #       [next line applies to pfx only]
                   9465: #              ;1                      OUTPUT  ;1
                   9466: #              u                       OUTPUT  u
                   9467: #              \177                    OUTPUT  \177
                   9468: #              %p2%s                   OUTPUT  (string) as string
                   9469: #              \177                    OUTPUT  \177
                   9470: #       [DEL chosen as delimiter, but could be any character]
                   9471: #       [implied:              ELSE    do nothing]
                   9472: #              %;              ENDIF
                   9473: #
                   9474: #-------   rs2=
                   9475: # Not defined since anything it might do could be done faster and easier with
                   9476: # either Meta-Shift-Reset or the main power switch.
                   9477: #
                   9478: #-------  smkx=\E[1!z
                   9479: #-------  rmkx=\E[!z
                   9480: # These sequences apply to the cursor and setup keys only, not to the
                   9481: # numeric keypad.  But it doesn't matter anyway, since making these
                   9482: # available to programs is inadvisable.
                   9483: # For the key definitions below, all sequences beginning with \E$ are
                   9484: # custom and programmed into the terminal via is2.  \E$ also has no
                   9485: # meaning to any other terminal.
                   9486: #
                   9487: #------- cmdch=\E[;%p1%d!t
                   9488: # Available, but making it available to programs is inadvisable.
                   9489: #------- smxon=\E[1*q
                   9490: # Available, but making it available to programs is inadvisable.
                   9491: # Terminal will send XON/XOFF on buffer overflow.
                   9492: #------- rmxon=\E[*q
                   9493: # Available, but making it available to programs is inadvisable.
                   9494: # Terminal will not notify on buffer overflow.
                   9495: #-------   smm=\E[2+x
                   9496: #-------   rmm=\E[+x
                   9497: # Available, but making them available to programs is inadvisable.
                   9498: #
                   9499: # Printing:
                   9500: #       It's not made clear in the manuals, but based on other ansi/vt type
                   9501: #       terminals, it's a good guess that this terminal is capable of both
                   9502: #       "transparent print" (which doesn't copy data to the screen, and
                   9503: #       therefore needs mc5i: specified to say so) and "auxilliary print"
                   9504: #       (which does duplicate printed data on the screen, in which case mc4=
                   9505: #       and mc5= should use the \E[?4i and \E[?5i strings instead).
                   9506:
                   9507: hds200|Human Designed Systems HDS200,
                   9508:        am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
                   9509:        cols#80, it#8, lines#24, lm#0,
                   9510:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   9511:        blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{,
                   9512:        clear=\E[H\E[J, cnorm=\E[+{, cr=^M,
                   9513:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   9514:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   9515:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   9516:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   9517:        dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K,
                   9518:        fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   9519:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   9520:        invis=\E[0;8m,
1.11      millert  9521:        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  9522:        kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H,
                   9523:        kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   9524:        kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r,
                   9525:        kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ,
                   9526:        kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r,
                   9527:        kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r,
                   9528:        kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r,
                   9529:        kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r,
                   9530:        kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r,
                   9531:        kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r,
                   9532:        kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r,
                   9533:        kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r,
                   9534:        kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r,
                   9535:        kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H,
                   9536:        kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A,
                   9537:        mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8,
                   9538:        rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017,
                   9539:        rmul=\E[m\017, sc=\E7,
                   9540:        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%;,
                   9541:        sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m,
                   9542:        smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG,
                   9543:        vpa=\E[%i%p1%dd,
                   9544:
                   9545: # <ht> through <el> included to specify padding needed in raw mode.
                   9546: # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
1.11      millert  9547: avt-ns|concept avt no status line,
                   9548:        OTbs, am, eo, mir, ul, xenl, xon,
                   9549:        cols#80, it#8, lines#24, lm#192,
                   9550:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   9551:        clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M,
                   9552:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   9553:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   9554:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   9555:        cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>,
                   9556:        dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H,
                   9557:        hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@,
                   9558:        ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>,
                   9559:        invis=\E[8m, ip=$<4>, is1=\E[=103l\E[=205l,
                   9560:        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,
                   9561:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   9562:        kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   9563:        kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H,
                   9564:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   9565:        pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#,
                   9566:        prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
                   9567:        ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n,
                   9568:        rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{,
                   9569:        sc=\E7,
                   9570:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   9571:        sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r,
                   9572:        smir=\E[4h, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m,
                   9573:        tbc=\E[2g, vpa=\E[%p1%{1}%+%dd,
                   9574: avt-rv-ns|concept avt in reverse video mode/no status line,
                   9575:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
                   9576:        use=avt-ns,
                   9577: avt-w-ns|concept avt in 132 column mode/no status line,
                   9578:        is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
                   9579:        use=avt-ns,
                   9580: avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video,
                   9581:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
                   9582:        smcup=\E[H\E[1;24;1;132w,
                   9583:        use=avt-ns,
1.1       millert  9584:
                   9585: # Concept AVT with status line. We get the status line using the
                   9586: # "Background status line" feature of the terminal. We swipe the
                   9587: # first line of memory in window 2 for the status line, keeping
                   9588: # 191 lines of memory and 24 screen lines for regular use.
                   9589: # The first line is used instead of the last so that this works
                   9590: # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
                   9591: # assumes an 8 page AVT but lm isn't currently used anywhere.)
                   9592: #
1.11      millert  9593: avt+s|concept avt status line changes,
                   9594:        eslok, hs,
                   9595:        lm#191,
                   9596:        dsl=\E[0*w, fsl=\E[1;1!w,
                   9597:        is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n,
                   9598:        rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r,
                   9599:        tsl=\E[2;1!w\E[;%p1%dH\E[2K,
                   9600: avt|avt-s|concept-avt|avt w/80 columns,
                   9601:        use=avt+s, use=avt-ns,
                   9602: avt-rv|avt-rv-s|avt reverse video w/sl,
                   9603:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, use=avt+s,
                   9604:        use=avt-ns,
                   9605: avt-w|avt-w-s|concept avt 132 cols+status,
                   9606:        is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, use=avt+s,
                   9607:        use=avt-ns,
                   9608: avt-w-rv|avt-w-rv-s|avt wide+status+rv,
                   9609:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
                   9610:        smcup=\E[H\E[1;24;1;132w,
                   9611:        use=avt+s, use=avt-ns,
1.1       millert  9612:
                   9613: #### Contel Business Systems.
                   9614: #
                   9615:
                   9616: # Contel c300 and c320 terminals.
1.11      millert  9617: contel300|contel320|c300|Contel Business Systems C-300 or C-320,
                   9618:        am, in, xon,
                   9619:        cols#80, lines#24, xmc#1,
                   9620:        bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   9621:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   9622:        dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
                   9623:        el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
                   9624:        hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
                   9625:        kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
                   9626:        kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
                   9627:        rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3,
1.1       millert  9628: # Contel c301 and c321 terminals.
                   9629: contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,
                   9630:        flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>,
1.11      millert  9631:        use=contel300,
1.1       millert  9632:
                   9633: #### Data General (dg)
                   9634: #
                   9635: # According to James Carlson <carlson@xylogics.com> writing in January 1995,
                   9636: # the terminals group at Data General was shut down in 1991; all these
                   9637: # terminals have thus been discontinued.
                   9638: #
1.11      millert  9639: # DG terminals have function keys that respond to the SHIFT and CTRL keys,
                   9640: # e.g., SHIFT-F1 generates a different code from F1.  To number the keys
                   9641: # sequentially, first the unmodified key codes are listed as F1 through F15.
                   9642: # Then their SHIFT versions are listed as F16 through F30, their CTRL versions
                   9643: # are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
                   9644: # F46 through F60.  This is done in the private "includes" below whose names
                   9645: # start with "dgkeys+".
                   9646: #
                   9647: # DG terminals generally support 8 bit characters.  For each of these terminals
                   9648: # two descriptions are supplied:
                   9649: #      1) A default description for 8 bits/character communications, which
                   9650: #         uses the default DG international character set and keyboard codes.
                   9651: #      2) A description with suffix "-7b" for 7 bits/character communications.
                   9652: #         This description must use the NON-DEFAULT native keyboard language.
                   9653:
                   9654: # Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
                   9655: # Ctrl/Shift fdkeys (kf34-kf44).
                   9656:
                   9657: dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys,
                   9658:        ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z,
                   9659:        kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
                   9660:        kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z,
                   9661:        kf11=\233011z, kf12=\233012z, kf13=\233013z,
                   9662:        kf14=\233014z, kf15=\233000z, kf16=\233101z,
                   9663:        kf17=\233102z, kf18=\233103z, kf19=\233104z,
                   9664:        kf2=\233002z, kf20=\233105z, kf21=\233106z,
                   9665:        kf22=\233107z, kf23=\233108z, kf24=\233109z,
                   9666:        kf25=\233110z, kf26=\233111z, kf27=\233112z,
                   9667:        kf28=\233113z, kf29=\233114z, kf3=\233003z,
                   9668:        kf30=\233100z, kf31=\233201z, kf32=\233202z,
                   9669:        kf33=\233203z, kf34=\233204z, kf35=\233205z,
                   9670:        kf36=\233206z, kf37=\233207z, kf38=\233208z,
                   9671:        kf39=\233209z, kf4=\233004z, kf40=\233210z,
                   9672:        kf41=\233211z, kf42=\233212z, kf43=\233213z,
                   9673:        kf44=\233214z, kf45=\233200z, kf46=\233301z,
                   9674:        kf47=\233302z, kf48=\233303z, kf49=\233304z,
                   9675:        kf5=\233005z, kf50=\233305z, kf51=\233306z,
                   9676:        kf52=\233307z, kf53=\233308z, kf54=\233309z,
                   9677:        kf55=\233310z, kf56=\233311z, kf57=\233312z,
                   9678:        kf58=\233313z, kf59=\233314z, kf6=\233006z,
                   9679:        kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z,
                   9680:        khome=\233H, kprt=\233i,
                   9681:
                   9682: dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys,
                   9683:        ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z,
                   9684:        kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   9685:        kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z,
                   9686:        kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z,
                   9687:        kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z,
                   9688:        kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z,
                   9689:        kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z,
                   9690:        kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z,
                   9691:        kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z,
                   9692:        kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z,
                   9693:        kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z,
                   9694:        kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z,
                   9695:        kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z,
                   9696:        kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z,
                   9697:        kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z,
                   9698:        kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z,
                   9699:        kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z,
                   9700:        kf9=\E[009z, khome=\E[H, kprt=\E[i,
                   9701:
                   9702: dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys,
                   9703:        kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K,
                   9704:        kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c,
                   9705:        kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r,
                   9706:        kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3,
                   9707:        kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8,
                   9708:        kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#,
                   9709:        kf37=^^$, kf38=^^%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(,
                   9710:        kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w,
                   9711:        kf8=^^x, kf9=^^y, khome=^H,
                   9712:
                   9713: dgkeys+15|Private entry describing 15 DG mode special keys,
                   9714:        kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^,
                   9715:        kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^},
                   9716:        kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d,
                   9717:        kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i,
                   9718:        kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s,
                   9719:        kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5,
                   9720:        kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:,
                   9721:        kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!,
                   9722:        kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%, kf51=^^&,
                   9723:        kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,,
                   9724:        kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x,
                   9725:        kf9=^^y,
                   9726:
                   9727: # Data General color terminals use the "Tektronix" color model.  The total
                   9728: # number of colors varies with the terminal model, as does support for
                   9729: # attributes used in conjunction with color.
                   9730:
                   9731: # Removed u7, u8 definitions since they conflict with tack:
                   9732: #              Preserve user-defined colors in at least some cases.
                   9733: #      u7=^^Fh,
                   9734: #              Default is ACM mode.
                   9735: #      u8=^^F}20^^Fi^^F}21,
                   9736: #
                   9737: dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode,
                   9738:        bce,
                   9739:        colors#16, ncv#53, pairs#256,
                   9740:        op=\036Ad\036Bd,
                   9741:        setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
                   9742:        setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
                   9743:        setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
                   9744:
                   9745: dg+fixed|Fixed color info for DG D430C terminals in DG mode,
                   9746:        use=dgunix+fixed,
                   9747:
                   9748: # Video attributes are coordinated using static variables set by "sgr", then
                   9749: # checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings.
                   9750: # (D=dim, U=underline, B=blink, R=reverse.)
                   9751: dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode,
                   9752:        bce,
                   9753:        colors#8, ncv#16, pairs#64,
                   9754:        op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m,
                   9755:        setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
                   9756:        setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
                   9757:        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,
                   9758:        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,
                   9759:
                   9760: dg+color|Color info for Data General D470C terminals in ANSI mode,
                   9761:        colors#16, ncv#53, pairs#256,
                   9762:        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,
                   9763:        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,
                   9764:        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,
                   9765:        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,
                   9766:        use=dg+color8,
                   9767:
                   9768: dgmode+color8|Color info for Data General D220/D230C terminals in DG mode,
                   9769:        bce,
                   9770:        colors#8, ncv#16, pairs#64,
                   9771:        op=\036Ad\036Bd,
                   9772:        setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
                   9773:        setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
                   9774:        setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
                   9775:
                   9776: dgmode+color|Color info for Data General D470C terminals in DG mode,
                   9777:        colors#16, pairs#256,
                   9778:        setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
                   9779:        setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
                   9780:        use=dgmode+color8,
                   9781:
                   9782: dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode,
                   9783:        bce, ccc,
                   9784:        colors#52, ncv#53, pairs#26,
                   9785:        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,
                   9786:        oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00,
                   9787:        op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D,
                   9788:        scp=\036RG2%p1%02X,
                   9789:
                   9790: # Colors are in the order:  normal, reverse, dim, dim + reverse.
                   9791: dg+ccc|Configurable color info for DG D430C terminals in DG mode,
                   9792:        bce, ccc,
                   9793:        colors#52, ncv#53, pairs#26,
                   9794:        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,
                   9795:        oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00,
                   9796:        op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=,
                   9797:        scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c,
                   9798:
                   9799: # The generic DG terminal type (an 8-bit-clean subset of the 6053)
                   9800: # Initialization string 1 sets:
                   9801: #      ^R              - vertical scrolling enabled
                   9802: #      ^C              - blinking enabled
                   9803: dg-generic|Generic Data General terminal in DG mode,
                   9804:        am, bw, msgr, xon,
                   9805:        cols#80, lines#24,
                   9806:        bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
                   9807:        cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C,
                   9808:        mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\,
                   9809:        smul=^T,
                   9810:        use=dgkeys+11,
1.1       millert  9811:
                   9812: # According to the 4.4BSD termcap file, the dg200 <cup> should be the
                   9813: # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
                   9814: # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
                   9815: # maybe they were originally nuls (which would fit).
1.11      millert  9816:
                   9817: dg200|data general dasher 200,
                   9818:        OTbs, am, bw,
                   9819:        cols#80, lines#24,
                   9820:        bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
                   9821:        cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J,
                   9822:        kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q,
                   9823:        kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x,
                   9824:        kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U,
                   9825:        smso=^^D, smul=^T,
                   9826:
1.1       millert  9827: # Data General 210/211 (and 410?)      from Lee Pearson (umich!lp) via BRL
                   9828: dg210|dg-ansi|Data General 210/211,
                   9829:        am,
                   9830:        cols#80, lines#24,
1.11      millert  9831:        OTnl=\E[B, clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH,
                   9832:        cuu1=\E[A, ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D,
                   9833:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   9834:        nel=\r\E[H\E[A\n, rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m,
                   9835:        smul=\E[4;m,
1.1       millert  9836: # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
                   9837: # courtesy of Carlos Rucalde of Vantage Software, Inc.
                   9838: # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
                   9839: # I suspect the d200 function keys actually work on the dg211, check it out.)
                   9840: dg211|Data General d211,
1.11      millert  9841:        cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@,
                   9842:        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L,
1.1       millert  9843:        rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>,
1.11      millert  9844:        use=dg200,
1.1       millert  9845: # dg450 from cornell
                   9846: dg450|dg6134|data general 6134,
1.11      millert  9847:        cub1@, cuf1=^X, use=dg200,
1.1       millert  9848: # Note: lesser Dasher terminals will not work with vi because vi insists upon
                   9849: # having a command to move straight down from any position on the bottom line
                   9850: # and scroll the screen up, or a direct vertical scroll command.  The 460 and
                   9851: # above have both, the D210/211, for instance, has neither.  We must use ANSI
                   9852: # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
                   9853: # backspace on all terminals.  This is not so in DG mode.
                   9854: # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
                   9855: # grounds that there is no matching ":ml:"
                   9856: # fixed garbled ":k9=\E[00\:z:" capability -- esr)
                   9857: dg460-ansi|Data General Dasher 460 in ANSI-mode,
1.11      millert  9858:        OTbs, am, msgr, ul,
1.1       millert  9859:        cols#80, it#8, lines#24,
1.11      millert  9860:        OTnl=\ED, blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B,
                   9861:        cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P,
                   9862:        dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   9863:        ich1=\E[@, il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D,
                   9864:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   9865:        kf0=\E[001z, kf1=\E[002z, kf2=\E[003z, kf3=\E[004z,
                   9866:        kf4=\E[005z, kf5=\E[006z, kf6=\E[007z, kf7=\E[008z,
                   9867:        kf8=\E[009z, kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3,
                   9868:        lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m,
                   9869:        ri=\E[T, rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m,
                   9870:        smul=\E[4m,
1.1       millert  9871: # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
                   9872: # Data General 605x
                   9873: # Ought to work for a Model 6242, Type D210 as well as a 605x.
                   9874: # Note that the cursor-down key transmits ^Z.  Job control users, beware!
                   9875: # This also matches a posted description of something called a `Dasher 100'
                   9876: # so there's a dg100 alias here.
                   9877: # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr)
1.11      millert  9878: dg6053-old|dg100|data general 6053,
1.1       millert  9879:        OTbs, am, bw, ul,
                   9880:        cols#80, lines#24,
1.11      millert  9881:        OTbc=^Y, bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z,
                   9882:        cuf1=^X, cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K,
                   9883:        home=^H, ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X,
                   9884:        kcuu1=^W, kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v,
                   9885:        kf6=^^w, kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L,
                   9886:        rmso=\0^^E, rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D,
                   9887:        smul=^T,
                   9888:
                   9889: # (Some performance can be gained over the generic DG terminal type)
                   9890: dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053,
                   9891:        xon@,
                   9892:        home=^P\0\0, ll=^P\0^W, use=dg-generic,
                   9893:
                   9894: # Like 6053, but adds reverse video and more keypad and function keys.
                   9895: d200|d200-dg|Data General DASHER D200,
                   9896:        bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^],
                   9897:        sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;,
                   9898:        sgr0=\017\025\035\036E, smso=^^D^\,
                   9899:        use=dgkeys+15, use=dg6053,
                   9900:
                   9901: # DASHER D210 series terminals in ANSI mode.
                   9902: #      Reverse video, no insert/delete character/line, 7 bits/character only.
                   9903: #
                   9904: # Initialization string 1 sets:
                   9905: #      <0              - scrolling enabled
                   9906: #      <1              - blink enabled
                   9907: #      <4              - print characters regardless of attributes
                   9908: d210|d214|Data General DASHER D210 series,
                   9909:        am, bw, msgr, xon,
                   9910:        cols#80, lines#24,
                   9911:        bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, cr=^M,
                   9912:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   9913:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   9914:        cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K,
                   9915:        el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l,
                   9916:        ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m,
                   9917:        sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m,
                   9918:        sgr0=\E[m, smso=\E[2;7m, smul=\E[4m,
                   9919:        use=dgkeys+7b,
                   9920:
                   9921: # DASHER D210 series terminals in DG mode.
                   9922: # Like D200, but adds clear to end-of-screen and needs XON/XOFF.
                   9923: d210-dg|d214-dg|Data General DASHER D210 series in DG mode,
                   9924:        xon,
                   9925:        ed=^^FF, use=d200-dg,
                   9926:
                   9927: # DASHER D211 series terminals in ANSI mode.
                   9928: # Like the D210, but with 8-bit characters and local printer support.
                   9929: #
                   9930: # Initialization string 2 sets:
                   9931: #      \E[2;1;1;1v
                   9932: #              2;1     - 8 bit operations
                   9933: #              1;1     - 8 bit (international) keyboard language
                   9934: #      \E(B            - default primary character set (U.S. ASCII)
                   9935: #      \E)4            - default secondary character set (international)
                   9936: #      ^O              - primary character set
                   9937: #
                   9938: d211|d215|Data General DASHER D211 series,
                   9939:        km,
                   9940:        is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b, use=d210,
                   9941:
                   9942: # Initialization string 2 sets:
                   9943: #      \E[2;0;1;0v
                   9944: #              2;0     - 7 bit operations
                   9945: #              1;0     - 7 bit (native) keyboard language
                   9946: #      \E(0            - default character set (the keyboard native language)
                   9947: #      ^O              - primary character set
                   9948: d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode,
                   9949:        km@,
                   9950:        is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211,
                   9951:
                   9952: # Like the D210 series, but adds support for 8-bit characters.
                   9953: #
                   9954: # Reset string 2 sets:
                   9955: #      ^^N     - secondary character set
                   9956: #      ^^FS0>  - 8 bit international character set
                   9957: #      ^^O     - primary character set
                   9958: #      ^^FS00  - default character set (matching the native keyboard language)
                   9959: #
                   9960: d211-dg|d215-dg|Data General DASHER D211 series in DG mode,
                   9961:        km,
                   9962:        rs2=\036N\036FS0>\036O\036FS00, use=d210-dg,
                   9963:
                   9964: d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode,
                   9965:        use=d211-dg,
                   9966:
                   9967: # Enhanced DG mode with changes to be more UNIX compatible.
                   9968: d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode,
                   9969:        mc5i,
                   9970:        it#8,
                   9971:        acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI,
                   9972:        clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA,
                   9973:        el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J,
                   9974:        is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd,
                   9975:        kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB,
                   9976:        kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0,
                   9977:        mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00,
                   9978:        rs2=\036N\036FS0E\036O\036FS00,
                   9979:        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%;,
                   9980:        sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11,
                   9981:        vpa=\020\177%p1%c,
                   9982:        use=dgkeys+15, use=d216-dg,
                   9983: d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines,
                   9984:        lines#25,
                   9985:        is3=\036Fz2, use=d216+,
                   9986:
                   9987: d217-unix|Data General DASHER D217 in DG-UNIX mode,
                   9988:        use=d216-unix,
                   9989: d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines,
                   9990:        use=d216-unix-25,
                   9991:
                   9992: # DASHER D220 color terminal in ANSI mode.
                   9993: # Like the D470C but with fewer colors and screen editing features.
                   9994: #
                   9995: # Initialization string 1 sets:
                   9996: #      \E[<0;<1;<4l
                   9997: #              <0      - scrolling enabled
                   9998: #              <1      - blink enabled
                   9999: #              <4      - print characters regardless of attributes
                   10000: #      \E[m            - all attributes off
                   10001: # Reset string 1 sets:
                   10002: #      \Ec             - initial mode defaults (RIS)
                   10003: #
                   10004: d220|Data General DASHER D220,
                   10005:        mc5i@,
                   10006:        dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, use=dg+color8, use=d470c,
                   10007:
                   10008: d220-7b|Data General DASHER D220 in 7 bit mode,
                   10009:        mc5i@,
                   10010:        dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, use=dg+color8, use=d470c-7b,
                   10011:
                   10012: # Initialization string 3 sets:
                   10013: #      - default cursor (solid rectangle)
                   10014: # Reset string 2 sets:
                   10015: #      ^^N     - secondary character set
                   10016: #      ^^FS0>  - 8 bit international character set
                   10017: #      ^^O     - primary character set
                   10018: #       ^^FS00  - default character set (matching the native keyboard language)
                   10019: #
                   10020: d220-dg|Data General DASHER D220 color terminal in DG mode,
                   10021:        mc5i@,
                   10022:        dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@,
                   10023:        rs2=\036N\036FS0>\036O\036FS00,
                   10024:        use=dgmode+color8, use=d470c-dg,
                   10025:
                   10026: # DASHER D230C color terminal in ANSI mode.
                   10027: # Like the D220 but with minor ANSI compatibility improvements.
                   10028: #
                   10029: d230c|d230|Data General DASHER D230C,
                   10030:        blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J,
                   10031:        rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m,
                   10032:        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%;,
                   10033:        sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m,
                   10034:        smul=\E[4;50m,
                   10035:        use=dgkeys+7b, use=d220,
                   10036:
                   10037: d230c-dg|d230-dg|Data General DASHER D230C in DG mode,
                   10038:        use=d220-dg,
                   10039:
                   10040: # DASHER D400/D450 series terminals.
                   10041: # These add intelligent features like insert/delete to the D200 series.
                   10042: #
                   10043: # Initialization string 2 sets:
                   10044: #      ^^FQ2           - default cursor (solid rectangle)
                   10045: #      ^^FW            - character protection disabled
                   10046: #      ^^FJ            - normal (80 column) mode
                   10047: #      ^^F\^           - horizontal scrolling enabled (for alignment)
                   10048: #      ^^FX004?        - margins at columns 0 and 79
                   10049: #      ^^F]            - horizontal scrolling disabled
                   10050: #      ^^O             - primary character set
                   10051: #      ^^FS00          - default character set (the keyboard native language)
                   10052: #      - (should reset scrolling regions, but that glitches the screen)
                   10053: # Reset string 1 sets:
                   10054: #      ^^FA            - all terminal defaults except scroll rate
                   10055: # Reset string 2 sets:
                   10056: #      ^^F]            - horizontal scrolling disabled
                   10057: #      ^^FT0           - jump scrolling
                   10058: #
                   10059: d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series,
                   10060:        mc5i,
                   10061:        acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0,
                   10062:        cnorm=\036FQ2, dch1=^^K, dl1=^^FI,
                   10063:        enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177,
                   10064:        ich1=^^J, il1=^^FH,
                   10065:        is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00,
                   10066:        ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O,
                   10067:        rs1=^^FA, rs2=\036F]\036FT0,
                   10068:        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%;,
                   10069:        sgr0=\017\025\035\036E\036O, smacs=^^N,
                   10070:        vpa=\020\177%p1%c, use=d210-dg,
                   10071:
                   10072: # DASHER D410/D460 series terminals in ANSI mode.
                   10073: # These add a large number of intelligent terminal features.
                   10074: #
                   10075: # Initialization string 1 sets:
                   10076: #      \E[<0;<1;<2;<4l
                   10077: #              <0      - scrolling enabled
                   10078: #              <1      - blink enabled
                   10079: #              <2      - horizontal scrolling enabled (for alignment)
                   10080: #              <4      - print characters regardless of attributes
                   10081: #      \E[5;0v         - normal (80 column) mode
                   10082: #      \E[1;1;80w      - margins at columns 1 and 80
                   10083: #      \E[1;6;<2h
                   10084: #              1       - print all characters even if protected
                   10085: #              6       - character protection disabled
                   10086: #              <2      - horizontal scrolling disabled
                   10087: #      - (should reset scrolling regions, but that glitches the screen)
                   10088: #
                   10089: # Initialization string 2 sets:
                   10090: #      \E[3;2;2;1;1;1v
                   10091: #              3;2     - default cursor (solid rectangle)
                   10092: #              2;1     - 8 bit operations
                   10093: #              1;1     - international keyboard language
                   10094: #      \E(B            - default primary character set (U.S. ASCII)
                   10095: #      \E)4            - default secondary character set (international)
                   10096: #      ^O              - primary character set
                   10097: #
                   10098: #      Reset string 1 sets:
                   10099: #      \Ec             - initial mode defaults (RIS)
                   10100: #      \E[<2h          - horizontal scrolling disabled
                   10101: #
                   10102: # Reset string 2 sets:
                   10103: #      \E[4;0;2;1;1;1v
                   10104: #              4;0     - jump scrolling
                   10105: #              2;1     - 8 bit operations
                   10106: #              1;1     - 8 bit (international) keyboard language
                   10107: #      \E(B            - default primary character set (U.S. ASCII)
                   10108: #      \E)4            - default secondary character set (international)
                   10109: #
                   10110: d410|d411|d460|d461|Data General DASHER D410/D460 series,
                   10111:        mc5i,
                   10112:        acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v,
                   10113:        cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   10114:        dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
                   10115:        is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h,
                   10116:        is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i,
                   10117:        ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h,
                   10118:        rs2=\E[4;0;2;1;1;1v\E(B\E)4,
                   10119:        sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;,
                   10120:        sgr0=\E[m\E)4\017, smacs=\E)6\016,
                   10121:        use=d211,
                   10122:
                   10123: # Initialization string 2 sets:
                   10124: #      \E[3;2;2;0;1;0v
                   10125: #              3;2     - default cursor (solid rectangle)
                   10126: #              2;0     - 7 bit operations
                   10127: #              1;0     - 7 bit (native) keyboard language
                   10128: #      \E(0            - default character set (the keyboard native language)
                   10129: #      ^O              - primary character set
                   10130: #
                   10131: # Reset string 2 sets:
                   10132: #      \E[4;0;2;0;1;0v
                   10133: #              4;0     - jump scrolling
                   10134: #              2;0     - 7 bit operations
                   10135: #              1;0     - 7 bit (native) keyboard language
                   10136: #      \E(0            - default character set (the keyboard native language)
                   10137: #
                   10138: d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode,
                   10139:        km@,
                   10140:        enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O,
                   10141:        rs2=\E[4;0;2;0;1;0v\E(0,
                   10142:        sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;,
                   10143:        sgr0=\E[m\017, smacs=^N,
                   10144:        use=dgkeys+7b, use=d410,
                   10145:
                   10146: d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode,
                   10147:        km,
                   10148:        enacs@, rmacs=\036FS00,
                   10149:        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%;,
                   10150:        sgr0=\017\025\035\036E\036FS00, smacs=\036FS11,
                   10151:        use=d400-dg,
                   10152:
                   10153: # DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
                   10154: #
                   10155: # Initialization string 1 sets:
                   10156: #      \E[<0;<1;<2;<4l
                   10157: #              <0      - scrolling enabled
                   10158: #              <1      - blink enabled
                   10159: #              <2      - horizontal scrolling enabled (for alignment)
                   10160: #              <4      - print characters regardless of attributes
                   10161: #      \E[5;1v         - compressed (135 column) mode
                   10162: #      \E[1;1;126      - margins at columns 1 and 126
                   10163: #      \E[1;6;<2h
                   10164: #              1       - print all characters even if protected
                   10165: #              6       - character protection disabled
                   10166: #              <2      - horizontal scrolling disabled
                   10167: #      - (should reset scrolling regions, but that glitches the screen)
                   10168: #
                   10169: # Reset string 1 sets:
                   10170: #      \Ec             - initial mode defaults (RIS)
                   10171: #      \E[5;1v         - compressed (135 column) mode
                   10172: #      \E[1;1;126w     - margins at columns 1 and 126
                   10173: #      \E[<2h          - horizontal scrolling disabled
                   10174: #
                   10175: d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode,
                   10176:        cols#126,
                   10177:        is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
                   10178:        rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h,
                   10179:        use=d410,
                   10180:
                   10181: d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode,
                   10182:        cols#126,
                   10183:        is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
                   10184:        rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h,
                   10185:        use=d410-7b,
                   10186:
                   10187: d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode,
                   10188:        use=d410-dg,
                   10189:
                   10190: # These add intelligent features like scrolling regions.
                   10191: d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode,
                   10192:        civis=\036FQ0, clear=^^FE, cnorm=\036FQ5,
                   10193:        cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI,
                   10194:        home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH,
                   10195:        is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00,
                   10196:        ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I,
                   10197:        rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10,
                   10198:        vpa=\036FPFF%p1%2.2X,
                   10199:        wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, use=d216+,
                   10200: d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode,
                   10201:        cols#132,
                   10202:        is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O\036FS00,
                   10203:        rs2=\036P@1\036FK\036FX0083,
                   10204:        wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X, use=d412-unix,
                   10205: d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines,
                   10206:        lines#25,
                   10207:        is3=\036Fz2,
                   10208:        wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, use=d462+,
                   10209: d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line,
                   10210:        eslok, hs,
                   10211:        clear=\036FG\036PH, fsl=\036F}01\022,
                   10212:        is3=\036Fz2\036F}00\036FB180000\036F}01, ll@,
                   10213:        tsl=\036F}00\036FP%p1%2.2X18\036PG,
                   10214:        wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X, use=d462+,
                   10215:
                   10216: #      Relative cursor motions are confined to the current window,
                   10217: #      which is not what the scrolling region specification expects.
                   10218: #      Thus, relative vertical cursor positioning must be deleted.
                   10219: d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region,
                   10220:        csr=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;,
                   10221:        cud1@, cuu1@, ll@,
                   10222:        use=d462+,
                   10223:
                   10224: d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode,
                   10225:        use=d412-unix,
                   10226: d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode,
                   10227:        use=d412-unix-w,
                   10228: d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines,
                   10229:        use=d412-unix-25,
                   10230: d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line,
                   10231:        use=d412-unix-s,
                   10232: d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region,
                   10233:        use=d412-unix-sr,
                   10234:
                   10235: d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode,
                   10236:        use=d413-unix,
                   10237: d414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode,
                   10238:        use=d413-unix-w,
                   10239: d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines,
                   10240:        use=d413-unix-25,
                   10241: d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line,
                   10242:        use=d413-unix-s,
                   10243: d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region,
                   10244:        use=d413-unix-sr,
                   10245:
                   10246: d430c-dg|d430-dg|Data General D430C in DG mode,
                   10247:        use=d413-dg, use=dg+fixed,
                   10248: d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors,
                   10249:        use=d413-dg, use=dg+ccc,
                   10250:
                   10251: d430c-unix|d430-unix|Data General D430C in DG-UNIX mode,
                   10252:        use=d413-unix, use=dgunix+fixed,
                   10253: d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode,
                   10254:        use=d413-unix-w, use=dgunix+fixed,
                   10255: d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines,
                   10256:        use=d413-unix-25, use=dgunix+fixed,
                   10257: d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line,
                   10258:        use=d413-unix-s, use=dgunix+fixed,
                   10259: d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region,
                   10260:        use=d413-unix-sr, use=dgunix+fixed,
                   10261: d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors,
                   10262:        use=d413-unix, use=dgunix+ccc,
                   10263: d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors,
                   10264:        use=d413-unix-w, use=dgunix+ccc,
                   10265: d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors,
                   10266:        use=d413-unix-25, use=dgunix+ccc,
                   10267: d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors,
                   10268:        use=d413-unix-s, use=dgunix+ccc,
                   10269: d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors,
                   10270:        use=d413-unix-sr, use=dgunix+ccc,
                   10271:
                   10272: # DASHER D470C color terminal in ANSI mode.
                   10273: # Like the D460 but with 16 colors and without a compressed mode.
                   10274: #
                   10275: # Initialization string 1 sets:
                   10276: #      \E[<0;<1;<2;<4l
                   10277: #              <0      - scrolling enabled
                   10278: #              <1      - blink enabled
                   10279: #              <2      - horizontal scrolling enabled (for alignment)
                   10280: #              <4      - print characters regardless of attributes
                   10281: #      \E[1;1;80w      - margins at columns 1 and 80
                   10282: #      \E[1;6;<2h
                   10283: #              1       - print all characters even if protected
                   10284: #              6       - character protection disabled
                   10285: #              <2      - horizontal scrolling disabled
                   10286: #      - (should reset scrolling regions, but that glitches the screen)
                   10287: #
                   10288: d470c|d470|Data General DASHER D470C,
                   10289:        is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
                   10290:        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%;,
                   10291:        use=dg+color, use=d460,
                   10292:
                   10293: d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode,
                   10294:        is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
                   10295:        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%;,
                   10296:        use=dg+color, use=d460-7b,
                   10297:
                   10298: # Initialization string 2 sets:
                   10299: #      ^^FQ2           - default cursor (solid rectangle)
                   10300: #      ^^FW            - character protection disabled
                   10301: #      ^^F\^           - horizontal scrolling enabled (for alignment)
                   10302: #      ^^FX004?        - margins at columns 0 and 79
                   10303: #      ^^F]            - horizontal scrolling disabled
                   10304: #      ^^O             - primary character set
                   10305: #      ^^FS00          - default character set (the keyboard native language)
                   10306: #      - (should reset scrolling regions, but that glitches the screen)
                   10307: #
                   10308: d470c-dg|d470-dg|Data General DASHER D470C in DG mode,
                   10309:        is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O\036FS00,
                   10310:        use=dgmode+color, use=d460-dg,
                   10311:
                   10312: # DASHER D555 terminal in ANSI mode.
                   10313: # Like a D411, but has an integrated phone.
                   10314: d555|Data General DASHER D555,
                   10315:        use=d411,
                   10316: d555-7b|Data General DASHER D555 in 7-bit mode,
                   10317:        use=d411-7b,
                   10318: d555-w|Data General DASHER D555 in wide mode,
                   10319:        use=d411-w,
                   10320: d555-7b-w|Data General DASHER D555 in wide 7-bit mode,
                   10321:        use=d411-7b-w,
                   10322: d555-dg|Data General DASHER D555 series in DG mode,
                   10323:        use=d411-dg,
                   10324:
                   10325: # DASHER D577 terminal in ANSI mode.
                   10326: # Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
                   10327: d577|Data General DASHER D577,
                   10328:        use=d411,
                   10329: d577-7b|Data General DASHER D577 in 7-bit mode,
                   10330:        use=d411-7b,
                   10331: d577-w|Data General DASHER D577 in wide mode,
                   10332:        use=d411-w,
                   10333: d577-7b-w|Data General DASHER D577 in wide 7-bit mode,
                   10334:        use=d411-7b-w,
                   10335:
                   10336: d577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode,
                   10337:        use=d411-dg,
                   10338:
                   10339: # DASHER D578 terminal.
                   10340: # Like a D577, but without compressed mode; like a D470C in this respect.
                   10341: #
                   10342: # Initialization string 1 sets:
                   10343: #      \E[<0;<1;<2;<4l
                   10344: #              <0      - scrolling enabled
                   10345: #              <1      - blink enabled
                   10346: #              <2      - horizontal scrolling enabled (for alignment)
                   10347: #              <4      - print characters regardless of attributes
                   10348: #      \E[1;1;80w      - margins at columns 1 and 80
                   10349: #      \E[1;6;<2h
                   10350: #              1       - print all characters even if protected
                   10351: #              6       - character protection disabled
                   10352: #              <2      - horizontal scrolling disabled
                   10353: #      - (should reset scrolling regions, but that glitches the screen)
                   10354: #
                   10355: d578|Data General DASHER D578,
                   10356:        is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577,
                   10357: d578-7b|Data General DASHER D578 in 7-bit mode,
                   10358:        is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
                   10359:        use=d577-7b,
1.1       millert  10360:
                   10361: #### Datamedia (dm)
                   10362: #
1.11      millert  10363: # Datamedia was headquartered in Nashua, New Hampshire in 1993.
                   10364: # As of early 1996, at least one company called `Datamedia' has been taken
                   10365: # over by:
                   10366: #
                   10367: #    Axent Technologies, Inc.
                   10368: #    2400 Research Boulevard
                   10369: #    Rockville, Maryland 20850
                   10370: #    voice: +1 301/258-5043
                   10371: #      fax: +1 301/330-5756
                   10372: #    email: <info@axent.com>
                   10373: #
                   10374: # makers of OmniGuard client/server security software.  They are a software
                   10375: # only company and no longer make terminals.  However, the operator there
                   10376: # told me that she had once spoken to a customer looking for Datamedia
                   10377: # terminals who'd mentioned a Datamedia in New Jersey.  This is backed up
                   10378: # by comp.terminals posting describing the ID plate on the back of a
                   10379: # "Datamedia 3000" terminal.  Was this an earlier incarnation of Axent?
                   10380: # Inquiring minds want to know...
                   10381: #
                   10382:
                   10383: cs10|colorscan|Datamedia Color Scan 10,
                   10384:        msgr,
                   10385:        cols#80, lines#24,
                   10386:        bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   10387:        cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   10388:        ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   10389:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m,
                   10390:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   10391: cs10-w|Datamedia Color Scan 10 with 132 columns,
                   10392:        cols#132,
                   10393:        cup=\E[%i%p1%02d;%p2%03dH, use=cs10,
1.1       millert  10394:
                   10395: # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
                   10396: dm1520|dm1521|datamedia 1520,
1.11      millert  10397:        OTbs, am, xenl,
1.1       millert  10398:        cols#80, it#8, lines#24,
                   10399:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
1.11      millert  10400:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   10401:        home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
                   10402:        khome=^Y,
1.1       millert  10403: # dm2500: this terminal has both <ich> and <smir>. Applications using
                   10404: # termcap/terminfo directly (rather than through ncurses) might be confused.
                   10405: dm2500|datamedia2500|datamedia 2500,
1.11      millert  10406:        OTbs, OTnc,
1.1       millert  10407:        cols#80, lines#24,
                   10408:        bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\,
                   10409:        cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z,
1.11      millert  10410:        dch1=\020\010\030\035$<10*>,
                   10411:        dl1=\020\032\030\035$<10*>, el=^W, home=^B,
                   10412:        ich1=\020\034\030\035$<10*>,
                   10413:        il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377,
                   10414:        rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^],
                   10415:        smdc=^P, smir=^P, smso=^N,
1.1       millert  10416: # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
                   10417: # also, has a meta-key.
                   10418: # From: <goldberger@su-csli.arpa>
                   10419: # (dmchat: ":MT:" changed to ":km:" -- esr)
                   10420: dmchat|dmchat version of datamedia 2500,
                   10421:        km,
                   10422:        dl1=\020\032\030\035$<2/>,
1.11      millert  10423:        il1=\020\n\030\035\030\035$<1*/>, use=dm2500,
1.1       millert  10424: # (dm3025: ":MT:" changed to ":km:" -- esr)
                   10425: dm3025|datamedia 3025a,
1.11      millert  10426:        OTbs, km,
1.1       millert  10427:        cols#80, it#8, lines#24,
                   10428:        bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   10429:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
1.11      millert  10430:        dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK,
                   10431:        home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>,
                   10432:        is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP,
                   10433:        smir=\EP, smso=\EO1,
1.1       millert  10434: dm3045|datamedia 3045a,
1.11      millert  10435:        OTbs, am, eo, km@, ul, xenl,
                   10436:        dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA,
                   10437:        kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r,
                   10438:        kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r,
                   10439:        khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@,
                   10440:        use=dm3025,
1.1       millert  10441: # Datamedia DT80 soft switches:
                   10442: # 1    0=Jump  1=Smooth
                   10443: #      Autorepeat      0=off  1=on
                   10444: #      Screen          0=Dark 1=light
                   10445: #      Cursor          0=u/l  1=block
                   10446: #
                   10447: # 2    Margin Bell     0=off  1=on
                   10448: #      Keyclick        0=off  1=on
                   10449: #      Ansi/VT52       0=VT52 1=Ansi
                   10450: #      Xon/Xoff        0=Off  1=On
                   10451: #
                   10452: # 3    Shift3          0=Hash 1=UK Pound
                   10453: #      Wrap            0=Off  1=On
                   10454: #      Newline         0=Off  1=On
                   10455: #      Interlace       0=Off  1=On
                   10456: #
                   10457: # 4    Parity          0=Odd  1=Even
                   10458: #      Parity          0=Off  1=On
                   10459: #      Bits/Char       0=7    1=8
                   10460: #      Power           0=60Hz 1=50Hz
                   10461: #
                   10462: # 5    Line Interface  0=EIA  1=Loop
                   10463: #      Aux Interface   0=EIA  1=Loop
                   10464: #      Local Copy      0=Off  1=On
                   10465: #      Spare
                   10466: #
                   10467: # 6    Aux Parity      0=Odd  1=Even
                   10468: #      Aux Parity      0=Off  1=On
                   10469: #      Aux Bits/Char   0=7    1=8
                   10470: #      CRT Saver       0=Off  1=On
                   10471: # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
                   10472: dm80|dmdt80|dt80|datamedia dt80/1,
                   10473:        clear=\E[2J\E[H, cud1=^J, cuf1=\E[C,
                   10474:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
1.11      millert  10475:        home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM,
                   10476:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   10477:        use=vt100,
1.1       millert  10478: # except in 132 column mode, where it needs a little padding.
                   10479: # This is still less padding than the vt100, and you can always turn on
                   10480: # the ^S/^Q handshaking, so you can use vt100 flavors for things like
                   10481: # reverse video.
                   10482: dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode,
                   10483:        cols#132,
1.11      millert  10484:        clear=\E[H\E[2J$<50/>, cud1=^J,
                   10485:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>,
                   10486:        ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80,
1.1       millert  10487: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1.11      millert  10488: dt80-sas|Datamedia DT803/DTX for SAS usage,
                   10489:        am, bw,
                   10490:        cols#80, lines#24,
                   10491:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                   10492:        bel=^G, clear=^L, cr=^M,
                   10493:        csr=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2,
                   10494:        cub1=^H, cud1=\EB, cuf1=^\,
                   10495:        cup=\E=%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, dl1=\EM, ed=^K,
                   10496:        el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB,
                   10497:        is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J,
                   10498:        kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N,
                   10499:        rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF,
                   10500:        smso=\E$2\004, tbc=\E'0,
1.1       millert  10501:
                   10502: # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
                   10503: # These aren't end-all Excel termcaps; but do insert/delete char/line
                   10504: # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
                   10505: # The naming convention has been bent somewhat, with the use of E? (where
                   10506: # E is for 'Excel') as # a name.  This was done to distinguish the entries
                   10507: # from the other Datamedias in use here, and yet to associate a model of
                   10508: # the Excel terminals with the regular datamedia terminals that share
                   10509: # major characteristics.
                   10510: excel62|excel64|datamedia Excel 62,
                   10511:        dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
                   10512:        kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
                   10513:        use=dt80,
                   10514: excel62-w|excel64-w|datamedia Excel 62 in 132 char mode,
                   10515:        dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
                   10516:        kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
                   10517:        use=dt80w,
                   10518: excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode,
                   10519:        dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J,
                   10520:        kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l,
                   10521:        smir=\E[4h,
                   10522:        use=dt80,
                   10523:
                   10524: #### Falco
                   10525: #
                   10526: #      Falco Data Products
                   10527: #      440 Potrero Avenue
                   10528: #      Sunnyvale, CA 940864-196
                   10529: #      Vox: (800)-325-2648
                   10530: #      Fax: (408)-745-7860
                   10531: #      Net: techsup@charm.sys.falco.com
                   10532: #
                   10533: # Current Falco models as of 1995 are generally ANSI-compatible and support
                   10534: # emulations of DEC VT-series, Wyse, and Televideo types.
                   10535: #
                   10536:
                   10537: # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
                   10538: # This terminal was released around 1983 and was discontinued long ago.
                   10539: # The standout and underline highlights are the same.
                   10540: falco|ts1|ts-1|falco ts-1,
1.11      millert  10541:        OTbs, am,
1.1       millert  10542:        cols#80, it#8, lines#24,
                   10543:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   10544:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   10545:        dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE,
                   10546:        ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
1.11      millert  10547:        kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0,
                   10548:        smir=\Eq, smso=\Eg1, smul=\Eg1,
1.1       millert  10549: falco-p|ts1p|ts-1p|falco ts-1 with paging option,
1.11      millert  10550:        OTbs, am, da, db, mir, msgr, ul,
1.1       millert  10551:        cols#80, it#8, lines#24,
1.11      millert  10552:        bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B,
                   10553:        cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A,
                   10554:        dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I,
1.1       millert  10555:        il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B,
1.11      millert  10556:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er,
                   10557:        rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq,
                   10558:        smso=\Eg4, smul=\Eg1,
1.1       millert  10559: # (ts100: I added <rmam>/<smam> based on the init string -- esr)
1.11      millert  10560: ts100|ts100-sp|falco ts100-sp,
                   10561:        am, mir, msgr, xenl, xon,
                   10562:        cols#80, it#8, lines#24, vt#3,
                   10563:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   10564:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   10565:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   10566:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   10567:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   10568:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   10569:        cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,
                   10570:        el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,
                   10571:        ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea,
                   10572:        ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn,
                   10573:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM,
                   10574:        kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   10575:        kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   10576:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   10577:        rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   10578:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   10579:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   10580:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   10581:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   10582: ts100-ctxt|falco ts-100 saving context,
                   10583:        rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100,
1.1       millert  10584:
                   10585: #### Florida Computer Graphics
                   10586: #
                   10587:
                   10588: # Florida Computer Graphics Beacon System, using terminal emulator program
                   10589: # "host.com", as provided by FCG.  This description is for an early release
                   10590: # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
                   10591: # commented out.
                   10592:
                   10593: # From: David Bryant <cbosg!djb> 1/7/83
1.11      millert  10594: beacon|FCG Beacon System,
1.1       millert  10595:        am, da, db,
1.11      millert  10596:        cols#80, lines#32,
                   10597:        bel=\ESTART\r\E37\r\EEND\r$<1>,
                   10598:        blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M,
                   10599:        cub1=^H, cud1=^J, cuf1=\EV,
                   10600:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU,
                   10601:        dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE,
                   10602:        ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=,
                   10603:        rmso=\ESTART\r\E70\,0\r\EEND\r$<20>,
                   10604:        rmul=\ESTART\r\E60\,0\r\EEND\r,
                   10605:        sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>,
                   10606:        smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>,
                   10607:        smso=\ESTART\r\E70\,6\r\EEND\r$<20>,
                   10608:        smul=\ESTART\r\E60\,1\r\EEND\r,
1.1       millert  10609:
                   10610: #### Fluke
                   10611: #
                   10612:
                   10613: # The f1720a differences from ANSI: no auto margin, destructive
                   10614: # tabs, # of lines, funny highlighting and underlining
                   10615: f1720|f1720a|fluke 1720A,
                   10616:        xt,
                   10617:        cols#80, lines#16, xmc#1,
                   10618:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
1.11      millert  10619:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J,
                   10620:        el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^],
                   10621:        kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   10622:        smso=\E[7m, smul=\E[4m,
1.1       millert  10623:
                   10624: #### Liberty Electronics (Freedom)
                   10625: #
                   10626: #      Liberty Electronics
                   10627: #      48089 Fremont Blvd
                   10628: #      Fremont CA 94538
                   10629: #      Vox: (510)-623-6000
                   10630: #      Fax: (510)-623-7021
                   10631:
                   10632: # From: <faletti@berkeley.edu>
                   10633: # (f100: added empty <acsc> to suppress a tic warning;
                   10634: # made this relative to adm+sgr -- note that <invis> isn't
                   10635: # known to work for f100 but does on the f110. --esr)
1.11      millert  10636: f100|freedom|freedom100|freedom model 100,
                   10637:        OTbs, am, bw, hs, mir, msgr, xon,
                   10638:        cols#80, lines#24,
                   10639:        acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J,
                   10640:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   10641:        dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
                   10642:        flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c,
                   10643:        ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>,
                   10644:        is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V,
                   10645:        kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r,
                   10646:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   10647:        kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er,
                   10648:        smacs=\E%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
                   10649:        vpa=\E[%p1%{32}%+%c, use=adm+sgr,
                   10650: f100-rv|freedom-rv|freedom 100 in reverse video,
                   10651:        flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100,
1.1       millert  10652: # The f110 and f200 have problems with vi(1).  They use the ^V
                   10653: # code for the down cursor key. When kcud1 is defined in terminfo
                   10654: # as ^V, the Control Character Quoting capability (^V in insert mode)
                   10655: # is lost! It cannot be remapped in vi because it is necessary to enter
                   10656: # a ^V to to quote the ^V that is being remapped!!!
                   10657: #
                   10658: # f110/f200 users will have to decide whether
                   10659: # to lose the down cursor key or the quoting capability. We will opt
                   10660: # initially for leaving the quoting capability out, since use of VI
                   10661: # is not generally applicable to most interactive applications
                   10662: # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
                   10663: f110|freedom110|Liberty Freedom 110,
                   10664:        bw@, eslok,
                   10665:        it#8, wsl#80,
1.11      millert  10666:        blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V,
                   10667:        cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r,
                   10668:        flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW,
                   10669:        kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ,
                   10670:        kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO,
                   10671:        smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef,
                   10672:        use=f100,
                   10673: f110-14|Liberty Freedom 110 14inch,
                   10674:        dch1@, use=f110,
                   10675: f110-w|Liberty Freedom 110 - 132 cols,
                   10676:        cols#132, use=f110,
                   10677: f110-14w|Liberty Freedom 110 14in/132 cols,
                   10678:        cols#132,
                   10679:        dch1@, use=f110,
1.1       millert  10680: # (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
1.11      millert  10681: f200|freedom200|Liberty Freedom 200,
                   10682:        OTbs, am, eslok, hs, mir, msgr, xon,
                   10683:        cols#80, it#8, lines#24, wsl#80,
                   10684:        acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0,
                   10685:        clear=^Z, cnorm=\E.1, cr=^M,
                   10686:        csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V,
                   10687:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   10688:        cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY,
                   10689:        el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^,
                   10690:        hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H,
                   10691:        kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
                   10692:        kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
                   10693:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   10694:        kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
                   10695:        ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<,
                   10696:        tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c,
                   10697:        use=adm+sgr,
                   10698: f200-w|Liberty Freedom 200 - 132 cols,
                   10699:        cols#132, use=f200,
1.1       millert  10700: # The f200 has the ability to reprogram the down cursor key. The key is
                   10701: # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
                   10702: # so powering the terminal off and on will not cause the change to be lost.
                   10703: f200vi|Liberty Freedom 200 for vi,
1.11      millert  10704:        flash=\Eb$<200/>\Ed, kcud1=^J, use=f200,
                   10705: f200vi-w|Liberty Freedom 200 - 132 cols for vi,
                   10706:        cols#132, use=f200vi,
1.1       millert  10707:
                   10708: #### GraphOn (go)
                   10709: #
                   10710: #      Graphon Corporation
                   10711: #      544 Division Street
                   10712: #      Campbell, CA 95008
                   10713: #      Vox: (408)-370-4080
                   10714: #      Fax: (408)-370-5047
                   10715: #      Net: troy@graphon.com (Troy Morrison)
                   10716: #
                   10717: #
                   10718: # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
                   10719: # including one odd hybrid that starts out life on power-up as a character
                   10720: # terminal, than can be switched to X graphics mode (driven over the serial
                   10721: # line) by an escape sequence.  No info on this beast yet.
                   10722: # (go140: I added <rmam>/<smam> based on the init string -- esr)
1.11      millert  10723: go140|graphon go-140,
                   10724:        OTbs,
                   10725:        cols#80, it#8, lines#24,
1.1       millert  10726:        clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C,
1.11      millert  10727:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   10728:        ed=\E[J$<10/>, el=\E[K, ht=^I,
1.1       millert  10729:        if=/usr/share/tabset/vt100, il1=\E[L,
                   10730:        is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q,
1.11      millert  10731:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   10732:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
                   10733:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
                   10734:        rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
                   10735:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
1.1       millert  10736: go140w|graphon go-140 in 132 column mode,
1.11      millert  10737:        am,
1.1       millert  10738:        cols#132,
1.11      millert  10739:        is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, use=go140,
1.1       millert  10740: # Hacked up vt200 termcap to handle GO-225/VT220
                   10741: # From: <edm@nwnexus.WA.COM>
                   10742: # (go225: I added <rmam>/<smam> based on the init string -- esr)
                   10743: go225|go-225|Graphon 225,
1.11      millert  10744:        OTbs, am, mir, xenl,
                   10745:        cols#80, it#8, lines#25, vt#3,
                   10746:        blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   10747:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   10748:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   10749:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED,
                   10750:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H,
                   10751:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   10752:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m,
1.1       millert  10753:        rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l,
1.11      millert  10754:        rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>,
                   10755:        rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w,
                   10756:        sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r,
                   10757:        smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
1.1       millert  10758:
1.11      millert  10759: #### Harris (Beehive)
1.1       millert  10760: #
                   10761: # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
                   10762: # Their terminal group is ancient history now (1995) though the parent
                   10763: # company is still in business.
                   10764: #
                   10765:
1.11      millert  10766: # Beehive documentation is undated and marked Preliminary and has no figures
                   10767: # so we must have early Superbee2 (Model 600, according to phone conversation
                   10768: # with mfr.). It has proved reliable except for some missing padding
                   10769: # (notably after \EK and <nl> at bottom of screen).
                   10770: #
                   10771: # The key idea is that AEP mode is poison for <cup> & that US's in
                   10772: # the local memory should be avoided like the plague. That means
                   10773: # that the 2048 character local buffer is used as 25 lines of 80
                   10774: # characters, period. No scrolling local memory, folks. It also
                   10775: # appears that we cannot use naked INS LINE feature since it uses
                   10776: # US. The sbi fakes <il1> with an 80-space insert that may be too
                   10777: # slow at low speeds; also spaces get converted to \040 which is
                   10778: # too long for some programs (not vi).  DEL LINE is ok but slow.
                   10779: #
                   10780: # The <nl> string is designed for last line of screen ONLY; cup to
                   10781: # 25th line corrects the motion inherent in scrolling to Page 1.
                   10782: #
                   10783: # There is one understood bug. It is that the screen appears to
                   10784: # pop to a new (blank) page after a <nel>, or leave a half-line
                   10785: # ellipsis to a quad that is the extra 48 memory locations. The
                   10786: # data received is dumped into memory but not displayed.  Not to
                   10787: # worry if <cup> is being used; the lines not displayed will be,
                   10788: # whenever the cursor is moved up there. Since <cup> is addressed
                   10789: # relative to MEMORY of window, nothing is lost; but beware of
                   10790: # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
                   10791: # therefore, is setenv MORE -c .
                   10792: #
                   10793: # WARNING: Not all features tested.
                   10794: #
                   10795: # Timings are assembled from 3 sources. Some timings may reflect
                   10796: # SB2/Model 300 that were used if more conservative.
                   10797: # Tested on a Model 600 at 1200 and 9600 bd.
                   10798: #
                   10799: # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
                   10800: # placed on the keyboard and useless because of AEP, is made
                   10801: # into a backspace key. In use ESC must be pressed twice (to send)
                   10802: # and sending ^C must be prefixed by ESC to avoid that weird
                   10803: # transmit mode associated with ENTER key.
                   10804: #
                   10805: # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
                   10806: # the screen, then it has dropped into ENTER mode; hit
                   10807: # RESET--ONLINE--!tset.
                   10808: #
                   10809: # As delivered this machine has a FATAL feature that will throw
                   10810: # it into that strange transmit state (SPOW) if the space bar is
                   10811: # hit after a CR is received, but before receiving a LF (or a
                   10812: # few others).
                   10813: #
                   10814: # The circuits MUST be modified to eliminate the SPOW latch.
                   10815: # This is done by strapping on chip A46 of the I/O board; cut
                   10816: # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
                   10817: # chip. This mod has been checked out on a Mod 600 of Superbee II.
                   10818: # With this modification absurdly high timings on cr are
                   10819: # unnecessary.
                   10820: #
                   10821: # NOTE WELL that the rear panel switch should be set to CR/LF,
                   10822: # not AEP!
                   10823: #
                   10824: sb1|beehive superbee,
                   10825:        OTbs, am, bw, da, db, mir, ul, xsb,
                   10826:        cols#80, lines#25, xmc#1,
                   10827:        bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r,
                   10828:        cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d,
                   10829:        cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>,
                   10830:        el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1,
                   10831:        il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>,
                   10832:        ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED,
                   10833:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK,
                   10834:        kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu,
                   10835:        kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO,
                   10836:        krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER,
                   10837:        rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO,
                   10838:        smso=\E_1, smul=\E_0, tbc=\E3,
                   10839: sbi|superbee|beehive superbee at Indiana U.,
                   10840:        xsb,
                   10841:        cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA, use=sb1,
                   10842: # Alternate (older) description of Superbee - f1=escape, f2=^C.
                   10843: # Note: there are at least 3 kinds of superbees in the world.  The sb1
                   10844: # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
                   10845: # The sb3 puts garbage on the bottom of the screen when you scroll with
                   10846: # the switch in the back set to CRLF instead of AEP.  This description
                   10847: # is tested on the sb2 but should work on all with either switch setting.
                   10848: # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
                   10849: # the other two if you want to try to hit that tiny escape key.
                   10850: # This description is tricky: being able to use cup depends on there being
                   10851: # 2048 bytes of memory and the hairy <nl> string.
                   10852: superbee-xsb|beehive super bee,
                   10853:        am, da, db, xsb,
                   10854:        cols#80, it#8, lines#25,
                   10855:        clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J,
                   10856:        cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>,
                   10857:        dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>,
                   10858:        home=\EH, ht=^I, hts=\E1,
                   10859:        ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ,
                   10860:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq,
                   10861:        kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   10862:        khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3,
                   10863: # This loses on lines > 80 chars long, use at your own risk
                   10864: superbeeic|super bee with insert char,
                   10865:        ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb,
                   10866: sb2|sb3|fixed superbee,
                   10867:        xsb@, use=superbee,
                   10868:
                   10869: # Reports are that most of these Beehive entries (except superbee) have not
                   10870: # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
                   10871:
                   10872: # (bee: <ich1> was empty, which is obviously bogus -- esr)
                   10873: beehive|bee|harris beehive,
                   10874:        OTbs, am, mir,
                   10875:        cols#80, lines#24,
                   10876:        cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
                   10877:        cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
                   10878:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>,
                   10879:        kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   10880:        kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL,
                   10881:        krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@,
                   10882:        smir=\EQ, smso=\EdP, smul=\Ed`,
                   10883: # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
                   10884: # good grief - does this entry make :sg:/:ug: when it doesn't have to?
                   10885: # look at those spaces in <rmso>/<smso>.  Seems strange to me...
                   10886: # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
                   10887: # really care, cook up one using ^F -- esr)
                   10888: beehive3|bh3m|beehiveIIIm|harris beehive 3m,
                   10889:        OTbs, am,
                   10890:        cols#80, it#8, lines#20,
                   10891:        bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K,
                   10892:        dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F,
                   10893:        il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s,
                   10894: beehive4|bh4|beehive 4,
                   10895:        am,
                   10896:        cols#80, lines#24,
                   10897:        bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
                   10898:        cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J,
                   10899: microb|microbee|micro bee series,
                   10900:        OTbs, am,
                   10901:        cols#80, it#8, lines#24,
                   10902:        bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   10903:        cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   10904:        el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   10905:        kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
                   10906:        kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@,
                   10907:        rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`,
                   10908:
1.1       millert  10909: # 8675, 8686, and bee from Cyrus Rahman
                   10910: # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
                   10911: ha8675|harris 8675,
                   10912:        is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F,
1.11      millert  10913:        kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei,
                   10914:        kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H,
                   10915:        kf8=\177, kf9=\Ee,
                   10916:        use=bee,
1.1       millert  10917: # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
                   10918: # in :is: -- esr)
                   10919: ha8686|harris 8686,
                   10920:        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  10921:        kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003,
                   10922:        kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003,
                   10923:        kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003,
                   10924:        kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(,
                   10925:        use=bee,
1.1       millert  10926:
                   10927: #### Hazeltine
                   10928: #
                   10929: # Hazeltine appears to be out of the terminal business as of 1995.  These
                   10930: # guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
                   10931: # Harris. They have a hazeltine.com domain (but no web page there ) and can
                   10932: # be reached at:
                   10933: #
                   10934: #      Hazeltine
                   10935: #      450 East Pulaski Road
                   10936: #      Greenlawn, New York 11740
                   10937: #
                   10938: # As late as 1993, manuals for the terminal product line could still be
                   10939: # purchased from:
                   10940: #
                   10941: #      TRW Customer Service Division
                   10942: #      15 Law Drive
                   10943: #      P.O. Box 2076
                   10944: #      Fairfield, NJ 07007-2078
                   10945: #
                   10946: # They're now (1998) a subsidiary of General Electric, operating under the
                   10947: # marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
                   10948: # at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
                   10949: #
                   10950:
                   10951: # Since <cuf1> is blank, when you want to erase something you
                   10952: # are out of luck.  You will have to do ^L's a lot to
                   10953: # redraw the screen.  h1000 is untested.  It doesn't work in
                   10954: # vi - this terminal is too dumb for even vi.  (The code is
                   10955: # there but it isn't debugged for this case.)
                   10956: hz1000|hazeltine 1000,
1.11      millert  10957:        OTbs,
                   10958:        cols#80, lines#12,
                   10959:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K,
                   10960:        ind=^J,
1.1       millert  10961: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   10962: hz1420|hazeltine 1420,
1.11      millert  10963:        OTbs, am,
1.1       millert  10964:        cols#80, lines#24,
                   10965:        bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P,
                   10966:        cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S,
                   10967:        ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y,
                   10968:        smso=\E^_,
                   10969: # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
                   10970: # freakout with out-of-range args and tn3270.  No hz since it needs to
                   10971: # receive tildes.
                   10972: hz1500|hazeltine 1500,
1.11      millert  10973:        OTbs, am, hz,
1.1       millert  10974:        cols#80, lines#24,
                   10975:        bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
1.11      millert  10976:        cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%{96}%+%c%p1%{96}%+%c,
                   10977:        cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R,
                   10978:        il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P,
                   10979:        kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_,
1.1       millert  10980: # h1510 assumed to be in sane escape mode.  Else use h1500.
                   10981: # (h1510: early versions of this entry apparently had "<rmso=\E^_>,
                   10982: # <smso=\E^Y>, but these caps were commented out in 8.3; also,
                   10983: # removed incorrect and overridden ":do=^J:" -- esr)
                   10984: hz1510|hazeltine 1510,
1.11      millert  10985:        OTbs, am,
1.1       millert  10986:        cols#80, lines#24,
                   10987:        bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P,
                   10988:        cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X,
                   10989:        el=\E^O, il1=\E^Z, ind=^J,
                   10990: # Hazeltine 1520
                   10991: # The following switch settings are assumed for normal operation:
                   10992: #      FULL            CR              U/L_CASE        ESCAPE
                   10993: #      FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
                   10994: # Other switches may be set for operator convenience or communication
                   10995: # requirements.
                   10996: hz1520|Hazeltine 1520,
                   10997:        OTbs, am, bw, msgr,
                   10998:        cols#80, lines#24,
                   10999:        bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J,
                   11000:        cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
                   11001:        ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H,
                   11002:        kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L,
                   11003:        kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z,
                   11004:        rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_,
                   11005: # This version works with the escape switch off
                   11006: # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
                   11007: hz1520-noesc|hazeltine 1520,
                   11008:        am, hz,
                   11009:        cols#80, lines#24,
                   11010:        bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
1.11      millert  11011:        cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O,
                   11012:        home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_,
1.1       millert  11013: # Note: the h1552 appears to be the first Hazeltine terminal which
                   11014: # is not braindamaged.  It has tildes and backprimes and everything!
                   11015: # Be sure the auto lf/cr switch is set to cr.
                   11016: hz1552|hazeltine 1552,
1.11      millert  11017:        OTbs,
                   11018:        cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue,
                   11019:        lf2=red, lf3=green,
                   11020:        use=vt52,
1.1       millert  11021: hz1552-rv|hazeltine 1552 reverse video,
1.11      millert  11022:        cud1=^J, rmso=\ET, smso=\ES, use=hz1552,
1.1       millert  11023: # Note: h2000 won't work well because of a clash between upper case and ~'s.
                   11024: hz2000|hazeltine 2000,
                   11025:        OTbs, OTnc, am,
                   11026:        cols#74, lines#27,
1.11      millert  11027:        bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J,
                   11028:        cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R,
                   11029:        il1=~\032$<6>, ind=^J, pad=\177,
1.1       millert  11030: # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
                   11031: # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
                   11032: # to work ok. There is one problem though if one types a lot of garbage
                   11033: # characters very fast vi seems not able to keep up and hangs while trying
                   11034: # to insert. That's in insert mode while trying to insert in the middle of
                   11035: # a line. It might be because the Esprit doesn't have insert char and delete
                   11036: # char as a built in function. Vi has to delete to end of line and then
                   11037: # redraw the rest of the line.
1.11      millert  11038: esprit|Hazeltine Esprit I,
                   11039:        OTbs, am, bw,
                   11040:        cols#80, lines#24,
                   11041:        bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K,
                   11042:        cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
                   11043:        ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H,
                   11044:        kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J,
                   11045:        kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J,
                   11046:        kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R,
                   11047:        lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9,
                   11048:        rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_,
1.1       millert  11049: esprit-am|hazeltine esprit auto-margin,
1.11      millert  11050:        am, use=esprit,
1.1       millert  11051: # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
                   11052: # Vi it seems always wants to send a control J for "do" and it turned out
                   11053: # that the terminal would work somewhat if the auto LF/CR was turned off.
                   11054: # (hmod1: removed :dn=~^K: -- esr)
                   11055: hmod1|Hazeltine Modular 1,
                   11056:        OTbs, am, hz,
                   11057:        cols#80, lines#24,
                   11058:        bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
1.11      millert  11059:        cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z,
                   11060:        ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R,
                   11061:        rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_,
1.1       millert  11062: #
                   11063: # Hazeltine Executive 80 Model 30 (1554?)
                   11064: #      from  Will Martin <control@ALMSA-1.ARPA> via BRL
                   11065: # Like VT100, except for different "am" behavior.
                   11066: hazel|exec80|h80|he80|Hazeltine Executive 80,
                   11067:        OTbs, OTpt, am,
                   11068:        cols#80, it#8, lines#24, vt#3,
                   11069:        OTnl=^J, bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   11070:        clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   11071:        cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   11072:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
                   11073:        ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
                   11074:        is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
                   11075:        kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   11076:        kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
1.11      millert  11077:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
                   11078:        rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
1.1       millert  11079:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   11080:        sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>,
                   11081:        smul=\E[4m$<2/>,
                   11082:
1.11      millert  11083: #### IBM
1.1       millert  11084: #
                   11085:
1.11      millert  11086: ibm327x|line mode IBM 3270 style,
                   11087:        gn,
                   11088:        clear=^M^J, el=^M, home=^M,
1.1       millert  11089:
1.11      millert  11090: ibm3101|i3101|IBM 3101-10,
                   11091:        OTbs, am, xon,
                   11092:        cols#80, lines#24,
                   11093:        bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   11094:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   11095:        el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB,
                   11096:        kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH,
                   11097: ibm3151|IBM 3151 display,
                   11098:        is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B,
                   11099:        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%;,
                   11100:        sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B,
                   11101:        use=ibm3162,
                   11102: # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
                   11103: # I've commented out or translated some IBM extensions.
                   11104: ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,
                   11105:        OTbs, am, mir, msgr,
                   11106:        cols#80, it#8, lines#24,
                   11107:        acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370,
                   11108:        bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED,
                   11109:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   11110:        cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J,
                   11111:        invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1,
                   11112:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ,
                   11113:        kdl1=\EO, ked=\EJ, kel=\EI, kend=\E2, kf1=\Ea\r, kf10=\Ej\r,
                   11114:        kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r,
                   11115:        kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r,
                   11116:        kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r,
                   11117:        kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r,
                   11118:        kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r,
                   11119:        kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN,
                   11120:        knp=\EI, kpp=\EL, ktbc=\E 1, mc4=^P^T, mc5=^P^R, rev=\E4A,
                   11121:        rmcup=\E>A, rmso=\E4@, rmul=\E4@,
                   11122:        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<@%;,
                   11123:        sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B,
                   11124:
                   11125: ibm3161-C|IBM 3161-C NLS terminal using cartridge,
                   11126:        rmcup=\E>B, s0ds=\E>B, s1ds=\E>A, smcup=\E>B,
                   11127:        use=ibm3161,
                   11128: ibm3162|IBM 3162 display,
                   11129:        blink=\E4$a, bold=\E4(a, il1=\EN, invis=\E40a, rev=\E4!a,
                   11130:        rmso=\E4>b, rmul=\E4=b, sgr0=\E4@, smso=\E4!a, smul=\E4"a,
                   11131:        use=ibm3161-C,
1.1       millert  11132:
1.11      millert  11133: ibm3164|i3164|IBM 3164,
                   11134:        msgr,
                   11135:        colors#8, pairs#64,
                   11136:        rmcup=\E!9(N\E>B, s0ds=\E>B, s1ds=\E>A,
                   11137:        setb=\E4  %p1%{64}%+%c,
                   11138:        setf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@,
                   11139:        smcup=\E!9/N\E>B, use=ibm3161,
1.1       millert  11140:
1.11      millert  11141: ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display,
                   11142:        am, bw, msgr, xon,
                   11143:        cols#80, it#8, lines#25,
                   11144:        acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
                   11145:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   11146:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   11147:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   11148:        cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
                   11149:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H,
                   11150:        hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
                   11151:        indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z,
                   11152:        kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   11153:        kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q,
                   11154:        kend=\E[146q, kf0=\E[010q, kf1=\E[001q, kf10=\E[010q,
                   11155:        kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q,
                   11156:        kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q,
                   11157:        kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q,
                   11158:        kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q,
                   11159:        kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q,
                   11160:        kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q,
                   11161:        kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q,
                   11162:        kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
                   11163:        kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
                   11164:        kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q,
                   11165:        kri=\E[155q, krmir=\E[4l, rc=\E[u, rev=\E[7m, ri=\E[T,
                   11166:        rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, rmul=\E[m, rs2=\Ec,
                   11167:        sc=\E[s,
                   11168:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m,
                   11169:        sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
1.1       millert  11170:
1.11      millert  11171: ibmaed|IBM Experimental display,
                   11172:        OTbs, am, eo, msgr,
                   11173:        cols#80, it#8, lines#52,
                   11174:        clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC,
                   11175:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   11176:        dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP,
                   11177:        il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   11178:        rmso=\E0, sgr0=\E0, smso=\E0,
                   11179: ibm-apl|apl|IBM apl terminal simulator,
                   11180:        lines#25, use=dm1520,
                   11181: # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
                   11182: # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
                   11183: ibmmono|IBM workstation monochrome,
                   11184:        eslok, hs,
                   11185:        bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL,
                   11186:        invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET,
                   11187:        kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY,
                   11188:        khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG,
                   11189:        lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew,
                   11190:        sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, use=ibm3101,
                   11191: ibmega|IBM Enhanced Color Display,
                   11192:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
                   11193:        nel=^M^J,
                   11194:        use=ibmmono,
                   11195: ibm5154|IBM 5154 Color display,
                   11196:        colors#8, pairs#64,
                   11197:        bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
                   11198: ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline,
                   11199:        rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;,
                   11200:        use=ibmmono,
                   11201: ibmvga-c|IBM VGA display color termcap,
                   11202:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
                   11203:        nel=^M^J,
                   11204:        use=ibmega-c,
                   11205: ibmvga|IBM VGA display,
                   11206:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
                   11207:        nel=^M^J,
                   11208:        use=ibmega,
                   11209: # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
                   11210: rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display,
                   11211:        lines#32,
                   11212:        dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono,
                   11213: ibm6155|IBM 6155 Black & White display,
                   11214:        blink@, bold@, use=ibm5151,
                   11215: # Advanced Monochrome (6153) and Color (6154) Graphics Display:
                   11216: ibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display,
                   11217:        lines#31,
                   11218:        dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono,
                   11219: ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display,
                   11220:        lines#31,
                   11221:        dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmega-c,
                   11222: ibm6154|IBM 6154 Color displays,
                   11223:        blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
                   11224:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
                   11225:        sgr0=\E[0;10m,
                   11226:        use=ibm5154,
                   11227: ibm6153|IBM 6153 Black & White display,
                   11228:        blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
                   11229:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
                   11230:        sgr0=\E[0;10m,
                   11231:        use=ibm5151,
                   11232: ibm6153-90|IBM 6153 Black & White display,
                   11233:        cols#90, lines#36,
                   11234:        blink@, bold@, use=ibm5151,
                   11235: ibm6153-40|IBM 6153 Black & White display,
                   11236:        cols#40, lines#12, use=ibm6153-90,
                   11237: ibm8512|ibm8513|IBM color VGA Terminal,
                   11238:        am, mir, msgr,
                   11239:        cols#80, it#8, lines#25,
                   11240:        acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m,
                   11241:        clear=\E[H\E[2J, cub1=\E[D, cud1=^J, cuf1=\E[C,
                   11242:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
                   11243:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL,
                   11244:        il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A,
                   11245:        kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q,
                   11246:        kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
                   11247:        kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m,
                   11248:        rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l,
                   11249:        rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   11250:        rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m,
                   11251:        smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb,
                   11252:        smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   11253:        use=ibm8503,
                   11254: hft-c|HFT with Color,
                   11255:        colors#8, pairs#64,
                   11256:        acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0,
                   11257:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B,
                   11258:        use=ibm5151,
                   11259: hft-c-old|HFT with Color PC850,
                   11260:        colors#8, pairs#64,
                   11261:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
                   11262: ibm-system1|system1|ibm system/1 computer,
                   11263:        am, xt,
                   11264:        cols#80, lines#24,
                   11265:        bel=^G, clear=^Z, cub1=^H, cuf1=^\,
                   11266:        cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K,
                   11267:        ind=^J,
                   11268: ibm5081|hft|IBM Megapel Color display,
                   11269:        acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B,
                   11270:        s1ds=\E(0, sgr0=\E[0m\E(B,
                   11271:        use=ibm5154,
                   11272: ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display,
                   11273:        eslok, hs,
                   11274:        lines#33,
                   11275:        dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c,
                   11276: ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display,
                   11277:        use=hft-c,
                   11278: ibm8514|IBM 8514/a color VGA display,
                   11279:        eslok, hs,
                   11280:        dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft,
                   11281: ibm8514-c|IBM 8514 color display with standout and underline,
                   11282:        eslok, hs,
                   11283:        lines#41,
                   11284:        cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
                   11285:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,
                   11286:        use=ibmega-c,
1.1       millert  11287:
                   11288: #
1.11      millert  11289: # AIX entries.  IBM ships these with AIX 3.2.5.
                   11290: # AIX extension caps are commented out,
                   11291: # except for box1 which has been translated to an <acsc> string.
1.1       millert  11292: #
1.11      millert  11293: aixterm|IBM Aixterm Terminal Eemulator,
                   11294:        eslok, hs,
                   11295:        acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
                   11296:        fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0,
                   11297:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m,
                   11298:        sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT,
                   11299:        use=ibm6154,
                   11300: aixterm-m|IBM AIXterm Monochrome Terminal Emulator,
                   11301:        eslok, hs,
                   11302:        acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
                   11303:        fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0,
                   11304:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   11305:        sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT,
                   11306:        use=ibm6153,
                   11307: aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator,
                   11308:        eslok, hs,
                   11309:        bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@,
                   11310:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   11311:        tsl=\E[?%p1%dT,
                   11312:        use=ibm6153,
                   11313: jaixterm|IBM Kanji Aixterm Terminal Eemulator,
                   11314:        acsc@, use=aixterm,
                   11315: jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator,
                   11316:        acsc@,
                   11317:        use=aixterm-m,
1.1       millert  11318:
1.11      millert  11319: #### Infoton/General Terminal Corp.
1.1       millert  11320: #
                   11321:
1.11      millert  11322: # gt100 sounds like something DEC would come out with.  Let's hope they don't.
                   11323: i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100),
                   11324:        OTbs, am,
                   11325:        cols#80, lines#24,
                   11326:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   11327:        cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM,
                   11328:        ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL,
                   11329:        ind=^J, rmso=\Ea, smso=\Eb,
                   11330: i400|infoton 400,
                   11331:        OTbs, am,
                   11332:        cols#80, lines#25,
                   11333:        bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   11334:        cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A,
                   11335:        dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N,
                   11336:        il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q,
                   11337: # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
                   11338: addrinfo,
                   11339:        am,
                   11340:        cols#80, lines#24,
                   11341:        bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y,
                   11342:        cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H,
                   11343:        ind=^J, ll=^H^\,
                   11344: # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
                   11345: infoton,
                   11346:        am,
1.1       millert  11347:        cols#80, lines#24,
1.11      millert  11348:        bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\,
                   11349:        ed=^K, ind=^J, ll=^H^\,
1.1       millert  11350:
1.11      millert  11351: # The ICL6402 was actually the Kokusai Display System 6402.
                   11352: # The 6404 was the KDS7372 (color version of the 6402).
1.1       millert  11353: #
1.11      millert  11354: # ICL6404 control codes follow:
1.1       millert  11355: #
1.11      millert  11356: #code            function
                   11357: #~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   11358: #ctrl-A          set SOM position at cursor position
                   11359: #ctrl-G          Bell
                   11360: #ctrl-H          Backspace
                   11361: #ctrl-I          Horiz tab
                   11362: #ctrl-J          Linefeed
                   11363: #ctrl-K          Cursor up
                   11364: #ctrl-L          Cursor right
                   11365: #ctrl-M          Carriage return
                   11366: #ctrl-N          Disable xon/xoff to host
                   11367: #ctrl-O          Enable xon/xoff to host
                   11368: #ctrl-R          Enable bidirectional mode
                   11369: #ctrl-T          Disable bidirectional mode
                   11370: #ctrl-V          Cursor down
                   11371: #ctrl-Z          Clear unprotected data to insert char
                   11372: #ctrl-^          Cursor home
                   11373: #ctrl-_          Newline
1.1       millert  11374: #
1.11      millert  11375: #ESC             lead-in char for multiple character command
1.1       millert  11376: #
1.11      millert  11377: #ESC space R     execute power on sequence
                   11378: #ESC ! p1 p2     define scroll region:
                   11379: #                p1 = scroll top    line:  20h - 37h
                   11380: #                p1 = scroll bottom line:  20h - 37h
                   11381: #ESC "           unlock keyboard
                   11382: #ESC #           lock keyboard
                   11383: #ESC $           Semi-graphics mode on
                   11384: #ESC %           Semi-graphics mode off
                   11385: #ESC &           protect mode on
                   11386: #ESC '           protect mode off
                   11387: #ESC (           write protect mode off (full intensity)
                   11388: #ESC )           write protect mode on (half intensity)
1.1       millert  11389: #
1.11      millert  11390: #ESC *           clear screen
                   11391: #ESC +           clear unprotected data to insert char
1.1       millert  11392: #ESC ,           clear unprotected data to half intensity spaces
                   11393: #ESC - p1 p2 p3 p4     address cursor to page, row, column:
                   11394: #                      p1 = page number  0 - 3
                   11395: #                      p2 = row          20h - 7fh
                   11396: #                      p3 = column (lo)  20h - 7fh
                   11397: #                      p4 = column (hi)  20h - 21h (only 132 col)
                   11398: #ESC . p1        set cursor style:
                   11399: #                p1 = 0  invisible cursor
                   11400: #                p1 = 1  block blinking cursor
                   11401: #                p1 = 2  block steady cursor
                   11402: #                p1 = 3  underline blinking cursor
                   11403: #                p1 = 4  underline steady cursor
                   11404: #ESC /           transmit cursor location (page, row, column)
                   11405: #ESC 0 p1 p2 p3 p4     program edit key:
                   11406: #                      p1 = edit key code: '@'-'S', '`'-'s'
                   11407: #                      p2 p3 p4 = program data (3 bytes)
                   11408: #
                   11409: #ESC 1           set tab
                   11410: #ESC 2           clear tab at cursor
                   11411: #ESC 3           clear all tabs
                   11412: #ESC 4           send unprotect line to cursor
                   11413: #ESC 5           send unprotect page to cursor
                   11414: #ESC 6           send line to cursor
                   11415: #ESC 7           send page to cursor
                   11416: #ESC 8 n         set scroll mode:
                   11417: #                n = 0   set jump scroll
                   11418: #                n = 1   set smooth scroll
                   11419: #ESC 9 n         control display:
                   11420: #                n = 0   display off
                   11421: #                n = 1   display on
                   11422: #ESC :           clear unprotected data to null
                   11423: #ESC ;           clear unprotected data to insert char
                   11424: #
                   11425: #ESC <           keyclick on
                   11426: #ESC = p1 p2     address cursor to row, column
                   11427: #                p1 = row          20h - 7fh
                   11428: #                p2 = column (lo)  20h - 7fh
                   11429: #                p3 = column (hi)  20h - 21h (only 132 col)
                   11430: #ESC >           keyclick off
                   11431: #ESC ?           transmit cursor location (row, column)
                   11432: #
                   11433: #ESC @           copy print mode on
                   11434: #ESC A           copy print mode off
                   11435: #ESC B           block mode on
                   11436: #ESC C           block mode off (conversation mode)
                   11437: #ESC D F         set full duplex
                   11438: #ESC D H         set half duplex
                   11439: #ESC E           line insert
                   11440: #ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
                   11441: #                0 = black, 1 = red,     2 = green, 3 = yellow
                   11442: #                4 = blue,  5 = magenta, 6 = cyan,  7 = white
                   11443: #ESC G n         set serial field attribute (n = 30h - 3Fh)
                   11444: #ESC H n         full graphics mode:
                   11445: #                n = 0  exit full graphics mode
                   11446: #                n = 1  enter full graphics mode
                   11447: #ESC I           back tab
                   11448: #ESC J           back page
                   11449: #ESC K           forward page
                   11450: #
                   11451: #ESC L           unformatted page print
                   11452: #ESC M L         move window left  (132 col mode only)
                   11453: #ESC M R         move window right (132 col mode only)
                   11454: #ESC N           set page edit (clear line edit)
                   11455: #ESC O           set line edit (clear page edit)
                   11456: #ESC P           formatted page print
                   11457: #ESC Q           character insert
                   11458: #ESC R           line delete
                   11459: #ESC S           send message unprotected only
                   11460: #ESC T           erase line to insert char
                   11461: #ESC U           set monitor mode   (see ESC X, ESC u)
                   11462: #
                   11463: #ESC V n         select video attribute mode:
                   11464: #                n = 0   serial field attribute mode
                   11465: #                n = 1   parallel character attribute mode
                   11466: #ESC V 2 n       define line attribute:
                   11467: #                n = 0   single width single height
                   11468: #                n = 1   single width double height
                   11469: #                n = 2   double width single height
                   11470: #                n = 3   double width double height
                   11471: #ESC V 3 n       select character font:
                   11472: #                n = 0   system font
                   11473: #                n = 1   user defined font
                   11474: #ESC V 4 n       select screen mode:
                   11475: #                n = 0   page screen mode
                   11476: #                n = 1   virtual screen mode
                   11477: #ESC V 5 n       control mouse mode:
                   11478: #                n = 0   disable mouse
                   11479: #                n = 1   enable sample mode
                   11480: #                n = 2   send mouse information
                   11481: #                n = 3   enable request mode
                   11482: #ESC W           character delete
                   11483: #ESC X           clear monitor mode (see ESC U, ESC u)
                   11484: #ESC Y           erase page to insert char
                   11485: #
                   11486: #ESC Z n         send user/status line:
                   11487: #                n = 0   send user line
                   11488: #                n = 1   send status line
                   11489: #                n = 2   send terminal ID
                   11490: #ESC [ p1 p2 p3  set character attribute (parallel char mode):
                   11491: #                p1: 0 = normal
                   11492: #                    1 = blank
                   11493: #                    2 = blink
                   11494: #                    3 = blink blank (= blank)
                   11495: #                    4 = reverse
                   11496: #                    5 = reverse blank
                   11497: #                    6 = reverse blink
                   11498: #                    7 = reverse blink blank (= reverse blank)
                   11499: #                    8 = underline
                   11500: #                    9 = underline blank
                   11501: #                    : = underline blink
                   11502: #                    ; = underline blink blank
                   11503: #                    < = reverse underline
                   11504: #                    = = reverse underline blank
                   11505: #                    > = reverse underline blink
                   11506: #                    ? = reverse underline blink blank
                   11507: #                p2, p3: f/grnd, b/grnd colour
                   11508: #                (see ESC F for colours)
                   11509: #                use ZZ for mono, eg.
                   11510: #                    ESC [ 0 Z Z for normal
                   11511: #                    ESC [ 4 Z Z for inverse etc.
                   11512: #
                   11513: #ESC \ n         set page size:
                   11514: #                n = 1   24 lines/page
                   11515: #                n = 2   48 lines/page
                   11516: #                n = 3   72 lines/page
                   11517: #                n = 4   96 lines/page
                   11518: #ESC ] n         set Wordstar mode:
                   11519: #                n = 0   normal (KDS7372) mode
                   11520: #                n = 1   Wordstar mode
                   11521: #
                   11522: #ESC b           set foreground colour screen
                   11523: #
                   11524: #ESC c n         enter self-test mode:
                   11525: #                n = 0   exit self test mode
                   11526: #                n = 1   ROM test
                   11527: #                n = 2   RAM test
                   11528: #                n = 3   NVRAM test
                   11529: #                n = 4   screen display test
                   11530: #                n = 5   main/printer port test
                   11531: #                n = 6   mouse port test
                   11532: #                n = 7   graphics board test
                   11533: #                n = 8   graphics memory test
                   11534: #                n = 9   display all 'E'
                   11535: #                n = :   display all 'H'
                   11536: #ESC d           set background colour screen
                   11537: #
                   11538: #ESC e n         program insert char (n = insert char)
                   11539: #ESC f text CR   load user status line with 'text'
                   11540: #
                   11541: #ESC g           display user status line on 25th line
                   11542: #ESC h           display system status line on 25th line
                   11543: #ESC i           tab
                   11544: #ESC j           reverse linefeed
                   11545: #ESC k n         duplex/local edit mode:
                   11546: #                n = 0   duplex edit mode
                   11547: #                n = 1   local edit mode
                   11548: #ESC l n         select virtual screen:
                   11549: #                n = 0   screen 1
                   11550: #                n = 1   screen 2
                   11551: #ESC m           save current config to NVRAM
                   11552: #ESC n p1        select display screen:
                   11553: #                p1 = 0  screen 1
                   11554: #                p1 = 1  screen 2
                   11555: #                p1 = 2  screen 3
                   11556: #                p1 = 3  screen 4
                   11557: #ESC o p1 p2     set characters/line and attribute:
                   11558: #                p1 = 0  80 chars/line
                   11559: #
                   11560: #ESC o p1 p2     set characters/line and attribute:
                   11561: #                p1 = 0  80 chars/line
                   11562: #                p1 = 1  132 chars/line
                   11563: #                p2 = 0  single width single height
                   11564: #                p2 = 1  single width double height
                   11565: #                p2 = 2  double width single height
                   11566: #                p2 = 3  double width double height
                   11567: #
                   11568: #ESC q           insert mode on
                   11569: #ESC r           edit mode on
                   11570: #ESC s           send message all
                   11571: #ESC t           erase line to null
                   11572: #ESC u           clear monitor mode (see ESC U, ESC X)
                   11573: #ESC v           autopage mode on
                   11574: #ESC w           autopage mode off
                   11575: #ESC x p1 p2 p3  define delimiter code...
                   11576: #ESC y           erase page to null
                   11577: #
                   11578: #ESC z 2 p1 p2 p3 p4   draw quadrangle:
                   11579: #                      p1 = starting row
                   11580: #                      p2 = starting column
                   11581: #                      p3 = end row
                   11582: #                      p4 = end column
                   11583: #
                   11584: #ESC { p1 p2 p3 p4     configure main port
                   11585: #                      (baud, stop bits, parity, word length)
                   11586: #
                   11587: #ESC | p1 p2 text Ctrl-Y    program function key with 'text':
                   11588: #                        p1 = function key code:
                   11589: #                             '1' - ';'  normal f1- f11
                   11590: #                             '<' - 'F'  shifted f1 - f11
                   11591: #                        p2 = program mode:
                   11592: #                             1 = FDX
                   11593: #                             2 = LOC
                   11594: #                             3 = HDX
                   11595: #                        Ctrl-Y = terminator
                   11596: #                        (use Ctrl-P to escape ^P, ^Y )
                   11597: #
                   11598: #ESC } p1 p2 p3 p4     configure printer port
                   11599: #                      (baud, stop bits, parity, word length)
                   11600: #ESC ~           send system status
                   11601: #
                   11602: # Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
                   11603: #
                   11604: # Entry is by esr going solely on above information and is UNTESTED.
                   11605: # This actually looks a lot like a Televideo 9xx.
                   11606: # This entry uses page 0 and is monochrome; I'm not brave enough to try
                   11607: # to make color work without a test terminal.  The <am> capability is a guess.
                   11608: # The initialization string sets conversation mode, blinking underline cursor,
                   11609: # full duplex, parallel attribute mode, display user status line, white
                   11610: # foreground, black background, normal highlight.
                   11611: #
1.11      millert  11612: icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372,
                   11613:        OTbs, am, hs,
                   11614:        cols#80, lines#24,
                   11615:        bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*,
                   11616:        cnorm=\E.3, cr=^M,
                   11617:        csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L,
                   11618:        cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c,
                   11619:        cuu1=^K, cvvis=\E.1, dch=\EW, dl1=\ER, home=^^, ht=^I, hts=\E1,
                   11620:        il1=\EE, invis=\E[1ZZ, is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ,
                   11621:        nel=^_, rev=\E[4ZZ, rmir=\Er,
                   11622:        rmso=\E[%gh%{4}%^%Ph%gh%dZZ,
                   11623:        rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1,
                   11624:        sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ,
                   11625:        sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3,
                   11626: icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols,
                   11627:        rs2=\Eo1,
                   11628:        use=icl6404,
1.1       millert  11629:
                   11630: #### Interactive Systems Corp
                   11631: #
                   11632: # ISC used to sell OEMed and customized hardware to support ISC UNIX.
                   11633: # ISC UNIX still exists in 1995, but ISC itself is no more; they got
                   11634: # bought out by Sun.
                   11635: #
                   11636:
                   11637: # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
                   11638: # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
                   11639: # ":le=^_:" later overridden -- esr)
                   11640: intext|Interactive Systems Corporation modified owl 1200,
1.11      millert  11641:        OTbs, am,
1.1       millert  11642:        cols#80, it#8, lines#24, xmc#1,
1.11      millert  11643:        bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J,
                   11644:        cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\,
                   11645:        dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>,
                   11646:        el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H,
                   11647:        kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r,
                   11648:        kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r,
                   11649:        kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<,
                   11650:        rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%,
                   11651:        smso=^V$\,,
1.1       millert  11652: intext2|intextii|INTERACTIVE modified owl 1251,
                   11653:        am, bw, ul,
                   11654:        cols#80, lines#24, xmc#0,
1.11      millert  11655:        bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B,
                   11656:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   11657:        dl1=\E[M, ed=\E[J, el=\E[K,
1.1       millert  11658:        flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u,
1.11      millert  11659:        hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S,
                   11660:        kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r,
                   11661:        kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r,
                   11662:        kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r,
                   11663:        khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO,
                   11664:        lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT,
                   11665:        lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D,
                   11666:        smul=\E[18 D,
1.1       millert  11667:
                   11668: #### Kimtron (abm, kt)
                   11669: #
                   11670: # Kimtron seems to be history, but as March 1998 these people are still
                   11671: # offering repair services for Kimtron equipment:
                   11672: #
                   11673: #    Com/Pair Monitor Service
                   11674: #    1105 N. Cliff Ave.
                   11675: #    Sioux Falls, South Dakota 57103
                   11676: #
                   11677: #    WATS voice:  1-800/398-4946
                   11678: #    POTS   fax: +1 605/338-8709
                   11679: #    POTS voice: +1 605/338-9650
                   11680: #         Email: <compair@sd.cybernex.net>
                   11681: #  Internet/Web: <http://www.com-pair.com>
                   11682: #
                   11683: # Kimtron entries include (undocumented) codes for: enter dim mode,
                   11684: # enter bold mode, enter reverse mode, turn off all attributes.
                   11685: #
                   11686:
                   11687: # Kimtron ABM 85 added by Dual Systems
                   11688: # (abm85: removed duplicated ":kd=^J:" -- esr)
                   11689: abm85|Kimtron ABM 85,
1.11      millert  11690:        OTbs, am, bw, msgr,
1.1       millert  11691:        cols#80, it#8, lines#24, xmc#1,
                   11692:        cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L,
                   11693:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  11694:        dl1=\ER, ed=\Ey, el=\Et, ht=^I,
1.1       millert  11695:        if=/usr/share/tabset/stdcrt, il1=\EE,
1.11      millert  11696:        is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H,
                   11697:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek,
                   11698:        rmul=\Em, smir=\EQ, smso=\Ej, smul=\El,
1.1       millert  11699: # Kimtron ABM 85H added by Dual Systems.
                   11700: # Some notes about the abm85h entries:
                   11701: # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
                   11702: #    firmware revs prior to SP51
                   11703: # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
                   11704: #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
                   11705: #    in some places and NOT software settable i.e., <is2> can't fix it)
                   11706: # 3) In 85h mode, the arrow keys and special functions transmit when
                   11707: #    the terminal is in dup-edit, and work only locally in local-edit.
                   11708: #    Vi won't swallow `del char' for instance, but <smcup> turns on
                   11709: #    dup-edit anyway so that the arrow keys will work right. If the
                   11710: #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
                   11711: #    <is2>.  Note that 920E mode does not have software commands to toggle
                   11712: #    between dup and local edit, so you get whatever was set last on the
                   11713: #    terminal.
                   11714: # 4) <flash> attribute is nice, but seems too slow to work correctly
                   11715: #    (\Eb<pad>\Ed)
                   11716: # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
                   11717: #    are selected, the <xmc@> entry should be removed.
                   11718: # 6) auto new-line should be on (selectable from setup mode only)
                   11719: #
                   11720: # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
                   11721: abm85h|Kimtron ABM 85H native mode,
1.11      millert  11722:        hs,
                   11723:        xmc@,
                   11724:        bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@,
                   11725:        fsl=^M, invis@,
1.1       millert  11726:        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.11      millert  11727:        kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef,
                   11728:        use=adm+sgr, use=abm85,
1.1       millert  11729: abm85e|Kimtron ABM 85H in 920E mode,
                   11730:        xmc@,
                   11731:        bel=^G, dim=\E), flash@,
                   11732:        is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em,
1.11      millert  11733:        rev=\Ej, sgr0=\E(\Ek, smir=\EZ,
                   11734:        use=abm85,
1.1       millert  11735: abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.,
                   11736:        xmc@,
1.11      millert  11737:        bel=^G, dim=\E),
1.1       millert  11738:        is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF,
1.11      millert  11739:        rev=\Ej, sgr0=\E(\Ek, smir=\EZ,
                   11740:        use=abm85,
1.1       millert  11741: # From: <malman@bbn-vax.arpa>
                   11742: # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
                   11743: kt7|kimtron model kt-7,
1.11      millert  11744:        OTbs, am,
1.1       millert  11745:        cols#80, it#8, lines#24,
                   11746:        cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L,
                   11747:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  11748:        dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
                   11749:        if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E",
                   11750:        kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L,
                   11751:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r,
                   11752:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   11753:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   11754:        kich1=\EQ, kil1=\EE, tsl=\Ef,
                   11755:        use=adm+sgr,
1.1       millert  11756: # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
                   11757: # other kt7 entry and the adjacent key capabilities).  Removed EE which is
                   11758: # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
                   11759: # but we can't figure out what.
                   11760: kt7ix|kimtron model kt-7 or 70 in IX mode,
                   11761:        am, bw,
                   11762:        cols#80, it#8, lines#25,
1.11      millert  11763:        acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI,
1.1       millert  11764:        civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V,
                   11765:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   11766:        dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M,
                   11767:        home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J,
                   11768:        is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*,
                   11769:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER,
                   11770:        ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
                   11771:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   11772:        kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ,
                   11773:        nel=^M^J, pulse=\EK, rmacs=\E%, rmir=, rmso=\EG0, rmul=\EG0,
                   11774:        sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef,
                   11775:
                   11776: #### Microdata/MDIS
                   11777: #
                   11778: # This was a line of terminals made by McDonnell-Douglas Information Systems.
                   11779: # These entries come direct from MDIS documentation.  I have edited them only
                   11780: # to move primary names of the form p[0-9] * to aliases, and to comment out
                   11781: # <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have
                   11782: # also removed the change history; the last version indicates this is
                   11783: # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
                   11784: #
                   11785:
                   11786: # McDonnell Information Systems Terminal Family History
                   11787: # =========================================
                   11788: #
                   11789: # Prism-1, Prism-2 and P99:
                   11790: #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
                   11791: #
                   11792: # Prism-4 and Prism-5:
                   11793: #       Slightly less ancient range of Microdata terminals. Follow-on from
                   11794: #       Prism-2, but with many enhancements. P5 has eight display pages.
                   11795: #
                   11796: # Prism-6:
                   11797: #       A special terminal for use with library systems, primarily in Germany.
                   11798: #       Limited numbers. Similar functionality to P5 (except attributes?).
                   11799: #
                   11800: # Prism-7, Prism-8 and Prism-9:
                   11801: #       More recent range of MDIS terminals, in which P7 and P8
                   11802: #       replace the P4 & P5, with added functionality, and P9 is the flagship.
                   11803: #       The P9 has two emulation modes - P8 and ANSI - and includes a
                   11804: #       large number of the DEC VT220 control sequences. Both
                   11805: #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
                   11806: #
                   11807: # Prism-12 and Prism-14:
                   11808: #       Latest range, functionally very similar to the P9.  The P14 has a
                   11809: #       black-on-white overscanning screen.
                   11810: #
                   11811: # The terminfo definitions given here are:
                   11812: #
                   11813: # p2      - Prism-2 (or Prism-1 or P99).
                   11814: #
                   11815: # p4      - Prism-4 (and older P7s & P8s).
                   11816: # p5      - Prism-5 (or Prism-6).
                   11817: #
                   11818: # p7      - Prism-7.
                   11819: # p8      - Prism-8 (in national or multinational mode).
                   11820: # p8-w    - 132 column version of p8.
                   11821: # p9      - Prism-9 in ANSI mode.
                   11822: # p9-w    - 132 column version of p9.
                   11823: # p9-8    - Prism-9 in Prism-8 emulation mode.
                   11824: # p9-8-w  - As p9-8, but with 132 columns.
                   11825: #
                   11826: # p12     - Prism-12 in ANSI mode.
                   11827: # p12-w   - 132 column version of p12.
                   11828: # p12-m   - Prism-12 in MDC emulation mode.
                   11829: # p12-m-w - As p12-m, but with 132 columns.
                   11830: # p14     - Prism-14 in ANSI mode.
                   11831: # p14-w   - 132 column version of p14.
                   11832: # p14-m   - Prism-14 in MDC emulation mode.
                   11833: # p14-m-w - As p14-m, but with 132 columns.
                   11834: #
                   11835: # p2: Prism-2
                   11836: # -----------
                   11837: #
                   11838: # Includes Prism-1 and basic P99 without SP or MP loaded.
                   11839: # The simplest form of Prism-type terminal.
                   11840: # Basic cursor movement and clearing operations only.
                   11841: # No video attributes.
                   11842: # Notes:
                   11843: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
                   11844: #  value up, followed by backspace.
                   11845: #
1.11      millert  11846: prism2|MDC Prism-2,
                   11847:        am, bw, msgr,
                   11848:        cols#80, lines#24,
                   11849:        bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   11850:        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,
                   11851:        cuu1=^Z, ed=\EJ, el=\EK, home=^A,
                   11852:        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
                   11853:        ind=^J, kbs=^H, khome=^A, vpa=\013%p1%{32}%+%c,
1.1       millert  11854:
                   11855: # p4: Prism-4
                   11856: # -----------
                   11857: #
                   11858: # Includes early versions of P7 & P8.
                   11859: # Basic family definition for most Prisms (except P2 and P9 ANSI).
                   11860: # Notes:
                   11861: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
                   11862: #  value up, followed by backspace.
                   11863: #  Cursor key definitions removed because they interfere with vi and csh keys.
                   11864: #
1.11      millert  11865: prism4|p4|P4|MDC Prism-4,
                   11866:        am, bw, hs, mc5i, msgr,
                   11867:        cols#80, lines#24, wsl#72, xmc#1,
                   11868:        bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>,
                   11869:        cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   11870:        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,
                   11871:        cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK,
                   11872:        fsl=^]\345, home=^A,
                   11873:        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
                   11874:        ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER,
                   11875:        rev=^CD, rmso=^C\s, rmul=^C\s,
                   11876:        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%;,
                   11877:        sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343,
                   11878:        vpa=\013%p1%{32}%+%c,
1.1       millert  11879:
                   11880: # p5: Prism-5
                   11881: # -----------
                   11882: #
                   11883: # Same definition as p4. Includes Prism-6 (not tested!).
                   11884: # Does not use any multi-page features.
                   11885: #
1.11      millert  11886: prism5|p5|P5|MDC Prism-5,
                   11887:        use=p4,
1.1       millert  11888:
                   11889: # p7: Prism-7
                   11890: # -----------
                   11891: #
                   11892: # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
                   11893: # Notes:
                   11894: #  Use p4 for very early models of P7.
                   11895: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   11896: #
1.11      millert  11897: prism7|p7|P7|MDC Prism-7,
                   11898:        cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4,
1.1       millert  11899:
                   11900: # p8: Prism-8
                   11901: # -----------
                   11902: #
                   11903: # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
                   11904: # Supports national and multinational character sets.
                   11905: # Notes:
                   11906: #  Alternate char set operations only work in multinational mode.
                   11907: #  Use p4 for very early models of P8.
                   11908: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   11909: # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
                   11910: #
1.11      millert  11911: prism8|p8|P8|MDC Prism-8,
                   11912:        cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h,
                   11913:        vpa=\E[%i%p1%dd,
                   11914:        use=p4,
1.1       millert  11915:
                   11916: # p8-w: Prism-8 in 132 column mode
                   11917: # --------------------------------
                   11918: #
                   11919: # 'Wide' version of p8.
                   11920: # Notes:
                   11921: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   11922: #
1.11      millert  11923: prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode,
                   11924:        cols#132,
                   11925:        is2=\E[<12h\E[<14h, use=p8,
1.1       millert  11926:
                   11927: # p9: Prism-9 in ANSI mode
                   11928: # -------------------------
                   11929: #
                   11930: # The "flagship" model of this generation of terminals.
                   11931: # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
                   11932: # Notes:
                   11933: #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
                   11934: #  Fixes to deal with terminal firmware bugs:
                   11935: #  . 'ri' uses insert-line since rev index doesn't always
                   11936: #  . 'sgr0' has extra '0' since esc[m fails
                   11937: #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
                   11938: #  Not covered in the current definition:
                   11939: #  . Labels
                   11940: #  . Programming Fn keys
                   11941: #  . Graphic characters (defaults correctly to vt100)
                   11942: #  . Padding values (sets xon)
                   11943: # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
                   11944: #
1.11      millert  11945: prism9|p9|P9|MDC Prism-9 in ANSII mode,
                   11946:        am, bw, hs, mc5i, msgr, xenl, xon,
                   11947:        cols#80, it#8, lines#24, vt#3, wsl#72,
                   11948:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l,
                   11949:        clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v,
                   11950:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   11951:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   11952:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   11953:        dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX,
                   11954:        ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`,
                   11955:        ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   11956:        is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D,
                   11957:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~,
                   11958:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   11959:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   11960:        kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
                   11961:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   11962:        khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J,
                   11963:        prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m,
                   11964:        ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   11965:        rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N,
                   11966:        sc=\E[%y,
                   11967:        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%;,
                   11968:        sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   11969:        tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd,
1.1       millert  11970:
                   11971: # p9-w: Prism-9 in 132 column mode
                   11972: # --------------------------------
                   11973: #
                   11974: # 'Wide' version of p9.
                   11975: #
1.11      millert  11976: prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode,
                   11977:        cols#132,
                   11978:        is2=\E[&p\E[<12l\E F\E[<14h,
                   11979:        rs2=\E[&p\E[<12l\E F\E[<14h, use=p9,
1.1       millert  11980:
                   11981: # p9-8: Prism-9 in P8 mode
                   11982: # ------------------------
                   11983: #
                   11984: # P9 terminal in P8 emulation mode.
                   11985: # Similar to p8 definition.
                   11986: # Insertion and deletion operations possible.
                   11987: #
1.11      millert  11988: prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode,
                   11989:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   11990:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8,
1.1       millert  11991:
                   11992: # p9-8-w: Prism-9 in P8 and 132 column modes
                   11993: # ------------------------------------------
                   11994: #
                   11995: # P9 terminal in P8 emulation mode and 132 column mode.
                   11996: #
1.11      millert  11997: prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode,
                   11998:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   11999:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w,
1.1       millert  12000:
                   12001: # p12: Prism-12 in ANSI mode
                   12002: # ---------------------------
                   12003: #
                   12004: # See p9 definition.
                   12005: #
1.11      millert  12006: prism12|p12|P12|MDC Prism-12 in ANSI mode,
                   12007:        use=p9,
1.1       millert  12008:
                   12009: # p12-w: Prism-12 in 132 column mode
                   12010: # ----------------------------------
                   12011: #
                   12012: # 'Wide' version of p12.
                   12013: #
1.11      millert  12014: prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode,
                   12015:        use=p9-w,
1.1       millert  12016:
                   12017: # p12-m: Prism-12 in MDC emulation mode
                   12018: # -------------------------------------
                   12019: #
                   12020: # P12 terminal in MDC emulation mode.
                   12021: # Similar to p8 definition.
                   12022: # Insertion and deletion operations possible.
                   12023: #
1.11      millert  12024: prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode,
                   12025:        use=p9-8,
1.1       millert  12026:
                   12027: # p12-m-w: Prism-12 in MDC emulation and 132 column modes
                   12028: # -------------------------------------------------------
                   12029: #
                   12030: # P12 terminal in MDC emulation mode and 132 column mode.
                   12031: #
1.11      millert  12032: prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode,
                   12033:        use=p9-8-w,
1.1       millert  12034:
                   12035: # p14: Prism-14 in ANSII mode
                   12036: # ---------------------------
                   12037: #
                   12038: # See p9 definition.
                   12039: #
1.11      millert  12040: prism14|p14|P14|MDC Prism-14 in ANSII mode,
                   12041:        use=p9,
1.1       millert  12042:
                   12043: # p14-w: Prism-14 in 132 column mode
                   12044: # ----------------------------------
                   12045: #
                   12046: # 'Wide' version of p14.
                   12047: #
1.11      millert  12048: prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode,
                   12049:        use=p9-w,
1.1       millert  12050:
                   12051: # p14-m: Prism-14 in MDC emulation mode
                   12052: # -------------------------------------
                   12053: #
                   12054: # P14 terminal in MDC emulation mode.
                   12055: # Similar to p8 definition.
                   12056: # Insertion and deletion operations possible.
                   12057: #
1.11      millert  12058: prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode,
                   12059:        use=p9-8,
1.1       millert  12060:
                   12061: # p14-m-w: Prism-14 in MDC emulation and 132 column modes
                   12062: # -------------------------------------------------------
                   12063: #
                   12064: # P14 terminal in MDC emulation mode and 132 column mode.
                   12065: #
1.11      millert  12066: prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode,
                   12067:        use=p9-8-w,
1.1       millert  12068:
                   12069: # End of McDonnell Information Systems Prism definitions
                   12070:
                   12071: # These things were popular in the Pick database community at one time
                   12072: # From: George Land <georgeland@aol.com> 24 Sep 1996
1.11      millert  12073: p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition,
                   12074:        am, bw, hs, mir,
                   12075:        cols#80, lines#24, ma#1, wsl#78, xmc#1,
                   12076:        bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F,
                   12077:        cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P,
                   12078:        ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U,
                   12079:        kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ,
                   12080:        kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r,
                   12081:        kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r,
                   12082:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   12083:        kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2,
                   12084:        lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M,
                   12085:        pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE,
                   12086:        smul=^C0,
1.1       millert  12087:
                   12088: #### Microterm (act, mime)
                   12089: #
                   12090: # The mime1 entries refer to the Microterm Mime I or Mime II.
                   12091: # The default mime is assumed to be in enhanced act iv mode.
                   12092: #
                   12093:
                   12094: # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
                   12095: # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
                   12096: # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
                   12097: # since Sytek insists ^S means xoff.
                   12098: # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
                   12099: act4|microterm|microterm act iv,
1.11      millert  12100:        OTbs, am,
1.1       millert  12101:        cols#80, lines#24,
1.11      millert  12102:        bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X,
                   12103:        cup=\024%p1%{24}%+%c%p2%p2%?%{47}%>%t%{48}%+%;%{80}%+%c,
                   12104:        cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>,
                   12105:        ed=\037$<2.2*/>, el=\036$<.1*/>, home=^],
                   12106:        il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X,
                   12107:        kcuu1=^Z,
1.1       millert  12108: # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
                   12109: # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
                   12110: # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
                   12111: act5|microterm5|microterm act v,
1.11      millert  12112:        kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA, use=act4,
1.1       millert  12113: # Mimes using brightness for standout.  Half bright is really dim unless
                   12114: # you turn up the brightness so far that lines show up on the screen.
                   12115: mime-fb|full bright mime1,
1.11      millert  12116:        is2=^S\E, rmso=^S, smso=^Y, use=mime,
1.1       millert  12117: mime-hb|half bright mime1,
1.11      millert  12118:        is2=^Y\E, rmso=^Y, smso=^S, use=mime,
1.1       millert  12119: # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
                   12120: # the more plausible ":do=^J:" -- esr)
                   12121: # uc was at one time disabled to get around a curses bug, be wary of it
                   12122: mime|mime1|mime2|mimei|mimeii|microterm mime1,
1.11      millert  12123:        OTbs, am,
1.1       millert  12124:        cols#80, it#8, lines#24, vt#9,
                   12125:        bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X,
1.11      millert  12126:        cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%{48}%+%;%{80}%+%c,
                   12127:        cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>,
                   12128:        il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K,
                   12129:        kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U,
1.1       millert  12130: # These termcaps (for mime2a) put the terminal in low intensity mode
                   12131: # since high intensity mode is so obnoxious.
                   12132: mime2a-s|microterm mime2a (emulating an enhanced soroc iq120),
1.11      millert  12133:        OTbs, am,
1.1       millert  12134:        cols#80, lines#24,
                   12135:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
1.11      millert  12136:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED,
                   12137:        dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^,
1.1       millert  12138:        il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J,
1.11      millert  12139:        kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7,
                   12140:        smir=\EE, smso=\E\:, smul=\E6,
1.1       millert  12141: # This is the preferred mode (but ^X can't be used as a kill character)
                   12142: mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52),
1.11      millert  12143:        OTbs,
                   12144:        cols#80, it#8, lines#24,
1.1       millert  12145:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   12146:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N,
                   12147:        dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I,
1.11      millert  12148:        il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED,
                   12149:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9,
1.1       millert  12150:        rmul=\E5, smir=^O, smso=\E8, smul=\E4,
                   12151: # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
                   12152: mime3a|mime1 emulating 3a,
1.11      millert  12153:        am@,
                   12154:        kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a,
1.1       millert  12155: mime3ax|mime-3ax|mime1 emulating enhanced 3a,
1.11      millert  12156:        it#8,
                   12157:        dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>, use=mime3a,
1.1       millert  12158: # Wed Mar  9 18:53:21 1983
                   12159: # We run our terminals at 2400 baud, so there might be some timing problems at
                   12160: # higher speeds. The major improvements in this model are the terminal now
                   12161: # scrolls down and insert mode works without redrawing the rest of the line
                   12162: # to the right of the cursor. This is done with a bit of a kludge using the
                   12163: # exit graphics mode to get out of insert, but it does not appear to hurt
                   12164: # anything when using vi at least. If you have some users using act4s with
                   12165: # programs that use curses and graphics mode this could be a problem.
1.11      millert  12166: mime314|mm314|mime 314,
                   12167:        am,
                   12168:        cols#80, lines#24,
                   12169:        clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z,
                   12170:        dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H,
                   12171:        kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S,
1.1       millert  12172: # Microterm mime 340 from University of Wisconsin
                   12173: mm340|mime340|mime 340,
                   12174:        cols#80, lines#24,
                   12175:        clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   12176:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   12177:        dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>,
1.11      millert  12178:        el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,,
                   12179:        kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J,
1.1       millert  12180: # This came from University of Wisconsin marked "astro termcap for jooss".
                   12181: # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
                   12182: # also added <rmam>/<smam> based  on the init string -- esr)
                   12183: mt4520-rv|micro-term 4520 reverse video,
                   12184:        am, hs, msgr, xenl, xon,
                   12185:        cols#80, it#8, lines#24, wsl#80,
                   12186:        bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M,
                   12187:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   12188:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   12189:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1.11      millert  12190:        cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   12191:        dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h,
                   12192:        fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
1.1       millert  12193:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   12194:        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  12195:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   12196:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
                   12197:        ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100,
                   12198:        ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m,
1.1       millert  12199:        rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J,
1.11      millert  12200:        sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
                   12201:        tbc=\E[g, tsl=\E[25;1H,
1.1       millert  12202:
                   12203: # Fri Aug  5 08:11:57 1983
                   12204: # This entry works for the ergo 4000 with the following setups:
                   12205: # ansi,wraparound,newline disabled, xon/xoff disabled in both
                   12206: # setup a & c.
                   12207: #
                   12208: # WARNING!!! There are multiple versions of ERGO 4000 microcode
                   12209: # Be advised that very early versions DO NOT WORK RIGHT !!
                   12210: # Microterm does have a ROM exchange program- use it or lose big
                   12211: # (ergo400: added <rmam>/<smam> based on the init string -- esr)
1.11      millert  12212: ergo4000|microterm ergo 4000,
                   12213:        da, db, msgr,
                   12214:        cols#80, lines#66,
                   12215:        bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B,
                   12216:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   12217:        dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>,
                   12218:        el=\E[0K$<13>, ht=^I, il=\E[1L$<5*>, ind=\ED$<20*>,
                   12219:        is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>,
                   12220:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   12221:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3,
                   12222:        lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l,
                   12223:        rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>,
                   12224:        smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>,
                   12225:        smso=\E[7m$<20>,
1.1       millert  12226:
                   12227: #### NCR
                   12228: #
                   12229: # NCR's terminal group was merged with AT&T's when AT&T bought the company.
                   12230: # For what happened to that group, see the ADDS section.
                   12231: #
                   12232: # There is an NCR4103 terminal that's just a re-badged Wyse-50.
                   12233: #
                   12234:
                   12235: # The following vendor-supplied termcaps were captured from the Boundless
                   12236: # Technologies site, 8 March 1998.  I removed all-upper-case names that were
                   12237: # identical, except for case, to lower-case ones.  I also uncommented the acsc
                   12238: # capabilities.X
                   12239: #
1.11      millert  12240: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
1.1       millert  12241: # DEC vt200/300 with color capabilities added.
1.11      millert  12242: ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
                   12243:        colors#8, pairs#64,
                   12244:        op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300an,
                   12245: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
1.1       millert  12246: # DEC vt200/300 with color capabilities added.
1.11      millert  12247: ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
                   12248:        colors#8, pairs#64,
                   12249:        op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300wan,
                   12250: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a DEC
                   12251: # vt200/300 with color capabilities added.
                   12252: ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard,
                   12253:        colors#8, pairs#64,
                   12254:        op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300pp,
1.1       millert  12255: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
                   12256: # DEC vt200/300 with color capabilities added.
1.11      millert  12257: ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode,
                   12258:        colors#8, pairs#64,
                   12259:        op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300wpp,
1.1       millert  12260: # This definition for ViewPoint supports several attributes.  This means
                   12261: # that it has magic cookies (extra spaces where the attributes begin).
                   12262: # Some applications do not function well with magic cookies.  The System
                   12263: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
                   12264: # If supporting various attributes is not vital, 'xmc#1' and the extra
                   12265: # attributes can be removed.
                   12266: # Mapping to ASCII character set ('acsc' capability) can also be
                   12267: # restored if needed.
1.11      millert  12268: ncr260vppp|NCR 2900_260 viewpoint,
                   12269:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   12270:        cols#80, lines#24, nlab#32, xmc#1,
                   12271:        acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
                   12272:        cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5,
                   12273:        cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>,
                   12274:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>,
                   12275:        cvvis=\E`5, dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c,
                   12276:        ed=\Ek$<2>, el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I,
                   12277:        hts=\E1, il1=\EM$<2>, ind=\n$<2>, invis=\EG1,
                   12278:        is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
                   12279:        kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ,
                   12280:        kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F,
                   12281:        kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r,
                   12282:        kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r,
                   12283:        kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r,
                   12284:        kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r,
                   12285:        kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r,
                   12286:        kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r,
                   12287:        kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r,
                   12288:        kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ,
                   12289:        kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R,
                   12290:        mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>,
                   12291:        nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003,
                   12292:        rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
                   12293:        rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
                   12294:        sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq,
                   12295:        smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF,
                   12296: ncr260vpwpp|NCR 2900_260 viewpoint wide mode,
1.1       millert  12297:        cols#132,
1.11      millert  12298:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   12299:        is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
                   12300:        rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
                   12301:        use=ncr260vppp,
                   12302: ncr260vt100an|NCR 2900_260 vt100 with ansi kybd,
                   12303:        am, hs, mir, msgr, xenl, xon,
                   12304:        cols#80, lines#24, nlab#32,
                   12305:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   12306:        blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   12307:        clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
                   12308:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>,
                   12309:        cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
1.1       millert  12310:        cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
1.11      millert  12311:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
                   12312:        cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
                   12313:        dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
                   12314:        ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>,
                   12315:        fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I,
                   12316:        hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>,
                   12317:        il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>,
                   12318:        invis=\E[8m,
                   12319:        is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12320:        ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs,
                   12321:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   12322:        kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   12323:        kf4=\EOS, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~,
                   12324:        kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>, rc=\E8,
                   12325:        rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l,
                   12326:        rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m,
                   12327:        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12328:        sc=\E7,
                   12329:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
                   12330:        sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h,
                   12331:        smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,
                   12332:        tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
1.1       millert  12333: ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd,
                   12334:        cols#132,
1.11      millert  12335:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   12336:        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12337:        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12338:        use=ncr260vt100an,
                   12339: ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd,
                   12340:        is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12341:        ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
                   12342:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
                   12343:        kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~,
                   12344:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>,
                   12345:        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12346:        smkx=\E=,
                   12347:        use=ncr260vt100an,
1.1       millert  12348: ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd,
                   12349:        cols#132,
1.11      millert  12350:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   12351:        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12352:        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12353:        use=ncr260vt100pp,
                   12354: ncr260vt200an|NCR 2900_260 vt200 with ansi kybd,
                   12355:        am, hs, mir, msgr, xenl, xon,
                   12356:        cols#80, lines#24, nlab#32,
                   12357:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   12358:        blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   12359:        clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
                   12360:        csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
                   12361:        cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
                   12362:        cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
                   12363:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
                   12364:        cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
                   12365:        dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
                   12366:        ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
                   12367:        fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
                   12368:        ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
                   12369:        ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
                   12370:        is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12371:        ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs,
                   12372:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   12373:        kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~,
                   12374:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   12375:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   12376:        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~,
                   12377:        kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~,
                   12378:        kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR,
                   12379:        kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~,
                   12380:        kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
                   12381:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   12382:        kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
                   12383:        mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
                   12384:        ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l,
                   12385:        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
                   12386:        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12387:        sc=\E7,
                   12388:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
                   12389:        sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
                   12390:        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   12391:        tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
1.1       millert  12392: ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd,
1.11      millert  12393:        cols#132,
                   12394:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   12395:        is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
                   12396:        rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
                   12397:        use=ncr260vt200an,
                   12398: ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd,
                   12399:        ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
                   12400:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
                   12401:        kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   12402:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
                   12403:        use=ncr260vt200an,
1.1       millert  12404: ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd,
1.11      millert  12405:        cols#132,
                   12406:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   12407:        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12408:        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12409:        use=ncr260vt200pp,
                   12410: ncr260vt300an|NCR 2900_260 vt300 with ansi kybd,
                   12411:        am, hs, mir, msgr, xenl, xon,
                   12412:        cols#80, lines#24, nlab#32,
                   12413:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   12414:        blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   12415:        clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
                   12416:        csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
                   12417:        cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
                   12418:        cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
                   12419:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
                   12420:        cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
                   12421:        dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
                   12422:        ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
                   12423:        fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
                   12424:        ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
                   12425:        ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
                   12426:        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>,
                   12427:        ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs,
                   12428:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   12429:        kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~,
                   12430:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   12431:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   12432:        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~,
                   12433:        kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~,
                   12434:        kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR,
                   12435:        kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~,
                   12436:        kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
                   12437:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   12438:        kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
                   12439:        mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
                   12440:        ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l,
                   12441:        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
                   12442:        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>,
                   12443:        sc=\E7,
                   12444:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
                   12445:        sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
                   12446:        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   12447:        tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
                   12448: ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd,
                   12449:        cols#132,
                   12450:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   12451:        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>,
                   12452:        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>,
                   12453:        use=ncr260vt300an,
                   12454: ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd,
                   12455:        ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
                   12456:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
                   12457:        kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   12458:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
                   12459:        use=ncr260vt300an,
1.1       millert  12460: NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd,
1.11      millert  12461:        cols#132,
                   12462:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   12463:        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>,
                   12464:        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>,
                   12465:        use=ncr260vt300pp,
1.1       millert  12466: # This terminfo file contains color capabilities for the Wyse325 emulation of
                   12467: # the NCR 2900/260C color terminal.  Because of the structure of the command
                   12468: # (escape sequence) used to set color attributes, one of the fore/background
                   12469: # colors must be preset to a given value. I have set the background color to
                   12470: # black.  The user can change this setup by altering the last section of the
                   12471: # 'setf' definition.  The escape sequence to set color attributes is
                   12472: #              ESC d y <foreground_color> <background_color> 1
                   12473: # In addition, the background color can be changed through the desk accessories.
                   12474: # The capablitiy 'op' sets colors to green on black (default combination).
                   12475: #
                   12476: # NOTE:  The NCR Unix System Administrator's Shell will not function properly
                   12477: #          if the 'pairs' capability is defined. Un-Comment the 'pairs'
                   12478: #          capability and recompile if you wish to have it included.
                   12479: #
1.11      millert  12480: ncr260wy325pp|NCR 2900_260 wyse 325,
                   12481:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   12482:        colors#16, cols#80, lines#24, ncv#33, nlab#32,
                   12483:        acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
                   12484:        cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M,
                   12485:        cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
                   12486:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>,
                   12487:        cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
                   12488:        ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I,
                   12489:        hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
                   12490:        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12491:        kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
                   12492:        kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI,
                   12493:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET,
                   12494:        kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r,
                   12495:        kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r,
                   12496:        kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r,
                   12497:        kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r,
                   12498:        kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r,
                   12499:        kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   12500:        kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ,
                   12501:        kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
                   12502:        mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>,
                   12503:        nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
                   12504:        rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
                   12505:        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12506:        setb=\s,
                   12507:        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>,
                   12508:        sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/,
                   12509:        smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
                   12510:        tsl=\EF,
                   12511: ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode,
                   12512:        cols#132,
                   12513:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   12514:        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12515:        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12516:        use=ncr260wy325pp,
1.1       millert  12517: # This definition for Wyse 350 supports several attributes.  This means
                   12518: # that it has magic cookies (extra spaces where the attributes begin).
                   12519: # Some applications do not function well with magic cookies.  The System
                   12520: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
                   12521: # If supporting various attributes is not vital, 'xmc#1' and the extra
                   12522: # attributes can be removed.
                   12523: # Mapping to ASCII character set ('acsc' capability) can also be
                   12524: # restored if needed.
                   12525: # In addition, color capabilities have been added to this file.  The drawback,
                   12526: # however, is that the background color has to be black.  The foreground colors
                   12527: # are numbered 0 through 15.
                   12528: #
                   12529: # NOTE:  The NCR Unix System Administrator's Shell does not function properly
                   12530: #          with the 'pairs' capability defined as below.  If you wish to
                   12531: #          have it included, Un-comment it and recompile (using 'tic').
                   12532: #
1.11      millert  12533: ncr260wy350pp|NCR 2900_260 wyse 350,
                   12534:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   12535:        colors#16, cols#80, lines#24, ncv#33, nlab#32, xmc#1,
                   12536:        acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
                   12537:        cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
                   12538:        cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
                   12539:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<40>, cuu1=\013$<5>,
                   12540:        cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
                   12541:        ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I,
                   12542:        hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
                   12543:        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12544:        kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
                   12545:        kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
                   12546:        kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
                   12547:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   12548:        kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
                   12549:        kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
                   12550:        kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
                   12551:        kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
                   12552:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   12553:        khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
                   12554:        mc0=\EP$<10>, mc4=^T, mc5=^R,
                   12555:        mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>,
                   12556:        nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
                   12557:        rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
                   12558:        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12559:        setb=\s,
                   12560:        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>,
                   12561:        sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/,
                   12562:        smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
                   12563:        tsl=\EF,
                   12564: ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode,
                   12565:        cols#132,
                   12566:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   12567:        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
                   12568:        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
                   12569:        use=ncr260wy350pp,
1.1       millert  12570: # This definition for Wyse 50+ supports several attributes.  This means
                   12571: # that it has magic cookies (extra spaces where the attributes begin).
                   12572: # Some applications do not function well with magic cookies.  The System
                   12573: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
                   12574: # If supporting various attributes is not vital, 'xmc#1' and the extra
                   12575: # attributes can be removed.
                   12576: # Mapping to ASCII character set ('acsc' capability) can also be
                   12577: # restored if needed.
                   12578: # (ncr260wy50+pp: originally contained commented-out
                   12579: # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
1.11      millert  12580: ncr260wy50+pp|NCR 2900_260 wyse 50+,
                   12581:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   12582:        cols#80, lines#24, nlab#32, xmc#1,
                   12583:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
                   12584:        cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
                   12585:        cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
                   12586:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<30>, cuu1=\013$<5>,
                   12587:        cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
                   12588:        ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>,
                   12589:        ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>,
                   12590:        invis=\EG1,
                   12591:        is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12592:        kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
                   12593:        kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
                   12594:        kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
                   12595:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   12596:        kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
                   12597:        kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
                   12598:        kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
                   12599:        kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
                   12600:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   12601:        khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
                   12602:        mc0=\EP$<10>, mc4=^T, mc5=^R,
                   12603:        mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>,
                   12604:        nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
                   12605:        rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
                   12606:        rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12607:        sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq,
                   12608:        smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF,
                   12609: ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode,
                   12610:        cols#132,
                   12611:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   12612:        is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
                   12613:        rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
                   12614:        use=ncr260wy50+pp,
                   12615: ncr260wy60pp|NCR 2900_260 wyse 60,
                   12616:        am, bw, hs, km, mc5i, mir, msgr, xon,
1.1       millert  12617:        cols#80, lines#24, nlab#32,
1.11      millert  12618:        acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
                   12619:        cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1,
                   12620:        cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
                   12621:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>,
                   12622:        cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
                   12623:        ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>,
                   12624:        ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>,
                   12625:        invis=\EG1,
                   12626:        is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12627:        kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
                   12628:        kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK,
                   12629:        kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   12630:        kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   12631:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   12632:        kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r,
                   12633:        kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r,
                   12634:        kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r,
                   12635:        kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r,
                   12636:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   12637:        kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
                   12638:        mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<30>,
                   12639:        nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
                   12640:        rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
                   12641:        rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12642:        sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/,
                   12643:        smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>,
                   12644:        tsl=\EF,
                   12645: ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode,
                   12646:        cols#132,
                   12647:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   12648:        is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12649:        rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12650:        use=ncr260wy60pp,
                   12651: ncr160vppp|NCR 2900_160 viewpoint,
                   12652:        use=ncr260vppp,
                   12653: ncr160vpwpp|NCR 2900_160 viewpoint wide mode,
                   12654:        use=ncr260vpwpp,
                   12655: ncr160vt100an|NCR 2900_160 vt100 with ansi kybd,
                   12656:        use=ncr260vt100an,
                   12657: ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd,
                   12658:        use=ncr260vt100pp,
1.1       millert  12659: ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd,
1.11      millert  12660:        use=ncr260vt100wan,
1.1       millert  12661: ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd,
1.11      millert  12662:        use=ncr260vt100wpp,
                   12663: ncr160vt200an|NCR 2900_160 vt200 with ansi kybd,
                   12664:        use=ncr260vt200an,
                   12665: ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd,
                   12666:        use=ncr260vt200pp,
1.1       millert  12667: ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd,
1.11      millert  12668:        use=ncr260vt200wan,
1.1       millert  12669: ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd,
1.11      millert  12670:        use=ncr260vt200wpp,
                   12671: ncr160vt300an|NCR 2900_160 vt300 with ansi kybd,
                   12672:        use=ncr260vt300an,
                   12673: ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd,
                   12674:        use=ncr260vt300pp,
1.1       millert  12675: ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd,
1.11      millert  12676:        use=ncr260vt300wan,
1.1       millert  12677: ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd,
1.11      millert  12678:        use=ncr260vt300wpp,
                   12679: ncr160wy50+pp|NCR 2900_160 wyse 50+,
                   12680:        use=ncr260wy50+pp,
                   12681: ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode,
                   12682:        use=ncr260wy50+wpp,
                   12683: ncr160wy60pp|NCR 2900_160 wyse 60,
                   12684:        use=ncr260wy60pp,
                   12685: ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode,
                   12686:        use=ncr260wy60wpp,
1.1       millert  12687: ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal,
1.11      millert  12688:        am, hs, mc5i, mir, msgr, xon,
                   12689:        cols#80, it#8, lines#24, nlab#32,
                   12690:        acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~,
                   12691:        bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>,
                   12692:        clear=\E[2J\E[1;1H$<300>, cr=^M,
                   12693:        csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>,
                   12694:        cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>,
                   12695:        cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>,
                   12696:        cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>,
                   12697:        cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>,
                   12698:        dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>,
                   12699:        ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>,
                   12700:        enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>,
                   12701:        ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>,
                   12702:        ind=\ED,
                   12703:        is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>,
                   12704:        kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D,
                   12705:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP,
                   12706:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE,
                   12707:        rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>,
                   12708:        rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>,
                   12709:        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>,
                   12710:        sc=\E7,
                   12711:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>,
                   12712:        sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>,
                   12713:        smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>,
                   12714:        tsl=\E[>+1$<70>,
                   12715: ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal,
                   12716:        cols#132,
                   12717:        is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>,
                   12718:        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>,
                   12719:        use=ncrvt100an,
1.1       millert  12720: #
                   12721: # Vendor-supplied NCR termcaps end here
                   12722:
                   12723: # NCR7900 DIP switches:
                   12724: #
                   12725: # Switch A:
                   12726: # 1-4 - Baud Rate
                   12727: # 5   - Parity (Odd/Even)
                   12728: # 6   - Don't Send or Do Send Spaces
                   12729: # 7   - Parity Enable
                   12730: # 8   - Stop Bits (One/Two)
                   12731: #
                   12732: # Switch B:
                   12733: # 1   - Upper/Lower Shift
                   12734: # 2   - Typewriter Shift
                   12735: # 3   - Half Duplex / Full Duplex
                   12736: # 4   - Light/Dark Background
                   12737: # 5-6 - Carriage Return Without / With Line Feed
                   12738: # 7   - Extended Mode
                   12739: # 8   - Suppress Keyboard Display
                   12740: #
                   12741: # Switch C:
                   12742: # 1   - End of line entry disabled/enabled
                   12743: # 2   - Conversational mode / (Local?) Mode
                   12744: # 3   - Control characters displayed / not displayed
                   12745: # 4   - (2-wire?) / 4-wire communications
                   12746: # 5   - RTS on and off for each character
                   12747: # 6   - (50Hz?) / 60 Hz
                   12748: # 7   - Exit after level zero diagnostics
                   12749: # 8   - RS-232 interface
                   12750: #
                   12751: # Switch D:
                   12752: # 1   - Reverse Channel (yes / no)
                   12753: # 2   - Manual answer (no / yes)
                   12754: # 3-4 - Cursor appearance
                   12755: # 5   - Communication Rate
                   12756: # 6   - Enable / Disable EXT turnoff
                   12757: # 7   - Enable / Disable CR turnoff
                   12758: # 8   - Enable / Disable backspace
                   12759: #
                   12760: # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
1.11      millert  12761: ncr7900i|ncr7900|ncr 7900 model 1,
                   12762:        am, bw, ul,
                   12763:        cols#80, lines#24, xmc#1,
                   12764:        bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   12765:        cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J,
                   12766:        is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F,
                   12767:        kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@,
                   12768:        rmul=\E0@,
                   12769:        sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c,
                   12770:        sgr0=\E0@, smso=\E0Q, smul=\E0`,
                   12771: ncr7900iv|ncr 7900 model 4,
                   12772:        am, bw, eslok, hs,
                   12773:        cols#80, lines#24,
                   12774:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
                   12775:        cup=\013%p1%{64}%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1,
                   12776:        fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H,
                   12777:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET,
                   12778:        kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
                   12779:        khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J,
                   12780:        tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo,
                   12781: ncr7901|ncr 7901 model,
                   12782:        am, bw, ul,
                   12783:        cols#80, lines#24,
                   12784:        bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M,
                   12785:        cub1=^H, cud1=^J, cuf1=^F,
                   12786:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A,
                   12787:        ed=\Ek, el=\EK,
                   12788:        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J,
                   12789:        is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
                   12790:        khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O,
                   12791:        sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016,
                   12792:        sgr0=^O, smso=\E0Q\016, smul=\E0`\016,
                   12793:        vpa=\013%p1%{64}%+%c,
1.1       millert  12794:
                   12795: #### Perkin-Elmer (Owl)
                   12796: #
                   12797: # These are official terminfo entries from within Perkin-Elmer.
                   12798: #
                   12799:
1.11      millert  12800: bantam|pe550|pe6100|perkin elmer 550,
                   12801:        OTbs,
                   12802:        cols#80, lines#24,
                   12803:        bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   12804:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   12805:        el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA,
                   12806: fox|pe1100|perkin elmer 1100,
                   12807:        OTbs, am,
                   12808:        cols#80, lines#24,
                   12809:        bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
                   12810:        cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   12811:        ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003,
                   12812:        home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3,
                   12813: owl|pe1200|perkin elmer 1200,
                   12814:        OTbs, am, in,
                   12815:        cols#80, lines#24,
                   12816:        bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
                   12817:        cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   12818:        dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
                   12819:        el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
                   12820:        hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
                   12821:        kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
                   12822:        kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
                   12823:        rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3,
                   12824: pe1251|pe6300|pe6312|perkin elmer 1251,
                   12825:        am,
                   12826:        cols#80, it#8, lines#24, pb#300, vt#8, xmc#1,
                   12827:        bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
                   12828:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   12829:        ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J,
                   12830:        kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE,
                   12831:        kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3,
1.1       millert  12832: # (pe7000m: this had
                   12833: #      rmul=\E!\0, smul=\E!\040,
                   12834: # which is probably wrong, it collides with kf0
1.11      millert  12835: pe7000m|perkin elmer 7000 series monochrome monitor,
                   12836:        am,
                   12837:        cols#80, lines#24,
                   12838:        bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB,
                   12839:        cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   12840:        ed=\EJ, el=\EI, home=\EH, ind=^J,
                   12841:        is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V,
                   12842:        kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A,
                   12843:        kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E,
                   12844:        kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S,
                   12845:        ll=\ES7\s, ri=\ER,
1.1       millert  12846: pe7000c|perkin elmer 7000 series colour monitor,
1.11      millert  12847:        is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0,
                   12848:        rmul=\E!\0, smso=\Eb2, smul=\E!\s,
                   12849:        use=pe7000m,
1.1       millert  12850:
                   12851: #### Sperry Univac
                   12852: #
                   12853: # Sperry Univac has merged with Burroughs to form Unisys.
                   12854: #
                   12855:
                   12856: # This entry is for the Sperry UTS30 terminal running the TTY
                   12857: # utility under control of CP/M Plus 1R1. The functionality
                   12858: # provided is comparable to the DEC vt100.
                   12859: # (uts30: I added <rmam>/<smam> based on the init string -- esr)
1.11      millert  12860: uts30|sperry uts30 with cp/m@1R1,
                   12861:        am, bw, hs,
                   12862:        cols#80, lines#24, wsl#40,
                   12863:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   12864:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L,
                   12865:        cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c,
                   12866:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB,
                   12867:        cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH,
                   12868:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM,
                   12869:        dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H,
                   12870:        ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN,
                   12871:        ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H,
                   12872:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H,
                   12873:        rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI,
                   12874:        rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m,
                   12875:        rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   12876:        sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m,
                   12877:        smul=\E[4m, tsl=\E], uc=\EPB,
1.1       millert  12878:
                   12879: #### Tandem
                   12880: #
                   12881: # Tandem builds these things for use with its line of fault-tolerant
                   12882: # transaction-processing computers.  They aren't generally available
                   12883: # on the merchant market, and so are fairly uncommon.
                   12884: #
                   12885:
                   12886: tandem6510|adm3a repackaged by Tandem,
1.11      millert  12887:        use=adm3a,
1.1       millert  12888:
                   12889: # A funny series of terminal that TANDEM uses.  The actual model numbers
                   12890: # have a fourth digit after 653 that designates minor variants.  These are
                   12891: # natively block-mode and rather ugly, but they have a character mode which
                   12892: # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
                   12893: # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
                   12894: # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
                   12895: tandem653|t653x|Tandem 653x multipage terminal,
1.11      millert  12896:        OTbs, am, da, db, hs,
1.1       millert  12897:        cols#80, lines#24, wsl#64, xmc#1,
                   12898:        clear=\EI, cub1=^H, cud1=^J, cuf1=\EC,
1.11      millert  12899:        cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r,
                   12900:        ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s,
                   12901:        rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo,
1.1       millert  12902:
                   12903: #### Tandy/Radio Shack
                   12904: #
                   12905: # Tandy has a line of VDTs distinct from its microcomputers.
                   12906: #
                   12907:
                   12908: dmterm|deskmate terminal,
                   12909:        am, bw,
                   12910:        cols#80, lines#24,
1.11      millert  12911:        bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H,
                   12912:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   12913:        cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I,
                   12914:        ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB,
                   12915:        kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4,
                   12916:        kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0,
                   12917:        khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6,
                   12918:        lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@,
                   12919:        use=adm+sgr,
1.1       millert  12920: dt100|dt-100|Tandy DT-100 terminal,
                   12921:        xon,
                   12922:        cols#80, lines#24, xmc#1,
1.11      millert  12923:        acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
1.1       millert  12924:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
1.11      millert  12925:        csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   12926:        cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   12927:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   12928:        il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D,
                   12929:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i,
                   12930:        kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~,
                   12931:        kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H,
                   12932:        knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5,
                   12933:        lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m,
                   12934:        sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
                   12935: dt100w|dt-100w|Tandy DT-100 terminal (wide mode),
                   12936:        cols#132, use=dt100,
1.1       millert  12937: dt110|Tandy DT-110 emulating ansi,
                   12938:        xon,
                   12939:        cols#80, lines#24,
1.11      millert  12940:        acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
1.1       millert  12941:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
1.11      millert  12942:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C,
                   12943:        cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P,
                   12944:        dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H,
                   12945:        ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B,
                   12946:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K,
                   12947:        kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~,
                   12948:        kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~,
                   12949:        khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1,
                   12950:        lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9,
                   12951:        lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   12952:        smacs=^N, smso=\E[7m, smul=\E[4m,
                   12953: pt210|TRS-80 PT-210 printing terminal,
1.1       millert  12954:        hc, os,
                   12955:        cols#80,
                   12956:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   12957:
                   12958: #### Tektronix (tek)
                   12959: #
                   12960: # Tektronix tubes are graphics terminals.  Most of them use modified
                   12961: # oscilloscope technology incorporating a long-persistence green phosphor,
                   12962: # and support vector graphics on a main screen with an attached "dialogue
                   12963: # area" for interactive text.
                   12964: #
                   12965:
1.11      millert  12966: tek|tek4012|tektronix 4012,
                   12967:        OTbs, os,
                   12968:        cols#75, lines#35,
                   12969:        bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J,
                   12970:        ff=\014$<1000>, is2=\E^O,
1.1       millert  12971: # (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
1.11      millert  12972: tek4013|tektronix 4013,
                   12973:        acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012,
                   12974: tek4014|tektronix 4014,
                   12975:        cols#81, lines#38,
                   12976:        is2=\E\017\E9, use=tek4012,
1.1       millert  12977: # (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
1.11      millert  12978: tek4015|tektronix 4015,
                   12979:        acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014,
                   12980: tek4014-sm|tektronix 4014 in small font,
                   12981:        cols#121, lines#58,
                   12982:        is2=\E\017\E\:, use=tek4014,
1.1       millert  12983: # (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
1.11      millert  12984: tek4015-sm|tektronix 4015 in small font,
                   12985:        acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm,
1.1       millert  12986: # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
                   12987: #
                   12988: # You need to have "stty nl2" in effect.  Some versions of tset(1) know
                   12989: # how to set it for you.
                   12990: #
                   12991: # It's got the Magic Cookie problem around stand-out mode.  If you can't
                   12992: # live with Magic Cookie, remove the :so: and :se: fields and do without
                   12993: # reverse video.  If you like reverse video stand-out mode but don't want
                   12994: # it to flash, change the letter 'H' to 'P' in the :so: field.
1.11      millert  12995: tek4023|tektronix 4023,
                   12996:        OTbs, am,
                   12997:        OTdN#4, cols#80, lines#24, vt#4, xmc#1,
                   12998:        OTnl=^J, bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J,
                   12999:        cuf1=^I, cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H,
                   13000:        rmso=^_@, smso=^_P,
1.1       millert  13001: # It is recommended that you run the 4025 at 4800 baud or less;
                   13002: # various bugs in the terminal appear at 9600.  It wedges at the
                   13003: # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
                   13004: # on keyboard don't work.  You have to hit BREAK twice to get
                   13005: # one break at any speed - this is a documented feature.
                   13006: # Can't use cursor motion because it's memory relative, and
                   13007: # because it only works in the workspace, not the monitor.
                   13008: # Same for home. Likewise, standout only works in the workspace.
                   13009: #
                   13010: # <el> was commented out since vi and rogue seem to work better
                   13011: # simulating it with lots of spaces!
                   13012: #
                   13013: # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U
                   13014: # and didn't seem necessary.
                   13015: #
1.11      millert  13016: tek4024|tek4025|tek4027|tektronix 4024/4025/4027,
                   13017:        OTbs, am, da, db,
                   13018:        cols#80, it#8, lines#34, lm#0,
                   13019:        bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M,
                   13020:        cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r,
                   13021:        cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r,
                   13022:        cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r,
                   13023:        dl=\037dli %p1%d\r\006, dl1=\037dli\r\006,
                   13024:        ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010,
                   13025:        il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r,
                   13026:        ind=^F^J,
                   13027:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
                   13028:        rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r,
                   13029:        smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r,
                   13030: tek4025-17|tek 4025 17 line window,
                   13031:        lines#17, use=tek4025,
                   13032: tek4025-17-ws|tek 4025 17 line window in workspace,
                   13033:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r,
                   13034:        rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r,
                   13035:        smso=\037att e\r,
                   13036:        use=tek4025-17,
                   13037: tek4025-ex|tek4027-ex|tek 4025/4027 w/!,
                   13038:        is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r,
                   13039:        rmcup=\037com 33\r, smcup=!com 31\r,
                   13040:        use=tek4025,
1.1       millert  13041: # Tektronix 4025a
                   13042: # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
                   13043: # The following status modes are assumed for normal operation (replace the
                   13044: # initial "!" by whatever the current command character is):
                   13045: #      !COM 29                 # NOTE: changes command character to GS (^])
                   13046: #      ^]DUP
                   13047: #      ^]ECH R
                   13048: #      ^]EOL
                   13049: #      ^]RSS T
                   13050: #      ^]SNO N
                   13051: #      ^]STO 9 17 25 33 41 49 57 65 73
                   13052: # Other modes may be set according to communication requirements.
                   13053: # If the command character is inadvertently changed, termcap can't restore it.
                   13054: # Insert-character cannot be made to work on both top and bottom rows.
                   13055: # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
                   13056: # There also seems to be a problem with vertical motion, perhaps involving
                   13057: # delete/insert-line, following a typed carriage return.  This terminal sucks.
                   13058: # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   13059: # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
                   13060: # work any more. -- esr)
                   13061: tek4025a|Tektronix 4025A,
                   13062:        OTbs, OTpt, am, bw, da, db, xon,
                   13063:        cols#80, it#8, lines#34,
1.11      millert  13064:        bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^],
                   13065:        cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;,
                   13066:        cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;,
                   13067:        cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;,
                   13068:        dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;,
                   13069:        el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I,
                   13070:        il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;,
                   13071:        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;,
                   13072:        tbc=\035sto;,
1.1       millert  13073: # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
                   13074: # Here's the command file that I use to get rogue to work on the 4025.
                   13075: # It should work with any program using the old curses (e.g. it better
                   13076: # not try to scroll, or cursor addressing won't work.  Also, you can't
                   13077: # see the cursor.)
                   13078: # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
                   13079: tek4025-cr|tek 4025 for curses and rogue,
1.11      millert  13080:        OTbs, am,
1.1       millert  13081:        cols#80, it#8, lines#33,
1.11      millert  13082:        clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;,
                   13083:        cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J,
1.1       millert  13084:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
                   13085:        rmcup=\037wor 0, smcup=\037wor 33h,
                   13086: # next two lines commented out since curses only allows 128 chars, sigh.
                   13087: #      :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:\
                   13088: #      :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:
                   13089: tek4025ex|4025ex|4027ex|tek 4025 w/!,
1.11      millert  13090:        is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r,
                   13091:        rmcup=\037com 33\r, smcup=!com 31\r,
                   13092:        use=tek4025,
                   13093: tek4105|tektronix 4105,
                   13094:        OTbs, am, mir, msgr, ul, xenl, xt,
                   13095:        cols#79, it#8, lines#29,
                   13096:        acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z,
                   13097:        clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C,
                   13098:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P,
                   13099:        dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   13100:        il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m,
                   13101:        is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B,
                   13102:        kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T,
                   13103:        rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m,
                   13104:        rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m,
                   13105:        smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
                   13106:        smul=\E[=5;<2m, tbc=\E[1g,
1.1       millert  13107:
                   13108: # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
1.11      millert  13109: tek4105-30|4015 emulating 30 line vt100,
                   13110:        am, mir, msgr, xenl, xon,
                   13111:        cols#80, it#8, lines#30, vt#3,
                   13112:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   13113:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   13114:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   13115:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   13116:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   13117:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   13118:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   13119:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq,
                   13120:        ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD,
                   13121:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy,
                   13122:        kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
                   13123:        kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   13124:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   13125:        rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   13126:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   13127:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   13128:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   13129:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
1.1       millert  13130:
                   13131: # Tektronix 4105 from BRL
                   13132: # The following setup modes are assumed for normal operation:
                   13133: #      CODE ansi               CRLF no                 DABUFFER 141
                   13134: #      DAENABLE yes            DALINES 30              DAMODE replace
                   13135: #      DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
                   13136: #      FLAGGING input          INSERTREPLACE replace   LFCR no
                   13137: #      ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
                   13138: #      SELECTCHARSET G1 0      TABS -2
                   13139: # Other setup modes may be set for operator convenience or communication
                   13140: # requirements; I recommend
                   13141: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
                   13142: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
                   13143: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
                   13144: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
                   13145: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
                   13146: #      PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
                   13147: #      XMTDELAY 0
                   13148: # and factory color maps.  After setting these modes, save them with NVSAVE. No
                   13149: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   13150: # "IC" cannot be used in combination with "im" & "ei".
                   13151: # "tek4105a" is just a guess:
                   13152: tek4105a|Tektronix 4105,
                   13153:        OTbs, OTpt, msgr, xon,
                   13154:        OTkn#8, cols#80, it#8, lines#30, vt#3,
                   13155:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   13156:        civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
                   13157:        cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   13158:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   13159:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   13160:        cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
                   13161:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   13162:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   13163:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
                   13164:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   13165:        kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
                   13166:        kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
                   13167:        lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   13168:        rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
1.11      millert  13169:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   13170:        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>,
                   13171:        sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
1.1       millert  13172:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   13173:
                   13174: #
                   13175: # Tektronix 4106/4107/4109 from BRL
                   13176: # The following setup modes are assumed for normal operation:
                   13177: #      CODE ansi               COLUMNMODE 80           CRLF no
                   13178: #      DABUFFER 141            DAENABLE yes            DALINES 32
                   13179: #      DAMODE replace          DAVISIBILITY yes        ECHO no
                   13180: #      EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
                   13181: #      LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
                   13182: #      PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
                   13183: #      TABS -2
                   13184: # Other setup modes may be set for operator convenience or communication
                   13185: # requirements; I recommend
                   13186: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
                   13187: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
                   13188: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
                   13189: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
                   13190: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
                   13191: #      PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
                   13192: #      XMTDELAY 0
                   13193: # and factory color maps.  After setting these modes, save them with NVSAVE.  No
                   13194: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   13195: # "IC" cannot be used in combination with "im" & "ei".
                   13196: tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109,
                   13197:        msgr, xon,
                   13198:        cols#80, it#8, lines#32, vt#3,
                   13199:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   13200:        civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
                   13201:        cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   13202:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   13203:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   13204:        cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
                   13205:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   13206:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   13207:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
                   13208:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   13209:        kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
                   13210:        kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
                   13211:        lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   13212:        rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
                   13213:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   13214:        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>,
                   13215:        sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
                   13216:        smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g,
                   13217:
1.11      millert  13218: tek4107|tek4109|tektronix terminals 4107 4109,
                   13219:        OTbs, am, mir, msgr, ul, xenl, xt,
                   13220:        cols#79, it#8, lines#29,
                   13221:        bel=^G, blink=\E%!1\E[5m$<2>\E%!0,
                   13222:        bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M,
                   13223:        cub1=^H, cud1=^J, cuf1=\EC,
                   13224:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3,
                   13225:        dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J,
                   13226:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   13227:        rev=\E%!1\E[7m$<2>\E%0, ri=\EI,
                   13228:        rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0,
                   13229:        sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0,
                   13230:        sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0,
                   13231:        smul=\E%!1\E[4m$<2>\E%!0,
1.1       millert  13232: # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
                   13233: # see the note attached to tek4207.
                   13234: tek4207-s|Tektronix 4207 with sysline but no memory,
                   13235:        eslok, hs,
                   13236:        dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8,
                   13237:        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,
                   13238:        is2=\E7\E[?6l\E[2K\E[?6h\E8,
1.11      millert  13239:        tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107,
1.1       millert  13240:
                   13241: # The 4110 series may be a wonderful graphics series, but they make the 4025
                   13242: # look good for screen editing.  In the dialog area, you can't move the cursor
                   13243: # off the bottom line.  Out of the dialog area, ^K moves it up, but there
                   13244: # is no way to scroll.
                   13245: #
                   13246: # Note that there is a floppy for free from Tek that makes the
                   13247: # 4112 emulate the vt52 (use the vt52 termcap). There is also
                   13248: # an expected enhancement that will use ANSI standard sequences.
                   13249: #
                   13250: # 4112 in non-dialog area pretending to scroll. It really wraps
                   13251: # but vi is said to work (more or less) in this mode.
                   13252: #
                   13253: # 'vi' works reasonably well with this entry.
                   13254: #
1.11      millert  13255: otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series,
                   13256:        am,
                   13257:        cols#80, lines#34,
                   13258:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J,
                   13259:        rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0,
1.1       millert  13260: # The 4112 with the ANSI compatibility enhancement
                   13261: tek4112|tek4114|tektronix 4110 series,
1.11      millert  13262:        OTbs, am, db,
1.1       millert  13263:        cols#80, lines#34,
                   13264:        cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C,
1.11      millert  13265:        cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M,
                   13266:        ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L,
                   13267:        ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8,
                   13268:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1.1       millert  13269: tek4112-nd|4112 not in dialog area,
                   13270:        OTns,
1.11      millert  13271:        cuu1=^K, use=tek4112,
1.1       millert  13272: tek4112-5|4112 in 5 line dialog area,
1.11      millert  13273:        lines#5, use=tek4112,
1.1       millert  13274: # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
                   13275: # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
                   13276: # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
                   13277: # previously \0410 and \0411 sequences...I don't *think* they were supposed
                   13278: # to be 4-digit octal -- esr)
                   13279: tek4113|tektronix 4113 color graphics with 5 line dialog area,
1.11      millert  13280:        OTbs, am, da, eo,
1.1       millert  13281:        cols#80, lines#5,
                   13282:        clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0,
                   13283:        flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
                   13284:        is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0,
                   13285: tek4113-34|tektronix 4113 color graphics with 34 line dialog area,
                   13286:        lines#34,
1.11      millert  13287:        is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113,
1.1       millert  13288: # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
                   13289: # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
                   13290: # :vb: needs enough delay to let you see the background color being toggled.
                   13291: tek4113-nd|tektronix 4113 color graphics with no dialog area,
1.11      millert  13292:        OTbs, am, eo,
1.1       millert  13293:        cols#80, it#8, lines#34,
                   13294:        clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K,
1.11      millert  13295:        cvvis=\ELZ\EKA0,
1.1       millert  13296:        flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
1.11      millert  13297:        home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @,
                   13298:        ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0,
1.1       millert  13299: # This entry is from Tek. Inc.  (Brian Biehl)
                   13300: # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
                   13301: otek4115|Tektronix 4115,
                   13302:        OTbs, am, da, db, eo,
                   13303:        cols#80, it#8, lines#34,
                   13304:        cbt=\E[Z, clear=\E[H\E[2J,
1.11      millert  13305:        cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B,
                   13306:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   13307:        cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J,
                   13308:        el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100,
                   13309:        il1=\E[L,
1.1       millert  13310:        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  13311:        kbs=^H, ri=\EM, rmam=\E[?7l,
                   13312:        rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l,
                   13313:        rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
                   13314:        smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m,
                   13315:        smul=\E[4m,
                   13316: tek4115|newer tektronix 4115 entry with more ANSI capabilities,
                   13317:        am, xon,
                   13318:        cols#80, lines#34,
                   13319:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   13320:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   13321:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   13322:        cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
                   13323:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG,
                   13324:        ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   13325:        il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D,
                   13326:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   13327:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l,
                   13328:        rmso=\E[m, rmul=\E[m,
                   13329:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   13330:        sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   13331:        vpa=\E[%p1%{1}%+%dd,
1.1       millert  13332: # The tek4125 emulates a vt100 incorrectly - the scrolling region
                   13333: # command is ignored.  The following entry replaces <csr> with the needed
                   13334: # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
                   13335: # chokes on; and adds a lot of initialization for the tek dialog area.
                   13336: # Note that this entry uses all 34 lines and sets the cursor color to green.
                   13337: # Steve Jacobson 8/85
                   13338: # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
                   13339: # commented out, <smir>=\E1 because there's no <rmir>  -- esr)
                   13340: tek4125|tektronix 4125,
                   13341:        lines#34,
                   13342:        csr@, dl1=\E[1M, il1=\E[1L,
                   13343:        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.11      millert  13344:        rc@, sc@, smkx=\E=,
                   13345:        use=vt100,
1.1       millert  13346:
                   13347: # From: <jcoker@ucbic>
                   13348: # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
                   13349: # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
                   13350: # note that if jcoker wasn't confused you may be able to use this one.
                   13351: # I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
                   13352: tek4207|Tektronix 4207 graphics terminal with memory,
                   13353:        am, bw, mir, msgr, ul, xenl,
                   13354:        cols#80, it#8, lines#32,
1.11      millert  13355:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>,
                   13356:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   13357:        cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J,
                   13358:        el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>,
                   13359:        il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5,
1.1       millert  13360:        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  13361:        kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H,
                   13362:        rev=\E[7m, ri=\E[T,
                   13363:        rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m,
                   13364:        rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m,
1.1       millert  13365:        smul=\E[4m, tbc=\E[1g,
                   13366:
                   13367: # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
                   13368: # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
                   13369: # Tab had been given as \E2I,that must be the tab-set capability -- esr)
                   13370: tek4404|tektronix 4404,
1.11      millert  13371:        OTbs,
                   13372:        cols#80, it#8, lines#32,
1.1       millert  13373:        blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
                   13374:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
1.11      millert  13375:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M,
                   13376:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L,
                   13377:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8,
                   13378:        rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l,
                   13379:        rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m,
                   13380:        smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h,
                   13381:        smkx=\E[?1l, smso=\E[7m, smul=\E[4m,
1.1       millert  13382: # Some unknown person wrote:
                   13383: # I added the is string - straight Unix has ESC ; in the login
                   13384: # string which sets a ct8500 into monitor mode (aka 4025 snoopy
                   13385: # mode). The is string here cleans up a few things (but not
                   13386: # everything).
1.11      millert  13387: ct8500|tektronix ct8500,
                   13388:        am, bw, da, db,
                   13389:        cols#80, lines#25,
                   13390:        bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J,
                   13391:        cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER,
                   13392:        dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\,
                   13393:        il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s,
                   13394:        rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!,
1.1       millert  13395:
1.11      millert  13396: # Tektronix 4205 terminal.
1.1       millert  13397: #
1.11      millert  13398: # am is not defined because the wrap around occurs not when the char.
                   13399: # is placed in the 80'th column, but when we are attempting to type
                   13400: # the 81'st character on the line.  (esr: hmm, this is like the vt100
                   13401: # version of xenl, perhaps am + xenl would work!)
1.1       millert  13402: #
1.11      millert  13403: # Bold, dim, and standout are simulated by colors and thus not allowed
                   13404: # with colors.  The tektronix color table is mapped into the RGB color
                   13405: # table by setf/setb. All colors are reset to factory specifications by oc.
                   13406: # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
                   13407: # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
                   13408: # interval then maps into pre-defined value.
                   13409: tek4205|tektronix 4205,
                   13410:        ccc, mir, msgr,
                   13411:        colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63,
                   13412:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   13413:        bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z,
                   13414:        clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
1.1       millert  13415:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   13416:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1.11      millert  13417:        dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX,
                   13418:        ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
                   13419:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
                   13420:        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,
                   13421:        invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H,
                   13422:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA,
                   13423:        kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER,
                   13424:        kf7=\ES,
                   13425:        oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1,
                   13426:        op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=,
                   13427:        rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m,
                   13428:        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%;,
                   13429:        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%;,
                   13430:        sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N,
                   13431:        smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
                   13432:        smul=\E[4m, tbc=\E[1g,
1.1       millert  13433:
1.11      millert  13434: #### Teletype (tty)
1.1       millert  13435: #
1.11      millert  13436: # These are the hardcopy Teletypes from before AT&T bought the company,
                   13437: # clattering electromechanical dinosaurs in Bakelite cases that printed on
                   13438: # pulpy yellow roll paper.  If you remember these you go back a ways.
                   13439: # Teletype-branded VDTs are listed in the AT&T section.
1.1       millert  13440: #
1.11      millert  13441: # The earliest UNIXes were designed to use these clunkers; nroff and a few
                   13442: # other programs still default to emitting codes for the Model 37.
1.1       millert  13443: #
                   13444:
1.11      millert  13445: tty33|tty35|model 33 or 35 teletype,
                   13446:        hc, os, xon,
                   13447:        cols#72,
                   13448:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   13449: tty37|model 37 teletype,
                   13450:        OTbs, hc, os, xon,
                   13451:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
                   13452:        ind=^J,
1.1       millert  13453:
1.11      millert  13454: # There are known to be at least three flavors of the tty40, all seem more
                   13455: # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
                   13456: # awful braindamage, such as printing a visible newline indicator after each
                   13457: # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
                   13458: # braindamaged but has hope and is described here.  The 40-4 is a 3270
                   13459: # lookalike and beyond hope.  The terminal has visible bell but I don't know
                   13460: # it - it's null here to prevent it from showing the BL character.
                   13461: # There is an \EG in <nl> because of a bug in old vi (if stty says you have
                   13462: # a "newline" style terminal (-crmode) vi figures all it needs is nl
                   13463: # to get crlf, even if <cr> is not ^M.)
                   13464: # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
                   13465: tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2,
                   13466:        OTbs, xon,
                   13467:        cols#80, lines#24,
                   13468:        clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB,
                   13469:        cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>,
                   13470:        ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1,
                   13471:        ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^],
                   13472:        kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4,
                   13473:        rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>,
                   13474: tty43|model 43 teletype,
                   13475:        OTbs, am, hc, os, xon,
                   13476:        cols#132,
                   13477:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
1.1       millert  13478:
1.11      millert  13479: #### Tymshare
1.1       millert  13480: #
                   13481:
1.11      millert  13482: # You can add <is2=\E<> to put this 40-column mode, though I can't
                   13483: # for the life of me think why anyone would want to.
                   13484: scanset|sc410|sc415|Tymshare Scan Set,
                   13485:        am, bw, msgr,
                   13486:        cols#80, lines#24,
                   13487:        acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H,
                   13488:        cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   13489:        cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED,
                   13490:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0,
                   13491:        mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N,
                   13492:
                   13493: #### Volker-Craig (vc)
1.1       millert  13494: #
1.11      millert  13495: # If you saw a Byte Magazine cover with a terminal on it during the early
                   13496: # 1980s, it was probably one of these.  Carl Helmers liked them because
                   13497: # they could crank 19.2 and were cheap (that is, he liked them until he tried
                   13498: # to program one...)
1.1       millert  13499: #
                   13500:
1.11      millert  13501: # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
                   13502: # every other linefeed.
                   13503: vc303|vc103|vc203|volker-craig 303,
                   13504:        OTbs, OTns, am,
                   13505:        cols#80, lines#24,
                   13506:        bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
                   13507:        cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I,
                   13508:        kcuu1=^N, ll=\017$<1>W,
                   13509: vc303a|vc403a|volker-craig 303a,
                   13510:        clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>,
                   13511:        home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303,
                   13512: # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
                   13513: vc404|volker-craig 404,
                   13514:        OTbs, am,
                   13515:        cols#80, lines#24,
                   13516:        bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   13517:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   13518:        ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J,
                   13519:        kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z,
                   13520: vc404-s|volker-craig 404 w/standout mode,
                   13521:        cud1=^J, rmso=^O, smso=^N, use=vc404,
                   13522: # From: <wolfgang@cs.sfu.ca>
                   13523: # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
                   13524: vc414|vc414h|Volker-Craig 414H in sane escape mode.,
                   13525:        OTbs, am,
                   13526:        cols#80, lines#24,
                   13527:        clear=\E\034$<40>, cud1=\E^K, cuf1=^P,
                   13528:        cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3,
                   13529:        dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R,
                   13530:        ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P,
                   13531:        kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE,
                   13532:        kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2,
                   13533:        lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8,
                   13534:        rmso=\E^_, smso=\E^Y,
                   13535: vc415|volker-craig 415,
                   13536:        clear=^L, use=vc404,
                   13537:
                   13538: ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
1.1       millert  13539: #
                   13540:
1.11      millert  13541: #### IBM PC and clones
1.1       millert  13542: #
                   13543:
1.11      millert  13544: # The pcplot IBM-PC terminal emulation program is really messed up. It is
                   13545: # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
                   13546: # doesn't support scrolling regions, ignores add line commands, and ignores
                   13547: # delete line commands. Consequently, the resulting behavior looks like a
                   13548: # crude adm3a-type terminal.
                   13549: # Steve Jacobson 8/85
                   13550: pcplot|pc-plot terminal emulation program,
                   13551:        xenl@,
                   13552:        csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100,
                   13553: # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
                   13554: # I've found that my KayPro II, running MDM730, continues to emulate an
                   13555: # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
                   13556: # system the following termcap entry works well:
                   13557: # I have noticed a couple of minor glitches, but nothing I can't work
                   13558: # around. (I added two capabilities from the BRL entry -- esr)
                   13559: kaypro|kaypro2|kaypro II,
                   13560:        OTbs, am,
                   13561:        cols#80, lines#24,
                   13562:        bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L,
                   13563:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W,
                   13564:        el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   13565:
                   13566: # From IBM, Thu May  5 19:35:27 1983
                   13567: # (commented out <smir>=\200R because we don't know <rmir> -- esr)
                   13568: ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS),
                   13569:        OTbs, am,
1.1       millert  13570:        cols#80, lines#24,
1.11      millert  13571:        bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\,
                   13572:        cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_,
                   13573:
                   13574: ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX,
                   13575:        OTbs, am, bw, eo, hs, km, msgr, ul,
                   13576:        cols#80, it#8, lines#24,
                   13577:        acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
                   13578:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
                   13579:        cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
                   13580:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   13581:        cuu=\E[%p1%dA, cuu1=\E[A, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
                   13582:        home=\E[H, hpa=\E[%i%p1%dG, ind=\E[S\E[B,
                   13583:        indn=\E[%p1%dS\E[%p1%dB, invis=\E[30;40m, kbs=^H,
                   13584:        kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   13585:        kdch1=\177, kend=\E[Y, kf1=\240, kf10=\251, kf2=\241,
                   13586:        kf3=\242, kf4=\243, kf5=\244, kf6=\245, kf7=\246, kf8=\247,
                   13587:        kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, ll=\E[24;1H,
                   13588:        nel=^M, rev=\E[7m, ri=\E[T\E[A, rin=\E[%p1%dT\E[%p1%dA,
                   13589:        rmso=\E[m, rmul=\E[m,
                   13590:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   13591:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1.1       millert  13592:
1.11      millert  13593: #### Apple II
                   13594: #
                   13595: # Apple II firmware console first, then various 80-column cards and
                   13596: # terminal emulators.  For two cents I'd toss all these in the UFO file
                   13597: # along with the 40-column apple entries.
1.1       millert  13598: #
1.11      millert  13599:
                   13600: # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
                   13601: #      'it#8' tells UNIX that you have tabs every 8 columns.  This is a
                   13602: #              function of TIC, not the firmware.
                   13603: #      The clear key on a IIgs will do something like clear-screen,
                   13604: #              depending on what you're in.
                   13605: appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface,
                   13606:        OTbs, am, bw, eo, msgr,
                   13607:        cols#80, it#8, lines#24,
                   13608:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
                   13609:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   13610:        home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J,
                   13611:        kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N,
                   13612:        smso=^O,
                   13613: # Apple //e with 80-column card, entry from BRL
                   13614: # The modem interface is permitted to discard LF (maybe DC1), otherwise
                   13615: # passing characters to the 80-column firmware via COUT (PR#3 assumed).
                   13616: # Auto-wrap does not work right due to newline scrolling delay, which also
                   13617: # requires that you set "stty cr2".
                   13618: # Note: Cursor addressing is only available via the Pascal V1.1 entry,
                   13619: # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
                   13620: # using a terminal emulation program instead of the built-in firmware.
                   13621: apple2e|Apple //e,
                   13622:        bw, msgr,
                   13623:        cols#80, lines#24,
                   13624:        bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_,
                   13625:        ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W,
                   13626:        is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K,
                   13627:        nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
                   13628:        smso=^O,
                   13629: # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
                   13630: # 4.20, with incoming and outgoing terminals both on 0, emulation On.
                   13631: apple2e-p|Apple //e via Pascal,
                   13632:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H,
                   13633:        kcud1=^J,
                   13634:        use=apple2e,
                   13635: # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
                   13636: # Enable DC3/DC1 flow control with "stty ixon -ixany".
                   13637: apple-ae|ASCII Express,
                   13638:        OTbs, am, bw, msgr, nxon, xon,
                   13639:        cols#80, it#8, lines#24,
                   13640:        bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   13641:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   13642:        home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J,
                   13643:        kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
                   13644:        smso=^O,
                   13645: appleII|apple ii plus,
                   13646:        OTbs, am,
                   13647:        cols#80, it#8, lines#24,
                   13648:        clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\,
                   13649:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6,
                   13650:        ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I,
                   13651:        is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N,
                   13652:        smso=^O,
                   13653: # Originally by Gary Ford 21NOV83
                   13654: # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
                   13655: apple-80|apple II with smarterm 80 col,
                   13656:        OTbs, am, bw,
                   13657:        cols#80, lines#24,
                   13658:        cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J,
                   13659:        cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_,
                   13660:        ed=\013$<10*/>, el=\035$<10/>, home=^Y,
                   13661: apple-soroc|apple emulating soroc 120,
                   13662:        am,
                   13663:        cols#80, lines#24,
                   13664:        bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   13665:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
                   13666:        home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   13667: # From Peter Harrison, Computer Graphics Lab, San Francisco
                   13668: #   ucbvax!ucsfmis!harrison  .....uucp
                   13669: #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
                   13670: # "These two work.  If you don't have the inverse video chip for the
                   13671: # Apple with videx then remove the :so: and :se: fields."
                   13672: # (apple-videx: this used to be called DaleApple -- esr)
                   13673: apple-videx|Apple with videx videoterm 80 column board with inverse video,
                   13674:        OTbs, am, xenl,
                   13675:        cols#80, it#8, lines#24,
                   13676:        clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\,
                   13677:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   13678:        home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y,
                   13679:        rmso=^Z2, sgr0=^Z2, smso=^Z3,
                   13680: # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
                   13681: #                            Apple Cat ][ 212 modem, + more all
                   13682: #                            controlled by ASCII Express: Pro.
                   13683: # From Dave Shaver <isucs1!shaver>
                   13684: apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell,
                   13685:        OTbs, am, eo, xt,
                   13686:        cols#80, lines#24,
                   13687:        acsc=, clear=^L, cuf1=^\,
                   13688:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   13689:        flash=^W35^W06, home=^Y,
                   13690:        is2=^V4^W06\017\rVisible Bell Installed.\016\r\n,
                   13691:        rmso=^N, smso=^O,
                   13692: apple-uterm|Ultraterm for Apple micros,
                   13693:        OTbs, am, eo, xt,
                   13694:        cols#80, lines#24,
                   13695:        acsc=, clear=^L, cuf1=^\,
                   13696:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   13697:        home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O,
                   13698: # from trwrba!bwong (Bradley W. Wong):
1.1       millert  13699: #
1.11      millert  13700: # This entry assumes that you are using an apple with the UCSD Pascal
                   13701: # language card.  SYSTEM.MISCINFO is assumed to be the same as that
                   13702: # supplied with the standard apple except that screenwidth should be set
                   13703: # using SETUP to 80 columns.  Note that the right arrow in not mapped in
                   13704: # this termcap entry.  This is because that key, on the Apple, transmits
                   13705: # a ^U and would thus preempt the more useful "up" function of vi.
1.1       millert  13706: #
1.11      millert  13707: # HMH 2/23/81
                   13708: apple80p|80-column apple with Pascal card,
                   13709:        am, bw,
                   13710:        cols#80, lines#24,
                   13711:        clear=^Y^L, cuf1=^\\:,
                   13712:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   13713:        home=^Y, kcub1=^H,
1.1       millert  13714: #
1.11      millert  13715: # Apple II+ equipped with Videx 80 column card
1.1       millert  13716: #
1.11      millert  13717: # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
                   13718: # manually converted by D A Gwyn
1.1       millert  13719: #
1.11      millert  13720: # DO NOT use any terminal emulation with this data base, it works directly
                   13721: # with the Videx card.  This has been tested with vi 1200 baud and works fine.
1.1       millert  13722: #
1.11      millert  13723: # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
                   13724: # 1 screen, while in R2 ^U doesn't.
                   13725: # For inverse alternate character set add:
                   13726: #      <smacs>=^O:<rmacs>=^N:
                   13727: # (apple-v: added it#8 -- esr)
                   13728: apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520),
                   13729:        am, xenl,
                   13730:        cols#80, it#8, lines#24,
                   13731:        bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H,
                   13732:        cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c,
                   13733:        cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>,
                   13734:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
                   13735:        khome=^Y, rmso=^Z2, smso=^Z3,
                   13736: apple-videx3|vapple|Apple II with 80 col card,
                   13737:        OTbs, am,
                   13738:        cols#80, lines#24,
                   13739:        clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   13740:        cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   13741:        kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!,
                   13742:        kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%, kf9=\E&, khome=\EH,
                   13743: #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
                   13744: aepro|Apple II+ running ASCII Express Pro--vt52,
                   13745:        OTbs,
                   13746:        cols#80, lines#24,
                   13747:        clear=\014$<300/>, cuf1=\EC,
                   13748:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   13749:        el=\EK, home=\EH,
                   13750: # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
                   13751: apple-vm80|ap-vm80|apple with viewmax-80,
                   13752:        OTbs,
                   13753:        cols#80, lines#24,
                   13754:        clear=\014$<300/>, cuf1=^\\:,
                   13755:        cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_,
                   13756:        ed=\013$<300/>, el=^], home=\031$<200/>,
1.1       millert  13757:
1.11      millert  13758: #### Apple Lisa & Macintosh
                   13759: #
1.1       millert  13760:
1.11      millert  13761: # (lisa: changed <cvvis> to <cnorm> -- esr)
                   13762: lisa|apple lisa console display (black on white),
                   13763:        OTbs, am, eo, msgr,
                   13764:        cols#88, it#8, lines#32,
                   13765:        acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L,
                   13766:        cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   13767:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   13768:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
                   13769:        is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   13770:        kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
                   13771:        sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m,
                   13772: liswb|apple lisa console display (white on black),
                   13773:        is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m,
                   13774:        smso=\E[m, smul=\E[4m, use=lisa,
1.1       millert  13775:
1.11      millert  13776: # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
                   13777: # <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
                   13778: #
                   13779: # These entries assume that the 'Auto Wraparound' is enabled.
                   13780: # Xon-Xoff flow control should also be enabled.
1.1       millert  13781: #
1.11      millert  13782: # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
                   13783: # settings are in non-volatile memory and don't need to be reset upon login.
                   13784: # Also setting the number of columns glitches the screen annoyingly.
                   13785: # You can type "reset" to get them set.
1.1       millert  13786: #
1.11      millert  13787: lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation,
                   13788:        OTbs, OTpt, am, xenl, xon,
                   13789:        OTkn#4, cols#80, it#8, lines#24, vt#3,
                   13790:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   13791:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   13792:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   13793:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
                   13794:        el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD,
                   13795:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ,
                   13796:        kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8,
                   13797:        rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   13798:        rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r,
                   13799:        sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   13800:        tbc=\E[3g,
                   13801: # Lisaterm in 132 column ("wide") mode.
                   13802: lisaterm-w|Apple Lisa with Lisaterm in 132 column mode,
                   13803:        cols#132,
                   13804:        kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm,
                   13805: # Although MacTerminal has insert/delete line, it is commented out here
                   13806: # since it is much faster and cleaner to use the "lock scrolling region"
                   13807: # method of inserting and deleting lines due to the MacTerminal implementation.
                   13808: # Also, the "Insert/delete ch" strings have an extra character appended to them
                   13809: # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
                   13810: # supported by MacTerminal.
                   13811: mac|macintosh|Macintosh with MacTerminal,
                   13812:        xenl,
                   13813:        OTdN#30,
                   13814:        blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa,
                   13815: # Lisaterm in 132 column ("wide") mode.
                   13816: mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode,
                   13817:        cols#132, use=mac,
1.1       millert  13818:
1.11      millert  13819: #### Radio Shack/Tandy
1.1       millert  13820: #
                   13821:
1.11      millert  13822: # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
                   13823: # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
                   13824: # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
                   13825: coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II,
                   13826:        OTbs, am,
                   13827:        cols#80, it#8, lines#24,
                   13828:        bel=^G, blink=^_", bold=\E\:^A, civis=^E\s,
                   13829:        clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F,
                   13830:        cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I,
                   13831:        dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J,
                   13832:        kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#,
                   13833:        sgr0=\037!\E\:\0, smso=^_\s, smul=^_",
                   13834: # (trs2: removed obsolete ":nl=^_:" -- esr)
                   13835: trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M,
                   13836:        OTbs, am, msgr,
                   13837:        cols#80, it#8, lines#24,
                   13838:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^],
                   13839:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B,
                   13840:        el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\,
                   13841:        kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N,
                   13842: # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
                   13843: # (This had extension capabilities
                   13844: #      :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
                   13845: #      :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
                   13846: # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
                   13847: trs16|trs-80 model 16 console,
                   13848:        OTbs, am,
                   13849:        cols#80, it#8, lines#24,
                   13850:        acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L,
                   13851:        cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   13852:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   13853:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
                   13854:        ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   13855:        kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S,
                   13856:        khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7,
                   13857:        lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@,
                   13858:        smacs=\ERG, smso=\ERD,
1.1       millert  13859:
1.11      millert  13860: #### Atari ST
1.1       millert  13861: #
                   13862:
1.11      millert  13863: # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
                   13864: atari|atari st,
                   13865:        OTbs, am,
                   13866:        cols#80, it#8, lines#25,
                   13867:        clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
                   13868:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   13869:        ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB,
                   13870:        kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep,
                   13871: # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
                   13872: # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
                   13873: uniterm|uniterm49|UniTerm VT220 emulator with 49 lines,
                   13874:        lines#49,
                   13875:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, use=vt220,
                   13876: # MiNT VT52 emulation. 80 columns, 25 rows.
                   13877: # MiNT is Now TOS, the operating system which comes with all Ataris now
                   13878: # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
                   13879: # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
                   13880: # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
                   13881: st52|Atari ST with VT52 emulation,
                   13882:        am, km,
1.1       millert  13883:        cols#80, lines#25,
1.11      millert  13884:        bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED,
                   13885:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   13886:        cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL,
                   13887:        ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1,
                   13888:        kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M,
                   13889:        kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>,
                   13890:        kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G,
                   13891:        kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek,
                   13892:        ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq,
                   13893:        smcup=\Ee, smso=\Ep,
                   13894:
                   13895: #### Commodore Business Machines
1.1       millert  13896: #
1.11      millert  13897: # Formerly located in West Chester, PA; went spectacularly bust in 1994
                   13898: # after years of shaky engineering and egregious mismanagement.  Made one
                   13899: # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
                   13900: # C-128, VIC-20).  The C-64 is said to have been the most popular machine
                   13901: # ever (most units sold); they can still be found gathering dust in closets
                   13902: # everywhere.
1.1       millert  13903: #
                   13904:
1.11      millert  13905: # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
                   13906: # Added a few more entries, converted caret-type control sequence (^x) entries
                   13907: # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
                   13908: #
                   13909: # :as:, :ae:                   Support for alternate character sets.
                   13910: # :ve=\E[\040p:vi=\E[\060\040p:        cursor visible/invisible.
                   13911: # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
                   13912: #     This one appears to fix a problem I always had with a line ending
                   13913: #     at 'width+1' (I think) followed by a blank line in vi. The blank
                   13914: #     line tended to disappear and reappear depending on how the screen
                   13915: #     was refreshed. Note that this is probably needed only if you use
                   13916: #     something like a Dnet Fterm with the window sized to some peculiar
                   13917: #     dimension larger than 80 columns.
                   13918: # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
                   13919: # (amiga: removed obsolete :kn#10:,
                   13920: # also added empty <acsc> to suppress a warning --esr)
                   13921: amiga|Amiga ANSI,
                   13922:        OTbs, am, bw, xenl,
                   13923:        cols#80, lines#24,
                   13924:        acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z,
                   13925:        civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD,
                   13926:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                   13927:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   13928:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   13929:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   13930:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
                   13931:        indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H, kcub1=\ED,
                   13932:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\E9~, kf1=\E0~,
                   13933:        kf2=\E1~, kf3=\E2~, kf4=\E3~, kf5=\E4~, kf6=\E5~, kf7=\E6~,
                   13934:        kf8=\E7~, kf9=\E8~, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
                   13935:        rmacs=^O, rmso=\E[m, rmul=\E[m, rs1=\Ec, sgr0=\E[m, smacs=^N,
                   13936:        smso=\E[7m, smul=\E[4m,
1.1       millert  13937:
1.11      millert  13938: # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
                   13939: # (amiga: added empty <acsc> to suppress a warning.
                   13940: # I'm told this entry screws up badly with AS225, the Amiga
                   13941: # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
                   13942: amiga-h|Hans Verkuil's Amiga ANSI,
                   13943:        OTbs, bw, msgr,
                   13944:        cols#80, lines#24,
                   13945:        acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z,
                   13946:        civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M,
                   13947:        cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
                   13948:        cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
                   13949:        cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
                   13950:        dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G,
                   13951:        home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S,
                   13952:        indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H,
                   13953:        kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
                   13954:        kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~,
                   13955:        kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~,
                   13956:        kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T,
                   13957:        rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m,
                   13958:        rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l,
                   13959:        smso=\2337m, smul=\2334m,
                   13960:
                   13961: # From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
                   13962: amiga-8bit|Amiga ANSI using 8-bit controls,
                   13963:        acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
                   13964:        ind=\204, indn@, ri=\215, rin@,
                   13965:        use=amiga-h,
1.1       millert  13966:
1.11      millert  13967: # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
                   13968: #      I'm trying to write a termcap for a commodore b-128, and I'm
                   13969: # having a little trouble. I've had to map most of my control characters
                   13970: # to something that unix will accept (my delete-char is a ctrl-t, etc),
                   13971: # and create some functions (like cm), but thats life.
                   13972: #      The problem is with the arrow keys - right, and up work fine, but
                   13973: # left deletes the previous character and down I just can't figure out.
                   13974: # Jove knows what I want, but I don't know what it's sending to me (it
                   13975: # isn't thats bound to next-line in jove).
                   13976: #      Anybody got any ideas? Here's my termcap.
                   13977: # DAG -- I changed his "^n" entries to "\n"; see if that works.
1.1       millert  13978: #
1.11      millert  13979: commodore|b-128|Commodore B-128 micro,
                   13980:        am, bw,
                   13981:        OTdN#20, cols#80, lines#24, pb#150,
                   13982:        OTbc=^H, OTnl=^M, clear=\E\006$<10/>, cr=^M, cud1=^J,
                   13983:        cuf1=^F, cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P,
                   13984:        dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>,
                   13985:        home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>,
                   13986:        kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=,
                   13987:        smir=,
1.1       millert  13988:
1.11      millert  13989: #### North Star
1.1       millert  13990: #
1.11      millert  13991: # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
                   13992: northstar|North Star Advantage,
                   13993:        OTbs,
                   13994:        cols#80, lines#24,
                   13995:        clear=\004$<200/>,
                   13996:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>,
                   13997:        el=\016$<200/>, home=\034\032$<200/>,
1.1       millert  13998:
1.11      millert  13999: #### Osborne
1.1       millert  14000: #
1.11      millert  14001: # Thu Jul  7 03:55:16 1983
                   14002: #
                   14003: # As an aside, be careful; it may sound like an anomaly on the
                   14004: # Osborne, but with the 80-column upgrade, it's too easy to
                   14005: # enter lines >80 columns!
                   14006: #
                   14007: # I've already had several comments...
                   14008: # The Osborne-1 with the 80-col option is capable of being
                   14009: # 52, 80, or 104 characters wide; default to 80 for compatibility
                   14010: # with most systems.
                   14011: #
                   14012: # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
                   14013: osborne-w|osborne1-w|osborne I in 104-column mode,
                   14014:        msgr, ul, xt,
                   14015:        cols#104, lines#24,
                   14016:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   14017:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   14018:        dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J,
                   14019:        kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El,
                   14020: # Osborne I    from ptsfa!rhc (Robert Cohen) via BRL
                   14021: osborne|osborne1|osborne I in 80-column mode,
                   14022:        OTbs, am, mir, msgr, ul, xhp,
                   14023:        OTdB#4, cols#80, lines#24,
                   14024:        clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L,
                   14025:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   14026:        dch1=\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H,
                   14027:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E),
                   14028:        rmul=\Em, smir=\EQ, smso=\E(, smul=\El,
1.1       millert  14029: #
1.11      millert  14030: # Osborne Executive definition from BRL
                   14031: # Similar to tvi920
                   14032: # Added by David Milligan and Tom Smith (SMU)
                   14033: osexec|Osborne executive,
                   14034:        OTbs, am,
                   14035:        OTug#1, cols#80, lines#24, xmc#1,
                   14036:        OTnl=^J, bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   14037:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   14038:        dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
                   14039:        is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
                   14040:        kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
                   14041:        kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
                   14042:        kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej,
                   14043:        smul=\El, tbc=\E3,
1.1       millert  14044:
1.11      millert  14045: #### Console types for obsolete UNIX clones
1.1       millert  14046: #
1.11      millert  14047: # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
                   14048: # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
                   14049: # were commercial, Minix an educational tool sold in conjunction with a book.
                   14050: # Memory-segmentation limits and a strong tendency to look like V7 long after
                   14051: # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
                   14052: # and Minix were ported to 32-bit Intel boxes, only to be run over by a
                   14053: # steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
                   14054: # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
                   14055: # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
                   14056: # even as single processes under SunOS and the Macintosh OS.
1.1       millert  14057: #
                   14058:
1.11      millert  14059: # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
                   14060: minix|minix console (v1.7),
                   14061:        am, xenl,
                   14062:        cols#80, it#8, lines#25,
                   14063:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
                   14064:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   14065:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   14066:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   14067:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
                   14068:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   14069:        is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   14070:        kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S,
                   14071:        kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +,
                   14072:        lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM,
                   14073:        rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
                   14074: # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
                   14075: minix-old|minix console (v1.5),
                   14076:        xon,
                   14077:        cols#80, it#8, lines#25,
                   14078:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
                   14079:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   14080:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   14081:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   14082:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
                   14083:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   14084:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   14085:        kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G,
                   14086:        khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m,
                   14087:        rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
                   14088: # The linewrap option can be specified by editing /usr/include/minix/config.h
                   14089: # before recompiling the minix 1.5 kernel.
                   14090: minix-old-am|minix console with linewrap,
                   14091:        am, use=minix-old,
1.1       millert  14092:
1.11      millert  14093: pc-minix|minix console on an Intel box,
                   14094:        use=klone+acs, use=minix,
1.1       millert  14095:
1.11      millert  14096: # According to the Coherent 2.3 manual, the PC console is similar
                   14097: # to a z19. The differences seem to be (1) 25 lines, (2) no status
                   14098: # line, (3) standout is broken, (4) ins/del line is broken, (5)
                   14099: # has blinking and bold.
                   14100: pc-coherent|pcz19|coherent|IBM PC console running Coherent,
                   14101:        am, mir,
                   14102:        cols#80, it#8, lines#25,
                   14103:        bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   14104:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN,
                   14105:        ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED,
                   14106:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO,
                   14107:        rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep,
1.1       millert  14108:
1.11      millert  14109: # According to the Venix 1.1 manual, the PC console is similar
                   14110: # to a DEC vt52.  Differences seem to be (1) arrow keys send
                   14111: # different strings, (2) enhanced standout, (3) added insert/delete line.
                   14112: # Note in particular that it doesn't have automatic margins.
                   14113: # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
                   14114: # not described here because this derives from an old termcap entry.
                   14115: pc-venix|venix|IBM PC console running Venix,
                   14116:        cols#80, it#8, lines#25,
                   14117:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
1.1       millert  14118:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
1.11      millert  14119:        ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK,
                   14120:        kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI,
1.1       millert  14121:
1.11      millert  14122: #### Miscellaneous microcomputer consoles
1.1       millert  14123: #
1.11      millert  14124: # If you know anything more about any of these, please tell me.
1.1       millert  14125: #
                   14126:
1.11      millert  14127: # The MAI Basic Four computer was obsolete at the end of the 1980s.
                   14128: # It may be used as a terminal by putting it in "line" mode as seen on
                   14129: # one of the status lines.
                   14130: # Initialization is similar to CIT80. <is2> will set ANSI mode for you.
                   14131: # Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
                   14132: # wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I
                   14133: # used \ED instead.
                   14134: # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
                   14135: mai|basic4|MAI Basic Four in ansi mode,
                   14136:        am, da, db, mir, msgr,
                   14137:        cols#82, it#8, lines#25,
                   14138:        bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h,
                   14139:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X,
                   14140:        cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P,
                   14141:        dl1=\E[M, ed=^_, el=^^, home=^], ht=^I,
                   14142:        if=/usr/lib/tabset/vt100, il1=\E[L, ind=\ED,
                   14143:        is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H,
                   14144:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   14145:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
                   14146:        kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T,
                   14147:        rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
                   14148:        smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   14149: # basis from Peter Harrison, Computer Graphics Lab, San Francisco
                   14150: #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
                   14151: # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
                   14152: basis|BASIS108 computer with terminal translation table active,
                   14153:        clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H,
                   14154:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E),
                   14155:        smso=\E(,
                   14156:        use=adm3a,
                   14157: # luna's BMC terminal emulator
                   14158: luna|luna68k|LUNA68K Bitmap console,
                   14159:        cols#88, lines#46, use=ansi-mini,
                   14160: megatek|pegasus workstation terminal emulator,
                   14161:        am, os,
                   14162:        cols#83, lines#60,
                   14163: # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
                   14164: # interface (pre-Macintosh by several years) that went nowhere.
                   14165: xerox820|x820|Xerox 820,
                   14166:        am,
                   14167:        cols#80, lines#24,
                   14168:        bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   14169:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X,
                   14170:        home=^^, ind=^J,
1.1       millert  14171:
1.11      millert  14172: #### Videotex and teletext
1.1       millert  14173: #
1.11      millert  14174:
                   14175: # \E\:1}       switch to te'le'informatique mode (ascii terminal/ISO 6429)
                   14176: # \E[?3l       80 columns
                   14177: # \E[?4l       scrolling on
                   14178: # \E[12h       local echo off
                   14179: # \Ec          reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
                   14180: # \E)0         G1 DEC set (line graphics)
1.1       millert  14181: #
1.11      millert  14182: # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
                   14183: m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique,
                   14184:        OTbs, eslok, hs, xenl,
                   14185:        cols#80, it#8, lines#24, wsl#72, xmc#0,
                   14186:        acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G,
                   14187:        blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J,
                   14188:        cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   14189:        cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
                   14190:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   14191:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   14192:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J,
                   14193:        home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=^J,
                   14194:        ip=$<7/>, is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0,
                   14195:        is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
                   14196:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp,
                   14197:        kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu,
                   14198:        kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H,
                   14199:        kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H,
                   14200:        mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rin=\EM,
                   14201:        rmacs=^O, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   14202:        rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m,
                   14203:        smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A,
                   14204:        u6=\E[%i%d;%dR, u7=\E[6n,
1.1       millert  14205:
1.11      millert  14206: # From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
                   14207: #
                   14208: minitel1|minitel 1,
                   14209:        am, bw, eslok, hs, hz, msgr,
                   14210:        colors#8, cols#40, lines#24, pairs#8,
                   14211:        acsc=+.\,\,./f0g1, bel=^G, blink=\EH, civis=^T, clear=^L,
                   14212:        cnorm=^Q, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
                   14213:        cup=\037%p1%{65}%+%c%p2%{65}%+%c, cuu1=^K, el=^X,
                   14214:        enacs=^Y, fsl=^J, home=^^, ind=^J,
                   14215:        is2=\E;`ZQ\E\:iC\E\:iE\021, nel=^M^J, op=\EG,
                   14216:        rep=%p1%c\022%p2%{63}%+%c, rev=\E], ri=^K, rmso=\E\\,
                   14217:        setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;,
                   14218:        sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;,
                   14219:        sgr0=\EI\E\\, smso=\E], tsl=\037@%p1%{65}%+%c,
                   14220: # is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
                   14221: minitel1b|minitel 1-bistandard (in 40cols mode),
                   14222:        mir,
                   14223:        cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
                   14224:        cuu=\E[%p1%dA, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   14225:        dl1=\E[M, ed=\E[J, el1=\E[1K, il=\E[%p1%dL, il1=\E[L,
                   14226:        is1=\E;iYA\E;jYC, kclr=\E[2J, kctab=^I, kcub1=\E[D,
                   14227:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
                   14228:        kel=^X, khome=\E[H, kich1=\E[4h, kil1=\E[L, rmir=\E[4l,
                   14229:        smir=\E[4h, smkx=\E;iYA\E;jYC,
                   14230:        use=minitel1,
                   14231: # <rmkx> posait des problemes (logout en sortant de vi).
                   14232: minitel1b-80|minitel 1-bistandard (standard teleinformatique),
                   14233:        am@, bw@, hz@,
                   14234:        colors@, cols#80, it#8, pairs@,
                   14235:        blink=\E[5m, bold=\E[1m, civis=\037@A\024\n,
                   14236:        clear=\E[H\E[2J, cnorm=\037@A\021\n, cuf1=\E[C,
                   14237:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                   14238:        ht=^I, ind=\ED, is1@, is2@, kent=\EOM, kf0=\EOp, kf1=\EOq,
                   14239:        kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv, kf7=\EOw,
                   14240:        kf8=\EOx, kf9=\EOy, nel=\EE, op@, rc=\E8, rep@, rev=\E[7m,
                   14241:        ri=\EM, rmkx@, rmso=\E[27m, rmul=\E[24m, sc=\E7, setf@,
                   14242:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   14243:        sgr0=\E[m, smkx@, smso=\E[7m, smul=\E[4m,
                   14244:        use=minitel1b,
1.1       millert  14245:
1.11      millert  14246: ######## OBSOLETE VDT TYPES
1.1       millert  14247: #
1.11      millert  14248: # These terminals are *long* dead -- these entries are retained for
                   14249: # historical interest only.
                   14250:
                   14251: #### Amtek Business Machines
1.1       millert  14252: #
                   14253:
1.11      millert  14254: # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
                   14255: # but these caps were commented out in 8.3; also, removed overridden
                   14256: # ":do=^J:" -- esr)
                   14257: abm80|amtek business machines 80,
                   14258:        OTbs, am, bw,
                   14259:        cols#80, lines#24,
                   14260:        cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P,
                   14261:        cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L,
                   14262:        dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z,
1.1       millert  14263:
1.11      millert  14264: #### Bell Labs blit terminals
                   14265: #
                   14266: # These were AT&T's official entries.  The 5620 FAQ maintained by
                   14267: # David Breneman <daveb@dgtl.com> has this to say:
1.1       millert  14268: #
1.11      millert  14269: #  Actually, in the beginning was the Jerq, and the Jerq was white with a
                   14270: #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
                   14271: #  was good.  But lo, upon the horizon loomed a mighty management-type person
                   14272: #  (known now only by the initials VP) who said, the mighty Jerq must stay
                   14273: #  alone, and could not go forth into the world. So Locanthi and Pike put the
                   14274: #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
                   14275: #  world. And the Jerq lived the rest of its days in research, but never
                   14276: #  strayed from those paths.
1.1       millert  14277: #
1.11      millert  14278: #  In all seriousness, the Blit was originally known as the Jerq, but when
                   14279: #  it started to be shown outside of the halls of the Bell Labs Research
                   14280: #  organization, the management powers that be decided that the name could
                   14281: #  not remain. So it was renamed to be Blit. This was in late 1981.
1.1       millert  14282: #
1.11      millert  14283: # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
                   14284: # 730, and 730+.)
1.1       millert  14285: #
1.11      millert  14286:
                   14287: blit|jerq|blit running teletype rom,
                   14288:        am, eo, ul, xon,
                   14289:        cols#87, it#8, lines#72,
                   14290:        bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
                   14291:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
                   14292:        dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c,
                   14293:        dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!,
                   14294:        il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED,
                   14295:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez,
                   14296:
                   14297: # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
                   14298: cbblit|fixterm|blit running columbus code,
                   14299:        cols#88,
                   14300:        ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d,
                   14301:        rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!,
                   14302:        smul=\EU",
                   14303:        use=blit,
                   14304:
                   14305: oblit|ojerq|first version of blit rom,
                   14306:        am, da, db, eo, mir, ul, xon,
                   14307:        cols#88, it#8, lines#72,
                   14308:        bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
                   14309:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO,
                   14310:        dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G,
                   14311:        ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER,
                   14312:        smir=\EQ,
                   14313:
                   14314: #### Bolt, Beranek & Newman (bbn)
1.1       millert  14315: #
1.11      millert  14316: # The BitGraph was a product of the now-defunct BBN Computer Corporation.
                   14317: # The parent company, best known as the architects of the Internet, is
                   14318: # still around.
1.1       millert  14319: #
1.11      millert  14320: # Jeff DelPapa <dp@world.std.com> writes:
                   14321: # The bitgraph was a large white box that contained a monochrome bitmap
                   14322: # display, and a 68000 to run it.  You could download code and run it on
                   14323: # the cpu, it had 128kb (I think) of memory.  I used one in the late
                   14324: # 70's, sure beat a vt100.  It had one strange feature tho -- it used
                   14325: # the cpu to bitblt pixels to scroll, it took longer than the refresh
                   14326: # rate, and looked like a rubber sheet stretching, then snapping
                   14327: # upwards.  It had everything the early mac had, except a floppy drive a
                   14328: # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
                   14329: # Beranek and Neuman) sold at most a few hundred of them to the real
                   14330: # world.  DOD may have bought more...
                   14331: #
1.1       millert  14332:
1.11      millert  14333: # Entries for the BitGraph terminals.  The problem
                   14334: # with scrolling in vi can only be fixed by getting BBN to put
                   14335: # smarter scroll logic in the terminal or changing vi or padding
                   14336: # scrolls with about 500 ms delay.
                   14337: #
                   14338: # I always thought the problem was related to the terminal
                   14339: # counting newlines in its input buffer before scrolling and
                   14340: # then moving the screen that much. Then vi comes along and
                   14341: # paints lines in on the bottom line of the screen, so you get
                   14342: # this big white gap.
                   14343:
                   14344: bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video),
                   14345:        flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
                   14346:        use=bg2.0,
                   14347: bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video),
                   14348:        flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
                   14349:        use=bg2.0,
                   14350: bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init),
                   14351:        OTbs, xenl,
                   14352:        cols#85, lines#64,
                   14353:        bel=^G, clear=\E[H\E[J$<150>, cr=^M,
                   14354:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   14355:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>,
                   14356:        ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>,
                   14357:        ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   14358:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1,
                   14359:        lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7,
                   14360:        sgr0=\E[m, smkx=\E=, smso=\E[7m,
                   14361:
                   14362: bg1.25rv|bbn bitgraph 1.25 (reverse video),
                   14363:        flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg1.25,
                   14364: bg1.25nv|bbn bitgraph 1.25 (normal video),
                   14365:        flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, use=bg1.25,
                   14366: # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
                   14367: bg1.25|bbn bitgraph 1.25,
                   14368:        cols#85, lines#64,
                   14369:        bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B,
                   14370:        cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A,
                   14371:        dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I,
                   14372:        il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB,
                   14373:        kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES,
                   14374:        lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l,
                   14375:        rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=,
                   14376:        smso=\E[7m,
                   14377:
                   14378: #### Chromatics
1.1       millert  14379: #
                   14380:
1.11      millert  14381: # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window
                   14382: # that is smaller than the screen, and puts up a warning message
                   14383: # outside the window. Te erases the warning message, puts the
                   14384: # window back to be the whole screen, and puts the cursor at just
                   14385: # below the small window. I defined <cnorm> and <civis> to really turn
                   14386: # the cursor on and off, but I have taken this out since I don't
                   14387: # like the cursor being turned off when vi exits.
                   14388: cg7900|chromatics|chromatics 7900,
                   14389:        am,
                   14390:        cols#80, lines#40,
                   14391:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^],
                   14392:        cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2,
                   14393:        ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|,
                   14394:        rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,,
                   14395:        rmso=\001C1\,\001c2\,,
                   14396:        smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,,
                   14397:        smso=\001C4\,\001c7\,, uc=\001\001_\001\0,
                   14398:
                   14399: #### Computer Automation
1.1       millert  14400: #
1.11      millert  14401:
                   14402: ca22851|computer automation 22851,
                   14403:        am,
                   14404:        cols#80, lines#24,
                   14405:        bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I,
                   14406:        cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J,
                   14407:        kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^,
                   14408:
                   14409: #### Cybernex
1.1       millert  14410: #
                   14411:
1.11      millert  14412: # This entry has correct padding and the undocumented "ri" capability
                   14413: cyb83|xl83|cybernex xl-83,
                   14414:        OTbs, am,
                   14415:        cols#80, lines#24,
                   14416:        bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
                   14417:        cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N,
                   14418:        ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H,
                   14419:        kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N,
                   14420: # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
                   14421: cyb110|mdl110|cybernex mdl-110,
                   14422:        OTbs, am,
                   14423:        cols#80, lines#24,
                   14424:        bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   14425:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   14426:        dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>,
                   14427:        ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y,
                   14428:        ht=\011$<43>, ich1=\016A\035$<3.5>,
                   14429:        il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF,
1.1       millert  14430:
1.11      millert  14431: #### Datapoint
                   14432: #
                   14433: # Datapoint is gone.  They used to be headquartered in Texas.
                   14434: # They created ARCnet, an Ethernet competitor that flourished for a while
                   14435: # in the early 1980s before 3COM got wise and cut its prices.  The service
                   14436: # side of Datapoint still lives (1995) in the form of Intelogic Trace.
1.1       millert  14437: #
                   14438:
1.11      millert  14439: dp3360|datapoint|datapoint 3360,
                   14440:        OTbs, am,
                   14441:        cols#82, lines#25,
                   14442:        bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z,
                   14443:        ed=^_, el=^^, home=^], ind=^J,
                   14444:
                   14445: # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
                   14446: # The Datapoint 8242 Workstation was sold at least between 1985
                   14447: # and 1989. To make the terminal work with this entry, press
                   14448: # CONTROL-INT-INT to take the terminal off-line, and type (opt).
                   14449: # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
                   14450: # CR/LF off. Use control-shift-[] as escape key, control-I as tab,
                   14451: # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
                   14452: # fact unusable because the strings sent by the terminal conflict
                   14453: # with other keys).
                   14454: # The terminal is capable of displaying "box draw" characters.
                   14455: # For each graphic character you must send 2 ESC's (\E\E) followed
                   14456: # by a control character as follows:
                   14457: #         character        meaning
                   14458: #         =========        =======
                   14459: #         ctrl-E           top tee
                   14460: #         ctrl-F           right tee
                   14461: #         ctrl-G           bottom tee
                   14462: #         ctrl-H           left tee
                   14463: #         ctrl-I           cross
                   14464: #         ctrl-J           top left corner
                   14465: #         ctrl-K           top right corner
                   14466: #         ctrl-L           bottom left corner
                   14467: #         ctrl-M           bottom right corner
                   14468: #         ctrl-N           horizontal line
                   14469: #         ctrl-O           vertical line
                   14470: # Unfortunately this cannot be fitted into the termcap/terminfo
                   14471: # description scheme.
                   14472: dp8242|datapoint 8242,
                   14473:        msgr,
                   14474:        cols#80, lines#25,
                   14475:        bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X,
                   14476:        cr=^M, cub1=^H, cud1=^J,
                   14477:        cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V,
                   14478:        home=^U, ht=^I, il1=\E^T, ind=^C,
                   14479:        is1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
                   14480:        kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee,
                   14481:        kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea,
                   14482:        kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J,
                   14483:        rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D,
                   14484:        rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
                   14485:        smso=\E^E, smul=\E^F,
                   14486:        wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025,
1.1       millert  14487:
1.11      millert  14488: #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
                   14489: #
                   14490: # These entries are DEC's official terminfos for its older terminals.
                   14491: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   14492: # Engineering for more information.  Updated terminfos and termcaps
                   14493: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1.1       millert  14494: #
                   14495:
1.11      millert  14496: gt40|dec gt40,
                   14497:        OTbs, os,
                   14498:        cols#72, lines#30,
                   14499:        bel=^G, cr=^M, cub1=^H, cud1=^J,
                   14500: gt42|dec gt42,
                   14501:        OTbs, os,
                   14502:        cols#72, lines#40,
                   14503:        bel=^G, cr=^M, cub1=^H, cud1=^J,
                   14504: vt50|dec vt50,
                   14505:        OTbs,
                   14506:        cols#80, lines#12,
                   14507:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   14508:        cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J,
                   14509: vt50h|dec vt50h,
                   14510:        OTbs,
                   14511:        cols#80, lines#12,
                   14512:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   14513:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   14514:        el=\EK, ht=^I, ind=^J, ri=\EI,
                   14515: # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
                   14516: vt61|vt-61|vt61.5|dec vt61,
1.1       millert  14517:        cols#80, lines#24,
1.11      millert  14518:        bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J,
                   14519:        cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>,
                   14520:        cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I,
                   14521:        ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   14522:        ri=\E$<20>I,
                   14523:
                   14524: # The gigi does standout with red!
                   14525: # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
                   14526: gigi|vk100|dec gigi graphics terminal,
                   14527:        OTbs, am, xenl,
                   14528:        cols#84, lines#24,
                   14529:        bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   14530:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   14531:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
                   14532:        el=\E[K, ht=^I, ind=^J,
                   14533:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h,
                   14534:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   14535:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
                   14536:        rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   14537:        sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m,
                   14538:        smul=\E[4m,
                   14539:
                   14540: # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
                   14541: # a PC differentiated from the IBM clones.  It was a total, ludicrous,
                   14542: # grossly-overpriced failure (among other things, DEC's OS didn't include
                   14543: # a format program, so you had to buy pre-formatted floppies from DEC at
                   14544: # a hefty premium!).
                   14545: pro350|decpro|dec pro console,
                   14546:        OTbs,
                   14547:        cols#80, it#8, lines#24,
                   14548:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   14549:        clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC,
                   14550:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   14551:        el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   14552:        kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI,
                   14553:        kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG,
                   14554:        rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D,
1.1       millert  14555:
1.11      millert  14556: dw1|decwriter I,
                   14557:        OTbs, hc, os,
                   14558:        cols#72,
                   14559:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   14560: dw2|decwriter|dw|decwriter II,
                   14561:        OTbs, hc, os,
                   14562:        cols#132,
                   14563:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
                   14564: # \E(B         Use U.S. character set (otherwise # => british pound !)
                   14565: # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
                   14566: # \E[w         10 char/in pitch
                   14567: # \E[1;132     full width horizontal margins
                   14568: # \E[2g                clear all tab stops
                   14569: # \E[z         6 lines/in
                   14570: # \E[66t       66 lines/page (for \f)
                   14571: # \E[1;66r     full vertical page can be printed
                   14572: # \E[4g                clear vertical tab stops
                   14573: # \E>          disable alternate keypad mode (so it transmits numbers!)
                   14574: # \E[%i%p1%du  set tab stop at column %d (origin == 1)
                   14575: #              (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
                   14576: #              a tab stop)
1.1       millert  14577: #
1.11      millert  14578: #       The dw3 does standout with wide characters.
1.1       millert  14579: #
1.11      millert  14580: dw3|la120|decwriter III,
                   14581:        OTbs, hc, os,
                   14582:        cols#132,
                   14583:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J,
                   14584:        is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>,
                   14585:        is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r,
                   14586:        kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w,
                   14587: dw4|decwriter IV,
                   14588:        OTbs, am, hc, os,
                   14589:        cols#132,
                   14590:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H,
                   14591:        kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
1.1       millert  14592:
1.11      millert  14593: # These aren't official
                   14594: ln03|dec ln03 laser printer,
                   14595:        hc,
                   14596:        cols#80, lines#66,
                   14597:        bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J,
                   14598:        rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m,
                   14599:        smul=\E[4m,
                   14600: ln03-w|dec ln03 laser printer 132 cols,
                   14601:        cols#132,
                   14602:        bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
                   14603:        kcud1=^J, nel=^M^J,
                   14604:        use=ln03,
1.1       millert  14605:
1.11      millert  14606: #### Delta Data (dd)
1.1       millert  14607: #
                   14608:
1.11      millert  14609: # Untested. The cup sequence is hairy enough that it probably needs work.
                   14610: # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
                   14611: # There are BSD-derived termcap entries floating around for this puppy
                   14612: # that are *certainly* wrong.
                   14613: delta|dd5000|delta data 5000,
                   14614:        OTbs, am,
                   14615:        cols#80, lines#27,
                   14616:        bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y,
                   14617:        cup=\017%p1%p1%{16}%m%{2}%*%-%{57}%+%c%p2%p2%{16}%m%{2}%*%-%{57}%+%c,
                   14618:        cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J,
                   14619:
                   14620: #### Digital Data Research (ddr)
                   14621: #
1.1       millert  14622:
1.11      millert  14623: # (ddr: I added <rmam>/<smam> based on the init string -- esr)
                   14624: ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator,
                   14625:        OTbs, am, xenl,
                   14626:        cols#80, it#8, lines#24, vt#3,
                   14627:        blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   14628:        clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H,
                   14629:        cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
                   14630:        cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
                   14631:        ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H,
                   14632:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   14633:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
                   14634:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l,
                   14635:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>,
                   14636:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   14637:        sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m,
                   14638:        smul=\E[4m$<2/>,
1.1       millert  14639:
1.11      millert  14640: #### Evans & Sutherland
1.1       millert  14641: #
                   14642:
1.11      millert  14643: # Jon Leech <leech@cs.unc.edu> tells us:
                   14644: # The ps300 was the Evans & Sutherland Picture System 300, a high
                   14645: # performance 3D vector graphics system with a bunch of specialized hardware.
                   14646: # Approximate date of release was 1982 (early 80s, anyway), and it had several
                   14647: # evolutions including (limited) color versions such as the PS330C. PS300s
                   14648: # were effectively obsolete by the late 80s, replaced by raster graphics
                   14649: # systems, although specialized applications like molecular modelling
                   14650: # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
                   14651: # are out of production, though of course E&S is very much alive (in 1996).
                   14652: # (ps300: changed ":pt@:" to "it@" -- esr)
                   14653: #
                   14654: ps300|Picture System 300,
                   14655:        xt,
                   14656:        it@,
                   14657:        rmso@, rmul@, smso@, smul@, use=vt100,
1.1       millert  14658:
1.11      millert  14659: #### General Electric (ge)
1.1       millert  14660: #
                   14661:
1.11      millert  14662: terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200,
                   14663:        OTbs, hc, os,
                   14664:        cols#120,
                   14665:        bel=^G, cr=^M, cud1=^J, ind=^J,
1.1       millert  14666:
1.11      millert  14667: #### Heathkit/Zenith
1.1       millert  14668: #
1.11      millert  14669:
                   14670: # Here is a description of the H19 DIP switches:
1.1       millert  14671: #
1.11      millert  14672: # S401
                   14673: # 0-3 = baud rate as follows:
                   14674: #
                   14675: #         3       2       1       0
                   14676: #      ---     ---     ---     ---
                   14677: #         0       0       1       1       300 baud
                   14678: #         0       1       0       1       1200 baud
                   14679: #         1       0       0       0       2400 baud
                   14680: #         1       0       1       0       4800 baud
                   14681: #         1       1       0       0       9600 baud
                   14682: #         1       1       0       1       19.2K baud
1.1       millert  14683: #
1.11      millert  14684: # 4 = parity (0 = no parity)
                   14685: # 5 = even parity (0 = odd parity)
                   14686: # 6 = stick parity (0 = normal parity)
                   14687: # 7 = full duplex (0 = half duplex)
1.1       millert  14688: #
1.11      millert  14689: # S402
                   14690: # 0 = block cursor (0 = underscore cursor)
                   14691: # 1 = no key click (0 = keyclick)
                   14692: # 2 = wrap at end of line (0 = no wrap)
                   14693: # 3 = auto LF on CR (0 = no LF on CR)
                   14694: # 4 = auto CR on LF (0 = no CR on LF)
                   14695: # 5 = ANSI mode (0 = VT52 mode)
                   14696: # 6 = keypad shifted (0 = keypad unshifted)
                   14697: # 7 = 50Hz refresh (1 = 60Hz refresh)
1.1       millert  14698: #
1.11      millert  14699: # Factory Default settings are as follows:
                   14700: #          7 6 5 4 3 2 1 0
                   14701: # S401     1 0 0 0 1 1 0 0
                   14702: # S402     0 0 0 0 0 0 0 0
                   14703: # (h19: I added <rmam>/<smam> based on the init string;
                   14704: # also added empty <acsc> to suppress a tic warning -- esr)
                   14705: h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode,
                   14706:        OTbs, am, mir, msgr,
                   14707:        cols#80, it#8, lines#24,
                   14708:        acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H,
                   14709:        cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH,
                   14710:        cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>,
                   14711:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J,
                   14712:        is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h,
                   14713:        kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A,
                   14714:        kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP,
                   14715:        kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white,
                   14716:        ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m,
                   14717:        smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
                   14718: h19-bs|heathkit w/keypad shifted,
                   14719:        rmkx=\Eu, smkx=\Et, use=h19-b,
                   14720: h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor,
                   14721:        rmkx=\Eu, smkx=\Et,
                   14722:        use=h19-u,
                   14723: # (h19: merged in <ip> from BSDI hp19-e entry>;
                   14724: # also added empty <acsc> to suppress a tic warning --esr)
                   14725: # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
                   14726: # Tim tells us that:
                   14727: # I have an old Zenith-19 terminal at home that still gets a lot of use.
                   14728: # This terminal suffers from the same famous insert-mode padding lossage
                   14729: # that has been acknowledged for the Z29 terminal.  Emacs is nearly
                   14730: # unusable on this box, since even a half-scroll up or down the window
                   14731: # causes flaming terminal death.
                   14732: #
                   14733: # On the Z19, the only way I have found around this problem is to remove
                   14734: # the :al: and :dl: entries entirely.  No amount of extra padding will
                   14735: # help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
                   14736: # makes Emacs a little slower, but it remains in the land of the living.
                   14737: # Big win.
                   14738: h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
                   14739:        OTbs, am, eslok, hs, mir, msgr,
                   14740:        cols#80, it#8, lines#24,
                   14741:        acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB,
                   14742:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   14743:        cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH,
                   14744:        ht=^I, ind=^J, ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB,
                   14745:        kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
                   14746:        kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue,
                   14747:        lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq,
                   14748:        smacs=\EF, smir=\E@, smso=\Ep,
                   14749:        tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo,
                   14750: h19-u|heathkit with underscore cursor,
                   14751:        cnorm@, cvvis@, use=h19-b,
                   14752: h19-g|h19g|heathkit w/block cursor,
                   14753:        cnorm=\Ex4, use=h19-b,
                   14754: alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,
                   14755:        lines#60,
                   14756:        dl1=\EM, il1=\EL, use=h19,
1.1       millert  14757:
1.11      millert  14758: # The major problem with the Z29 is that it requires more padding than the Z19.
1.1       millert  14759: #
1.11      millert  14760: # The problem with declaring an H19 to be synonymous with a Z29 is that
                   14761: # it needs more padding. It especially loses if a program attempts
                   14762: # to put the Z29 into insert mode and insert text at 9600 baud. It
                   14763: # even loses worse if the program attempts to insert tabs at 9600
                   14764: # baud. Adding padding to text that is inserted loses because in
                   14765: # order to make the Z29 not die, one must add so much padding that
                   14766: # whenever the program tries to use insert mode, the effective
                   14767: # rate is about 110 baud.
                   14768: #
                   14769: # What program would want to put the terminal into insert mode
                   14770: # and shove stuff at it at 9600 baud you ask?
                   14771: #
                   14772: # Emacs. Emacs seems to want to do the mathematically optimal
                   14773: # thing in doing a redisplay rather than the practical thing.
                   14774: # When it is about to output a line on top of a line that is
                   14775: # already on the screen, instead of just killing to the end of
                   14776: # the line and outputting the new line, it compares the old line
                   14777: # and the new line and if there are any similarities, it
                   14778: # constructs the new line by deleting the text on the old line
                   14779: # on the terminal that is already there and then inserting new
                   14780: # text into the line to transform it into the new line that is
                   14781: # to be displayed. The Z29 does not react kindly to this.
                   14782: #
                   14783: # But don't cry for too long.... There is a solution. You can make
                   14784: # a termcap entry for the Z29 that says the Z29 has no insert mode.
                   14785: # Then Emacs cannot use it. "Oh, no, but now inserting into a
                   14786: # line will be really slow", you say. Well there is a sort of a
                   14787: # solution to that too. There is an insert character option on
                   14788: # the Z29 that will insert one character. Unfortunately, it
                   14789: # involves putting the terminal into ansi mode, inserting the
                   14790: # character, and changing it back to H19 mode. All this takes 12
                   14791: # characters. Pretty expensive to insert one character, but it
                   14792: # works. Either Emacs doesn't try to use its inserting hack when
                   14793: # it's only given an insert character ability or the Z29 doesn't
                   14794: # require padding with this (the former is probably more likely,
                   14795: # but I haven't checked it out).
                   14796: # (z29: added empty <acsc> to suppress a tic warning, merged in
                   14797: # status line capabilities from BRL entry --esr)
                   14798: z29|zenith29|z29b|zenith z29b,
                   14799:        OTbs, OTpt, am, eslok, hs, mir, msgr,
                   14800:        OTkn#10, cols#80, lines#24,
                   14801:        OTbc=\ED, acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4,
                   14802:        cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   14803:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A,
                   14804:        cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1,
                   14805:        ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I,
                   14806:        ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>,
                   14807:        is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   14808:        kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
                   14809:        kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
                   14810:        lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq,
                   14811:        rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8,
                   14812:        tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
                   14813: # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
                   14814: # the world is stable. <rs1> causes the terminal to be reset to the state
                   14815: # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
                   14816: # cursor, bc -> block cursor.
                   14817: # From: Mike Meyers
                   14818: # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
                   14819: # looks vt100-compatible -- esr)
                   14820: z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode,
                   14821:        OTbs, OTpt, am, eslok, hs, mir, msgr,
                   14822:        OTkn#10, cols#80, it#8, lines#24,
                   14823:        OTbc=\ED, bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J,
                   14824:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   14825:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   14826:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   14827:        dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
                   14828:        dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H,
                   14829:        ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL,
                   14830:        ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB,
                   14831:        kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS,
                   14832:        kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
                   14833:        kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7,
                   14834:        nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h,
                   14835:        rmso=\E[m, rmul=\E[m,
                   14836:        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,
                   14837:        sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m,
                   14838:        tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K,
                   14839: z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor,
                   14840:        rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m,
                   14841:        use=z29a,
                   14842: z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick,
                   14843:        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,
                   14844:        use=z29a,
                   14845: z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick,
                   14846:        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,
                   14847:        use=z29a,
                   14848: # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
                   14849: z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,
                   14850:        am, eslok, hs, mc5i, mir, msgr, xon,
                   14851:        cols#80, lines#24,
                   14852:        acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   14853:        blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h,
                   14854:        clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M,
                   14855:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   14856:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   14857:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   14858:        dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
                   14859:        dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K,
                   14860:        fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L,
                   14861:        ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw,
                   14862:        ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D,
                   14863:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS,
                   14864:        kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
                   14865:        kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H,
                   14866:        mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m,
                   14867:        rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m,
                   14868:        rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0,
                   14869:        smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   14870:        tsl=\E[s\E[>1h\E[25;%i%p1%dH,
1.1       millert  14871:
1.11      millert  14872: # From: Brad Brahms <Brahms@USC-ECLC>
                   14873: z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor,
                   14874:        cnorm=\Ey4\Em70, cvvis=\Ex4\Em71,
                   14875:        use=z100bw,
                   14876: # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
                   14877: z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc,
                   14878:        OTbs, OTpt, mir, msgr,
                   14879:        OTkn#10, cols#80, it#8, lines#24,
                   14880:        acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB,
                   14881:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>,
                   14882:        cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>,
                   14883:        ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H,
                   14884:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES,
                   14885:        kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
                   14886:        kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq,
                   14887:        smacs=\EF, smir=\E@, smso=\Ep,
                   14888: p19|h19-b with il1/dl1,
                   14889:        dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b,
                   14890: # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
                   14891: # (ztx: removed duplicate :sr: -- esr)
                   14892: ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11,
                   14893:        OTbs, am, eslok, hs,
                   14894:        cols#80, it#8, lines#24,
                   14895:        clear=\EE, cub1=^H, cud1=^J, cuf1=\EC,
                   14896:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   14897:        dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I,
                   14898:        il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>,
                   14899:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES,
                   14900:        kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER,
                   14901:        ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2,
                   14902:        tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
1.1       millert  14903:
1.11      millert  14904: #### IMS International (ims)
1.1       millert  14905: #
1.11      millert  14906: # There was a company called IMS International located in Carson City,
                   14907: # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
                   14908: # bus/Z80 hardware and a line of terminals called Ultimas.
1.1       millert  14909: #
                   14910:
1.11      millert  14911: # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
                   14912: ims950-b|bare ims950 no init string,
                   14913:        is2@, use=ims950,
                   14914: # (ims950: removed obsolete ":ko@:" -- esr)
                   14915: ims950|ims televideo 950 emulation,
                   14916:        xenl@,
                   14917:        flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
                   14918:        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@,
                   14919:        use=tvi950,
                   14920: # (ims950-rv: removed obsolete ":ko@:" -- esr)
                   14921: ims950-rv|ims tvi950 rev video,
                   14922:        xenl@,
                   14923:        flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
                   14924:        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@,
                   14925:        use=tvi950-rv,
                   14926: ims-ansi|ultima2|ultimaII|IMS Ultima II,
                   14927:        OTbs, am,
                   14928:        cols#80, it#8, lines#24,
                   14929:        clear=\E[H\E[2J, cub1=^H, cud1=\ED,
                   14930:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K,
                   14931:        ht=^I, if=/usr/share/tabset/vt100,
                   14932:        is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D,
                   14933:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM,
                   14934:        rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m,
                   14935:        smul=\E[4m,
1.1       millert  14936:
1.11      millert  14937: #### Intertec Data Systems
1.1       millert  14938: #
1.11      millert  14939: # I think this company is long dead as of 1995.  They made an early CP/M
                   14940: # micro called the "Intertec Superbrain" that was moderately popular,
                   14941: # then sank out of sight.
1.1       millert  14942: #
                   14943:
1.11      millert  14944: superbrain|intertec superbrain,
                   14945:        OTbs, am, bw,
                   14946:        cols#80, lines#24,
                   14947:        OTbc=^U, bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J,
                   14948:        cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K,
                   14949:        ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U,
                   14950:        kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L,
                   14951: # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
                   14952: # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
                   14953: # and the reverse is actually true.  Try it. -- esr)
                   14954: intertube|intertec|Intertec InterTube,
                   14955:        OTbs, am,
                   14956:        cols#80, lines#25,
                   14957:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   14958:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A,
                   14959:        ind=^J, rmso=\E0@, smso=\E0P,
                   14960: # The intertube 2 has the "full duplex" problem like the tek 4025: if you
                   14961: # are typing and a command comes in, the keystrokes you type get interspersed
                   14962: # with the command and it messes up
                   14963: intertube2|intertec data systems intertube 2,
                   14964:        OTbs,
                   14965:        cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
                   14966:        el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c,
                   14967:        ll=^K^X\r, vpa=\013%p1%c,
                   14968:        use=intertube,
1.1       millert  14969:
1.11      millert  14970: #### Ithaca Intersystems
1.1       millert  14971: #
1.11      millert  14972: # This company made S100-bus personal computers long ago in the pre-IBM-PC
                   14973: # past.  They used to be reachable at:
1.1       millert  14974: #
1.11      millert  14975: #      Ithaca Intersystems
                   14976: #      1650 Hanshaw Road
                   14977: #      Ithaca, New York 14850
1.1       millert  14978: #
1.11      millert  14979: # However, the outfit went bankrupt years ago.
1.1       millert  14980: #
                   14981:
1.11      millert  14982: # The Graphos III was a color graphics terminal from Ithaca Intersystems.
                   14983: # These entries were written (originally in termcap syntax) by Brian Yandell
                   14984: # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
                   14985: # University of Wisconsin.
                   14986:
                   14987: # (graphos: removed obsolete and syntactically incorrect :kn=4:,
                   14988: # removed <if=/usr/share/tabset/init.graphos> and
                   14989: # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
                   14990: graphos|graphos III,
                   14991:        am, mir,
                   14992:        cols#80, it#8, lines#24,
                   14993:        clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z,
                   14994:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   14995:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   14996:        cuu=\E[%p1%dA, cuu1=\E[A,
                   14997:        cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM,
                   14998:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
                   14999:        il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   15000:        kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   15001:        kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l,
                   15002:        rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h,
                   15003:        smir=\E[4h, smso=\E[7m,
                   15004: graphos-30|graphos III with 30 lines,
                   15005:        lines#30,
                   15006:        cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos,
1.1       millert  15007:
1.11      millert  15008: #### Modgraph
                   15009: #
                   15010: # These people used to be reachable at:
1.1       millert  15011: #
1.11      millert  15012: #      Modgraph, Inc
                   15013: #      1393 Main Street,
                   15014: #      Waltham, MA 02154
                   15015: #      Vox: (617)-890-5796.
1.1       millert  15016: #
1.11      millert  15017: # However, if you call that number today you'll get an insurance company.
                   15018: # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
                   15019: # 26 Feb 1997 that says:
1.1       millert  15020: #
1.11      millert  15021: # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
                   15022: # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
                   15023: # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
                   15024: # panel-mount etc).  I can be emailed at sonfour@aol.com
1.1       millert  15025: #
1.11      millert  15026: # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
                   15027: # dated 1984.  According to the manual, it featured Tek 4010/4014
                   15028: # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
1.1       millert  15029: #
1.11      millert  15030:
                   15031: modgraph|mod24|modgraph terminal emulating vt100,
                   15032:        xenl@,
                   15033:        cols#80, lines#24,
                   15034:        cvvis=\E\^9;0s\E\^7;1s,
                   15035:        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,
                   15036:        rf@, ri=\EM\E[K$<5/>,
                   15037:        use=vt100,
                   15038: # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
                   15039: modgraph2|modgraph gx-1000 80x24 with keypad not enabled,
                   15040:        am, da, db,
                   15041:        cols#80, it#8, lines#24,
                   15042:        clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>,
                   15043:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>,
                   15044:        ed=\EJ$<50/>, el=\EK$<3/>, ht=^I,
                   15045:        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,
                   15046:        ri=\EI$<5/>,
1.1       millert  15047: #
1.11      millert  15048: # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
                   15049: # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
                   15050: # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
                   15051: # mark and using delete-to-killbuffer work correctly.  However, we would
                   15052: # like normal mode of operation to be using a Modgraph with 48 line setting.
                   15053: # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
                   15054: # the setting mark and delete-to-killbuffer results in the deletion of only
                   15055: # the line the mark is set on.
                   15056: # We've discovered that the delete-to-killbuffer works correctly
                   15057: # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
                   15058: # the first line disappears but a ctrl-l shows that it did work
                   15059: # correctly.
                   15060: modgraph48|mod|Modgraph w/48 lines,
                   15061:        OTbs, OTpt, am, xenl,
                   15062:        cols#80, it#8, lines#48, vt#3,
                   15063:        OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
                   15064:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   15065:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   15066:        flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q,
                   15067:        home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h,
                   15068:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   15069:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m,
                   15070:        ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   15071:        rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=,
                   15072:        smso=\E[7m, smul=\E[4m,
                   15073:
                   15074: #### Morrow Designs
                   15075: #
                   15076: # This was George Morrow's company.  They started in the late 1970s making
                   15077: # S100-bus machines.  They used to be reachable at:
1.1       millert  15078: #
1.11      millert  15079: #        Morrow
                   15080: #        600 McCormick St.
                   15081: #        San Leandro, CA 94577
1.1       millert  15082: #
1.11      millert  15083: # but they're long gone now (1995).
1.1       millert  15084: #
1.11      millert  15085:
                   15086: # The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
                   15087: # Jeff's specimen was dated June 1984.
                   15088: # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
                   15089: mt70|mt-70|Morrow MD-70; native Morrow mode,
                   15090:        am, mir, msgr, xon,
                   15091:        cols#80, it#8, lines#24,
                   15092:        acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G,
                   15093:        cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H,
                   15094:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>,
                   15095:        cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>,
                   15096:        flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE,
                   15097:        ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r,
                   15098:        kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r,
                   15099:        kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r,
                   15100:        kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r,
                   15101:        kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r,
                   15102:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   15103:        kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_,
                   15104:        rmacs=\E%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E], smul=\EG1,
                   15105:        tbc=\E0,
                   15106:        use=adm+sgr,
                   15107:
                   15108: #### Motorola
1.1       millert  15109: #
1.11      millert  15110:
                   15111: # Motorola EXORterm 155        from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
                   15112: # (Seth H Zirin)
                   15113: ex155|Motorola Exorterm 155,
                   15114:        OTbs, am, bw,
                   15115:        OTkn#5, OTug#1, cols#80, lines#24,
                   15116:        cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED,
                   15117:        cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU,
                   15118:        home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H,
                   15119:        kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@,
                   15120:        rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED,
                   15121:
                   15122: #### Omron
1.1       millert  15123: #
1.11      millert  15124: # This company is still around in 1995, manufacturing point-of-sale systems.
                   15125:
                   15126: omron|Omron 8025AG,
                   15127:        OTbs, am, da, db,
                   15128:        cols#80, lines#24,
                   15129:        bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA,
                   15130:        cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH,
                   15131:        il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef,
                   15132:
                   15133: #### Ramtek
1.1       millert  15134: #
1.11      millert  15135: # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
                   15136: # were competition for things like the Tektronics 4025.
1.1       millert  15137: #
                   15138:
1.11      millert  15139: # Ramtek 6221 from BRL, probably by Doug Gwyn
                   15140: # The following SET-UP modes are assumed for normal operation:
                   15141: #      UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
                   15142: #      NEWLINE_OFF             80_COLUMNS
                   15143: # Other SET-UP modes may be set for operator convenience or communication
                   15144: # requirements; I recommend
                   15145: #      SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
                   15146: # Hardware tabs are assumed to be every 8 columns; they can be set up by the
                   15147: # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
                   15148: # Note that the Control-E key is useless on this brain-damaged terminal.  No
                   15149: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   15150: rt6221|Ramtek 6221 80x24,
                   15151:        OTbs, OTpt, msgr, xon,
                   15152:        OTkn#4, cols#80, it#8, lines#24, vt#3,
                   15153:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l,
                   15154:        clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M,
                   15155:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   15156:        cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
                   15157:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   15158:        cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I,
                   15159:        hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   15160:        kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR,
                   15161:        kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H,
                   15162:        nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>,
                   15163:        rmso=\E[m, rmul=\E[m,
                   15164:        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>,
                   15165:        sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m,
                   15166:        smul=\E[4m, tbc=\E[3g,
                   15167: # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
                   15168: rt6221-w|Ramtek 6221 160x48,
                   15169:        cols#160, lines#48,
                   15170:        ll=\E[48;1H, use=rt6221,
                   15171:
                   15172: #### RCA
1.1       millert  15173: #
                   15174:
1.11      millert  15175: # RCA VP3301 or VP3501
                   15176: rca|rca vp3301/vp3501,
                   15177:        OTbs,
                   15178:        cols#40, lines#24,
                   15179:        clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   15180:        cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1,
1.1       millert  15181:
                   15182:
1.11      millert  15183: #### Selanar
1.1       millert  15184: #
                   15185:
1.11      millert  15186: # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
                   15187: # The following SET-UP modes are assumed for normal operation:
                   15188: #      SET_DEFAULT_TABS        48_LINES                80_COLUMNS
                   15189: #      ONLINE                  ANSI                    CURSOR_VISIBLE
                   15190: #      VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
                   15191: #      LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
                   15192: #      CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
                   15193: # For use with graphics software, all graphics modes should be set to factory
                   15194: # default.  Other SET-UP modes may be set for operator convenience or
                   15195: # communication requirements.  No delays are specified; use "stty ixon -ixany"
                   15196: # to enable DC3/DC1 flow control!
                   15197: # I commented out the scrolling capabilities since they are too slow.
                   15198: hirez100|Selanar HiREZ-100,
                   15199:        OTbs, OTpt, mir, msgr, xon,
                   15200:        OTkn#4, cols#80, it#8, lines#48, vt#3,
                   15201:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   15202:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   15203:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   15204:        cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
                   15205:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   15206:        hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H,
                   15207:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP,
                   15208:        kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3,
                   15209:        lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i,
                   15210:        mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O,
                   15211:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   15212:        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>,
                   15213:        sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m,
                   15214:        smul=\E[4m, tbc=\E[3g,
                   15215: hirez100-w|Selanar HiREZ-100 in 132-column mode,
                   15216:        cols#132, use=hirez100,
                   15217:
                   15218: #### Signetics
1.1       millert  15219: #
                   15220:
1.11      millert  15221: # From University of Wisconsin
                   15222: vsc|Signetics Vsc Video driver by RMC,
                   15223:        am, msgr,
                   15224:        cols#80, it#8, lines#26,
                   15225:        clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   15226:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                   15227:        ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s,
                   15228:        rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_",
1.1       millert  15229:
1.11      millert  15230: #### Soroc
1.1       millert  15231: #
1.11      millert  15232: # Alan Frisbie <frisbie@flying-disk.com> writes:
1.1       millert  15233: #
1.11      millert  15234: # As you may recall, the Soroc logo consisted of their name,
                   15235: # with the letter "S" superimposed over an odd design.   This
                   15236: # consisted of a circle with a slightly smaller 15 degree (approx.)
                   15237: # wedge with rounded corners inside it.   The color was sort of
                   15238: # a metallic gold/yellow.
                   15239: #
                   15240: # If I had been more of a beer drinker it might have been obvious
                   15241: # to me, but it took a clue from their service department to make
                   15242: # me exclaim, "Of course!"   The circular object was the top of
                   15243: # a beer can (the old removable pop-top style) and "Soroc" was an
                   15244: # anagram for "Coors".
                   15245: #
                   15246: # I can just imagine the founders of the company sitting around
                   15247: # one evening, tossing back a few and trying to decide what to
                   15248: # call their new company and what to use for a logo.
                   15249: #
1.1       millert  15250:
1.11      millert  15251: # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
                   15252: soroc120|iq120|soroc|soroc iq120,
                   15253:        clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J,
                   15254:        kcuf1=^L, kcuu1=^K,
                   15255:        use=adm3a,
                   15256: soroc140|iq140|soroc iq140,
1.1       millert  15257:        OTbs, am, mir,
1.11      millert  15258:        cols#80, lines#24,
                   15259:        bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   15260:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew,
                   15261:        dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J,
                   15262:        kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r,
                   15263:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   15264:        kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8,
                   15265:        rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A,
1.1       millert  15266:
1.11      millert  15267: #### Southwest Technical Products
1.1       millert  15268: #
1.11      millert  15269: # These guys made an early personal micro called the M6800.
                   15270: # The ct82 was probably its console terminal.
1.1       millert  15271: #
                   15272:
1.11      millert  15273: # (swtp: removed obsolete ":bc=^D:" -- esr)
                   15274: swtp|ct82|southwest technical products ct82,
1.1       millert  15275:        am,
1.11      millert  15276:        cols#82, lines#20,
                   15277:        bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S,
                   15278:        cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F,
                   15279:        home=^P, ich1=^\^X, il1=^\^Y, ind=^N,
                   15280:        is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011,
                   15281:        ll=^C, ri=^O, rmso=^^^F, smso=^^^V,
1.1       millert  15282:
1.11      millert  15283: #### Synertek
                   15284: #
                   15285: # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
1.1       millert  15286: #
1.11      millert  15287: # Synertek used to make ICs, various 6502-based single-board process
                   15288: # control and hobbyist computers, and assorted peripherals including a
                   15289: # series of small inexpensive terminals (I think they were one of the
                   15290: # first to have a "terminal-on-a-keyboard", where the terminal itself
                   15291: # was only slightly larger than the keyboard).
1.1       millert  15292: #
1.11      millert  15293: # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
                   15294: # was a 40x24 terminal that could connect to a standard TV through a
                   15295: # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
                   15296: # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
                   15297: # I have a KTM-2/80 still in working order.  The KTM-2s had fully
                   15298: # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
                   15299: # ROM and 2 ROMs as character generators. They were incredibly simple,
                   15300: # and I've never had any problems with mine (witness the fact that mine
                   15301: # was made in 1981 and is still working great... I've blown the video
                   15302: # output transistor a couple of times, but it's a 2N2222 :-)
1.1       millert  15303: #
1.11      millert  15304: # The KTM-3 (which is what is listed in the terminfo file) was their
                   15305: # attempt at putting a KTM-2 in a box (and some models came with a
                   15306: # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
                   15307: # control and escape sequences are very different. The KTM-3 was always
                   15308: # real broken, at least according to the folks I've talked to about it.
                   15309: #
                   15310: # The padding in the entry is probably off--these terminals were very
                   15311: # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
                   15312: # anyone with any sanity replaced the ROMs with something that provided
                   15313: # a reasonable subset of VT100 functionality, since the usual ROMs were
                   15314: # obviously very primitive... oh, you could get an upgraded ROM from
                   15315: # Synertek for some incredible amount of money, but what hacker with an
                   15316: # EPROM burner would do that? :)
                   15317: #
                   15318: # Sorry I don't have any contact info; I believe they were located in
                   15319: # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
                   15320: # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
                   15321: # business these days.
1.1       millert  15322: #
                   15323:
1.11      millert  15324: # Tested, seems to work fine with vi.
                   15325: synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal,
                   15326:        am,
1.1       millert  15327:        cols#80, lines#24,
1.11      millert  15328:        clear=^Z, cub1=^H, cuf1=^L,
                   15329:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
                   15330:
                   15331: #### Tab Office Products
                   15332: #
                   15333: #      TAB Products Co. - Palo Alto, California
                   15334: #      Electronic Office Products,
                   15335: #      1451 California Avenue 94304
                   15336: #
                   15337: # I think they're out of business.
                   15338: #
1.1       millert  15339:
1.11      millert  15340: # The tab 132 uses xon/xoff, so no padding needed.
                   15341: # <smkx>/<rmkx> have nothing to do with arrow keys.
                   15342: # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
                   15343: # Seems to be no way to get rid of status line.
                   15344: # The manual for this puppy was dated June 1981.  It claims to be VT52-
                   15345: # compatible but looks more vt100-like.
                   15346: tab132|tab|tab132-15|tab 132/15,
                   15347:        da, db,
                   15348:        OTdN@, cols#80, lines#24, lm#96,
                   15349:        cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M,
                   15350:        il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B,
                   15351:        kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@,
                   15352:        use=vt100,
                   15353: tab132-w|tab132 in wide mode,
                   15354:        cols#132,
                   15355:        is2=\E[?7h\E[?3h\E[?5l, use=tab132,
                   15356: tab132-rv|tab132 in reverse-video mode,
                   15357:        is2=\E[?7h\E[?3l\E[?5h, use=tab132,
                   15358: tab132-w-rv|tab132 in reverse-video/wide mode,
                   15359:        is2=\E[?7h\E[?3h\E[?5h,
                   15360:        use=tab132-w,
1.1       millert  15361:
                   15362:
1.11      millert  15363: #### Teleray
                   15364: #
                   15365: #      Research Incorporated
                   15366: #      6425 Flying Cloud Drive
                   15367: #      Eden Prairie, MN 55344
                   15368: #      Vox: (612)-941-3300
                   15369: #
                   15370: # The Teleray terminals were all discontinued in 1992-93.  RI still services
                   15371: # and repairs these beasts, but no longer manufactures them.  The Teleray
                   15372: # people believe that all the types listed below are very rare now (1995).
                   15373: # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
                   15374: # Model 100) that were ANSI-compatible.
1.1       millert  15375: #
1.11      millert  15376: # Note two things called "teleray".  Reorder should move the common one
                   15377: # to the front if you have either.  A dumb teleray with the cursor stuck
                   15378: # on the bottom and no obvious model number is probably a 3700.
1.1       millert  15379: #
                   15380:
1.11      millert  15381: t3700|dumb teleray 3700,
                   15382:        OTbs,
                   15383:        cols#80, lines#24,
                   15384:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   15385: t3800|teleray 3800 series,
                   15386:        OTbs,
                   15387:        cols#80, it#8, lines#24,
                   15388:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   15389:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
                   15390:        home=\EH, ht=^I, ind=^J, ll=\EY7\s,
                   15391: t1061|teleray|teleray 1061,
                   15392:        OTbs, am, km, xhp, xt,
                   15393:        cols#80, it#8, lines#24, xmc#1,
                   15394:        bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   15395:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   15396:        dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF,
                   15397:        ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>,
                   15398:        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,
                   15399:        kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7,
                   15400:        kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH,
                   15401:        tbc=\EG,
                   15402: t1061f|teleray 1061 with fast PROMs,
                   15403:        dl1=\EM, il1=\EL, ip@, use=t1061,
                   15404: # "Teleray Arpa Special", officially designated as
                   15405: # "Teleray Arpa network model 10" with "Special feature 720".
                   15406: # This is the new (1981) fast microcode updating the older "arpa" proms
                   15407: # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
                   15408: # converts the keypad to programmable function keys, and has other goodies.
                   15409: # Standout mode is still broken (magic cookie, etc) so is suppressed as no
                   15410: # programs handle such lossage properly.
                   15411: # Note: this is NOT the old termcap's "t1061f with fast proms."
                   15412: # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
                   15413: # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
                   15414: t10|teleray 10 special,
                   15415:        OTbs, km, xhp, xt,
                   15416:        cols#80, it#8, lines#24, xmc#2,
                   15417:        clear=\Ej$<30/>, cub1=^H, cuf1=\EC,
                   15418:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   15419:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
                   15420:        ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD,
                   15421:        smul=\ERH,
                   15422: # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
                   15423: # back/forth words. Put the function keys (f1-f10) where they can be
                   15424: # found, and turn off the other magic keys along the top row, except
                   15425: # for line/local. Do the magic appropriate to make the page shifts work.
                   15426: # Also toggle ^S/^Q for those of us who use Emacs.
                   15427: t16|teleray 16,
                   15428:        am, da, db, mir, xhp, xt,
                   15429:        cols#80, lines#24,
                   15430:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
                   15431:        cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P,
                   15432:        dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L,
                   15433:        ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5,
                   15434:        kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T,
                   15435:        rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m,
                   15436:        rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h,
                   15437:        smso=\E[7m, smul=\E[4m,
1.1       millert  15438:
1.11      millert  15439: #### Texas Instruments (ti)
1.1       millert  15440: #
                   15441:
1.11      millert  15442: # The Silent 700 was so called because it was built around a quiet thermal
                   15443: # printer.  It was portable, equipped with an acoustic coupler, and pretty
                   15444: # neat for its day.
                   15445: ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800,
                   15446:        OTbs, hc, os,
1.1       millert  15447:        cols#80,
1.11      millert  15448:        bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J,
                   15449:
1.1       millert  15450: #
1.11      millert  15451: # Texas Instruments 916 VDT 7 bit control mode
1.1       millert  15452: #
1.11      millert  15453: ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL,
                   15454:        da, db, in, msgr,
                   15455:        cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>,
                   15456:        cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB,
                   15457:        cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   15458:        cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P,
                   15459:        dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K,
                   15460:        el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>,
                   15461:        hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>,
                   15462:        il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H,
                   15463:        kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~,
                   15464:        kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~,
                   15465:        kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
                   15466:        kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T,
                   15467:        kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p,
                   15468:        smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, use=vt220,
1.1       millert  15469: #
1.11      millert  15470: # Texas Instruments 916 VDT 8 bit control mode
1.1       millert  15471: #
1.11      millert  15472: ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL,
                   15473:        kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
                   15474:        kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~,
                   15475:        kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~,
                   15476:        kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
                   15477:        kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H,
                   15478:        kich1=\233@, knp=\233S, kpp=\233T, kprt=^X,
                   15479:        use=ti916,
1.1       millert  15480: #
1.11      millert  15481: # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
1.1       millert  15482: #
1.11      millert  15483: ti916-132|Texas Instruments 916 VDT vt220 132 column,
                   15484:        cols#132, use=ti916,
1.1       millert  15485: #
1.11      millert  15486: # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
1.1       millert  15487: #
1.11      millert  15488: ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column,
                   15489:        cols#132, use=ti916-8,
                   15490: ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL,
                   15491:        OTbs, am, xon,
                   15492:        cols#80, it#8, lines#24,
                   15493:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   15494:        clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
                   15495:        csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   15496:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
                   15497:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   15498:        il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   15499:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ,
                   15500:        kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~,
                   15501:        kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m,
                   15502:        ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
                   15503:        smul=\E[4m, tbc=\E[3g,
                   15504: ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL,
                   15505:        am, xon,
                   15506:        cols#80, it#8, lines#24,
                   15507:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   15508:        clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
                   15509:        csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   15510:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
                   15511:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   15512:        il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   15513:        kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>,
                   15514:        kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>,
                   15515:        kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>,
                   15516:        kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM,
                   15517:        rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
                   15518:        smul=\E[4m, tbc=\E[3g,
                   15519: ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode,
                   15520:        cols#132, use=ti924,
                   15521: ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode,
                   15522:        cols#132, use=ti924-8,
                   15523: ti931|Texas Instruments 931 VDT,
                   15524:        OTbs, am, xon,
                   15525:        cols#80, lines#24,
                   15526:        bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED,
                   15527:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   15528:        cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH,
                   15529:        ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H,
                   15530:        is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   15531:        kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3,
                   15532:        kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9,
                   15533:        kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@,
                   15534:        sgr0=\E4@, smso=\E4A, smul=\E4D,
                   15535: ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL,
                   15536:        csr@, ind=\E[1S, ri=\E[1T,
                   15537:        use=ti924,
                   15538: # (ti926-8: I corrected this from the broken SCO entry -- esr)
                   15539: ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL,
                   15540:        csr@, ind=\2331S, ri=\2331T,
                   15541:        use=ti924-8,
                   15542: ti_ansi|basic entry for ti928,
                   15543:        am, bce, eo, xenl, xon,
                   15544:        colors#8, cols#80, it#8, lines#25, pairs#64,
                   15545:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H,
                   15546:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B,
                   15547:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   15548:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   15549:        il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   15550:        kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M,
                   15551:        kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,
                   15552:        kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
                   15553:        op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m,
                   15554:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m,
                   15555:        smso=\E[7m, smul=\E[4m,
1.1       millert  15556: #
1.11      millert  15557: #       928 VDT 7 bit control mode
1.1       millert  15558: #
1.11      millert  15559: ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL,
                   15560:        kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~,
                   15561:        kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~,
                   15562:        kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~,
                   15563:        kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
                   15564:        kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~,
                   15565:        use=ti_ansi,
1.1       millert  15566: #
1.11      millert  15567: #       928 VDT 8 bit control mode
1.1       millert  15568: #
1.11      millert  15569: ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL,
                   15570:        kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~,
                   15571:        kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~,
                   15572:        kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~,
                   15573:        kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~,
                   15574:        kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S,
                   15575:        kpp=\233T, kprt=\23335~,
                   15576:        use=ti_ansi,
                   15577:
                   15578: #### Zentec (zen)
1.1       millert  15579: #
1.11      millert  15580:
                   15581: # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
                   15582: # had just <smso>=\EG6 which I think means standout was supposed to be
                   15583: # dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
                   15584: # <invis> might work-- esr)
                   15585: zen30|z30|zentec 30,
                   15586:        OTbs, am, mir, ul,
                   15587:        cols#80, lines#24,
                   15588:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   15589:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   15590:        dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^,
                   15591:        il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6,
                   15592:        smul@,
                   15593:        use=adm+sgr,
                   15594: # (zen50: this had extension capabilities
                   15595: #      :BS=^U:CL=^V:CR=^B:
                   15596: # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
                   15597: # which were also in the original entry -- esr)
                   15598: # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
                   15599: zen50|z50|zentec zephyr,
                   15600:        OTbs, am,
                   15601:        cols#80, lines#24, xmc#1,
                   15602:        clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   15603:        cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE,
                   15604:        invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   15605:        rmul@, smul@,
                   15606:        use=adm+sgr,
                   15607:
                   15608: # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
                   15609: cci|cci1|z8001|zen8001|CCI Custom Zentec 8001,
                   15610:        OTbs, am, bw,
                   15611:        cols#80, lines#24,
                   15612:        blink=\EM", clear=\EH\EJ, cnorm=\EP,
                   15613:        csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J,
                   15614:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   15615:        cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH,
                   15616:        invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED,
                   15617:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R,
                   15618:        rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s,
                   15619:        smso=\EM$, smul=\EM0,
                   15620:
                   15621: ######## OBSOLETE UNIX CONSOLES
1.1       millert  15622: #
                   15623:
1.11      millert  15624: #### Apollo consoles
                   15625: #
                   15626: # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
                   15627: # labeled HP700s now.
1.1       millert  15628: #
                   15629:
1.11      millert  15630: # From: Gary Darland <goodmanc@garnet.berkeley.edu>
                   15631: apollo|apollo console,
                   15632:        OTbs, am, mir,
                   15633:        cols#88, lines#53,
                   15634:        clear=^L, cub1=^H, cud1=\EB, cuf1=\EC,
                   15635:        cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL,
                   15636:        ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED,
                   15637:        rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ,
                   15638:        smso=\ES, smul=\EU, vpa=\EO+\s,
1.1       millert  15639:
1.11      millert  15640: # We don't know whether or not the apollo guys replicated DEC's firmware bug
                   15641: # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
                   15642: # both these capabilities.
                   15643: apollo_15P|apollo 15 inch display,
                   15644:        rmir@, smir@, use=vt132,
                   15645: apollo_19L|apollo 19 inch display,
                   15646:        rmir@, smir@, use=vt132,
                   15647: apollo_color|apollo color display,
                   15648:        rmir@, smir@, use=vt132,
1.1       millert  15649:
1.11      millert  15650: #### Convergent Technology
1.1       millert  15651: #
1.11      millert  15652: # Burroughs bought Convergent shortly before it merged with Univac.
                   15653: # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
                   15654: # from 1991 or earlier).
1.1       millert  15655: #
                   15656:
1.11      millert  15657: # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
                   15658: # (aws: removed unknown :dn=^K: -- esr)
                   15659: aws|Convergent Technologies AWS workstation under UTX and Xenix,
                   15660:        am,
                   15661:        OTug#0, cols#80, lines#28, xmc#0,
                   15662:        OTbc=^H, OTma=\016h\013j\001k\022l\002m, OTnl=^J, acsc=,
                   15663:        clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A,
                   15664:        dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c,
                   15665:        ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K,
                   15666:        kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF,
                   15667:        rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN,
                   15668:        vpa=\EV%p1%c,
                   15669: awsc|Convergent Technologies AWS workstation under CTOS,
                   15670:        am,
                   15671:        OTug#0, cols#80, lines#24, xmc#0,
                   15672:        OTbc=^N, OTma=\016h\013j\001k\022l\002m, acsc=, clear=^L,
                   15673:        cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, ed=\EEF,
                   15674:        el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, kcuf1=^R, kcuu1=^A,
                   15675:        rmacs=\EAAF, rmso=\EAA, rmul=\EAA, smacs=\EAAN, smso=\EAE,
                   15676:        smul=\EAC,
                   15677:
                   15678: #### DEC consoles
1.1       millert  15679: #
                   15680:
1.11      millert  15681: # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
                   15682: # The digital uVax II's had a graphic display called a qdss.  It was
                   15683: # supposed to be a high performance graphic accelerator, but it was
                   15684: # late to market and barely appeared before faster dumb frame buffers
                   15685: # appeared.  I have only used this display while running X11.  However,
                   15686: # during bootup, it was in text mode, and probably had a terminal emulator
                   15687: # within it.  And that is what your termcap entry is for.  In graphics
                   15688: # mode the screen size is 1024x864 pixels.
                   15689: qdss|qdcons|qdss glass tty,
                   15690:        OTbs, am,
                   15691:        cols#128, lines#57,
                   15692:        clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L,
                   15693:        cup=\E=%p1%c%p2%c, cuu1=^K,
                   15694:
                   15695: #### Fortune Systems consoles
                   15696: #
                   15697: # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
                   15698: # in their day; I (esr) used one myself for a year or so around 1984.
                   15699: # They had no graphics, though, and couldn't compete against Suns and
                   15700: # the like.  R.I.P.
1.1       millert  15701: #
1.11      millert  15702:
                   15703: # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
                   15704: # (This had extension capabilities
                   15705: #      :rv=\EH:re=\EI:rg=0:GG=0:\
                   15706: #      :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
                   15707: #      :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
                   15708: #      :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
                   15709: # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
                   15710: # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
                   15711: # to force both magic cookie glitches off.  Once upon a time, I
                   15712: # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
                   15713: # function keys; thus the "Al" value for HM was certainly an error.  I renamed
                   15714: # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
                   15715: # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
                   15716: # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
                   15717: # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
                   15718: fos|fortune|Fortune system,
                   15719:        OTbs, am, bw,
                   15720:        cols#80, lines#25,
                   15721:        acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E],
                   15722:        clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>,
                   15723:        cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>,
                   15724:        cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>,
                   15725:        ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z,
                   15726:        ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H,
                   15727:        kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r,
                   15728:        kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r,
                   15729:        kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r,
                   15730:        khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH,
                   15731:        rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo,
                   15732:        smso=^\H`, smul=^\HP,
                   15733:
                   15734: #### Masscomp consoles
1.1       millert  15735: #
1.11      millert  15736: # Masscomp has gone out of business.  Their product line was purchased by
                   15737: # comany in Georgia (US) called "XS International", parts and service may
                   15738: # still be available through them.
1.1       millert  15739: #
1.11      millert  15740:
                   15741: # (masscomp: ":MT:" changed to ":km:";  -- esr)
                   15742: masscomp|masscomp workstation console,
                   15743:        OTbs, km, mir,
                   15744:        cols#80, it#8, lines#24,
                   15745:        clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   15746:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   15747:        ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H,
                   15748:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l,
                   15749:        rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu,
                   15750: masscomp1|masscomp large screen version 1,
                   15751:        cols#104, lines#36, use=masscomp,
                   15752: masscomp2|masscomp large screen version 2,
                   15753:        cols#64, lines#21, use=masscomp,
                   15754:
                   15755: ######## OTHER OBSOLETE TYPES
1.1       millert  15756: #
1.11      millert  15757: # These terminals are *long* dead -- these entries are retained for
                   15758: # historical interest only.
1.1       millert  15759: #
                   15760:
1.11      millert  15761: #### Obsolete non-ANSI software emulations
1.1       millert  15762: #
                   15763:
                   15764: # CTRM terminal emulator
                   15765: # 1. underlining is not allowed with colors: first, is is simulated by
                   15766: # black on white, second, it disables background color manipulations.
                   15767: # 2. BLINKING, REVERSE and BOLD are allowed with colors,
                   15768: # so we have to save their status in the static registers A, B and H
                   15769: # respectively, to be able to restore them when color changes
                   15770: # (because any color change turns off ALL attributes)
                   15771: # 3. <bold> and <rev> sequences alternate modes,
                   15772: # rather then simply  entering them.  Thus we have to check the
                   15773: # static register B and H to determine the status, before sending the
                   15774: # escape sequence.
                   15775: # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
                   15776: # and then reset colors
                   15777: # 5. implementation of the protect mode would badly penalize the performance.
                   15778: # we would have to use \E&bn sequence to turn off colors (as well as all
                   15779: # other attributes), and keep the status of protect mode in yet another
                   15780: # static variable.  If someone really needs this mode, they would have to
                   15781: # create another terminfo entry.
                   15782: # 6. original color-pair is white on black.
                   15783: # store the information about colors into static registers
                   15784: # 7. set foreground color.  it performs the following steps.
                   15785: #   1) turn off all attributes
                   15786: #   2) turn on the background and video attributes that have been turned
                   15787: #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
                   15788: #   3) turn on foreground attributes
                   15789: #   4) store information about foreground into U,V,W static registers
                   15790: # 8. turn on background: similar to turn on foreground above
1.11      millert  15791: ctrm|C terminal emulator,
                   15792:        am, bce, xon,
                   15793:        colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0,
                   15794:        pairs#63, pb#19200, vt#6,
                   15795:        bel=^G, blink=\E&dA%{1}%PA,
                   15796:        bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei,
                   15797:        clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   15798:        cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM,
                   15799:        ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1,
                   15800:        il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r,
                   15801:        kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r,
                   15802:        kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,
                   15803:        kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r,
                   15804:        op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU,
                   15805:        rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA,
                   15806:        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,
                   15807:        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,
                   15808:        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%;,
                   15809:        sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB,
                   15810:        smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
1.1       millert  15811:
                   15812: # gs6300 - can't use blue foreground, it clashes with underline;
                   15813: # it's simulated with cyan
                   15814: # Bug: The <op> capability probably resets attributes.
                   15815: # (gs6300: commented out <rmln> (no <smln>) --esr)
1.11      millert  15816: gs6300|emots|AT&T PC6300 with EMOTS terminal emulator,
                   15817:        am, bce, msgr, xon,
                   15818:        colors#8, cols#80, it#8, lines#24, pairs#63,
                   15819:        acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   15820:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   15821:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   15822:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   15823:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   15824:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   15825:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   15826:        is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B,
                   15827:        kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s,
                   15828:        kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s,
                   15829:        khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m,
                   15830:        ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm,
                   15831:        setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m,
                   15832:        sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m,
1.1       millert  15833:
                   15834: # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
                   15835: # MS-Kermit with Heath-19 emulation mode enabled
                   15836: # (h19k: changed ":pt@:" to ":it@"
                   15837: h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin),
                   15838:        am@, da, db, xt,
                   15839:        it@,
1.11      millert  15840:        ht@, use=h19-u,
1.1       millert  15841:
                   15842: # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
                   15843: # Software (formerly Peripherals Computers & Supplies, Inc) of
                   15844: # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
                   15845: # also be reached at support@synergy.com.
                   15846: versaterm|versaterm vt100 emulator for the macintosh,
                   15847:        am, xenl,
                   15848:        cols#80, it#8, lines#24,
                   15849:        bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
1.11      millert  15850:        clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   15851:        cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   15852:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
                   15853:        dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>,
                   15854:        el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>,
                   15855:        il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD,
                   15856:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
                   15857:        kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>,
                   15858:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
                   15859:        rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>,
                   15860:        sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>,
                   15861:        smul=\E[4m$<2/>,
1.1       millert  15862:
                   15863: # From: Rick Thomas <ihnp4!btlunix!rbt>
                   15864: # (xtalk: I added <rmam>/<smam> based on the init string.
1.11      millert  15865: xtalk|IBM PC with xtalk communication program (versions up to 3.4),
                   15866:        am, mir, msgr, xon,
                   15867:        cols#80, it#8, lines#24, vt#3, xmc#1,
                   15868:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   15869:        bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   15870:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   15871:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   15872:        cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>,
                   15873:        el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH,
                   15874:        il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H,
                   15875:        kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   15876:        kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx,
                   15877:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv,
                   15878:        kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   15879:        rmkx=\E[?1l\E>, rmso=\E[m\s,
                   15880:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m,
                   15881:        smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s,
                   15882:        tbc=\E[3g,
1.1       millert  15883:
                   15884: # The official PC terminal emulator program of the AT&T Product Centers.
                   15885: # Note - insert mode commented out - doesn't seem to work on AT&T PC.
1.11      millert  15886: simterm|attpc running simterm,
                   15887:        am,
                   15888:        cols#80, lines#24,
                   15889:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   15890:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER,
                   15891:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE,
                   15892:        rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB,
                   15893:
                   15894: #### Daisy wheel printers
                   15895: #
                   15896: # This section collects Diablo, DTC, Xerox, Qume, and other daisy
                   15897: # wheel terminals.  These are now largely obsolete.
                   15898: #
                   15899:
                   15900: # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
                   15901: diablo1620|diablo1720|diablo450|ipsi|diablo 1620,
                   15902:        hc, os,
                   15903:        cols#132, it#8,
                   15904:        cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c,
                   15905:        ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2,
                   15906: diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin,
                   15907:        cols#124,
                   15908:        is2=\r        \E9, use=diablo1620,
                   15909: # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
                   15910: diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640,
                   15911:        bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE,
                   15912:        use=diablo1620,
                   15913: # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such
                   15914: # file -- esr)
                   15915: diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin,
                   15916:        cols#124,
                   15917:        rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620,
                   15918: diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer,
                   15919:        use=diablo1640-lm,
                   15920: # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
                   15921: # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
                   15922: # The terminal has tabs, but I'm getting tired of fighting the braindamage.
                   15923: # If no tab is set or the terminal's in a bad mood, it glitches the screen
                   15924: # around all of memory.  Note that return puts a blank ("a return character")
                   15925: # in the space the cursor was at, so we use ^P return (and thus ^P newline for
                   15926: # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
                   15927: # curses won't work (some old BSD versions) because it doesn't clear this bit,
                   15928: # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
                   15929: # I have been unable to get tabs set in all 96 lines - it always leaves at
                   15930: # least one line with no tabs in it, and once you tab through that line,
                   15931: # it completely weirds out.
                   15932: # (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
                   15933: dtc382|DTC 382,
                   15934:        am, da, db, xhp,
                   15935:        cols#80, lines#24, lm#96,
                   15936:        bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H,
                   15937:        cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB,
                   15938:        dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U,
                   15939:        home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi,
                   15940:        rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P,
                   15941: dtc300s|DTC 300s,
                   15942:        hc, os,
                   15943:        cols#132,
                   15944:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
                   15945:        hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
                   15946: gsi|mystery gsi terminal,
                   15947:        hc, os,
                   15948:        cols#132,
                   15949:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH,
                   15950:        ind=^J,
                   15951: aj830|aj832|aj|anderson jacobson,
                   15952:        hc, os,
                   15953:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
                   15954:        ind=^J,
                   15955: # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
                   15956: aj510|Anderson-Jacobson model 510,
                   15957:        am, mir,
                   15958:        cols#80, lines#24,
                   15959:        clear=^L, cub1=^H, cuf1=\EX,
                   15960:        cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY,
                   15961:        dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=,
                   15962:        il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ,
                   15963:        kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J,
                   15964:        rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I,
                   15965:        smul=\E"U,
                   15966: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   15967: # This is incomplete, but it's a start.
                   15968: nec5520|nec|spinwriter|nec 5520,
                   15969:        hc, os,
                   15970:        cols#132, it#8,
                   15971:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L,
                   15972:        hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J,
                   15973:        kbs=^H, tbc=\E3,
                   15974: qume5|qume|Qume Sprint 5,
                   15975:        hc, os,
                   15976:        cols#80, it#8,
                   15977:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
                   15978:        hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
                   15979: # I suspect the xerox 1720 is the same as the diablo 1620.
                   15980: xerox1720|x1720|x1750|xerox 1720,
                   15981:        hc, os,
                   15982:        cols#132, it#8,
                   15983:        bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J,
                   15984:        tbc=\E2,
1.1       millert  15985:
                   15986: #### Miscellaneous obsolete terminals, manufacturers unknown
                   15987: #
                   15988: # If you have any information about these (like, a manufacturer's name,
                   15989: # and a date on the serial-number plate) please send it!
                   15990:
                   15991: cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars,
1.11      millert  15992:        OTbs, am,
1.1       millert  15993:        cols#73, lines#36,
                   15994:        clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^,
                   15995: cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars,
1.11      millert  15996:        OTbs, am,
1.1       millert  15997:        cols#85, lines#39,
                   15998:        clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3,
1.11      millert  15999:        kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7,
                   16000:        kf4=\E8, rmso=\Em^C, smso=\Em^L,
1.1       millert  16001: cops10|cops|cops-10|cops 10,
                   16002:        am, bw,
                   16003:        cols#80, lines#24,
1.11      millert  16004:        bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   16005:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V,
                   16006:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   16007:        khome=^Y,
1.1       millert  16008: # (d132: removed duplicate :ic=\E5:,
                   16009: # merged in capabilities from a BRL entry -- esr)
                   16010: d132|datagraphix|datagraphix 132a,
                   16011:        da, db, in,
                   16012:        cols#80, lines#30,
1.11      millert  16013:        bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J,
                   16014:        cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex,
                   16015:        dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H,
                   16016:        kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew,
1.1       millert  16017: # The d800 was an early portable terminal from c.1984-85 that looked a lot
                   16018: # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
                   16019: # mode (which is what this entry looks like) and several other lesser-known
                   16020: # emulations.
                   16021: d800|Direct 800/A,
1.11      millert  16022:        OTbs, am, da, db, msgr, xhp,
1.1       millert  16023:        cols#80, it#8, lines#24,
1.11      millert  16024:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
1.1       millert  16025:        bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H,
1.11      millert  16026:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   16027:        cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D,
                   16028:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
                   16029:        kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
                   16030:        ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   16031:        smacs=\E[1m, smso=\E[7m, smul=\E[4m,
1.1       millert  16032: digilog|digilog 333,
1.11      millert  16033:        OTbs,
                   16034:        cols#80, lines#16,
                   16035:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X,
                   16036:        home=^N, ind=^J,
1.1       millert  16037: # The DWK was a terminal manufactured in the Soviet Union c.1986
1.11      millert  16038: dwk|dwk-vt|dwk terminal,
                   16039:        am,
                   16040:        cols#80, it#8, lines#24,
                   16041:        acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_,
                   16042:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   16043:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
                   16044:        ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177,
                   16045:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee,
                   16046:        kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5,
                   16047:        kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh,
                   16048:        kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX,
                   16049:        sgr0=\EX, smacs=\EF, smso=\ET,
1.1       millert  16050: env230|envision230|envision 230 graphics terminal,
                   16051:        xenl@,
1.11      millert  16052:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   16053:        sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, use=vt100,
1.1       millert  16054: # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
                   16055: # coupler attached, the whole rig fitting in a suitcase and more or less
                   16056: # portable.  Hot stuff for c.1977 :-) -- esr
                   16057: ep48|ep4080|execuport 4080,
1.11      millert  16058:        OTbs, am, os,
1.1       millert  16059:        cols#80,
                   16060:        bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J,
                   16061: ep40|ep4000|execuport 4000,
1.11      millert  16062:        cols#136, use=ep4080,
1.1       millert  16063: # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
                   16064: # Informer series - these are all portable units, resembling older
                   16065: # automatic bread-baking machines.  The terminal looks like a `clamshell'
                   16066: # design, but isn't.  The structure is similar to the Direct terminals,
                   16067: # but only half the width.  The entire unit is only about 10" wide.
                   16068: # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
                   16069: # keyboard.  All the keys are crammed together, much like some laptop
                   16070: # PCs today, but perhaps less well organized...all these units have a
                   16071: # bewildering array of plugs on the back, including a built-in modem.
                   16072: # The 305 was a color version of the 304; the 306 and 307 were mono and
                   16073: # color terminals built for IBM bisync protocols.
                   16074: # From: Paul Leondis <unllab@amber.berkeley.edu>
                   16075: ifmr|Informer D304,
1.11      millert  16076:        OTbs, am,
1.1       millert  16077:        cols#80, lines#24,
                   16078:        clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC,
1.11      millert  16079:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\,
                   16080:        ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK,
                   16081:        smso=\EJ,
1.1       millert  16082: # Entry largely based on wy60 and has the features of wy60ak.
1.11      millert  16083: opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys,
                   16084:        am, bw, hs, km, mir, msgr, ul, xon,
                   16085:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80,
                   16086:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
                   16087:        cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M,
                   16088:        cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K,
                   16089:        dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r,
                   16090:        ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>,
                   16091:        hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J,
                   16092:        ip=$<3>,
                   16093:        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,
                   16094:        kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B,
                   16095:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY,
                   16096:        kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   16097:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   16098:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   16099:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   16100:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   16101:        mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>,
                   16102:        pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
                   16103:        pfx=\EZ1%p1%{63}%+%c%p2%s\177,
                   16104:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
                   16105:        rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11,
                   16106:        rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>,
                   16107:        rs3=\EwG\Ee($<150>,
                   16108:        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,
                   16109:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/,
                   16110:        smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177,
                   16111:        smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(,
                   16112:        uc=\EG8%p1%c\EG0,
                   16113:        use=adm+sgr,
1.1       millert  16114: teletec|Teletec Datascreen,
1.11      millert  16115:        OTbs, am,
1.1       millert  16116:        cols#80, lines#24,
                   16117:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K,
                   16118:        home=^^, ind=^J,
                   16119: # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
                   16120: # This description is for the LANPAR Technologies VISION 3220
                   16121: # terminal from 1984/85.  The function key definitions k0-k5 represent the
                   16122: # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
                   16123: # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
                   16124: # (v3220: removed obsolete ":kn#10:",
                   16125: # I added <rmam>/<smam> based on the init string -- esr)
                   16126: v3220|LANPAR Vision II model 3220/3221/3222,
1.11      millert  16127:        OTbs, am, mir, xenl,
1.1       millert  16128:        cols#80, it#8, lines#24,
1.11      millert  16129:        clear=\E[H\E[J, cub1=^H, cuf1=\E[C,
                   16130:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   16131:        ed=\E[J, el=\E[K, ht=^I, il1=\E[L,
                   16132:        is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B,
                   16133:        kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~,
                   16134:        kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ,
                   16135:        kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l,
                   16136:        rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
1.1       millert  16137:        smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
                   16138: ######## ICH/ICH1 VERSUS RMIR/SMIR
                   16139: #
                   16140: # Some non-curses applications get confused if both ich/ich1 and rmir/smir
                   16141: # are present; the symptom is doubled characters in an update using insert.
                   16142: # These applications are technically correct; in both 4.3BSD termcap and
                   16143: # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
                   16144: # unless the terminal needs both.  To my knowledge, no terminal still in this
                   16145: # file requires both other than the very obsolete dm2500.
                   16146: #
                   16147: # For ncurses-based applications this is not a problem, as ncurses uses
                   16148: # one or the other as appropriate but never mixes the two.  Therefore we
                   16149: # have not corrected entries like `linux' and `xterm' that specify both.
                   16150: # If you see doubled characters from these, use the linux-nic and xterm-nic
                   16151: # entries that suppress ich/ich1.  And upgrade to ncurses!
                   16152: #
                   16153:
                   16154: ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
                   16155: #
                   16156: # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
                   16157: # ECMA-48 standards are said to be almost identical, but are not the same
                   16158: # as X3.64 (though for practical purposes they are close supersets of it).
                   16159: #
                   16160: # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
                   16161: # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
                   16162: # Coded Character Sets"), include your snail-mail address, and you should
                   16163: # receive the document in due course.  Don't expect an email acknowledgement.
                   16164: #
                   16165: # Related standards include "X3.4-1977: American National Standard Code for
                   16166: # Information Interchange" (the ASCII standard) and "X3.41.1974:
                   16167: # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
                   16168: # American National Standard for Information Interchange."  I believe (but
                   16169: # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
                   16170: # respectively.
                   16171: #
                   16172:
                   16173: #### VT100/ANSI/ECMA-48
                   16174: #
                   16175: # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
                   16176: # and ECMA-48 Control Functions for Coded Character Sets.
                   16177: #
                   16178: # Much of the content of this comment is adapted from a table prepared by
                   16179: # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
                   16180: # discussion of some terminfo-related issues, and updates to capture ECMA-48
                   16181: # have been added.  Control functions described in ECMA-48 only are tagged
                   16182: # with * after their names.
                   16183: #
                   16184: # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
                   16185: # sequences.  In the main table, \E stands for an escape (\033) character,
                   16186: # SPC for space.  Pn stands for a single numeric parameter to be inserted
                   16187: # in decimal ASCII.  Ps stands for a list of such parameters separated by
                   16188: # semicolons.  Parameter meanings for most parametrized sequences are
                   16189: # decribed in the notes.
                   16190: #
                   16191: # Sequence     Sequence                             Parameter   or
                   16192: # Mnemonic     Name              Sequence           Value      Mode   terminfo
                   16193: # -----------------------------------------------------------------------------
                   16194: # APC  Applicatn Program Command \E _                -         Delim  -
                   16195: # BEL  Bell *                    ^G                  -         -      bel
                   16196: # BPH  Break Permitted Here *    \E B                -         *      -
                   16197: # BS   Backpace *                ^H                  -         EF     -
                   16198: # CAN  Cancel *                  ^X                  -         -      -   (A)
                   16199: # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
                   16200: # CCH  Cancel Previous Character \E T                -         -      -
                   16201: # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
                   16202: # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
                   16203: # CMD  Coding Method Delimiter * \E
                   16204: # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
                   16205: # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
                   16206: # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
                   16207: # CSI  Control Sequence Intro    \E [                -         Intro  -
                   16208: # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
                   16209: # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
                   16210: # CUD  Cursor Down               \E [ Pn B           1         eF     cud
                   16211: # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
                   16212: # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
                   16213: # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
                   16214: # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
                   16215: # DA   Device Attributes         \E [ Pn c           0         -      -
                   16216: # DAQ  Define Area Qualification \E [ Ps o           0         -      -
                   16217: # DCH  Delete Character          \E [ Pn P           1         eF     dch
                   16218: # DCS  Device Control String     \E P                -         Delim  -
                   16219: # DL   Delete Line               \E [ Pn M           1         eF     dl
                   16220: # DLE  Data Link Escape *        ^P                  -         -      -
                   16221: # DMI  Disable Manual Input      \E \                -         Fs     -
                   16222: # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
                   16223: # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
                   16224: # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
                   16225: # ECH  Erase Character           \E [ Pn X           1         eF     ech
                   16226: # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
                   16227: # EF   Erase in Field            \E [ Ps N           0         eF     -
                   16228: # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
                   16229: # EM   End of Medium *           ^Y                  -         -      -
                   16230: # EMI  Enable Manual Input       \E b                          Fs     -
                   16231: # ENQ  Enquire                   ^E                  -         -      -
                   16232: # EOT  End Of Transmission       ^D                  -         *      -
                   16233: # EPA  End of Protected Area     \E W                -         -      -   (K)
                   16234: # ESA  End of Selected Area      \E G                -         -      -
                   16235: # ESC  Escape                    ^[                  -         -      -
                   16236: # ETB  End Transmission Block    ^W                  -         -      -
                   16237: # ETX  End of Text               ^C                  -         -      -
                   16238: # FF   Form Feed                 ^L                  -         -      -
                   16239: # FNK  Function Key *            \E [ Pn SPC W       -         -      -
                   16240: # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
                   16241: # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
                   16242: # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
                   16243: # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
                   16244: # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
                   16245: # HPB  Char Position Backward    \E [ j              1         FE     -
                   16246: # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
                   16247: # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
                   16248: # HTJ  Horz Tab w/Justification  \E I                -         FE     -
                   16249: # HTS  Horizontal Tab Set        \E H                -         FE     hts
                   16250: # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
                   16251: # ICH  Insert Character          \E [ Pn @           1         eF     ich
                   16252: # IDCS ID Device Control String  \E [ SPC O          -         *      -
                   16253: # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
                   16254: # IL   Insert Line               \E [ Pn L           1         eF     il
                   16255: # IND  Index                     \E D                -         FE     -
                   16256: # INT  Interrupt                 \E a                -         Fs     -
                   16257: # JFY  Justify                   \E [ Ps SPC F       0         FE     -
                   16258: # IS1  Info Separator #1 *       ^_                  -         *      -
                   16259: # IS2  Info Separator #1 *       ^^                  -         *      -
                   16260: # IS3  Info Separator #1 *       ^]                  -         *      -
                   16261: # IS4  Info Separator #1 *       ^\                  -         *      -
                   16262: # LF   Line Feed                 ^J                  -         -      -
                   16263: # LS1R Locking Shift Right 1 *   \E ~                -         -      -
                   16264: # LS2  Locking Shift 2 *         \E n                -         -      -
                   16265: # LS2R Locking Shift Right 2 *   \E }                -         -      -
                   16266: # LS3  Locking Shift 3 *         \E o                -         -      -
                   16267: # LS3R Locking Shift Right 3 *   \E |                -         -      -
                   16268: # MC   Media Copy                \E [ Ps i           0         -      -   (S)
                   16269: # MW   Message Waiting           \E U                -         -      -
                   16270: # NAK  Negative Acknowledge *    ^U                  -         *      -
                   16271: # NBH  No Break Here *           \E C                -         -      -
                   16272: # NEL  Next Line                 \E E                -         FE     nel (D)
                   16273: # NP   Next Page                 \E [ Pn U           1         eF     -
                   16274: # NUL  Null *                    ^@                  -         -      -
                   16275: # OSC  Operating System Command  \E ]                -         Delim  -
                   16276: # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
                   16277: # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
                   16278: # PLD  Partial Line Down         \E K                -         FE     -   (T)
                   16279: # PLU  Partial Line Up           \E L                -         FE     -   (U)
                   16280: # PM   Privacy Message           \E ^                -         Delim  -
                   16281: # PP   Preceding Page            \E [ Pn V           1         eF     -
                   16282: # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
                   16283: # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
                   16284: # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
                   16285: # PTX  Parallel Texts *          \E [ \              -         -      -
                   16286: # PU1  Private Use 1             \E Q                -         -      -
                   16287: # PU2  Private Use 2             \E R                -         -      -
                   16288: # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
                   16289: # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
                   16290: # RI   Reverse Index             \E M                -         FE     -   (V)
                   16291: # RIS  Reset to Initial State    \E c                -         Fs     -
                   16292: # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
                   16293: # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
                   16294: # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
                   16295: # SCI  Single-Char Introducer    \E Z                -         -      -
                   16296: # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
                   16297: # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
                   16298: # SD   Scroll Down               \E [ Pn T           1         eF     rin
                   16299: # SDS  Start Directed String *   \E [ Pn ]           1         -      -
                   16300: # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
                   16301: # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
                   16302: # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
                   16303: # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
                   16304: # SI   Shift In                  ^O                  -         -      -   (P)
                   16305: # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
                   16306: # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
                   16307: # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
                   16308: # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
                   16309: # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
                   16310: # SM   Select Mode               \E [ Ps h           none      -      -   (W)
                   16311: # SO   Shift Out                 ^N                  -         -      -   (Q)
                   16312: # SOH  Start Of Heading *        ^A                  -         -      -
                   16313: # SOS  Start of String *         \E X                -         -      -
                   16314: # SPA  Start of Protected Area   \E V                -         -      -   (Z)
                   16315: # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
                   16316: # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
                   16317: # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
                   16318: # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
                   16319: # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
                   16320: # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
                   16321: # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
                   16322: # SRS  Start Reversed String *   \E [ Ps [           0         -      -
                   16323: # SSA  Start of Selected Area    \E F                -         -      -
                   16324: # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
                   16325: # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
                   16326: # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
                   16327: # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
                   16328: # ST   String Terminator         \E \                -         Delim  -
                   16329: # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
                   16330: # STS  Set Transmit State        \E S                -         -      -
                   16331: # STX  Start pf Text *           ^B                  -         -      -
                   16332: # SU   Scroll Up                 \E [ Pn S           1         eF     indn
                   16333: # SUB  Substitute *              ^Z                  -         -      -
                   16334: # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
                   16335: # SYN  Synchronous Idle *        ^F                  -         -      -
                   16336: # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
                   16337: # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
                   16338: # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
                   16339: # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
                   16340: # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
                   16341: # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
                   16342: # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
                   16343: # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
                   16344: # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
                   16345: # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
                   16346: # VT   Vertical Tabulation *     ^K                  -         FE     -
                   16347: # VTS  Vertical Tabulation Set   \E J                -         FE     -
                   16348: #
                   16349: # ---------------------------------------------------------------------------
                   16350: #
                   16351: # Notes:
                   16352: #
                   16353: # Some control characters are listed in the ECMA-48 standard without
                   16354: # being assigned functions relevant to terminal control there (they
                   16355: # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
                   16356: # here anyway for completeness.
                   16357: #
                   16358: # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
                   16359: #
                   16360: # (B) There seems to be some confusion abroad between CHA and HPA.  Most
                   16361: # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
                   16362: # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
                   16363: # preserved the CHA abbreviation.
                   16364: #
                   16365: # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
                   16366: # Occasionally (as on, for example, certain HP terminals) this has the HTJ
                   16367: # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
                   16368: # CHT abbreviation.
                   16369: #
                   16370: # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
                   16371: #
                   16372: # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
                   16373: # abbreviation.
                   16374: #
                   16375: # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
                   16376: # char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
                   16377: # 5 = clear all char tabs, 6 = clear all line tabs.
                   16378: #
                   16379: # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
                   16380: # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
                   16381: # Position Absolute" but retains the HVP abbreviation.
                   16382: #
                   16383: # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
                   16384: # abbreviation.
                   16385: #
                   16386: # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
                   16387: # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
                   16388: # DSR, 6 = request CPR response.
                   16389: #
                   16390: # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
                   16391: # 1 = clear from beginning, 2 = clear.
                   16392: #
                   16393: # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
                   16394: #
                   16395: # (L) The GSM parameters are vertical and horizontal parameters to scale by.
                   16396: #
                   16397: # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
                   16398: # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
                   16399: # Position Relative" but retains the HPR abbreviation.
                   16400: #
                   16401: # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
                   16402: # abbreviation.
                   16403: #
                   16404: # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
                   16405: # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
                   16406: # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
                   16407: # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
                   16408: # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
                   16409: # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
                   16410: # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
                   16411: # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
                   16412: # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
                   16413: # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
                   16414: # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
                   16415: # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
                   16416: # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
                   16417: # 61-65 = variable highlights for ideograms.
                   16418: #
                   16419: # (P) SI is also called LSO, Locking Shift Zero.
                   16420: #
                   16421: # (Q) SI is also called LS1, Locking Shift One.
                   16422: #
                   16423: # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
                   16424: # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
                   16425: # Absolute' but retains the VPA abbreviation.
                   16426: #
                   16427: # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
                   16428: # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
                   16429: # from secondary aux device, 4 = stop relay to primary aux device, 5 =
                   16430: # start relay to primary aux device, 6 = stop relay to secondary aux device,
                   16431: # 7 = start relay to secondary aux device.
                   16432: #
                   16433: # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
                   16434: # abbreviation.
                   16435: #
                   16436: # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
                   16437: # abbreviation.
                   16438: #
                   16439: # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
                   16440: #
                   16441: # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM),
                   16442: # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
                   16443: # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
                   16444: # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
                   16445: # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
                   16446: # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
                   16447: # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
                   16448: # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
                   16449: # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
                   16450: # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
                   16451: # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
                   16452: # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
                   16453: # from ECMA-48's 5th edition but are listed here for reference.
                   16454: #
                   16455: # (X) Select Alternate Presentation Variants is used only for non-Latin
                   16456: # alphabets.
                   16457: #
                   16458: # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
                   16459: #
                   16460: # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
                   16461: # abbreviation.
                   16462: #
                   16463: # ---------------------------------------------------------------------------
                   16464: #
                   16465: # Abbreviations:
                   16466: #
                   16467: # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
                   16468: #        X3.64 Control Sequence Introducer is the two characters "Escape ["
                   16469: #
                   16470: # Delim  a Delimiter
                   16471: #
                   16472: # x/y    identifies a character by position in the ASCII table (column/row)
                   16473: #
                   16474: # eF     editor function (see explanation)
                   16475: #
                   16476: # FE     format effector (see explanation)
                   16477: #
                   16478: # F      is a Final character in
                   16479: #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
                   16480: #             a control sequence (F from 4/0 to 7/14)
                   16481: #
                   16482: # Gs     is a graphic character appearing in strings (Gs ranges from
                   16483: #        2/0 to 7/14) in the ASCII table
                   16484: #
                   16485: # Ce     is a control represented as a single bit combination in the C1 set
                   16486: #        of controls in an 8-bit character set
                   16487: #
                   16488: # C0     the familiar set of 7-bit ASCII control characters
                   16489: #
                   16490: # C1     roughly, the set of control chars available only in 8-bit systems.
                   16491: #        This is too complicated to explain fully here, so read Jim Fleming's
                   16492: #        article in the February 1983 BYTE, especially pages 214 through 224.
                   16493: #
                   16494: # Fe     is a Final character of a 2-character Escape sequence that has an
                   16495: #        equivalent representation in an 8-bit environment as a Ce-type
                   16496: #        (Fe ranges from 4/0 to 5/15)
                   16497: #
                   16498: # Fs     is a Final character of a 2-character Escape sequence that is
                   16499: #        standardized internationally with identical representation in 7-bit
                   16500: #        and 8-bit environments and is independent of the currently
                   16501: #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
                   16502: #
                   16503: # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
                   16504: #        ASCII table
                   16505: #
                   16506: # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
                   16507: #        table
                   16508: #
                   16509: # Pn     is a numeric parameter in a control sequence, a string of zero or
                   16510: #        more characters ranging from 3/0 to 3/9 in the ASCII table
                   16511: #
                   16512: # Ps     is a variable number of selective parameters in a control sequence
                   16513: #        with each selective parameter separated from the other by the code
                   16514: #        3/11 (which usually represents a semicolon); Ps ranges from
                   16515: #        3/0 to 3/9 and includes 3/11
                   16516: #
                   16517: # *      Not relevant to terminal control, listed for completeness only.
                   16518: #
                   16519: # Format Effectors versus Editor Functions
                   16520: #
                   16521: # A format effector specifies how following output is to be displayed.
                   16522: # An editor function allows you to modify the display.  Informally
                   16523: # format effectors may be destructive; format effectors should not be.
                   16524: #
                   16525: # For instance, a format effector that moves the "active position" (the
                   16526: # cursor or equivalent) one space to the left would be useful when you want to
                   16527: # create an overstrike, a compound character made of two standard characters
                   16528: # overlaid. Control-H, the Backspace character, is actually supposed to be a
                   16529: # format effector, so you can do this. But many systems use it in a
                   16530: # nonstandard fashion, as an editor function, deleting the character to the
                   16531: # left of the cursor and moving the cursor left. When Control-H is assumed to
                   16532: # be an editor function, you cannot predict whether its use will create an
                   16533: # overstrike unless you also know whether the output device is in an "insert
                   16534: # mode" or an "overwrite mode". When Control-H is used as a format effector,
                   16535: # its effect can always be predicted. The familiar characters carriage
                   16536: # return, linefeed, formfeed, etc., are defined as format effectors.
                   16537: #
                   16538: # NOTES ON THE DEC VT100 IMPLEMENTATION
                   16539: #
                   16540: # Control sequences implemented in the VT100 are as follows:
                   16541: #
                   16542: #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
                   16543: #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
                   16544: #
                   16545: # plus several private DEC commands.
                   16546: #
                   16547: # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
                   16548: #
                   16549: #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
                   16550: #      Erase from beginning of line to cursor     Esc [ 1 K
                   16551: #      Erase line containing cursor               Esc [ 2 K
                   16552: #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
                   16553: #      Erase from beginning of screen to cursor   Esc [ 1 J
                   16554: #      Erase entire screen                        Esc [ 2 J
                   16555: #
                   16556: # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
                   16557: # Esc [ 2 J, but this is wrong; the default is 0.
                   16558: #
                   16559: # The VT100 responds to receiving the DA (Device Attributes) control
                   16560: #
                   16561: #      Esc [ c    (or Esc [ 0 c)
                   16562: #
                   16563: # by transmitting the sequence
                   16564: #
                   16565: #      Esc [ ? l ; Ps c
                   16566: #
                   16567: # where Ps is a character that describes installed options.
                   16568: #
                   16569: # The VT100's cursor location can be read with the DSR (Device Status
                   16570: # Report) control
                   16571: #
                   16572: #      Esc [ 6 n
                   16573: #
                   16574: # The VT100 reports by transmitting the CPR sequence
                   16575: #
                   16576: #      Esc [ Pl ; Pc R
                   16577: #
                   16578: # where Pl is the line number and Pc is the column number (in decimal).
                   16579: #
                   16580: # The specification for the DEC VT100 is document EK-VT100-UG-003.
                   16581:
                   16582: #### ANSI.SYS
                   16583: #
                   16584: # Here is a description of the color and attribute controls supported in the
                   16585: # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
                   16586: # terminal emulators for Intel boxes obey these.  They are a proper subset
                   16587: # of the ECMA-48 escapes.
                   16588: #
                   16589: # 0    all attributes off
                   16590: # 1    foreground bright
                   16591: # 4    underscore on
                   16592: # 5    blink on/background bright (not reliable with brown)
                   16593: # 7    reverse-video
                   16594: # 8    set blank (non-display)
                   16595: # 10   set primary font
                   16596: # 11   set first alternate font (on PCs, display ROM characters 1-31)
                   16597: # 12   set second alternate font (on PCs, display IBM high-half chars)
                   16598: #
                   16599: #                      Color attribute sets
                   16600: # 3n   set foreground color       / 0=black, 1=red,     2=green, 3=brown,
                   16601: # 4n   set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
                   16602: # Bright black becomes gray.  Bright brown becomes yellow,
                   16603: # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
                   16604: #
                   16605: # * If the 5 attribute is on and you set a background color (40-47) it is
                   16606: #   supposed to enable bright background.
                   16607: #
                   16608: # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
                   16609: #   when you try to set a "bright brown" (yellow) background with attribute
                   16610: #   5 (you get a blinking yellow foreground instead).  A few displays
                   16611: #   (including the System V console) support an attribute 6 that undoes this
                   16612: #   braindamage (this is required by iBCS2).
                   16613: #
                   16614: # * Some older versions of ANSI.SYS have a bug that causes thems to require
                   16615: #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
                   16616: #   compatible.)
                   16617:
                   16618: #### Intel Binary Compatibility Standard
                   16619: #
                   16620: # For comparison, here are the capabilities implied by the Intel Binary
                   16621: # Compatibility Standard for UNIX systems (Intel order number 468366-001).
                   16622: # These recommendations are optional.  IBCS2 allows the leading escape to
                   16623: # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
                   16624: # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
                   16625: # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
                   16626: # terminfo entry are followed with the corresponding capability in parens:
                   16627: #
                   16628: #      CSI <n>k                disable (n=0) or enable (n=1) keyclick
                   16629: #      CSI 2h                  lock keyboard
                   16630: #      CSI 2i                  send screen as input
                   16631: #      CSI 2l                  unlock keyboard
                   16632: #      CSI 6m                  enable background color intensity
                   16633: #      CSI <0-2>c              reserved
                   16634: #      CSI <0-59>m             select graphic rendition
                   16635: #      CSI <n>;<m>H    (cup)   cursor to line n and column m
                   16636: #      CSI <n>;<m>f            cursor to line n and column m
                   16637: #      CSI <n>@        (ich)   insert characters
                   16638: #      CSI <n>A        (cuu)   cursor up n lines
                   16639: #      CSI <n>B        (cud)   cursor down n lines
                   16640: #      CSI <n>C        (cuu)   cursor right n characters
                   16641: #      CSI <n>D        (cud)   cursor left n characters
                   16642: #      CSI <n>E                cursor down n lines and in first column
                   16643: #      CSI <n>F                cursor up n lines and in first column
                   16644: #      CSI <n>G        (hpa)   position cursor at column n-1
                   16645: #      CSI <n>J        (ed)    erase in display
                   16646: #      CSI <n>K        (el)    erase in line
                   16647: #      CSI <n>L        (il)    insert line(s)
                   16648: #      CSI <n>P        (dch)   delete characters
                   16649: #      CSI <n>S        (indn)  scroll up n lines
                   16650: #      CSI <n>T        (rin)   scroll down n lines
                   16651: #      CSI <n>X        (ech)   erase characters
                   16652: #      CSI <n>Z        (cbt)   back up n tab stops
                   16653: #      CSI <n>`                cursor to column n on line
                   16654: #      CSI <n>a        (cuu)   cursor right n characters
                   16655: #      CSI <n>d        (vpa)   cursor to line n
                   16656: #      CSI <n>e                cursor down n lines and in first column
                   16657: #      CSI <n>g        (cbt)   clear all tabs
                   16658: #      CSI <n>z                make virtual terminal n active
                   16659: #      CSI ?7h         (smam)  turn automargin on
                   16660: #      CSI ?7l         (rmam)  turn automargin off
                   16661: #      CSI s                   save cursor position
                   16662: #      CSI u                   restore cursor position to saved value
                   16663: #      CSI =<c>A               set overscan color
                   16664: #      CSI =<c>F               set normal foreground color
                   16665: #      CSI =<c>G               set normal background color
                   16666: #      CSI =<c>H               set reverse foreground color
                   16667: #      CSI =<c>I               set reverse foreground color
                   16668: #      CSI =<c>J               set graphic foreground color
                   16669: #      CSI =<c>K               set graphic foreground color
                   16670: #      CSI =<n>g       (dispc) display n from alternate graphics character set
                   16671: #      CSI =<p>;<d>B           set bell parameters
                   16672: #      CSI =<s>;<e>C           set cursor parameters
                   16673: #      CSI =<x>D               enable/disable intensity of background color
                   16674: #      CSI =<x>E               set/clear blink vs. bold background
                   16675: #      CSI 7           (sc)    (sc) save cursor position
                   16676: #      CSI 8           (rc)    (rc) restore cursor position to saved value
                   16677: #      CSI H           (hts)   (hts) set tab stop
                   16678: #      CSI Q<n><string>        define function key string
                   16679: #                              (string must begin and end with delimiter char)
                   16680: #      CSI c           (clear) clear screen
                   16681: #
                   16682: # The lack of any specification for attributes in SGR (among other things)
                   16683: # makes this a wretchedly weak standard. The table above is literally
                   16684: # everything iBSC2 has to say about terminal escape sequences; there is
                   16685: # no further discussion of their meaning or how to set the parameters
                   16686: # in these sequences at all.
                   16687: #
                   16688:
                   16689: ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
                   16690: #
                   16691: # The historical termcap file entries were written primarily in 4.4BSD termcap.
                   16692: # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
                   16693: # with the extension names chosen for compatibility with the termcap names
                   16694: # assigned in System V terminfo.  There are some variant extension sets out
                   16695: # there.  We try to describe them here.
                   16696: #
                   16697: # XENIX extensions:
                   16698: #
                   16699: # The XENIX extensions include a set of function-key capabilities as follows:
                   16700: #
                   16701: #       code   XENIX variable name     terminfo name   name clashes?
                   16702: #      ----    -------------------     -------------   -----------------------
                   16703: #      CL      key_char_left
                   16704: #      CR      key_char_right
                   16705: #      CW      key_change_window                       create_window
                   16706: #      EN      key_end                 kend
                   16707: #      HM      key_home                khome
                   16708: #      HP      ??
                   16709: #      LD      key_delete_line         kdl1
                   16710: #      LF      key_linefeed                            label_off
                   16711: #      NU      key_next_unlocked_cell
                   16712: #      PD      key_page_down           knp
                   16713: #      PL      ??
                   16714: #      PN      start_print             mc5
                   16715: #      PR      ??
                   16716: #      PS      stop_print              mc4
                   16717: #      PU      key_page_up             kpp             pulse
                   16718: #      RC      key_recalc                              remove_clock
                   16719: #      RF      key_toggle_ref                          req_for_input
                   16720: #      RT      key_return              kent
                   16721: #      UP      key_up_arrow            kcuu1           parm_up_cursor
                   16722: #      WL      key_word_left
                   16723: #      WR      key_word_right
                   16724: #
                   16725: # The XENIX extensions also include the following character-set and highlight
                   16726: # capabilities:
                   16727: #
                   16728: #      XENIX   terminfo        function
                   16729: #      -----   --------        ------------------------------
                   16730: #      GS      smacs           start alternate character set
                   16731: #      GE      rmacs           end alternate character set
                   16732: #      GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
                   16733: #      bo      blink           begin blink (not used in /etc/termcap)
                   16734: #      be                      end blink (not used in /etc/termcap)
                   16735: #      bb                      blink glitch  (not used in /etc/termcap)
                   16736: #      it      dim             begin dim (not used in /etc/termcap)
                   16737: #      ie                      end dim (not used in /etc/termcap)
                   16738: #      ig                      dim glitch  (not used in /etc/termcap)
                   16739: #
                   16740: # Finally, XENIX also used the following forms-drawing capabilities:
                   16741: #
                   16742: #      single  double  type             ASCII approximation
                   16743: #      ------  ------  -------------    -------------------
                   16744: #      GV      Gv      vertical line             |
                   16745: #      GH      Gv      horizontal line       -   _
                   16746: #      G1      G5      top right corner       _   |
                   16747: #      G2      G6      top left corner       |
                   16748: #      G3      G7      bottom left corner         |_
                   16749: #      G4      G8      bottom right corner   _|
                   16750: #      GD      Gd      down-tick character        T
                   16751: #      GL      Gl      left-tick character   -|
                   16752: #      GR      Gr      right-tick character       |-
                   16753: #      GC      Gc      middle intersection   -|-
                   16754: #      GU      Gu      up-tick character          _|_
                   16755: #
                   16756: # These were invented to take advantage of the IBM PC ROM character set.  One
                   16757: # can compose an acsc string from the single-width characters as follows
                   16758: #      "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
                   16759: # When translating a termcap file, ncurses tic will do this automatically.
                   16760: # The double forms characters don't fit the SVr4 terminfo model.
                   16761: #
                   16762: # AT&T Extensions:
                   16763: #
                   16764: # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
                   16765: # nonstandard capabilities.  Its signature is the KM capability, used to name
                   16766: # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
                   16767: # set.  Comments in the original, and a little cross-checking with other AT&T
                   16768: # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
                   16769: # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
                   16770: # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
                   16771: # cursor invisible), and CV=:ve: (make cursor normal).
                   16772: #
                   16773: # HP Extensions
                   16774: #
                   16775: # The HP library (as of mid-1995, their term.h file version 70.1) appears to
                   16776: # have the System V capabilities up to SVr1 level.  After that, it supports
                   16777: # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
                   16778: # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
                   16779: # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
                   16780: # HP binary format incompatible with SVr4's.
                   16781: #
                   16782: # IBM Extensions
                   16783: #
                   16784: # There is a set of nonstandard terminfos used by IBM's AIX operating system.
                   16785: # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
                   16786: # capabilities following prtr_non with the following special capabilties:
                   16787: # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
                   16788: # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
                   16789: # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
                   16790: # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
                   16791: # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
                   16792: # renamed (to kcbt and kslt).  The places in the box[12] capabilities
                   16793: # correspond to acsc chars, here is the mapping:
                   16794: #
                   16795: #      box1[0]  = ACS_ULCORNER
                   16796: #      box1[1]  = ACS_HLINE
                   16797: #      box1[2]  = ACS_URCORNER
                   16798: #      box1[3]  = ACS_VLINE
                   16799: #      box1[4]  = ACS_LRCORNER
                   16800: #      box1[5]  = ACS_LLCORNER
                   16801: #      box1[6]  = ACS_TTEE
                   16802: #      box1[7]  = ACS_RTEE
                   16803: #      box1[8]  = ACS_BTEE
                   16804: #      box1[9]  = ACS_LTEE
                   16805: #      box1[10] = ACS_PLUS
                   16806: #
                   16807: # The box2 characters are the double-line versions of these forms graphics.
                   16808: # The AIX binary terminfo format is incompatible with SVr4's.
                   16809: #
                   16810: # Iris console extensions:
                   16811: #
                   16812: # HS is half-intensity start; HE is half-intensity end
                   16813: # CT is color terminal type (for Curses & rogue)
                   16814: # CP is color change escape sequence
                   16815: # CZ are color names (for Curses & rogue)
                   16816: #
                   16817: # The ncurses tic utility recognizes HS as an alias for mh <dim>.
                   16818: #
                   16819: # TC Extensions:
                   16820: #
                   16821: # There is a set of extended termcaps associated with something
                   16822: # called the "Terminal Control" or TC package created by MainStream Systems,
                   16823: # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
                   16824: # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
                   16825: # that flags color terminals.
                   16826: #
                   16827: ######## CHANGE HISTORY
                   16828: #
                   16829: # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
                   16830: # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
                   16831: # project.
                   16832: #
                   16833: # This file contains all the capability information present in John Kunze's
                   16834: # last version of the termcap master file, except as noted in the change
                   16835: # comments at end of file.  Some information about very ancient obsolete
                   16836: # capabilities has been moved to comments.  Some all-numeric names of older
                   16837: # terminals have been retired.
                   16838: #
                   16839: # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
                   16840: # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
                   16841: # used by BSD curses.
                   16842: #
                   16843: # The 9.1.0 version of this file was translated from my lightly-edited copy of
                   16844: # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
                   16845: # the purpose.  Unless the ncurses tic implementation and the Lisp code were
                   16846: # making perfectly synchronized mistakes which I then failed to catch by
                   16847: # eyeball, the translation was correct and perfectly information-preserving.
                   16848: #
                   16849: # Major version number bumps correspond to major version changes in ncurses.
                   16850: #
                   16851: # Here is a log of the changes since then:
                   16852: #
                   16853: # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
                   16854: #      * First terminfo master translated from 8.3.
                   16855: # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
                   16856: #      * Replaced Wyse entries with updated entries supplied by vendor.
                   16857: #
                   16858: # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
                   16859: #      * Added contact & status info from G. Clark Brown <clark@sssi.com>.
                   16860: # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
                   16861: #      * Better XENIX keycap translation.  Describe TC termcaps.
                   16862: #      * Contact and history info supplied by Qume.
                   16863: # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
                   16864: #      * Raided the Shuford FTP site for recent termcaps/terminfos.
                   16865: #      * Added information on X3.64 and VT100 standard escape sequences.
                   16866: # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
                   16867: #      * Added a correct X11R6 xterm entry.
                   16868: #      * Fixed terminfo translations of padding.
                   16869: # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
                   16870: #      * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
                   16871: #      * Added u6/u7/u8/u9 capabilities.
                   16872: #      * Added PCVT entry.
                   16873: # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
                   16874: #      * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
                   16875: #        to use reverse-video standout so Emacs will look right.
                   16876: #      * Added el1 capability to ansi.
                   16877: #      * Added smacs/rmacs to ansi.sys.
                   16878: #
                   16879: # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
                   16880: #      * New mt70 entry.
                   16881: #      * Added COPYRIGHTS AND OTHER DELUSIONS.
                   16882: #      * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
                   16883: #        smartvid & smarterm, ampex 175 & 219 & 232,
                   16884: #        env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
                   16885: #        ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
                   16886: #        screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
                   16887: #        adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
                   16888: #      * Replaced the Perkin-Elmer entries with vendor's official ones.
                   16889: #      * Restored the old minimal-ansi entry, luna needs it.
                   16890: #      * Fixed some incorrect ip and proportional-padding translations.
                   16891: # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
                   16892: #      * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
                   16893: #      * Make the xterm entry 65 lines again; create xterm25 and xterm24
                   16894: #        to force a particular height.
                   16895: #      * Added beehive4 and reorganized other Harris entries.
                   16896: # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
                   16897: #      * Merged in DEC's official entries for its terminals.  The only old
                   16898: #        entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
                   16899: #      * Replaced the translated BBN Bitgraph entries with purpose-built
                   16900: #        ones from AT&T's SVr3.
                   16901: #      * Replaced the AT&T entries with AT&T's official terminfos.
                   16902: #      * Added teleray 16, vc415, cops10.
                   16903: #      * Merged in many individual capabilities from SCO terminfo files.
                   16904: # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
                   16905: #      * Typo fixes.
                   16906: #      * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
                   16907: # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
                   16908: #      * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
                   16909: #        pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
                   16910: #        simterm, citoh and variants.
                   16911: #      * Replaced sol entry with sol1 and sol2.
                   16912: #      * Replaced Qume QVT and Freedom-series entries with purpose-built
                   16913: #        terminfo entries.
                   16914: #      * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
                   16915: #        and dg200 entries using caps from from SCO.
                   16916: #      * Added the usual set of function-key mappings to ANSI entry.
                   16917: #      * Corrected xterm's function-key capabilities.
                   16918: # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
                   16919: #      * Fix in xterm entry, cub and cud are not reliable under X11R6.
                   16920: # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
                   16921: #      * Fix in xterm entry, get the arrow keys right.
                   16922: #      * Change some \0 escapes to \200.
                   16923: # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
                   16924: #      * Added apple (Videx card), adm1a, oadm31.
                   16925: #      * Fixed malformed ampex csr.
                   16926: #      * Fixed act4, cyb110; they had old-style prefix padding left in.
                   16927: #      * Changed mandatory to advisory padding in many entries.
                   16928: #      * Replaced HP entries up to hpsub with purpose-built ones.
                   16929: #      * Blank rmir/smir/rmdc/smdc capabilities removed.
                   16930: #      * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
                   16931: # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
                   16932: #      * Replaced the Ann Arbor entries with SCO's, the init strings are
                   16933: #        more efficient (but the entries otherwise identical).
                   16934: #      * Added dg211 from Shuford archive.
                   16935: #      * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
                   16936: #        adm42-nl, pc52, gs6300, xerox820, uts30.
                   16937: #      * Pull SCO's padding into vi200 entry.
                   16938: #      * Improved capabilities for tvi4107 and other Televideo and Viewpoint
                   16939: #        entries merged in from SCO's descriptions.
                   16940: #      * Fixed old-style prefix padding on zen50, h1500.
                   16941: #      * Moved old superbee entry to superbee-xsb, pulled in new superbee
                   16942: #        entry from SCO's description.
                   16943: #      * Reorganized the special entries.
                   16944: #      * Added lm#0 to cbunix and virtual entries.
                   16945: #
                   16946: # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
                   16947: #      * Restored cdc456tst.
                   16948: #      * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
                   16949: #      * Added megatek, beacon, microkit.
                   16950: #      * Freeze for ncurses-1.9 release.
                   16951: # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
                   16952: #      * Added historical data for TAB.
                   16953: #      * Comment fixes from David MacKenzie.
                   16954: #      * Added the new BSDI pc3 entry.
                   16955: # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
                   16956: #      * A change in the tic -C logic now ensures that all entries in
                   16957: #        the termcap translation will fit in < 1024 bytes.
                   16958: #      * Added `bobcat' and `gator' HP consoles and the Nu machine entries
                   16959: #        from GNU termcap file.  This merges in all their local information.
                   16960: # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
                   16961: #      * Changed tic -C logic to dump all capabilities used by GNU termcap.
                   16962: #      * Added warnings about entries with long translations (restoring
                   16963: #        all the GNU termcaps pushes a few over the edge).
                   16964: # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
                   16965: #      * Yet another tic change, and a couple of entry tweaks, to reduce the
                   16966: #        number of long (> 1024) termcap translations back to 0.
                   16967: #
                   16968: # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
                   16969: #      * Added kf13-kf20 to Linux entry.
                   16970: #      * Regularize Prime terminal names.
                   16971: #      * Historical data on Synertek.
                   16972: #      * Freeze for ncurses-1.9.1.
                   16973: # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
                   16974: #      * Added true xterm-color entry, renamed djm's pseudo-color entry.
                   16975: #      * Eliminate whitespace in short name fields, this tanks some scripts.
                   16976: #      * Name field changes to shorten some long entries.
                   16977: #      * Termcap translation now automatically generates empty rmir/smir
                   16978: #        when ich1/ich is present (copes with an ancient vi bug).
                   16979: #      * Added `screen' entries from FSF's screen-3.6.2.
                   16980: #      * Added linux-nic and xterm-nic entries.
                   16981: # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
                   16982: #      * Change linux entry to use smacs=\E[11m and have an explicit acsc,
                   16983: #        eliminating some special-case code in ncurses.
                   16984: #
                   16985: # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
                   16986: #      * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
                   16987: #        that captures everything unique from it.
                   16988: #      * Added reorder script generator.
                   16989: #      * Freeze for ncurses 1.9.2 release.
                   16990: # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
                   16991: #      * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
                   16992: #      * Added Olaf Siebert's corrections for adm12.
                   16993: #      * ansi-pc-color now includes the colors and pairs caps, so that
                   16994: #        entries which use it will inherit them automatically.
                   16995: #      * The linux entry can now recognize the center (keypad 5) key.
                   16996: #      * Removed some junk that found its way into Linux acsc.
                   16997: #
                   16998: # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
                   16999: #      * Add 50% cut mark as a desperate hack to reduce tic's core usage.
                   17000: #      * xterm doesn't try to use application keypad mode any more.
                   17001: #      * Freeze for ncurses-1.9.3 release.
                   17002: # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
                   17003: #      * Added corrected sun entry from vendor.
                   17004: #      * Added csr capability to linux entry.
                   17005: #      * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
                   17006: #      * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
                   17007: #      * Some commented-out caps in long entries come back in, my code
                   17008: #        for computing string-table lengths had a bug in it.
                   17009: #      * pcansi series modified to fit comm-program reality better.
                   17010: # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
                   17011: #      * BSD/OS actually ships the ibmpc3 bold entry as its console.
                   17012: #      * Correct some bad aliases in the pcansi series
                   17013: #      * Added entry for QNX console.
                   17014: #      * Clean up duplicate long names for use with 4.4 library.
                   17015: #      * Change vt100 standout to be normal reverse vide, not bright reverse;
                   17016: #        this makes the Emacs status line look better.
                   17017: # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
                   17018: #      * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
                   17019: #      * Minor surgery, mostly on name strings, to shorten termcap version.
                   17020: #
                   17021: # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
                   17022: #      * Added dec-vt100 for use with the EWAN emulator.
                   17023: #      * Added kmous to xterm for use with xterm's mouse-tracking facility.
                   17024: #      * Freeze for 1.9.5 alpha release.
                   17025: # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
                   17026: #      * Changed xterm lines to 24, the X11R6 default.
                   17027: # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
                   17028: #      * Added 7 newly discovered, undocumented acsc characters to linux
                   17029: #        entry (the pryz{|} characters).
                   17030: #      * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
                   17031: #      * Correct two typos in the xterm entries introduced in 9.9.1.
                   17032: #      * I finally figured out how to translate ko capabilities.  Done.
                   17033: #      * Added tvi921 entries from Tim Theisen.
                   17034: #      * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
                   17035: #      * Removed mystery tec entry, it was neither interesting nor useful.
                   17036: #      * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
                   17037: #        vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
                   17038: #        trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
                   17039: #        by making them relative to use capabilities
                   17040: #      * Added cuf1=^L to tvi925 from deleted variant tvi925a.
                   17041: #      * fixed cup in adm22 entry and parametrized strings in vt320-k3.
                   17042: #      * added it#8 to entries that used to have :pt: -- tvi912, vi200,
                   17043: #        ampex80,
                   17044: #      * Translate all home=\E[;H capabilities to home=\E[H, they're
                   17045: #        equivalent.
                   17046: #      * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
                   17047: #        vt100 and ANSI-like terminals.
                   17048: # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
                   17049: #      * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
                   17050: #        does this now, too.
                   17051: #      * fviewpoint is gone, it duplicated screwpoint.
                   17052: #      * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
                   17053: #        ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
                   17054: #        versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
                   17055: #        The UW vi50 replaces the old one, which becomes vi50adm,
                   17056: #      * No more embedded commas in name fields.
                   17057: #
                   17058: # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
                   17059: #      * XENIX forms characters in fos, trs16, scoansi become acsc strings,
                   17060: #      * Introduced klone+* entries for describing Intel-console behavior.
                   17061: #      * Linux kbs is default-mapped to delete for some brain-dead reason.
                   17062: #      * -nsl -> -ns.  The -pp syntax is obsolete.
                   17063: #      * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
                   17064: #      * Make xterm entry do application-keypad mode again.  I got complaints
                   17065: #        that it was messing up someone's 3270 emulator.
                   17066: #      * Added some longname fields in order to avoid warning messages from
                   17067: #        older tic implementations.
1.11      millert  17068: #      * According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
1.1       millert  17069: #        it! (This gives us pi, greater than, less than, and a few more.)
                   17070: #      * Freeze for ncurses-1.9.6 release.
                   17071: # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
                   17072: #      * Add xon to a number of console entries, they're memory-mapped and
                   17073: #        don't need padding.
                   17074: #      * Correct the use dependencies in the ansi series.
                   17075: #      * Hand-translate more XENIX capabilities.
                   17076: #      * Added hpterm entry for HP's X terminal emulator.
                   17077: #      * Added aixterm entries.
                   17078: #      * Shortened four names so everything fits in 14 chars.
                   17079: #
                   17080: # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
                   17081: #      * Added ibcs2 entry and info on iBCS2 standard.
                   17082: #      * Corrected hpa/vpa in linux entry.  They still fail the worm test.
                   17083: #      * We can handle the HP meml/memu capability now.
                   17084: #      * Added smacs to klone entries, just as documentation.
                   17085: #      * Carrected ansi.sys and cit-500 entries.
                   17086: #      * Added z39, vt320-k311, v220c, and avatar entries.
                   17087: #      * Make pcansi use the ansi.sys invis capability.
                   17088: #      * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
                   17089: #        tvi925, tvi950, dt80, ncr7900i, h19.
                   17090: #      * X3.64 has been withdrawn, change some references.
                   17091: #      * Removed function keys from ansi-m entry.
                   17092: #      * Corrected ansi.sys entry.
                   17093: #      * Freeze for ncurses-1.9.7 release.
                   17094: # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
                   17095: #      * Added rmam/smam capabilities to many entries based on init strings.
                   17096: #      * Added correct hpa/vpa to linux.
                   17097: #      * Reduced several entries relative to vt52.
                   17098: # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
                   17099: #      * Exiled some utterly unidentifiable custom and homebrew types to the
                   17100: #        UFO file; also, obsolete small-screen hardware; also, entries which
                   17101: #        look flat-out incorrect, garbled, or redundant.  These include the
                   17102: #        following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
                   17103: #        tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
                   17104: #        apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
                   17105: #        fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
                   17106: #        yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
                   17107: #        vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
                   17108: #        trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
                   17109: #        att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
                   17110: #        tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
                   17111: #        c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
                   17112: #        regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
                   17113: #        vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
                   17114: #        vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
                   17115: #      * Corrected pcvt25h as suggested by Brian C. Grayson
                   17116: #        <bgrayson@pine.ece.utexas.edu>.
                   17117: # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
                   17118: #      * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
                   17119: #      * Added kent=\EOM to xterm entry.
                   17120: #
                   17121: # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
                   17122: #      * Corrected gigi entry.
                   17123: #      * Restored cuf/cud1 to xterm, their apparent bugginess was due to
                   17124: #        bad hpa/vpa capabilities.
                   17125: #      * Corrected flash strings to have a uniform delay of .2 sec.  No
                   17126: #        more speed-dependent NUL-padding!
                   17127: #      * terminfo capabilities in comments bracketed with <>.
                   17128: # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
                   17129: #      * Replaced pcvt with the 3.31 pcvt entries.
                   17130: #      * Freeze for 1.9.7a.
                   17131: # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
                   17132: #      * Added emu entry from the X11R6 contrib tape sources.
                   17133: #
                   17134: # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
                   17135: #      * Improved iris-ansi and sun entries.
                   17136: #      * More flash string improvements.
                   17137: #      * Corrected wy160 & wy160 as suggested by Robert Dunn
                   17138: #      * Added dim to at386.
                   17139: #      * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
                   17140: #        he's ready to start using the termcap generated from this one.
                   17141: #      * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
                   17142: #        ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
                   17143: #      * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
                   17144: #        att610, att620, att630,
                   17145: #      * Changed hazeltine name prefix from h to hz.
                   17146: #      * Sent t500 to the UFI file.
                   17147: #      * I think we've sucked all the juice out of BSDI's termcap file now.
                   17148: #      * Freeze for ncurses 1.9.8 release
                   17149: # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
                   17150: #      * Unfreeze, linux kbs needed to be fixed.
                   17151: #      * Tim Theisen pinned down a bug in the DMD firmware.
                   17152: # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
                   17153: #      * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
                   17154: #        (The broken ones had been shadowed by sgr.)
                   17155: # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
                   17156: #      * Added documentation on ECMA-48 standard.
                   17157: #      * New Amiga entry.
                   17158: # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
                   17159: #      * More ECMA-48 stuff
                   17160: #      * Corrected typo in minix entry, added pc-minix.
                   17161: #      * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
                   17162: #      * Added rxvt entry.
                   17163: #      * Added 1.3.x color-change capabilities to linux entry.
                   17164: # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
                   17165: #      * Corrected rxvt entry khome/kend.
                   17166: #      * Corrected linux color change capabilities.
                   17167: #      * NeXT entries from Dave Wetzel.
                   17168: #      * Cleaned up if and rf file names (all in /usr/share now).
                   17169: #      * Changed linux op capability to avoid screwing up a background color
                   17170: #        pair set by setterm.
                   17171: # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
                   17172: #      * Added xterm-sun.
                   17173: # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
                   17174: #      * Added visa50.
                   17175: #
                   17176: # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
                   17177: #      * Another sweep through the Shuford archive looking for new info.
                   17178: #      * Added dg100 alias to dg6053 based on a comp.terminals posting.
                   17179: #      * Added st52 from Per Persson.
                   17180: #      * Added eterm from the GNU Emacs 19.30 distribution.
                   17181: #      * Freeze for 1.9.9.
                   17182: # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
                   17183: #      * FreeBSD console entries from Andrew Chernov.
                   17184: #      * Removed duplicate Atari st52 name.
                   17185: # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
                   17186: #      * xterm doesn't actually have ACS_BLOCK.
                   17187: #      * Change klone+color setf/setb to simpler forms that can be
                   17188: #        translated into termcap.
                   17189: #      * Added xterm1.
                   17190: #      * Removed mechanically-generated junk capabilities from cons* entries.
                   17191: #      * Added color support to bsdos.
                   17192: # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
                   17193: #      * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
                   17194: #      * Created ecma+color, linux can use it.  Also added ech to linux.
                   17195: #      * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
                   17196: #      * Add descriptions to FreeBSD console entries.  Also shorten
                   17197: #        some aliases to <= 14 chars for portability.
                   17198: #      * Added x68k console
                   17199: #      * Added OTbs to several VT-series entries.
                   17200: # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
                   17201: #      * screen entry update for 3.7.1 from Michael Alan Dorfman.
                   17202: # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
                   17203: #      * kterm correction due to Kenji Rikitake.
                   17204: #      * ACS correction in vt320-kll due to Phillippe De Muyter.
                   17205: # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
                   17206: #      * Sun console entry correction from J.T. Conklin.
                   17207: #      * Changed all DEC VT300 and up terminals to use VT300 tab set
                   17208: # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
                   17209: #      * Added smul to linux entry (we never noticed it was missing
                   17210: #        because of sgr!).
                   17211: #      * Added rmln to hp+labels (deduced from other HP entries).
                   17212: #      * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
                   17213: #        pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
                   17214: #      * Corrected vt220 acsc.
                   17215: #      * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
                   17216: #        this corresponds to reality and helps prevent some tic warnings.
                   17217: #      * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
                   17218: #        hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
                   17219: #        adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
                   17220: #        qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
                   17221: #        wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
                   17222: #        adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
                   17223: #        f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
                   17224: #        owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
                   17225: #        lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
                   17226: #        dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
                   17227: #        ifmr, v3220, wy100q, tandem653, ibmaed.
                   17228: #      * Added DWK terminal description.
                   17229: # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
                   17230: #      * Many entries now have highlights inherited from adm+sgr.
                   17231: #      * xterm entry now corresponds to XFree86 3.1.2E, with color.
                   17232: #      * xtitle and xtitle-twm enable access to the X status line.
                   17233: #      * Added linux-1.3.6 color palette caps in conventional format.
                   17234: #      * Added adm1178 terminal.
                   17235: #      * Move fos and apollo terminals to obsolete category.
                   17236: #      * Aha! The BRL terminals file told us what the Iris extensions mean.
                   17237: #      * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
                   17238: #        commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
                   17239: #        cit500, adm11.
                   17240: # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
                   17241: #      * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
                   17242: #        aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
                   17243: #      * Corrected, from BRL termcap file: vi50.
                   17244: #      * Better rxvt entry & corrected xterm entries from Thomas Dickey.
                   17245: # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
                   17246: #      * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
                   17247: #        att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
                   17248: #        (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
                   17249: #        tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
                   17250: #        apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
                   17251: #      * Paired-attribute fixes to various terminals.
                   17252: #      * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
                   17253: #      * xterm entry corrections from Thomas Dickey.
                   17254: # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
                   17255: #      * Added t916 entry, translated from a termcap in SCO's support area.
                   17256: #      * New qnx entry from Michael Hunter.
                   17257: # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
                   17258: #      * Added hpex2 from Ville Sulko.
                   17259: #      * Fixed a bug that ran the qnx and pcvtXX together.
                   17260: # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
                   17261: #      * Added dtterm entry from Solaris CDE.
                   17262: # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
                   17263: #      * corrected pairs#8 typo in dtterm entry.
                   17264: #      * added tvi9065.
                   17265: # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
                   17266: #      * updated xterm entry to cover 3.1.2E's new features.
                   17267: # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
                   17268: #      * Added new minix entry
                   17269: #      * Removed aliases of the form ^[0-9]* for obsolete terminals.
                   17270: #      * Commented out linux-old, nobody's using pre-1.2 kernels now.
                   17271: # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
                   17272: #      * Added Prism entries and kt7ix.
                   17273: #      * Caution notes about EWAN and tabset files.
                   17274: #      * Changed /usr/lib/tabset -> /usr/share/tabset.
                   17275: #      * Added acsc/rmacs/smacs to vt52.
                   17276: # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
                   17277: #      * Merged in Thomas Dickey's reorganization of the xterm entries;
                   17278: #        added technical corrections to avoid warning messages.
                   17279: # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
                   17280: #      * Added rmso=\E[27m in Linux entry.
                   17281: #      * Added koi8-r support for Linux console.
                   17282: #      * Replace xterm entries with canonical ones from XFree86 3.2.
                   17283: # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
                   17284: #      * Added color_xterm from Jacob Mandelson
                   17285: # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
                   17286: #      * Back off the xterm entry to use r6 as a base.
                   17287: # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
                   17288: #      * Added dec-vt220 at Adrian Garside's request.
                   17289: # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
                   17290: #      * Replaced minitel-2 entry.
                   17291: #      * Added MGR, ansi-nt.
                   17292: #      * Minor corrections to xterm entries.
                   17293: #      * Replaced EWAN telnet entry.
                   17294: #      * Dropped the reorder script generator.  It was a fossil.
                   17295: # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
                   17296: #      * Thorsten Lockert added termcap `bs' to a lot of types, working from
                   17297: #        the 4.4BSD Lite2 file.
                   17298: # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
                   17299: #      * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
                   17300: #      * Updated iris-ansi; corrected vt102-w.
                   17301: #      * Switch base xterm entry to 3.3 level.
                   17302: # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
                   17303: #      * Added basic4.
                   17304: #      * Removed rmir/smir from tv92B.
                   17305: #
                   17306: # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
                   17307: #      * add hds200 description (Walter Skorski)
                   17308: #      * add beterm entry (Fred Fish)
                   17309: #      * add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
                   17310: #        iris-color entries.
                   17311: #      * add emx entries.
                   17312: #      * Replaced unixpc entry with Benjamin Sittler's corrected version.
                   17313: #      * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
                   17314: #        versions.
                   17315: #      * remove sgr string from qnx based on report by Xiaodan Tang
                   17316: #      * Added u8/u9, removed rmul/smul from sun-il.
                   17317: #      * 4.2 tic displays \0 rather than \200.
                   17318: #      * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
                   17319: #        apparently based on cp-866).
                   17320: #      * Merged in Pavel Roskin's acsc for linux-koi8
1.11      millert  17321: #      * Corrected some erroneous \\'s to \.
1.1       millert  17322: #      * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
                   17323: #      * II -> ii in pcvtXX, screen, xterm.
                   17324: #      * Removed \n chars following ANSI escapes in sgr & friends.
                   17325: #      * Updated Wyse entries.
                   17326: #      * h19 corrections from Tim Pierce.
                   17327: #      * Noted that the dm2500 has both ich and smir.
                   17328: #      * added pccons for the Alpha under OSF/1.
                   17329: #      * Added Sony NEWS workstation entries and cit101e-rv.
                   17330: #      * Reverted `amiga'; to Kent Polk's version, as I'm told
                   17331: #        the Verkuil entry messes up with Amiga Telnet.
                   17332: # 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
                   17333: #      * Corrected attributions in 10.2.0 release notes.
                   17334: #      * Scanned the Shuford archive for new terminfos and information.
                   17335: #      * Removed sgr from qnx entry (Thomas Dickey).
                   17336: #      * Added entries for ICL and Kokusai Data Systems terminals.
                   17337: #      * Incorporated NCR terminfos from the Boundless Technology FTP site.
                   17338: #      * Incorporated att700 from the Boundless Technology FTP site.
                   17339: #      * Miscellaneous contact-address and Web-page updates.
1.11      millert  17340: #
                   17341: # 1998/5/9
1.1       millert  17342: #      * add nxterm and xterm-color terminfo description (request by Cristian
                   17343: #        Gafton <gafton@redhat.com>).
1.11      millert  17344: #      * modify rxvt terminfo description to clear alternate screen before
1.1       millert  17345: #        switching back to normal screen, for compatibility with applications
                   17346: #        which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
1.11      millert  17347: #      * modify linux terminfo description to reset color palette (reported
1.1       millert  17348: #        by Telford Tendys <telford@eng.uts.edu.au>).
1.11      millert  17349: #
                   17350: # 1998/7/4
                   17351: #      * merge changes from current XFree86 xterm terminfo descriptions.
                   17352: #
                   17353: # 1998/7/25
1.1       millert  17354: #      * Added minitel1 entries from Alexander Montaron.
                   17355: #      * Added qnxt2 from Federico Bianchi.
1.11      millert  17356: #      * Added arm100 terminfo entries from Dave Millen.
                   17357: #
                   17358: # 1998/8/6
                   17359: #      * Added ncsa telnet entries from Francesco Potorti
                   17360: #
                   17361: # 1998/8/15
                   17362: #      * modify ncsa telnet entry to reflect color, other capabilities based on
                   17363: #        examination of the source code - T.Dickey.
                   17364: #
                   17365: # 1998/8/22
                   17366: #      * Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
                   17367: #
                   17368: # 1998/8/29
                   17369: #      * Added Francesco Potorti's tuned Wyse 99 entries.
1.1       millert  17370: #      * dtterm enacs correction from Alexander V. Lukyanov.
1.11      millert  17371: #      * Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
                   17372: #      * correct a typo in icl6404 entry.
                   17373: #      * add xtermm and xtermc
                   17374: #
                   17375: # 1998/9/26
                   17376: #      * format most %'char' sequences to %{number}
                   17377: #      * adapt IBM AIX 3.2.5 terminfo - T.Dickey
                   17378: #      * merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
                   17379: #
                   17380: # 1998/10/10
                   17381: #      * update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
                   17382: #      * correct initialization string in xterm-r5, add misc other features
                   17383: #        to correspond with xterm patch 84 - TD
                   17384: #
                   17385: # 1998/12/19
                   17386: #      * update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
                   17387: #      * add Mathew Vernon's mach console entries
                   17388: #      * corrections for ncsa function-keys (report by Larry Virden)
                   17389: #
                   17390: # 1998/12/19
                   17391: #      * change linux to use ncv#2, since underline does not work with color - TD
                   17392: #
                   17393: # 1999/1/9
                   17394: #      * add kbt to iris-ansi, document other shift/control functionkeys - TD
                   17395: #      * correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
                   17396: #        application modes, change kent to use the correct keypad code - TD
                   17397: #
                   17398: # 1999/1/10
                   17399: #      * add entry for Tera Term - TD
                   17400: #
                   17401: # 1999/1/23
                   17402: #      * minor improvements for teraterm entry - TD
                   17403: #      * rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
                   17404: #        and bsdos-bold to bsdos-pc (Jeffrey C Honig)
                   17405: #
                   17406: # 1999/2/20
                   17407: #      * resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
                   17408: #        xterm and ncsa entries by removing the unneeded ones.  Note that
                   17409: #        some entries will return kend & khome versus kslt and kfnd, for
                   17410: #        PC-style keyboards versus strict vt220 compatiblity - TD
                   17411: #
                   17412: # 1999/3/13
                   17413: #      * adjust xterm-xfree86 khome/kend to match default PC-style keyboard
                   17414: #        tables - TD
                   17415: #      * add 'crt' entry - TD
                   17416: #      * correct typos in 'linux-c' entry - TD
                   17417: #
                   17418: # 1999/3/14
                   17419: #      * update entries for BSD/OS console to use klone+sgr and klone+color
                   17420: #        (Jeffrey C Honig)
                   17421: #
                   17422: # 1999/3/27
                   17423: #      * adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
                   17424: #
                   17425: # 1999/4/10
                   17426: #      * add linux-lat, from RedHat patches to ncurses 4.2
                   17427: #
                   17428: # 1999/4/17
                   17429: #      * add complete set of default function-key definitions for scoansi - TD.
                   17430: #
                   17431: # 1999/7/3
                   17432: #      * add cnorm, cvvis for Linux 2.2 kernels
                   17433: #
                   17434: # 1999/7/24
                   17435: #      * add kmous to xterm-r5 -TD
                   17436: #      * correct entries xterm+sl and xterm+sl-twm, which were missing the
                   17437: #        parent "use" clause -TD
                   17438: #
                   17439: # 1999/7/31
                   17440: #      * corrected cnorm, added el1 in 'screen' description -TD
                   17441: #
                   17442: # 1999/8/14
                   17443: #      * add ms-vt100 -TD
                   17444: #
                   17445: # 1999/8/21
                   17446: #      * corrections to beterm entry -TD
                   17447: #
                   17448: # 1999/8/28
                   17449: #      * add cygwin entry -TD
                   17450: #
                   17451: # 1999/9/4
                   17452: #      * minor corrections for beterm entry -TD
                   17453: #
                   17454: # 1999/9/18
                   17455: #      * add acsc string to HP 70092 terminfo entry -Joerg Wunsch
                   17456: #
                   17457: # 1999/9/25
                   17458: #      * add amiga-8bit entry
                   17459: #      * add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
                   17460: #        rcons-color, based on
                   17461: #        ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
                   17462: #      * add alias for iris-ansi-net
                   17463: #
                   17464: # 1999/10/2
                   17465: #      * corrected scoansi entry's acsc, some function keys, add color -TD
                   17466: #
                   17467: # 1999/10/23
                   17468: #      * add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
                   17469: #      * reorder ncsa entries to make ncsa-vt220 use the alternate function
                   17470: #        key mapping, leaving Potorti's entries more like he named them -TD
                   17471: #      * remove enter/exit am-mode from cygwin -TD
                   17472: #
                   17473: # 1999/10/30
                   17474: #      * correct typos in several entries (missing '[' from CSI):
                   17475: #        mgr-sun, ncsa-m, vt320-k3, att505, avt-ns, as well as smir/rmir
                   17476: #        strings for avt-ns -TD
                   17477: #      * add 'dim' to ncv mask for linux (report by Klaus Weide).
                   17478: #
                   17479: # 1999/11/27
                   17480: #      * correct kf1-kf4 in xterm-r6 which were vt100-style PF1-PF4 -TD
                   17481: #      * add hts to xterm-r6, and u6-u9 to xterm-r5 -TD
                   17482: #      * add xterm-88color and xterm-256color -TD
                   17483: #
                   17484: # 1999/12/4
                   17485: #      * add "obsolete" termcap strings -TD
                   17486: #      * add kvt and gnome entries -TD
                   17487: #
                   17488: # 1999/12/11
                   17489: #      * correct cup string for regent100 -TD
                   17490: #
                   17491: # 2000/1/1
                   17492: #      * update mach, add mach-color based on Debian diffs for ncurses 5.0 -TD
                   17493: #      * add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp -TD
                   17494: #      * change OTrs capabilities to rs2 -TD
                   17495: #      * add obsolete and extended capabilities to 'screen' -TD
1.1       millert  17496: #
                   17497: # The following sets edit modes for GNU EMACS.
                   17498: # Local Variables:
                   17499: # fill-prefix:"\t"
                   17500: # fill-column:75
                   17501: # comment-column:0
                   17502: # comment-start-skip:"^#+"
                   17503: # comment-start:"# "
1.11      millert  17504: # compile-command:"tic -c terminfo.master"
1.1       millert  17505: # End:
                   17506: ######## SHANTIH!  SHANTIH!  SHANTIH!