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

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

1.1       tholo       1: ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
                      2: #
1.4       tholo       3: #      Version 9.13.24
1.1       tholo       4: #      terminfo syntax
                      5: #
                      6: #      Eric S. Raymond         (current maintainer)
                      7: #      John Kunze, Berkeley
                      8: #      Craig Leres, Berkeley
                      9: #
                     10: # Please e-mail changes to terminfo@ccil.org.  The old termcap@berkeley.edu
                     11: # address is no longer valid.
                     12: #
                     13: # PURPOSE OF THIS FILE:
                     14: #
                     15: # This file describes the capabilities of various character-cell terminals,
                     16: # as needed by software such as screen-oriented editors.
                     17: #
                     18: # Other terminfo and termcap files exist, supported by various OS vendors
                     19: # or as relics of various older versions of UNIX.  This one is the longest
                     20: # and most comprehensive one in existence.  It subsumes not only the entirety
1.4       tholo      21: # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
                     22: # termcap file, but also large numbers of vendor-maintained termcap and
                     23: # terminfo entries more complete and carefully tested than those in historical
                     24: # termcap/terminfo versions.
1.1       tholo      25: #
                     26: # Pointers to related resources (including the ncurses distribution) may
                     27: # be found at <http://www.ccil.org/terminfo>.
                     28: #
                     29: # INTERNATIONALIZATION:
                     30: #
1.4       tholo      31: # This file uses only the US-ASCII character set (no ISO8859 characters).
                     32: #
1.1       tholo      33: # This file assumes a US-ASCII character set. If you need to fix this, start
                     34: # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
                     35: # for your character set.  \E(A and \E)A enables the British character set
                     36: # with the pound sign at position 2/3.
                     37: #
                     38: # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
                     39: # C1 characters are considered the first-byte set of the Japanese encodings,
                     40: # so \E)0 should be avoided in <enacs> and initialization strings.
                     41: #
                     42: # FILE FORMAT:
                     43: #
                     44: # The version you are looking at may be in any of three formats: master
                     45: # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
                     46: # which by the format given in the header above.
                     47: #
                     48: # The master format is accepted and generated by the terminfo tools in the
                     49: # ncurses suite; it differs from stock (System V-compatible) terminfo only
                     50: # in that it admits a group of capabilities (prefixed `OT') equivalent to
                     51: # various obsolete termcap capabilities.  You can, thus, convert from master
                     52: # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
                     53: # you have ncurses `tic -I' is nicer (among other things, it automatically
                     54: # outputs entries in a canonical form).
                     55: #
                     56: # The termcap version is generated automatically from the master version
                     57: # using tic -C.  This filtering leaves in the OT capabilities under their
                     58: # original termcap names.  All translated entries fit within the 1023-byte
                     59: # string-table limit of archaic termcap libraries except where explicitly
                     60: # noted below.  Note that the termcap translation assumes that your termcap
                     61: # library can handle multiple tc capabilities in an entry. 4.4BSD has this
                     62: # capability.  Older versions of GNU termcap, through 1.3, do not.
                     63: #
                     64: # For details on these formats, see terminfo(5) in the ncurses distribution,
                     65: # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
                     66: # curses has been declared obsolete by the caretakers of the 4.4BSD sources
                     67: # as of June 1995; they are encouraging everyone to migrate to ncurses.
                     68: #
                     69: # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
                     70: # no entry in this file has embedded comments.  This is so source translation
                     71: # to termcap only has to carry over leading comments.  Also, no name field
                     72: # contains embedded whitespace (such whitespace confuses rdist).
                     73: #
                     74: # Further note: older versions of this file were often installed with an editor
                     75: # script (reorder) that moved the most common terminal types to the front of
                     76: # the file.  This should no longer be necessary, as the file is now ordered
                     77: # roughly by type frequency with ANSI/VT100 and other common types up front.
                     78: #
                     79: # Some information has been merged in from terminfo files distributed by
                     80: # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
                     81: # comes from vendors who maintain official terminfos for their hardware
                     82: # (notably DEC and Wyse).
                     83: #
                     84: # A detailed change history is included at the end of this file.
                     85: #
                     86: # FILE ORGANIZATION:
                     87: #
                     88: # Comments in this file begin with # - they cannot appear in the middle
                     89: # of a terminfo/termcap entry.  Individual capabilities are commented out by
                     90: # placing a period between the colon and the capability name.
                     91: #
                     92: # The file is divided up into major sections (headed by lines beginning with
                     93: # the string "########") and minor sections (beginning with "####"); do
                     94: #
                     95: #      grep "^####" <file> | more
                     96: #
                     97: # to see a listing of section headings.  The intent of the divisions is
                     98: # (a) to make it easier to find things, and (b) to order the database so
                     99: # that important and frequently-encountered terminal types are near the
                    100: # front (so that you'll get reasonable search efficiency even if you don't
                    101: # use reorder).  Minor sections usually correspond to manufacturers or
                    102: # standard terminal classes.  Parenthesized words following manufacturer
                    103: # names are type prefixes or product line names used by that manufacturers.
                    104: #
                    105: # HOW TO READ THE ENTRIES:
                    106: #
                    107: # The first name in an entry is the canonical name for the model or
                    108: # type, last entry is a verbose description.  Others are mnemonic synonyms for
                    109: # the terminal.
                    110: #
                    111: # Terminal names look like <manufacturer> <model> - <modes/options>
                    112: # The part to the left of the dash, if a dash is present, describes the
                    113: # particular hardware of the terminal.  The part to the right may be used
                    114: # for flags indicating special ROMs, extra memory, particular terminal modes,
                    115: # or user preferences.
                    116: #
                    117: # All names should be in lower case, for consistency in typing.
                    118: #
                    119: # The following are conventionally used suffixes:
                    120: #      -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
                    121: #      -am     Enable auto-margin.
                    122: #      -m      Monochrome.  Suppress color support
                    123: #      -mc     Magic-cookie.  Some terminals (notably older Wyses) can
                    124: #              only support one attribute without magic-cookie lossage.
                    125: #              Their base entry is usually paired with another that
                    126: #              uses magic cookies to support multiple attributes.
                    127: #      -na     No arrow keys - termcap ignores arrow keys which are
                    128: #              actually there on the terminal, so the user can use
                    129: #              the arrow keys locally.
                    130: #      -nam    No auto-margin - suppress <am> capability
                    131: #      -nl     No labels - suppress soft labels
                    132: #      -ns     No status line - suppress status line
                    133: #      -rv     Terminal in reverse video mode (black on white)
                    134: #      -s      Enable status line.
                    135: #      -vb     Use visible bell (<flash>) rather than <bel>.
                    136: #      -w      Wide - in 132 column mode.
                    137: # If a name has multiple suffixes and one is a line height, that one should
                    138: # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv'.
                    139: #
                    140: # Entries with embedded plus signs are designed to be included through use/tc
                    141: # capabilities, not used as standalone entries.
                    142: #
                    143: # To avoid search clashes, some older all-numeric names for terminals have
                    144: # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
                    145: # All primary names of terminals now have alphanumeric prefixes.
                    146: #
                    147: # Comments marked "esr" are mostly results of applying the termcap-compiler
                    148: # code packaged with ncurses and contemplating the resulting error messages.
                    149: # In many cases, these indicated obvious fixes to syntax garbled by the
                    150: # composers.  In a few cases, I was able to deduce corrected forms for garbled
                    151: # capabilities by looking at context.  All the information in the original
                    152: # entries is preserved in the comments.
                    153: #
                    154: # In the comments, terminfo capability names are bracketed with <> (angle
                    155: # brackets).  Termcap capability names are bracketed with :: (colons).
                    156: #
                    157: # INTERPRETATION OF USER CAPABILITIES
                    158: #
                    159: # The System V Release 4 and XPG4 terminfo format defines ten string
                    160: # capabilities for use by applications, <u0>...<u9>.   In this file, we use
                    161: # certain of these capabilities to describe functions which are not covered
                    162: # by terminfo.  The mapping is as follows:
                    163: #
                    164: #      u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
                    165: #      u8      terminal answerback description
                    166: #      u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
                    167: #      u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
                    168: #
                    169: # The terminal enquire string <u9> should elicit an answerback response
                    170: # from the terminal.  Common values for <u9> will be ^E (on older ASCII
                    171: # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
                    172: #
                    173: # The cursor position request (<u7>) string should elicit a cursor position
                    174: # report.  A typical value (for VT100 terminals) is \E[6n.
                    175: #
                    176: # The terminal answerback description (u8) must consist of an expected
                    177: # answerback string.  The string may contain the following scanf(3)-like
                    178: # escapes:
                    179: #
                    180: #      %c      Accept any character
                    181: #      %[...]  Accept any number of characters in the given set
                    182: #
                    183: # The cursor position report (<u6>) string must contain two scanf(3)-style
                    184: # %d format elements.  The first of these must correspond to the Y coordinate
                    185: # and the second to the %d.  If the string contains the sequence %i, it is
                    186: # taken as an instruction to decrement each value after reading it (this is
                    187: # the inverse sense from the cup string).  The typical CPR value is
                    188: # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
                    189: #
                    190: # These capabilities are used by tac(1m), the terminfo action checker soon
                    191: # to be distributed with ncurses.
1.4       tholo     192: #
                    193: # TABSET FILES
                    194: #
                    195: # All the entries in this file have been edited to assume that the tabset
                    196: # files directory is /usr/share/tabset, in conformance with the File Hierarchy
                    197: # Standard for Linux and free BSD systems.  Some vendors (notably Sun) use
                    198: # /usr/lib/tabset or (more recently) /usr/share/lib/tabset.
                    199: #
                    200: # No curses package we know of uses these files.  If their location is an
                    201: # issue, you will have to hand-patch the file locations before compiling
                    202: # this file.
1.1       tholo     203: #
                    204: # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:
                    205: #
                    206: # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
                    207: # character-cell terminals are increasingly replaced by X displays, much of
                    208: # this file is becoming a historical document (this is part of the reason for
1.4       tholo     209: # the new organization, which puts ANSI types, xterm, free-Unix consoles,
                    210: # and vt100 up front in confidence that this will catch 95% of new hardware).
1.1       tholo     211: #
                    212: # For the terminal types still alive, I'd like to have manufacturer's
                    213: # contact data (Internet address and/or snail-mail + phone).
                    214: #
                    215: # I'm also interested in enriching the comments so that the latter portions of
                    216: # the file do in fact become a potted history of VDT technology as seen by
                    217: # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
                    218: # include its live/dead/out-of-the-business status, and for as many
                    219: # terminal types as possible to be tagged with information like years
                    220: # of heaviest use, popularity, and interesting features.
                    221: #
                    222: # I'm especially interested in identifying the obscure entries listed under
                    223: # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
                    224: # wisdom about them gets lost.  If you know a lot about obscure old terminals,
1.4       tholo     225: # please go to the terminfo resource page, grab the UFO file (ufo.ti), and
                    226: # eyeball it for things you can identify and describe.
1.1       tholo     227: #
                    228: # If you have been around long enough to contribute, please read the file
                    229: # with this in mind and send me your annotations.
                    230: #
                    231: # COPYRIGHTS AND OTHER DELUSIONS
                    232: #
                    233: # The BSD ancestor of this file had a standard Regents of the University of
                    234: # California copyright with dates from 1980 to 1993.
                    235: #
                    236: # Some information has been merged in from a terminfo file SCO distributes.
                    237: # It has an obnoxious boilerplate copyright which I'm ignoring because they
                    238: # took so much of the content from the ancestral BSD versions of this file
                    239: # and didn't attribute it, thereby violating the BSD Regents' copyright.
                    240: #
                    241: # Not that anyone should care.  However many valid functions copyrights may
                    242: # serve, putting one on a termcap/terminfo file with hundreds of anonymous
                    243: # contributors makes about as much sense as copyrighting a wall-full of
                    244: # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
                    245: #
                    246: # This file deliberately has no copyright.  It belongs to no one and everyone.
                    247: # If you claim you own it, you will merely succeed in looking like a fool.
                    248: # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
                    249: # There are no guarantees anywhere.  Svaha!
1.4       tholo     250: #
1.1       tholo     251:
                    252: ######## STANDARD AND SPECIAL TYPES
                    253: #
                    254: # This section describes terminal classes and maker brands that are still
                    255: # quite common.
                    256: #
                    257:
                    258: #### Specials
                    259: #
                    260: # Special "terminals".  These are used to label tty lines when you don't
                    261: # know what kind of terminal is on it.  The characteristics of an unknown
                    262: # terminal are the lowest common denominator - they look about like a ti 700.
                    263: #
                    264:
                    265: dumb|80-column dumb tty,
                    266:        am,
                    267:        cols#80,
                    268:        bel=^G, cr=^M, cud1=^J, ind=^J,
                    269: unknown|unknown terminal type,
                    270:        gn, use=dumb,
                    271: lpr|printer|line printer,
                    272:        hc, os,
                    273:        cols#132, lines#66,
                    274:        bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J,
                    275: glasstty|classic glass tty interpreting ASCII control characters,
                    276:        am,
                    277:        cols#80,
                    278:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H,
                    279:        kcub1=^H, kcud1=^J, nel=^M^J,
                    280:
                    281: #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
                    282: #
                    283: # See the end-of-file comment for more on these.
                    284: #
                    285:
                    286: # The IBM PC alternate character set.  Plug this into any Intel console entry.
                    287: # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
                    288: # ROM graphics for control characters such as the diamond, up- and down-arrow.
                    289: # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
                    290: # will work with any Intel console, they all seem to have inherited \E[11m
                    291: # from the ANSI.SYS de-facto standard.
                    292: klone+acs|alternate character set for ansi.sys displays,
1.4       tholo     293:        acsc=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\,\021+^P0\333p\304r\304y\363z\362{\343|\330}\234,
1.1       tholo     294:        rmacs=\E[10m, smacs=\E[11m,
                    295:
                    296: # Highlight controls corresponding to the ANSI.SYS standard.  Most
                    297: # console drivers for Intel boxes obey these.  Makes the same assumption
                    298: # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
                    299: # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
                    300: klone+sgr|attribute control for ansi.sys displays,
                    301:        blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m,
                    302:        rmpch=\E[10m, rmso=\E[m, rmul=\E[m,
                    303:        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,
                    304:        sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
                    305:        use=klone+acs,
                    306:
                    307: # Highlight controls corresponding to the ANSI.SYS standard.  *All*
                    308: # console drivers for Intel boxes obey these.  Does not assume \E[11m will
                    309: # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
                    310: # diamond and arrow characters under curses.
                    311: klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
                    312:        blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m,
                    313:        rmul=\E[m,
                    314:        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,
                    315:        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
                    316:        use=klone+acs,
                    317:
1.4       tholo     318: # KOI8 (RFC1489) alternate character set
                    319: # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
                    320: klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset,
                    321:        acsc=l\202m\204k\203j\205u\207t\206v\210w\211q\200x\201n\212o\213s\214p\216r\217`\004a\237f\234g\232~\225.\037-\036+\020\,\021h\222I\2200\215y\230z\231{\267}L|\274,
                    322:        rmacs=\E[10m, smacs=\E[11m,
                    323:
1.1       tholo     324: # ANSI.SYS color control.  The setb/setf caps depend on the coincidence
                    325: # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
                    326: # but equivalent strings that don't rely on that coincidence:
                    327: # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    328: # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    329: # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
                    330: # They match a subset of ECMA-48.
                    331: klone+color|color control for ansi.sys and ISO6429-compatible displays,
                    332:        colors#8, ncv#3, pairs#64,
                    333:        op=\E[37;40m, setb=\E[4%p1%dm, setf=\E[3%p1%dm,
                    334:
                    335: # This is better than klone+color, it doesn't assume white-on-black as the
                    336: # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
                    337: ecma+color|color control for ECMA-48-compatible terminals,
                    338:        colors#8, ncv#3, pairs#64,
                    339:        op=\E[39;49m, setb=\E[4%p1%dm, setf=\E[3%p1%dm,
                    340:
                    341: # Attribute control for ECMA-48-compatible terminals
                    342: ecma+sgr|attribute capabilities for true ECMA-48 terminals,
                    343:        rmso=\E[27m, rmul=\E[24m,
                    344:        use=klone+sgr,
                    345:
                    346: # For comparison, here are all the capabilities implied by the Intel
                    347: # Binary Compatibility Standard (level 2) that fit within terminfo.
                    348: # For more detail on this rather pathetic standard, see the comments
                    349: # near the end of this file.
                    350: ibcs2|Intel Binary Compatibility Standard prescriptions,
                    351:        cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB,
                    352:        cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                    353:        dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX,
                    354:        hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
                    355:        indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7,
                    356:        smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd,
                    357:
                    358: #### ANSI/ECMA-48 terminals and terminal emulators
                    359: #
                    360: # See near the end of this file for details on ANSI conformance.
                    361: # Don't mess with these entries!  Lots of other entries depend on them!
                    362: #
                    363: # This section lists entries in a least-capable to most-capable order.
                    364: # if you're in doubt about what `ANSI' matches yours, try them in that
                    365: # order and back off from the first that breaks.
                    366:
                    367: ansi-mini|any ansi terminal with pessimistic assumptions,
                    368:        am,
                    369:        cols#80, it#8, lines#24,
                    370:        clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                    371:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                    372:        ht=^I,
                    373:
1.4       tholo     374: # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
                    375: #
                    376: # The following is an entry for the full ANSI 3.64 (1977).  It lacks
                    377: # padding, but most terminals using the standard are "fast" enough
                    378: # not to require any -- even at 9600 bps.  If you encounter problems,
                    379: # try including the padding specifications.
                    380: #
                    381: # Note: the "as" and "ae" specifications are not implemented here, for
                    382: # the available termcap documentation does not make clear WHICH alternate
                    383: # character set to specify.  ANSI 3.64 seems to make allowances for several.
                    384: # Please make the appropriate adjustments to fit your needs -- that is
                    385: # if you will be using alternate character sets.
                    386: #
                    387: # There are very few terminals running the full ANSI 3.64 standard,
                    388: # so I could only test this entry on one verified terminal (Visual 102).
                    389: # I would appreciate the results on other terminals sent to me.
                    390: #
                    391: # Please report comments, changes, and problems to:
                    392: #
                    393: # U.S. MAIL:   Hugh Hansard
                    394: #              Box: 22830
                    395: #              Emory University
                    396: #              Atlanta, GA. 30322.
                    397: #
                    398: # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
                    399: #
                    400: ansi77|ansi 3.64 standard 1977 version,
                    401:        am, mir,
                    402:        cols#80, it#8, lines#24,
                    403:        bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                    404:        cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    405:        cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K,
                    406:        home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H,
                    407:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                    408:        kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, ri=\EM,
                    409:        rmir=\E[4l, rmso=\E[m, rmul=\E[m, smir=\E[4h, smso=\E[7m,
                    410:        smul=\E[4m,
                    411:
1.1       tholo     412: # Procomm and some other ANSI emulations don't recognize all of the ANSI-
                    413: # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and
                    414: # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>,
                    415: # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to
                    416: # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
                    417: # to confuse many emulators.  On the other hand, we can count on these programs
1.4       tholo     418: # doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured
1.1       tholo     419: # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
                    420: # ANSI.SYS influence.
                    421: # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
                    422: pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode),
                    423:        am, mir, msgr,
                    424:        cols#80, it#8, lines#24,
                    425:        bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D,
                    426:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                    427:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                    428:        hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                    429:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g,
                    430:        use=klone+sgr-dumb,
                    431: pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode),
                    432:        lines#25, use=pcansi-m,
                    433: pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode),
                    434:        lines#33, use=pcansi-m,
                    435: pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode),
                    436:        lines#43, use=pcansi-m,
                    437: # The color versions.  All PC emulators do color...
                    438: pcansi|ibm-pc terminal programs claiming to be ansi,
                    439:        use=klone+color, use=pcansi-m,
                    440: pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines,
                    441:        lines#25, use=pcansi,
                    442: pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines,
                    443:        lines#33, use=pcansi,
                    444: pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines,
                    445:        lines#43, use=pcansi,
                    446:
                    447: # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
                    448: # If you want pound signs rather than dollars, replace `B' with `A'
                    449: # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
                    450: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
                    451: ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes,
                    452:        mc5i,
                    453:        cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
                    454:        cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM,
                    455:        ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I,
                    456:        ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H,
                    457:        kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    458:        kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S,
                    459:        rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B,
                    460:        s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g,
                    461:        vpa=\E[%i%p1%dd, use=pcansi-m,
                    462:
                    463: # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
                    464: # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
                    465: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
                    466: ansi|ansi/pc-term compatible with color,
                    467:        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c,
                    468:        u9=\E[c,
                    469:        use=ecma+color, use=klone+sgr, use=ansi-m,
                    470:
                    471: #
                    472: # ANSI.SYS entries
                    473: #
                    474: # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
                    475: # documentation (except for the keyboard key reassignment feature, which
                    476: # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
                    477: # though undocumented.  The <pfkey> capability is untested but should work for
                    478: # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
                    479: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
                    480: ansi.sys-old|ANSI.SYS under PC-DOS 2.1,
                    481:        am, mir, msgr, xon,
                    482:        cols#80, lines#25,
                    483:        clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
                    484:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H,
                    485:        is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                    486:        khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u,
                    487:        rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR,
                    488:        u7=\E[6n,
                    489:        use=klone+color, use=klone+sgr,
                    490: ansi.sys|ANSI.SYS 3.1 and later versions,
                    491:        el=\E[K, use=ansi.sys-old,
                    492:
                    493: #
                    494: # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
                    495: # This should only be used when the terminal emulator cannot redefine the keys.
                    496: # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
                    497: # definitions must be restored.  If the terminal emulator is quit while in vi
                    498: # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
                    499: # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
                    500: # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
                    501: # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
                    502: # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
                    503: # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
                    504: # Consequently the End keypad key could not be set (it is relatively safe and
                    505: # actually useful because it sends ^@ O, which beeps and opens a line above).
                    506: ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi,
                    507:        is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
                    508:        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,
                    509:        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,
                    510:        use=ansi.sys,
                    511: #
                    512: # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
                    513: nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS,
                    514:        dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
                    515:        is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys,
                    516: #
                    517: # See ansi.sysk and nansi.sys above.
                    518: nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi,
                    519:        dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
                    520:        is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
                    521:        use=ansi.sysk,
                    522:
1.4       tholo     523: # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
                    524: ansi-nt|psx_ansi|Windows NT POSIX console,
                    525:        am, bw, msgr,
                    526:        cols#80, it#8, lines#25,
                    527:        bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                    528:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                    529:        home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V,
                    530:        kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m,
                    531:        ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m,
                    532:
1.1       tholo     533: #### ANSI console types
                    534: #
                    535:
                    536: # This entry is good for the 1.2.13 version of the Linux console driver.
                    537: #
                    538: # Note: there are numerous broken linux entries out there, which didn't screw
                    539: # up BSD termcap but hose ncurses's smarter cursor-movement optimization.
                    540: # One common pathology is an incorrect tab length of 4.
                    541: #
                    542: # ***************************************************************************
                    543: # *                                                                         *
                    544: # *                           WARNING:                                      *
                    545: # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
                    546: # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
                    547: # * character. Here are the keymap replacement lines that will set this up: *
                    548: # *                                                                         *
                    549: #      keycode  15 = Tab             Tab
                    550: #              alt     keycode  15 = Meta_Tab
                    551: #              shift   keycode  15 = F26
                    552: #      string F26 ="\033[Z"
                    553: # *                                                                         *
                    554: # * This has to use a key slot which is unfortunate (any unused one will    *
                    555: # # do, F26 is the higher-numbered one).  The change ought to be built      *
                    556: # * into the kernel tables.                                                 *
                    557: # *                                                                         *
                    558: # ***************************************************************************
                    559: #
                    560: # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
                    561: # and it matters, turn off <ccc>.  The %02x escape used to implement this is
                    562: # not back-portable to SV curses and not supported in ncurses versions before
                    563: # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
                    564: # themselves; this entry assumes that capability.
                    565: #
                    566: # From: Eric S. Raymond <esr@snark.thyrsus.com> 15 Dec 1995
                    567: linux|linux console,
                    568:        am, bce, eo, mir, msgr, xenl, xon,
                    569:        it#8,
                    570:        bel=^G, civis=\E[?25l, clear=\E[H\E[J, cnorm=\E[?25h,
                    571:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                    572:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                    573:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
                    574:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
                    575:        flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG,
                    576:        ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                    577:        il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\E[D,
                    578:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
                    579:        kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~,
                    580:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                    581:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                    582:        kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
                    583:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                    584:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
1.4       tholo     585:        nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m,
                    586:        rmul=\E[24m, rs1=\Ec, sc=\E7,
1.1       tholo     587:        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,
                    588:        smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR,
                    589:        u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,
                    590:        use=klone+sgr, use=ecma+color,
                    591: linux-m|Linux console no color,
                    592:        colors@, pairs@,
                    593:        setab@, setaf@, setb@, setf@, use=linux,
                    594: linux-c-nc|linux console 1.3.x hack for ncurses only,
                    595:        ccc,
                    596:        initc=\E]P%p1%x%p2%02x%p3%02x%p4%02x, oc=\E]R, use=linux,
                    597: # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
                    598: linux-c|linux console 1.3.6+, with private palette for each virtual console,
                    599:        ccc,
                    600:        colors#8, pairs#64,
                    601:        initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%p'a'%+%c%e%p1%d%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;,
                    602:        oc=\E]R,
                    603:        use=linux,
                    604:
                    605: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                    606: linux-nic|linux with ich/ich1 suppressed for non-curses programs,
                    607:        ich@, ich1@,
                    608:        use=linux,
                    609:
1.4       tholo     610: # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
                    611: linux-koi8|linux with koi8 alternate character set,
                    612:        use=linux, use=klone+koi8acs,
1.1       tholo     613:
                    614: # SCO console and SOS-Syscons console for 386bsd
                    615: # (scoansi: had unknown capabilities
                    616: #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
                    617: #      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
                    618: #      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
                    619: #      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
                    620: #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
                    621: # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
                    622: # on the <smacs>=\E[12m  -- esr)
                    623: scoansi|SCO Extended ANSI standard crt,
                    624:        am, eo, xon,
                    625:        cols#80, it#8, lines#25,
                    626:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J,
                    627:        cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    628:        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                    629:        ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D,
                    630:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf1=\E[M,
                    631:        kf10=\E[V, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R,
                    632:        kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
                    633:        ri=\E[T,
                    634:        use=klone+sgr-dumb,
                    635:
                    636: # This actually describes the generic SVr4 display driver for Intel boxes.
                    637: # The <dim=\E[2m> isn't documented and therefore may not be reliable.
                    638: # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
                    639: att6386|at386|386at|AT&T WGS 6386 console,
                    640:        am, bw, eo, xon,
                    641:        cols#80, it#8, lines#25,
                    642:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                    643:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C,
                    644:        clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD,
                    645:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                    646:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                    647:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                    648:        dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
                    649:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                    650:        ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,
                    651:        indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H,
                    652:        kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    653:        kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ,
                    654:        kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
                    655:        kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@,
                    656:        knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m,
                    657:        ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
                    658:        sc=\E7,
                    659:        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,
                    660:        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
                    661:        tbc=\E[2g, vpa=\E[%i%p1%dd,
                    662:        use=klone+color,
                    663: # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
                    664: pc6300plus|AT&T 6300 plus,
                    665:        am, xon,
                    666:        cols#80, lines#24,
                    667:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C,
                    668:        clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B,
                    669:        cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
                    670:        dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K,
                    671:        home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J,
                    672:        invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                    673:        kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe,
                    674:        kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk,
                    675:        nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                    676:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                    677:
                    678: #
                    679: #      Terminfo entry for the AT&T Unix PC 7300
                    680: #      from escape(7) in Unix PC 7300 Manual.
                    681: #      Somewhat similar to a vt100-am (but different enough
                    682: #      to redo this from scratch.)
                    683: #
                    684: #      /***************************************************************
                    685: #      *
                    686: #      *           FONT LOADING PROGRAM FOR THE UNIX PC
                    687: #      *
                    688: #      *     This routine loads a font defined in the file ALTFONT
                    689: #      *     into font memory slot #1.  Once the font has been loaded,
                    690: #      *     it can be used as an alternative character set.
                    691: #      *
                    692: #      *     The call to ioctl with the argument WIOCLFONT is the key
                    693: #      *     to this routine.  For more information, see window(7) in
                    694: #      *     the PC 7300 documentation.
                    695: #      ***************************************************************/
                    696: #      #include <string.h>             /* needed for strcpy call */
                    697: #      #include <sys/window.h>         /* needed for ioctl call */
                    698: #      #define FNSIZE  60              /* font name size */
                    699: #      #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
                    700: #      /*
                    701: #      *     The file /usr/lib/wfont/special.8.ft comes with the
                    702: #      *     standard PC software.  It defines a graphics character set
                    703: #      *     similar to that of the Teletype 5425 terminal.  To view
                    704: #      *     this or other fonts in /usr/lib/wfont, use the command
                    705: #      *     cfont <filename>.  For further information on fonts see
                    706: #      *     cfont(1) in the PC 7300 documentation.
                    707: #      */
                    708: #
                    709: #      struct altfdata         /* structure for alt font data */
                    710: #      {
                    711: #      short   altf_slot;              /* memory slot number */
                    712: #      char    altf_name[FNSIZE];      /* font name (file name) */
                    713: #      };
                    714: #      ldfont()
                    715: #      {
                    716: #              int wd;         /* window in which altfont will be */
                    717: #              struct altfdata altf;
                    718: #              altf.altf_slot=1;
                    719: #              strcpy(altf.altf_name,ALTFONT);
                    720: #              for (wd =1; wd < 12; wd++) {
                    721: #                   ioctl(wd, WIOCLFONT,&altf);
                    722: #              }
                    723: #      }
                    724: #
                    725: # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
                    726: # they're confirmed by the man page for the System V display---esr)
                    727: #
                    728: att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300,
                    729:        am, xenl, xon,
                    730:        cols#80, it#8, lines#24,
                    731:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                    732:        bel=^G, bold=\E[7m, cbt=\E^I, civis=\E[=C, clear=\E[2J\E[H,
                    733:        cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, cud=\E[%p1%dB,
                    734:        cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                    735:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                    736:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J,
                    737:        el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
                    738:        ind=^J, invis=\E[9m, is1=^O, kBEG=\EBG, kCAN=\ECN, kCPY=\ECP,
                    739:        kCRT=\ECR, kDC=\EDC, kDL=\EDL, kEND=\EEN, kEOL=\ECI,
                    740:        kFND=\EFI, kHLP=\EHL, kHOM=\EHM, kIC=\ENJ, kLFT=\EBW,
                    741:        kMOV=\EMV, kNXT=\ENX, kOPT=\EOT, kPRV=\EPV, kRDO=\ERO,
                    742:        kRIT=\EFW, kRPL=\ERP, kSAV=\ESV, kUND=\EUD, kbeg=\Ebg,
                    743:        kbs=^H, kcan=\Ecn, kcbt=\E^I, kclo=\Ecl, kclr=\Ece,
                    744:        kcmd=\Ecm, kcpy=\Ecp, kcrt=\Ecr, kcub1=\E[D, kcud1=\E[B,
                    745:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\Edc, ked=\Ece, kel=\Eci,
                    746:        kend=\Een, kext=\Eex, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                    747:        kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kfnd=\Efi, khlp=\Ehl,
                    748:        khome=\Ehm, kich1=\Eim, kind=\Erd, kmov=\Emv, kmrk=\Emk,
                    749:        knp=\Epg, knxt=\Enx, kopn=\Eop, kopt=\Eot, kpp=\EPG,
                    750:        kprt=\Epr, kprv=\Epv, krdo=\Ero, kref=\Ere, krfr=\Erf,
                    751:        kri=\Eru, krpl=\Erp, krst=\Ers, ksav=\Esv, kslt=\Esl,
                    752:        kund=\Eud, nel=\EE, rev=\E[7m, ri=\EM, rmacs=\E[10m,
                    753:        rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smacs=\E[11m,
                    754:        smso=\E[7m, smul=\E[4m,
                    755:
                    756: # From: davis@unidata.ucar.edu
                    757: # (iris-ansi: added rmam/smam based on init string -- esr)
                    758: iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal,
                    759:        am,
                    760:        cols#80, it#8, lines#40,
                    761:        bel=^G, bold=\E[1m, clear=\E[H\E[2J,
                    762:        cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD,
                    763:        cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
                    764:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                    765:        cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h,
                    766:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                    767:        home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                    768:        is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P,
                    769:        kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q,
                    770:        kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
                    771:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
                    772:        kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\EOQ, kf11=\EOR,
                    773:        kf12=\EOS, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
                    774:        kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
                    775:        kf9=\EOP, khome=\E[H, kich1=\E[139q, knp=\E[154q,
                    776:        kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, kspd=\E[217q,
                    777:        nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, rc=\E8,
                    778:        rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7,
                    779:        sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m,
                    780:        tbc=\E[3g,
1.4       tholo     781: iris-ansi-ap|IRIS ANSI in application-keypad mode,
                    782:        is2=\E[?1l\E>\E[?7h, kf10=\E[010q, kf11=\E[011q,
                    783:        kf12=\E[012q, rmkx=\E>, smkx=\E=,
                    784:        use=iris-ansi,
1.1       tholo     785:
                    786: # The following is a version of the ibm-pc entry distributed with PC/IX,
                    787: # (Interactive Systems' System 3 for the Big Blue), modified by Richard
                    788: # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
                    789: # (the former is untrue, and the latter failed under UCB/man); standout and
                    790: # underline modes have been added.  Note: this entry describes the "native"
                    791: # capabilities of the PC monochrome display, without ANY emulation; most
                    792: # communications packages (but NOT PC/IX connect) do some kind of emulation.
                    793: pcix|PC/IX console,
                    794:        am, bw, eo,
                    795:        cols#80, lines#24,
                    796:        clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
                    797:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                    798:        home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m,
                    799:        smul=\E[4m,
                    800:
                    801: # (ibmpcx: this entry used to be known as ibmx.
                    802: # It formerly included the following extension capabilities:
                    803: #      :GC=b:GL=v:GR=t:RT=^J:\
                    804: #      :GH=\E[196g:GV=\E[179g:\
                    805: #      :GU=\E[193g:GD=\E[194g:\
                    806: #      :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
                    807: #      :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
                    808: #      :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
                    809: # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
                    810: # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
                    811: # what was there before. -- esr)
                    812: ibmpcx|xenix|ibmx|IBM PC xenix console display,
                    813:        am, msgr,
                    814:        cols#80, lines#25,
                    815:        clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C,
                    816:        cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                    817:        ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H,
                    818:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d,
                    819:        kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e,
                    820:        kpp=\E[Z,
                    821:        use=klone+acs, use=klone+sgr,
                    822:
                    823:
                    824: # QNX 4.0 Console
                    825: # Michael's original version of this entry had <am@>, <smcup=\Ei>,
                    826: # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
                    827: # right corner without triggering a scroll.  The ncurses terminfo library can
                    828: # handle this case with the <ich1> capability, and prefers <am> for better
                    829: # optimization.  Bug: The <op> capability resets attributes.
1.4       tholo     830: # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
1.1       tholo     831: qnx|qnx4|qnx console,
1.4       tholo     832:        daisy, km, mir, msgr, xhpa, xt,
1.1       tholo     833:        colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8,
                    834:        acsc=l\332m\300k\277j\331q\304x\263u\264t\303n\305v\301w\302O\333a\261o\337s\334,
                    835:        bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ,
                    836:        cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                    837:        cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, cvvis=\Ey2,
                    838:        dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee,
                    839:        il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263,
                    840:        kCMD=\377\267, kCPY=\377\363, kCRT=\377\364,
                    841:        kDL=\377\366, kEND=\377\301, kEOL=\377\311,
                    842:        kEXT=\377\367, kFND=\377\370, kHLP=\377\371,
                    843:        kHOM=\377\260, kIC=\377\340, kLFT=\377\264,
                    844:        kMOV=\377\306, kMSG=\377\304, kNXT=\377\272,
                    845:        kOPT=\377\372, kPRT=\377\275, kPRV=\377\262,
                    846:        kRDO=\377\315, kRES=\377\374, kRIT=\377\266,
                    847:        kRPL=\377\373, kSAV=\377\307, kSPD=\377\303,
                    848:        kUND=\377\337, kbeg=\377\300, kcan=\377\243,
                    849:        kcbt=\377\200, kclo=\377\343, kclr=\377\341,
                    850:        kcmd=\377\245, kcpy=\377\265, kcrt=\377\305,
                    851:        kctab=\377\237, kcub1=\377\244, kcud1=\377\251,
                    852:        kcuf1=\377\246, kcuu1=\377\241, kdch1=\377\254,
                    853:        kdl1=\377\274, ked=\377\314, kel=\377\310, kend=\377\250,
                    854:        kent=\377\320, kext=\377\270, kf1=\377\201,
                    855:        kf10=\377\212, kf11=\377\256, kf12=\377\257,
                    856:        kf13=\377\213, kf14=\377\214, kf15=\377\215,
                    857:        kf16=\377\216, kf17=\377\217, kf18=\377\220,
                    858:        kf19=\377\221, kf2=\377\202, kf20=\377\222,
                    859:        kf21=\377\223, kf22=\377\224, kf23=\377\333,
                    860:        kf24=\377\334, kf25=\377\225, kf26=\377\226,
                    861:        kf27=\377\227, kf28=\377\230, kf29=\377\231,
                    862:        kf3=\377\203, kf30=\377\232, kf31=\377\233,
                    863:        kf32=\377\234, kf33=\377\235, kf34=\377\236,
                    864:        kf35=\377\276, kf36=\377\277, kf37=\377\321,
                    865:        kf38=\377\322, kf39=\377\323, kf4=\377\204,
                    866:        kf40=\377\324, kf41=\377\325, kf42=\377\326,
                    867:        kf43=\377\327, kf44=\377\330, kf45=\377\331,
                    868:        kf46=\377\332, kf47=\377\316, kf48=\377\317,
                    869:        kf5=\377\205, kf6=\377\206, kf7=\377\207, kf8=\377\210,
                    870:        kf9=\377\211, kfnd=\377\346, khlp=\377\350,
                    871:        khome=\377\240, khts=\377\342, kich1=\377\253,
                    872:        kil1=\377\273, kind=\377\261, kmov=\377\351,
                    873:        kmrk=\377\355, kmsg=\377\345, knp=\377\252,
                    874:        knxt=\377\312, kopn=\377\357, kopt=\377\353,
                    875:        kpp=\377\242, kprt=\377\255, kprv=\377\302,
                    876:        krdo=\377\336, kref=\377\354, kres=\377\360,
                    877:        krfr=\377\347, kri=\377\271, krmir=\377\313,
                    878:        krpl=\377\362, krst=\377\352, ksav=\377\361,
                    879:        kslt=\377\247, kspd=\377\335, ktbc=\377\344,
                    880:        kund=\377\365, mvpa=\E!%p1%02d, op=\ER,
1.4       tholo     881:        rep=\Eg%p2%' '%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER,
                    882:        rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d,
                    883:        setf=\E@%p1%Pf%gb%gf%d%d,
1.1       tholo     884:        sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,
1.4       tholo     885:        sgr0=\E}\E]\E>\E), smcup=\Ei, smso=\E(, smul=\E[,
1.1       tholo     886:
                    887: #### NetBSD consoles
                    888: #
                    889: # pcvt termcap database entries (corresponding to release 3.31)
                    890: # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
                    891: #
                    892: # (For the terminfo master file, I translated these into terminfo syntax.
                    893: # Then I dropped all the pseudo-HP entries. we don't want and can't use
                    894: # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
                    895: # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
                    896:
                    897: # NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if
                    898: # both <ich1> and <smir> are specified (an original VT220
                    899: # shows the same buggy behaviour!), <ich1> has been taken
                    900: # out of this entry. for reference, it should be <ich1=\E[@>.
                    901: pcvtXX|pcvt vt200 emulator (DEC VT220),
                    902:        am, km, mir, msgr, xenl,
                    903:        it#8, vt#3,
1.4       tholo     904:        acsc=llmmkkjjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++\,\,hhII00yyzz,
1.1       tholo     905:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                    906:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                    907:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                    908:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                    909:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                    910:        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                    911:        il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS,
                    912:        is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177,
                    913:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                    914:        kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
                    915:        kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
                    916:        khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,
                    917:        nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100,
                    918:        ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
                    919:        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
                    920:        rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                    921:        sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                    922:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                    923:
                    924: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    925: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
                    926: #      50 lines entries; 80 columns
                    927: pcvt25|dec vt220 emulation with 25 lines,
                    928:        cols#80, lines#25,
                    929:        is2=\E[1;25r\E[25;1H, use=pcvtXX,
                    930: pcvt28|dec vt220 emulation with 28 lines,
                    931:        cols#80, lines#28,
                    932:        is2=\E[1;28r\E[28;1H, use=pcvtXX,
                    933: pcvt35|dec vt220 emulation with 35 lines,
                    934:        cols#80, lines#35,
                    935:        is2=\E[1;35r\E[35;1H, use=pcvtXX,
                    936: pcvt40|dec vt220 emulation with 40 lines,
                    937:        cols#80, lines#40,
                    938:        is2=\E[1;40r\E[40;1H, use=pcvtXX,
                    939: pcvt43|dec vt220 emulation with 43 lines,
                    940:        cols#80, lines#43,
                    941:        is2=\E[1;43r\E[43;1H, use=pcvtXX,
                    942: pcvt50|dec vt220 emulation with 50 lines,
                    943:        cols#80, lines#50,
                    944:        is2=\E[1;50r\E[50;1H, use=pcvtXX,
                    945:
                    946: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    947: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
                    948: #      50 lines entries; 132 columns
                    949: pcvt25w|dec vt220 emulation with 25 lines and 132 cols,
                    950:        cols#132, lines#25,
                    951:        is2=\E[1;25r\E[25;1H, use=pcvtXX,
                    952: pcvt28w|dec vt220 emulation with 28 lines and 132 cols,
                    953:        cols#132, lines#28,
                    954:        is2=\E[1;28r\E[28;1H, use=pcvtXX,
                    955: pcvt35w|dec vt220 emulation with 35 lines and 132 cols,
                    956:        cols#132, lines#35,
                    957:        is2=\E[1;35r\E[35;1H, use=pcvtXX,
                    958: pcvt40w|dec vt220 emulation with 40 lines and 132 cols,
                    959:        cols#132, lines#40,
                    960:        is2=\E[1;40r\E[40;1H, use=pcvtXX,
                    961: pcvt43w|dec vt220 emulation with 43 lines and 132 cols,
                    962:        cols#132, lines#43,
                    963:        is2=\E[1;43r\E[43;1H, use=pcvtXX,
                    964: pcvt50w|dec vt220 emulation with 50 lines and 132 cols,
                    965:        cols#132, lines#50,
                    966:        is2=\E[1;50r\E[50;1H, use=pcvtXX,
                    967:
                    968: # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
                    969: # manufactured by Sharp for the Japenese market.
                    970: # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
                    971: x68k|x68k-ite|NetBSD/x68k ITE,
                    972:        cols#96, lines#32,
                    973:        kclr=\E[9~, khlp=\E[28~, use=vt220,
                    974:
                    975: #### FreeBSD console entries
                    976: #
1.4       tholo     977: # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
                    978: # Andrey Chernov maintains the FreeBSD termcap distributions.
1.1       tholo     979: #
                    980: # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
1.4       tholo     981: # or comment out the :cb: capability in the console entry.
                    982: #
                    983: # Alexander Lukyanov reports:
                    984: # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
                    985: # Now el1 clears not only to the line beginning, but also a large chunk
                    986: # of previous line. But there is another bug - ech does not work at all.
1.1       tholo     987: #
                    988:
                    989: # for syscons
                    990: # common entry without semigraphics
                    991: # Bug: The <op> capability resets attributes.
                    992: cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),
                    993:        am, bce, bw, eo, msgr, npc,
                    994:        colors#8, cols#80, it#8, lines#25, pairs#64,
                    995:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                    996:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                    997:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    998:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                    999:        dim=\E[30;1m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX,
                   1000:        ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, hpa=\E[%i%p1%d`,
                   1001:        ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
                   1002:        ind=\E[S, indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z,
                   1003:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
                   1004:        kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X,
                   1005:        kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,
                   1006:        kf8=\E[T, kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G,
                   1007:        kpp=\E[I, nel=\E[E, op=\E[x, rev=\E[7m, ri=\E[T,
                   1008:        rin=\E[%p1%dT, rmso=\E[m, rs1=\E[x\E[m\Ec,
                   1009:        setb=\E[4%p1%dm, setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m,
                   1010:        vpa=\E[%i%p1%dd,
                   1011: cons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
                   1012:        acsc=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`\004a\260f\370g\361~\371.\031-\030h\261I^U0\333y\363z\362,
                   1013:        use=cons25w,
                   1014: cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),
                   1015:        colors@, pairs@,
                   1016:        bold@, dim@, op@, rmul=\E[m, setb@, setf@, smul=\E[4m, use=cons25,
                   1017: cons30|ansi80x30|freebsd console (30-line ansi mode),
                   1018:        lines#30, use=cons25,
                   1019: cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode),
                   1020:        lines#30, use=cons25-m,
                   1021: cons43|ansi80x43|freebsd console (43-line ansi mode),
                   1022:        lines#43, use=cons25,
                   1023: cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode),
                   1024:        lines#43, use=cons25-m,
                   1025: cons50|ansil|ansi80x50|freebsd console (50-line ansi mode),
                   1026:        lines#50, use=cons25,
                   1027: cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode),
                   1028:        lines#50, use=cons25-m,
                   1029: cons60|ansi80x60|freebsd console (60-line ansi mode),
                   1030:        lines#60, use=cons25,
                   1031: cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode),
                   1032:        lines#60, use=cons25-m,
                   1033: cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic,
                   1034:        acsc=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\221`\004.\031-\030I^U0\215,
                   1035:        use=cons25w,
                   1036: cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono),
                   1037:        colors@, pairs@,
                   1038:        op@, rmul=\E[m, setb@, setf@, smul=\E[4m, use=cons25r,
                   1039: cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines),
                   1040:        lines#50, use=cons25r,
                   1041: cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono),
                   1042:        lines#50, use=cons25r-m,
                   1043: cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines),
                   1044:        lines#60, use=cons25r,
                   1045: cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono),
                   1046:        lines#60, use=cons25r-m,
                   1047: # ISO 8859-1 FreeBSD console
                   1048: cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars,
1.4       tholo    1049:        acsc=l\215m\216k\214j\213u\226t\225v\227w\230q\222x\231n\217o\220s\224p\221r\223`\201a\202f\207g\210~\237.\031-\030+\253\,\273I\247y\232z\233,
1.1       tholo    1050:        use=cons25w,
                   1051: cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono),
                   1052:        colors@, pairs@,
                   1053:        bold@, dim@, op@, rmul=\E[m, setb@, setf@, smul=\E[4m, use=cons25l1,
                   1054: cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines),
                   1055:        lines#50, use=cons25l1,
                   1056: cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono),
                   1057:        lines#50, use=cons25l1-m,
                   1058: cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines),
                   1059:        lines#60, use=cons25l1,
                   1060: cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono),
                   1061:        lines#60, use=cons25l1-m,
                   1062:
                   1063: #### 386BSD and BSD/OS Consoles
                   1064: #
                   1065:
                   1066: # This was the original 386BSD console entry (I think).
                   1067: # Some places it's named oldpc3|oldibmpc3.
                   1068: # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
                   1069: origpc3|origibmpc3|IBM PC 386BSD Console,
                   1070:        am, bw, eo, xon,
                   1071:        cols#80, lines#25,
                   1072:        acsc=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305,
                   1073:        bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1074:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   1075:        home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   1076:        kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x,
                   1077:        rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x,
                   1078:        smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x,
                   1079:
                   1080: # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
                   1081: oldpc3|oldibmpc3|old IBM PC BSD/386 Console,
                   1082:        km,
                   1083:        lines#25,
                   1084:        bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M,
                   1085:        ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   1086:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F,
                   1087:        knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R,
                   1088:
                   1089: # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
                   1090: # Note, the emulator supports many of the additional console features
                   1091: # listed in the iBCS2 (e.g. character-set selection) though not all
                   1092: # are described here.  This entry really ought to be upgraded.
                   1093: # Also note, the console will also work with fewer lines after doing
                   1094: # "stty rows NN", e.g. to use 24 lines.
                   1095: # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
                   1096: # Bug: The <op> capability resets attributes.
                   1097: bsdos|BSD/OS console,
                   1098:        am, bw, eo, km, xon,
                   1099:        colors#8, cols#80, it#8, lines#25, pairs#64,
                   1100:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
                   1101:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1102:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   1103:        cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[=8F, dl=\E[%p1%dM,
                   1104:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
                   1105:        il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   1106:        kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, knp=\E[G,
                   1107:        kpp=\E[I, nel=^M^J, op=\E[x, rc=\E8, rev=\E[7m, rmso=\E[0m,
                   1108:        sc=\E7, setb=\E[4%p1%dm, setf=\E[3%p1%dm, sgr0=\E[0m,
                   1109:        smso=\E[7m,
                   1110: bsdos-bold|IBM PC BSD/386 Console with bold instead of underline,
                   1111:        rmul=\E[0m, smul=\E[1m,
                   1112:        use=bsdos,
                   1113:
                   1114: # If you are BSDI, you want the following entries, for the moment.
                   1115: # In release 2.0 they will probably phase out the pc3 and ibmpc3 names
                   1116: pc3|IBM PC BSD/386 Console,
                   1117:        use=bsdos,
                   1118: ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline,
                   1119:        smul=\E[1m,
                   1120:        use=bsdos-bold,
                   1121:
                   1122: #### DEC VT100 and compatibles
                   1123: #
                   1124: # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
                   1125: # the basis of some emulations) are collected here. Older DEC terminals and
                   1126: # micro consoles can be found in the `obsolete' section.  More details on
                   1127: # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
                   1128: # found near the end of this file.
                   1129: #
                   1130: # Except where noted, these entries are DEC's official terminfos.
                   1131: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   1132: # Engineering for more information.  Updated terminfos and termcaps
                   1133: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   1134: #
                   1135: # In October 1995 DEC sold its terminals business, including the VT and Dorio
1.4       tholo    1136: # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
                   1137: # its name to Boundless Technologies; see http://www.boundless.com.
1.1       tholo    1138: #
1.4       tholo    1139: # (The <acsc>, <rmacs>, and <smacs> capabilities aren't in DEC's official
                   1140: # entry -- esr)
1.1       tholo    1141:
                   1142: vt52|dec vt52,
                   1143:        cols#80, it#8, lines#24,
1.4       tholo    1144:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       tholo    1145:        bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
                   1146:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   1147:        el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
1.4       tholo    1148:        kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
1.1       tholo    1149:
                   1150: # NOTE:  Any VT100 emulation, whether in hardware or software, almost
                   1151: # certainly includes what DEC called the `Level 1 editing extension' codes;
                   1152: # only the very oldest VT100s lacked these and there probably aren't any of
                   1153: # those left alive.  To capture these, use one of the VT102 entries.
                   1154: #
                   1155: # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
                   1156: # since the cursor is left in a different position while in the
                   1157: # weird state (concept at beginning of next line, vt100 at end
                   1158: # of this line) so all versions of vi before 3.7 don't handle
                   1159: # <xenl> right on vt100. The correct way to handle <xenl> is when
                   1160: # you output the char in column 80, immediately output CR LF
                   1161: # and then assume you are in column 1 of the next line. If <xenl>
                   1162: # is on, am should be on too.
                   1163: #
                   1164: # I assume you have smooth scroll off or are at a slow enough baud
                   1165: # rate that it doesn't matter (1200? or less). Also this assumes
                   1166: # that you set auto-nl to "on", if you set it off use vt100-nam
                   1167: # below.
                   1168: #
                   1169: # The padding requirements listed here are guesses. It is strongly
                   1170: # recommended that xon/xoff be enabled, as this is assumed here.
                   1171: #
                   1172: # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the
                   1173: # tab settings are in non-volatile memory and don't need to be
                   1174: # reset upon login. Also setting the number of columns glitches
                   1175: # the screen annoyingly. You can type "reset" to get them set.
                   1176: #
1.4       tholo    1177: # Here's a diagram of the VT100 keypad keys with their bindings.
                   1178: # The top line is the name of the key (some DEC keyboards have the keys
                   1179: # labelled somewhat differently, like GOLD instead of PF1, but this is
                   1180: # the most "official" name).  The second line is the escape sequence it
                   1181: # generates in Application Keypad mode (where "$" means the ESC
                   1182: # character).  The third line contains two items, first the mapping of
                   1183: # the key in terminfo, and then in termcap.
                   1184: #   _______________________________________
                   1185: #  |   PF1   |   PF2   |   PF3   |   PF4   |
                   1186: #  |   $OP   |   $OQ   |   $OR   |   $OS   |
                   1187: #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
                   1188: #  |    7         8         9         -    |
                   1189: #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
                   1190: #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
                   1191: #  |    4    |    5    |    6    |    ,    |
                   1192: #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
                   1193: #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
                   1194: #  |    1    |    2    |    3    |         |
                   1195: #  |   $Oq   |   $Or   |   $Os   |  enter  |
                   1196: #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
                   1197: #  |         0         |   .     |         |
                   1198: #  |        $Op        |  $On    |         |
                   1199: #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1.1       tholo    1200: #
                   1201: # And here, for those of you with orphaned VT100s lacking documentation, is
                   1202: # a description of the soft switches invoked when you do `Set Up'.
                   1203: #
                   1204: #  Scroll 0-Jump               Shifted 3   0-#
                   1205: #  |      1-Smooth             |           1-British pound sign
                   1206: #  | Autorepeat 0-Off          | Wrap Around 0-Off
                   1207: #  | |          1-On           | |           1-On
                   1208: #  | | Screen 0-Dark Bkg       | | New Line 0-Off
                   1209: #  | | |      1-Light Bkg      | | |        1-On
                   1210: #  | | | Cursor 0-Underline    | | | Interlace 0-Off
                   1211: #  | | | |      1-Block        | | | |         1-On
                   1212: #  | | | |                     | | | |
                   1213: #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
                   1214: #                | | | |                     | | | |
                   1215: #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
                   1216: #                | | |               1-On    | | |       1-50 Hz
                   1217: #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
                   1218: #                | |           1-ANSI        | |                1-8 Bits
                   1219: #                | Keyclick 0-Off            | Parity 0-Off
                   1220: #                |          1-On             |        1-On
                   1221: #                Margin Bell 0-Off           Parity Sense 0-Odd
                   1222: #                            1-On                         1-Even
                   1223: #
                   1224: # The following SET-UP modes are assumed for normal operation:
                   1225: #      ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
                   1226: #      WRAP_AROUND_ON  JUMP_SCROLL_OFF
                   1227: # Other SET-UP modes may be set for operator convenience or communication
                   1228: # requirements; I recommend
                   1229: #      AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
                   1230: # Unless you have a graphics add-on such as Digital Engineering's VT640
                   1231: # (and even then, whenever it can be arranged!) you should set
                   1232: #      INTERLACE_OFF
                   1233: #
                   1234: # (I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
                   1235: vt100|vt100-am|dec vt100 (w/advanced video),
                   1236:        am, msgr, xenl, xon,
                   1237:        cols#80, it#8, lines#24, vt#3,
                   1238:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1239:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1240:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1241:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1242:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   1243:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   1244:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   1245:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq,
                   1246:        ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD,
                   1247:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy,
                   1248:        kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
                   1249:        kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   1250:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   1251:        rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   1252:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1253:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   1254:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   1255:        smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   1256: vt100nam|vt100-nam|vt100 no automargins,
                   1257:        am@, xenl@, use=vt100-am,
                   1258:
                   1259: # Ordinary vt100 in 132 column ("wide") mode.
                   1260: vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
                   1261:        cols#132, lines#24,
                   1262:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am,
                   1263: vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin),
                   1264:        cols#132, lines#14, vt@,
                   1265:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam,
                   1266:
                   1267: # vt100 with no advanced video.
                   1268: vt100-nav|vt100 without advanced video option,
                   1269:        xmc#1,
1.4       tholo    1270:        blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m,
1.1       tholo    1271:        smul@,
                   1272:        use=vt100,
                   1273: vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option),
                   1274:        cols#132, lines#14, use=vt100-nav,
                   1275:
                   1276: # vt100 with one of the 24 lines used as a status line.
                   1277: # We put the status line on the top.
                   1278: vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline,
                   1279:        eslok, hs,
                   1280:        lines#23,
                   1281:        clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr,
                   1282:        cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8,
                   1283:        fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8,
                   1284:        tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am,
                   1285:
                   1286: # Status line at bottom.
                   1287: # Clearing the screen will clobber status line.
                   1288: vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline,
                   1289:        eslok, hs,
                   1290:        lines#23,
                   1291:        dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H,
                   1292:        tsl=\E7\E[24;%p1%dH\E[1K,
                   1293:        use=vt100-am,
                   1294:
                   1295: # Most of the `vt100' emulators out there actually emulate a vt102
                   1296: # This entry (or vt102-nsgr) is probably the right thing to use for
                   1297: # these.
                   1298: vt102|dec vt102,
                   1299:        mir,
                   1300:        dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100,
                   1301: vt102-w|dec vt102 in wide mode,
                   1302:        lines#132,
                   1303:        rs3=\E[?3h, use=vt102,
                   1304:
                   1305: # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
                   1306: # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
                   1307: # string in the canonical vt100 entry above leaves the screen littered
                   1308: # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
                   1309: # after highlight turnoffs.  This entry should fix that, and even leave
                   1310: # ACS support working, at the cost of making multiple-highlight changes
                   1311: # slightly more expensive.
                   1312: # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
                   1313: vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes),
                   1314:        sgr@, sgr0=\E[m,
                   1315:        use=vt102,
                   1316:
                   1317: # VT125 Graphics CRT.  Clear screen also erases graphics
                   1318: vt125|vt125 graphics terminal,
                   1319:        clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100,
                   1320:
                   1321: # This isn't a DEC entry, it came from University of Wisconsin.
                   1322: # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
                   1323: vt131|dec vt131,
                   1324:        am, xenl,
                   1325:        cols#80, it#8, lines#24, vt#3,
                   1326:        bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   1327:        clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1328:        cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   1329:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
                   1330:        ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
                   1331:        is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
                   1332:        kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   1333:        kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>,
                   1334:        rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>,
                   1335:        rmul=\E[m$<2/>,
                   1336:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
1.4       tholo    1337:        sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=,
                   1338:        smso=\E[7m$<2/>, smul=\E[4m$<2/>,
1.1       tholo    1339:
                   1340: # vt132 - like vt100 but slower and has ins/del line and such.
                   1341: # I'm told that <smir>/<rmir> are backwards in the terminal from the
                   1342: # manual and from the ANSI standard, this describes the actual
                   1343: # terminal. I've never actually used a vt132 myself, so this
                   1344: # is untested.
                   1345: #
                   1346: vt132|DEC vt132,
                   1347:        xenl,
                   1348:        dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
                   1349:        ip=$<7>, rmir=\E[4h, smir=\E[4l,
                   1350:        use=vt100,
                   1351:
                   1352: # vt220:
                   1353: # This vt220 description maps F5--F9 to the second block of function keys
                   1354: # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
                   1355: # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
                   1356: # PF1--PF4 are used as F1--F4.
                   1357: #
                   1358: vt220|vt200|DEC VT220 in vt100 emulation mode,
                   1359:        am, mir, xenl, xon,
                   1360:        cols#80, lines#24, vt#3,
1.4       tholo    1361:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1362:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l,
                   1363:        clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M,
                   1364:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1365:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1366:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   1367:        if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>,
1.7     ! deraadt  1368:        is2=\E[1;24r\E[24;1H, kbs=\177, kcub1=\EOD, kcud1=\EOB,
1.6       millert  1369:        kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\E[4~, kf1=\EOP,
1.4       tholo    1370:        kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
                   1371:        kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~,
                   1372:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8,
                   1373:        rev=\E[7m$<2>, rf=/usr/share/tabset/vt100,
1.1       tholo    1374:        ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
                   1375:        rmso=\E[27m, rmul=\E[24m,
                   1376:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1377:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1378:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   1379:        smso=\E[7m, smul=\E[4m,
                   1380: vt220-w|vt200-w|DEC vt220 in wide mode,
                   1381:        cols#132,
                   1382:        rs3=\E[?3h, use=vt220,
                   1383:
                   1384: #
                   1385: # vt220d:
                   1386: # This vt220 description regards F6--F10 as the second block of function keys
                   1387: # at the top of the keyboard.  This mapping follows the description given
                   1388: # in the VT220 Programmer Reference Manual and agrees with the labeling
                   1389: # on some terminals that emulate the vt220.  There is no support for an F5.
                   1390: # See vt220 for an alternate mapping.
                   1391: #
                   1392: vt220d|DEC VT220 in vt100 mode with DEC function key labeling,
                   1393:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   1394:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   1395:        kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~,
                   1396:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1397:        use=vt220,
                   1398:
                   1399: vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins,
                   1400:        am@,
                   1401:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
                   1402:
                   1403: vt220-8|dec vt220 8 bit terminal,
                   1404:        am, mc5i, mir, msgr, xenl, xon,
                   1405:        cols#80, it#8, lines#24,
                   1406:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1407:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   1408:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1409:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1410:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1411:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   1412:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
                   1413:        flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH,
                   1414:        ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
                   1415:        il=\E[%p1%dL, il1=\E[L, ind=\ED,
1.7     ! deraadt  1416:        is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=\177, kcub1=\E[D,
1.1       tholo    1417:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~,
                   1418:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   1419:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
                   1420:        kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
                   1421:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   1422:        khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~,
                   1423:        kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i,
                   1424:        mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   1425:        rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m,
                   1426:        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
                   1427:        smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1428:
                   1429: # This was DEC's vt320.  Use the purpose-built one below instead
                   1430: #vt320|DEC VT320 in vt100 emulation mode,
                   1431: #      use=vt220,
                   1432:
                   1433: #
                   1434: # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
                   1435: #
                   1436: vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode,
                   1437:        am@,
                   1438:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
                   1439:
                   1440: # These entries are not DEC's official ones, they were purpose-built for the
                   1441: # VT320.  Here are the designer's notes:
                   1442: # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
                   1443: # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
                   1444: # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
                   1445: # Things that use <knxt> usually use tab anyways... and things that don't use
                   1446: # tab usually use <knxt> instead...
                   1447: # kprv is same as tab - Backtab is useless...
                   1448: # I left out <sgr> because of its RIDICULOUS complexity,
                   1449: # and the resulting fact that it causes the termcap translation of the entry
                   1450: # to SMASH the 1k-barrier...
                   1451: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   1452: # (vt320: uncommented <fsl> --esr)
                   1453: vt320|vt300|dec vt320 7 bit terminal,
                   1454:        am, eslok, hs, mir, msgr, xenl,
                   1455:        cols#80, lines#24, wsl#80,
                   1456:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1457:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1458:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   1459:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1460:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1461:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1462:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   1463:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$},
                   1464:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
                   1465:        il1=\E[L, ind=\ED,
                   1466:        is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1467:        ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs,
                   1468:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1469:        kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
                   1470:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   1471:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   1472:        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
                   1473:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1474:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~,
                   1475:        kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i,
                   1476:        nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300,
                   1477:        ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
                   1478:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   1479:        rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1480:        sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                   1481:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1482:        tsl=\E[1$}\E[H\E[K,
                   1483: vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy,
                   1484:        am@,
                   1485:        is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1486:        rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1487:        use=vt320,
                   1488: # We have to init 132-col mode, not 80-col mode.
                   1489: vt320-w|vt300-w|dec vt320 wide 7 bit terminal,
                   1490:        cols#132, wsl#132,
                   1491:        is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1492:        rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1493:        use=vt320,
                   1494: vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am,
                   1495:        am@,
                   1496:        is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1497:        rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1498:        use=vt320-w,
                   1499:
                   1500: # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
                   1501: #   which are pretty much a superset of the VT320.  They have the
                   1502: #   host writable status line, yet another different DRCS matrix size,
                   1503: #   and such, but they add the DEC Technical character set, Multiple text
                   1504: #   pages, selectable length pages, and the like.  The difference between
                   1505: #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
                   1506: #   monitor, the former has 4 planes and a color monitor.  These terminals
                   1507: #   support VT131 and ANSI block mode, but as with much of these things,
                   1508: #   termcap/terminfo doesn't deal with these features.
                   1509: #
                   1510: # Note that this entry is are set up in what was the standard way for GNU
                   1511: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1512: # keys were switched into application mode at the same time the numeric pad
                   1513: # is switched into application mode.  This changes the definitions of the
                   1514: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
1.4       tholo    1515: # your termcap or terminfo entry,
1.1       tholo    1516: #
                   1517: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1518: # (vt340: string capability "sb=\E[M" corrected to "sr";
                   1519: # also, added <rmam>/<smam> based on the init string -- esr)
                   1520: vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page,
                   1521:        am, eslok, hs, mir, msgr, xenl, xon,
                   1522:        cols#80, it#8, lines#24, vt#3,
                   1523:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1524:        blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
                   1525:        cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1526:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1527:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   1528:        cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP,
                   1529:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   1530:        dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
                   1531:        flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I,
                   1532:        hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   1533:        is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1534:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1535:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   1536:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
                   1537:        lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
                   1538:        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O,
                   1539:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
                   1540:        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
                   1541:        smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
                   1542:        smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
                   1543:
                   1544: # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
                   1545: # (originally written with vt420 as its primary name, and usable for it).
                   1546: #
                   1547: # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
                   1548: #    text pages and long text pages with selectable length of the vt340, along
                   1549: #    with left and right margins, rectangular area text copy, fill, and erase
                   1550: #    operations, selected region character attribute change operations,
                   1551: #    page memory and rectangle checksums, insert/delete column, reception
                   1552: #    macros, and other features too numerous to remember right now.  TERMCAP
                   1553: #    can only take advantage of a few of these added features.
                   1554: #
                   1555: # Note that this entry is are set up in what was the standard way for GNU
                   1556: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1557: # keys were switched into application mode at the same time the numeric pad
                   1558: # is switched into application mode.  This changes the definitions of the
                   1559: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1560: # your termcap entry,
                   1561: #
                   1562: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1563: # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
                   1564: # also, added <rmam>/<smam> based on the init string -- esr)
                   1565: vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap,
                   1566:        am, eslok, hs, mir, msgr, xenl, xon,
                   1567:        cols#80, it#8, lines#24, vt#3,
                   1568:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1569:        blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1570:        clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M,
                   1571:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1572:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1573:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1574:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   1575:        dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>,
                   1576:        el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
                   1577:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   1578:        il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   1579:        is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1580:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1581:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   1582:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
                   1583:        lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
                   1584:        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O,
                   1585:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
                   1586:        rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m,
                   1587:        smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   1588:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1589:        tsl=\E[2$~\E[1$}\E[1;%dH,
                   1590:
1.4       tholo    1591: # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
                   1592: # a missing <sc> -- esr)
1.1       tholo    1593: vt420|DEC VT420,
                   1594:        am, mir, xenl, xon,
                   1595:        cols#80, lines#24, vt#3,
                   1596:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1597:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1598:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1599:        cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1600:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1601:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   1602:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
                   1603:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
                   1604:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   1605:        kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
                   1606:        kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
                   1607:        kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   1608:        kslt=\E[4~, rc=\E8, rev=\E[7m$<2>,
                   1609:        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>,
                   1610:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
                   1611:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
1.4       tholo    1612:        rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
1.1       tholo    1613:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1614:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   1615:        smkx=\E=, smso=\E[7m, smul=\E[4m,
                   1616:
                   1617: #
                   1618: #  DECUDK
                   1619: #               if (key < 16) then  value = key;
                   1620: #               else if (key < 21) then value = key + 1;
                   1621: #               else if (key < 25) then value = key + 2;
                   1622: #               else if (key < 27) then value = key + 3;
                   1623: #               else if (key < 30) then value = key + 4;
                   1624: #               else value = key + 5;
                   1625: #
                   1626: vt420pc|DEC VT420 w/PC keyboard,
                   1627:        kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~,
                   1628:        kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~,
                   1629:        kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~,
                   1630:        kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~,
                   1631:        kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~,
                   1632:        kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~,
                   1633:        kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~,
                   1634:        kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~,
                   1635:        kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~,
                   1636:        kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~,
                   1637:        kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~,
                   1638:        kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~,
                   1639:        kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
                   1640:        kf8=\E[19~, kf9=\E[20~, khome=\E[H,
1.4       tholo    1641:        pctrm=USR_TERM\:vt420pcdos\:,
1.1       tholo    1642:        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,
                   1643:
                   1644: vt420pcdos|DEC VT420 w/PC for DOS Merge,
                   1645:        lines#25,
                   1646:        dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;,
                   1647:        pctrm@,
                   1648:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@,
                   1649:        sgr0=\E[m, smsc=\E[?1;2r\E[34h,
                   1650:        use=vt420pc,
                   1651:
                   1652: vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys,
                   1653:        kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
                   1654:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   1655:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   1656:        kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
                   1657:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1658:        khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS,
                   1659:        use=vt420,
                   1660:
                   1661: vt510|DEC VT510,
                   1662:        use=vt420,
                   1663: vt510pc|DEC VT510 w/PC keyboard,
                   1664:        use=vt420pc,
                   1665: vt510pcdos|DEC VT510 w/PC for DOS Merge,
                   1666:        use=vt420pcdos,
1.2       etheisen 1667:
1.1       tholo    1668: # VT520/VT525
                   1669: #
                   1670: # The VT520 is a monochrome text terminal capable of managing up to
                   1671: # four independent sessions in the terminal.  It has multiple ANSI
                   1672: # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
                   1673: # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
                   1674: # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
                   1675: #
                   1676: # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
                   1677: # [Alt]/[Print Screen] depending upon which keyboard and which
                   1678: # terminal mode is being used.  If Set-Up has been disabled or
                   1679: # assigned to an unknown key, Set-Up may be entered by pressing
                   1680: # [F3] as the first key after power up, regardless of keyboard type.
1.4       tholo    1681: # (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
1.1       tholo    1682: vt520|DEC VT520,
                   1683:        am, mir, xenl, xon,
                   1684:        cols#80, lines#24, vt#3,
                   1685:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1686:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1687:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1688:        cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1689:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1690:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   1691:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
                   1692:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
                   1693:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   1694:        kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ,
                   1695:        kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~,
                   1696:        kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
                   1697:        kpp=\E[5~, kslt=\E[4~,
                   1698:        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\\,
                   1699:        rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
                   1700:        ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
                   1701:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
1.4       tholo    1702:        rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
1.1       tholo    1703:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1704:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   1705:        smso=\E[7m, smul=\E[4m,
                   1706:
                   1707: # (vt525: I added <rmam>/<smam> based on the init string;
1.4       tholo    1708: # removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
1.1       tholo    1709: vt525|DEC VT525,
                   1710:        am, mir, xenl, xon,
                   1711:        cols#80, lines#24, vt#3,
                   1712:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1713:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1714:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1715:        cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1716:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1717:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   1718:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
                   1719:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
                   1720:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   1721:        kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ,
                   1722:        kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~,
                   1723:        kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
                   1724:        kpp=\E[5~, kslt=\E[4~,
                   1725:        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\\,
                   1726:        rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
                   1727:        ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
                   1728:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
1.4       tholo    1729:        rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
1.1       tholo    1730:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1731:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   1732:        smso=\E[7m, smul=\E[4m,
                   1733:
                   1734: #### VT100 emulations
                   1735: #
                   1736:
                   1737: # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
                   1738: # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
1.4       tholo    1739: # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
                   1740: # that this works best with a stock vt100 entry.
1.1       tholo    1741: dec-vt100|EWAN telnet's vt100 emulation,
1.4       tholo    1742:        use=vt100,
                   1743:
                   1744: # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
                   1745: dec-vt220|DOS tnvt200 terminal emulator,
                   1746:        am@, use=vt220,
1.1       tholo    1747:
                   1748: # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
                   1749: # anyone who needs PC VT340 emulation. (or anything below that level, for
                   1750: # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
                   1751: # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
                   1752: # I can send the address if requested.
                   1753: # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
                   1754: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   1755: z340|zstem vt340 terminal emulator 132col 42line,
                   1756:        lines#42,
                   1757:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
                   1758:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
                   1759:        use=vt320-w,
                   1760: z340-nam|zstem vt340 terminal emulator 132col 42line,
                   1761:        am@,
                   1762:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
                   1763:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
                   1764:        use=z340,
                   1765:
                   1766: #### X terminal emulators
                   1767: #
                   1768: # You can add the following line to your .Xdefaults to change the terminal type
                   1769: # set by the xterms you start up to my-xterm:
                   1770: #
                   1771: # *termName:  my-xterm
                   1772: #
                   1773: # System administrators can change the default entry for xterm instances
                   1774: # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
                   1775: # case, xterm will detect and reject an invalid terminal type, falling back
                   1776: # to the default of xterm.
                   1777: #
                   1778:
                   1779: # X10/6.6      11/7/86, minus alternate screen, plus (csr)
                   1780: # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
                   1781: # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
                   1782: # as these seem not to work -- esr)
                   1783: x10term|vs100-x10|xterm terminal emulator (X10 window system),
                   1784:        am, km, mir, msgr, xenl, xon,
                   1785:        cols#80, it#8, lines#65,
                   1786:        bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
                   1787:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   1788:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   1789:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
                   1790:        il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H,
                   1791:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   1792:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l,
                   1793:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   1794:        sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   1795:        smso=\E[7m, smul=\E[4m,
1.4       tholo    1796: # Compatible with the R5 xterm
                   1797: # (from the XFree86 3.2 distribution, <blink=@> removed)
                   1798: xterm-r5|xterm R5 version,
                   1799:        am, km, msgr, xenl,
                   1800:        cols#80, it#8, lines#24,
                   1801:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   1802:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1803:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1804:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1805:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   1806:        el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   1807:        il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
                   1808:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
                   1809:        kdl1=\E[31~, kel=\E[8~, kf0=\EOq, kf1=\E[11~, kf10=\E[21~,
                   1810:        kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, kf3=\E[13~,
                   1811:        kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
                   1812:        kf9=\E[20~, khome=\E[7~, kich1=\E[2~, kil1=\E[30~,
                   1813:        knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM,
                   1814:        rmkx=\E[?1l\E>, rmso=\E[m,
                   1815:        rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, sc=\E7,
                   1816:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   1817:        sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, tbc=\E[3g,
                   1818: # Compatible with the R6 xterm
                   1819: # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
                   1820: xterm-r6|xterm-old|xterm X11R6 version,
                   1821:        am, km, mir, msgr, xenl,
                   1822:        cols#80, it#8, lines#24,
                   1823:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       tholo    1824:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   1825:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1826:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1827:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1828:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
1.4       tholo    1829:        el=\E[K, enacs=\E)0, home=\E[H, ht=^I, il=\E[%p1%dL,
                   1830:        il1=\E[L, ind=^J,
                   1831:        is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H,
                   1832:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1833:        kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   1834:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   1835:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   1836:        kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~,
                   1837:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   1838:        kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El,
                   1839:        memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
1.1       tholo    1840:        rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>,
1.4       tholo    1841:        rmso=\E[m, rmul=\E[m,
                   1842:        rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,
                   1843:        sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
                   1844:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1845: # This is the stock xterm entry supplied with XFree86 3.2
                   1846: # The name has been changed and some aliases have been removed.
                   1847: xterm-xf86-v32|xterm terminal emulator (X Window System),
                   1848:        am, bce, km, mir, msgr, xenl,
                   1849:        colors#8, cols#80, it#8, lines#24, pairs#64,
                   1850:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1851:        bel=^G, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[2J,
                   1852:        cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1853:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1854:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   1855:        cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP,
                   1856:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J,
                   1857:        el=\E[K, el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h\E[?5l,
                   1858:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   1859:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   1860:        is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
                   1861:        ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq,
                   1862:        kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1863:        kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~,
                   1864:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   1865:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   1866:        kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
                   1867:        kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
                   1868:        kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~,
                   1869:        kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El,
                   1870:        memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
                   1871:        rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
                   1872:        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=^O,
                   1873:        rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,
                   1874:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                   1875:        setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   1876:        setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   1877:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   1878:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
1.1       tholo    1879:        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
1.4       tholo    1880:        tbc=\E[3g, vpa=\E[%i%p1%dd,
1.1       tholo    1881:
1.4       tholo    1882: # This is xterm for ncurses. It mainly adds mappings for more high-half
                   1883: # characters.  Note that these will only work for fixed-width fonts.
                   1884: # Once XFree86 3.2 is established, we'll switch this to use=xterm-xf86-v32
                   1885: xterm|vs100|xterms|xterm terminal emulator (X Window System),
                   1886:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\,\,II00,
                   1887:        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
                   1888:        use=xterm-r6,
1.1       tholo    1889:
                   1890: # These entries allow access to the X titlebar and icon name as a status line.
                   1891: # Note that twm (and possibly window managers descended from it such as tvtwm,
                   1892: # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
                   1893: # with it.
1.4       tholo    1894: xterm+sl|access X title line and icon name,
1.1       tholo    1895:        hs,
                   1896:        wsl#40,
                   1897:        dsl=\E]0;\007, fsl=^G, tsl=\E]0;,
1.4       tholo    1898: xterm+sl-twm|access X title line (pacify twm-descended window managers),
1.1       tholo    1899:        hs,
                   1900:        wsl#40,
                   1901:        dsl=\E]2;\007, fsl=^G, tsl=\E]2;,
                   1902:
                   1903: #
1.4       tholo    1904: # The following xterm variants don't depend on your base version
1.1       tholo    1905: #
                   1906: xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
                   1907:        smso=\E[1m,
                   1908:        use=xterm,
                   1909: # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
                   1910: # (kterm should not invoke DEC Graphics as the alternate character set
                   1911: #  -- Kenji Rikitake)
                   1912: kterm|kterm kanji terminal emulator (X window system),
                   1913:        eslok, hs,
                   1914:        csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs=\E(B, fsl=\E[?F,
                   1915:        rc=\E8, sc=\E7, tsl=\E[?E\E[?%i%dT,
                   1916:        use=xterm,
                   1917: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                   1918: xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
                   1919:        ich@, ich1@,
                   1920:        use=xterm,
                   1921: # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
                   1922: xterm1|xterm terminal emulator ignoring the alternate screen buffer,
                   1923:        rmcup@, smcup@,
                   1924:        use=xterm,
                   1925:
1.4       tholo    1926: # This describes the capabilities of color_xterm, an xterm variant from
                   1927: # before ECMA-64 color support was folded into the main-line xterm release.
                   1928: # This entry is straight from color_xterm's maintainer.
                   1929: # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
                   1930: color_xterm|cx|cx100|color_xterm color terminal emulator for X,
                   1931:        am, km, mir, msgr, xenl,
                   1932:        colors#8, cols#80, it#8, lines#65, pairs#64,
                   1933:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1934:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   1935:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1936:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1937:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1938:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   1939:        el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I,
                   1940:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   1941:        is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy,
                   1942:        kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB,
                   1943:        kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~,
                   1944:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
                   1945:        kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
                   1946:        kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~,
                   1947:        kmous=\E[M, knp=\E[6~, kpp=\E[5~, op=\E[39;49m, rc=\E8,
                   1948:        rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l,
                   1949:        rmcup=\E>\E[?41;1r, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   1950:        rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
                   1951:        sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                   1952:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   1953:        sgr0=\E[m, smacs=^N, smam=\E[?7h,
                   1954:        smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m,
                   1955:        smul=\E[4m,
                   1956:
                   1957: # From: Mark Olesen & Thomas Dickey <dickey@clark.net> 13 Jul 1996
                   1958: rxvt|reduced xterm terminal (X Window System),
                   1959:        am, bce, km, mir, msgr, xenl, xon,
                   1960:        colors#8, cols#80, it#8, lines#24, pairs#64,
                   1961:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1962:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1963:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   1964:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1965:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1966:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1967:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   1968:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
                   1969:        enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H,
                   1970:        hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   1971:        il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E[?47l\E=\E[?1l,
                   1972:        is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
                   1973:        kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$,
                   1974:        kPRV=\E[5$, kRIT=\E[c, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H,
                   1975:        kc1=\EOp, kc3=\EOn, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
                   1976:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[8~, kent=\EOM,
                   1977:        kf0=\E[21~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
                   1978:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   1979:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   1980:        kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
                   1981:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1982:        khome=\E[7~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
                   1983:        op=\E[39m\E[49m, rc=\E8, rev=\E[7m, ri=\EM,
                   1984:        rmacs=\E(B\E)0\017, rmcup=\E[?47l\E8, rmir=\E[4l,
                   1985:        rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
                   1986:        rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
                   1987:        rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>,
                   1988:        sc=\E7, setb=\E[4%p1%dm, setf=\E[3%p1%dm, sgr0=\E[m,
                   1989:        smacs=\E(B\E)U\016, smcup=\E7\E[?47h, smir=\E[4h,
                   1990:        smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1991:        vpa=\E[%i%p1%dd,
1.1       tholo    1992:
                   1993: # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
                   1994: # Here's a termcap entry I've been using for xterm_color, which comes
                   1995: # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
                   1996: # color stuff, I also have a status line defined as the window manager
                   1997: # title bar. [I have translated it to terminfo -- ESR]
                   1998: xterm-pcolor|xterm with color used for highlights and status line,
                   1999:        bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m,
                   2000:        smul=\E[4m\E[42m,
1.4       tholo    2001:        use=xterm+sl, use=xterm,
1.1       tholo    2002:
                   2003: # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
                   2004: # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
1.4       tholo    2005: xhpterm|X-hpterm|hp X11 terminal emulator,
1.1       tholo    2006:        am, da, db, mir, xhp,
                   2007:        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0,
                   2008:        acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M,
                   2009:        cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC,
                   2010:        cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK,
                   2011:        hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H,
                   2012:        kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   2013:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
                   2014:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   2015:        khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
                   2016:        knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El,
                   2017:        memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
                   2018:        pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
                   2019:        pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
                   2020:        pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET,
                   2021:        rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@,
                   2022:        rmul=\E&d@,
                   2023:        sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
                   2024:        sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
                   2025:        smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   2026:
                   2027: # This entry describes an xterm with Sun-style function keys enabled
                   2028: # via the X resource setting "xterm*sunFunctionKeys:true"
                   2029: # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
                   2030: # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
                   2031: # because we want it to be seen as <kcpy>.
                   2032: # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
                   2033: # with their Sun keyboard labels instead.
                   2034: # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
                   2035: xterm-sun|xterm with sunFunctionKeys true,
                   2036:        kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z,
                   2037:        kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z,
                   2038:        kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z,
                   2039:        kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z,
                   2040:        kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z,
                   2041:        kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z,
                   2042:        kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z,
                   2043:        kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
                   2044:        kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z,
                   2045:        knp=\E[222z, kpp=\E[216z, kund=\E[195z,
                   2046:        use=xterm,
                   2047: xterms-sun|small (80x24) xterm with sunFunctionKeys true,
                   2048:        cols#80, lines#24, use=xterm-sun,
                   2049:
                   2050: # This is for the extensible terminal emulator on the X11R6 contrib tape.
                   2051: # (emu: I changed <setab>/<setaf> to <setb>/<setf> -- esr)
                   2052: emu|emu native mode,
                   2053:        mir, msgr, xon,
                   2054:        colors#15, cols#80, it#8, lines#24, pairs#64, vt#200,
                   2055:        acsc=a\202f\260g261j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
                   2056:        bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ,
                   2057:        clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;,
                   2058:        cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB,
                   2059:        cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;,
                   2060:        cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;,
                   2061:        dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN,
                   2062:        el=\EK, el1=\EL, enacs=\200, home=\EE0;0;, ht=^I, hts=\Eh,
                   2063:        il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;,
                   2064:        kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA,
                   2065:        kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10,
                   2066:        kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15,
                   2067:        kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02,
                   2068:        kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06,
                   2069:        kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins,
                   2070:        knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;,
                   2071:        rev=\ES\ET, ri=\EF, rmacs=\200, rmir=\EX, rmso=\ES, rmul=\ES,
                   2072:        rs2=\ES\Es0;\Er0;, setb=\Es%i%p1%d; setf=\Er%i%p1%d;,
                   2073:        sgr0=\ES, smacs=\200, smir=\EY, smso=\ES\ET, smul=\ES\EV,
                   2074:        tbc=\Ej,
                   2075:
1.4       tholo    2076: ######## MGR
                   2077: #
                   2078: # MGR is a Bell Labs window system lighter-weight than X.
                   2079: # These entries describe MGR's xterm-equivalent.
                   2080: # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
                   2081: #
                   2082:
                   2083: mgr|Bellcore MGR (non X) window system terminal emulation,
                   2084:        am, km,
                   2085:        bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M,
                   2086:        csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er,
                   2087:        cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h,
                   2088:        dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>,
                   2089:        dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u,
                   2090:        ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>,
                   2091:        il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   2092:        kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S,
                   2093:        rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n,
                   2094:        smul=\E4n,
                   2095: mgr-sun|Mgr window with Sun keyboard,
                   2096:        ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z,
                   2097:        kc3=\E[222z, kcpy=\E197z, kend=\E[220z, kent=\E[250z,
                   2098:        kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z,
                   2099:        kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z,
                   2100:        kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
                   2101:        kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z,
                   2102:        kopn=\E[198z, kpp=\E[216z, kund=\E[195z,
                   2103:        use=mgr,
                   2104: mgr-linux|Mgr window with Linux keyboard,
                   2105:        ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~,
                   2106:        kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~,
                   2107:        kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D,
                   2108:        kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   2109:        khome=\E[1~, knp=\E[6~, kpp=\E[5~,
                   2110:        use=mgr,
                   2111:
1.1       tholo    2112: ######## UNIX VIRTUAL TERMINALS AND VIRTUAL CONSOLES
                   2113: #
                   2114:
                   2115: # Columbus UNIX virtual terminal. This terminal also appears in
                   2116: # UNIX 4.0 and successors as line discipline 1 (?), but is
                   2117: # undocumented and does not really work quite right.
                   2118: cbunix|cb unix virtual terminal,
                   2119:        am, da, db,
                   2120:        cols#80, lines#24, lm#0,
                   2121:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   2122:        cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL,
                   2123:        el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB,
                   2124:        kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A,
                   2125:        smso=\Ea^D, smul=\Ea^A,
                   2126: # (vremote: removed obsolete ":nl@:" -- esr)
                   2127: vremote|virtual remote terminal,
                   2128:        am@,
                   2129:        cols#79, use=cbunix,
                   2130: pty|4bsd pseudo teletype,
                   2131:        cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!,
                   2132:        smso=\Ea$, smul=\Ea!,
                   2133:        use=cbunix,
                   2134:
                   2135: # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
                   2136: eterm|gnu emacs term.el terminal emulation,
                   2137:        am, mir, xenl,
                   2138:        cols#80, lines#24,
                   2139:        bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   2140:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2141:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2142:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2143:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\\E[J,
                   2144:        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
                   2145:        il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m,
                   2146:        rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   2147:        sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
                   2148:        smul=\E[4m,
                   2149:
                   2150: # Entries for use by the FSF's `screen' program.  The screen and
                   2151: # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
                   2152: # come from University of Wisconsin and may be older.
1.4       tholo    2153: # (screen: added <cnorm> on ANSI model -- esr)
1.1       tholo    2154:
                   2155: screen|VT 100/ANSI X3.64 virtual terminal,
                   2156:        am, km, mir, msgr, xenl,
                   2157:        colors#8, cols#80, it#8, lines#24, pairs#64,
1.4       tholo    2158:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\,\,hhII00,
1.1       tholo    2159:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
1.4       tholo    2160:        clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
                   2161:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2162:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2163:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   2164:        cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   2165:        dl1=\E[M, ed=\E[J, el=\E[K, enacs=\E(B\E)0, flash=\Eg,
                   2166:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
                   2167:        il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, kcud1=\EOB,
                   2168:        kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~,
                   2169:        kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   2170:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
1.1       tholo    2171:        khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,
                   2172:        nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmir=\E[4l,
                   2173:        rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7,
                   2174:        sgr0=\E[m, smacs=^N, smir=\E[4h, smkx=\E[?1h\E=,
                   2175:        smso=\E[3m, smul=\E[4m, tbc=\E[3g,
                   2176:        use=ecma+color,
                   2177:
                   2178: screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
                   2179:        cols#132, use=screen,
                   2180:
                   2181: screen2|VT 100/ANSI X3.64 virtual terminal,
                   2182:        cols#80, it#8, lines#24,
                   2183:        cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   2184:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   2185:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2186:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2187:        el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
                   2188:        il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   2189:        kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
                   2190:        kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
                   2191:        nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
                   2192:        rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h,
                   2193:        smso=\E[3m, smul=\E[4m, tbc=\E[3g,
                   2194: # (screen3: removed unknown ":xv:LP:G0:" -- esr)
                   2195: screen3|VT 100/ANSI X3.64 virtual terminal,
                   2196:        km, mir, msgr,
                   2197:        cols#80, it#8, lines#24,
                   2198:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   2199:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2200:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2201:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   2202:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2203:        el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   2204:        il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
                   2205:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
                   2206:        kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   2207:        rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec,
                   2208:        sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,
                   2209:        smul=\E[4m, tbc=\E[3g,
                   2210:
                   2211: ######## WORKSTATION CONSOLES
                   2212: #
                   2213:
                   2214: #### Sun consoles
                   2215: #
                   2216:
                   2217: # :is1: resets scrolling region in case a previous user had used "tset vt100"
                   2218: oldsun|Sun Microsystems Workstation console,
                   2219:        am, km, mir, msgr,
                   2220:        cols#80, it#8, lines#34,
                   2221:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   2222:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   2223:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
                   2224:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   2225:        is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   2226:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
                   2227:        rmso=\E[m, sgr0=\E[m, smso=\E[7m,
                   2228: # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
1.4       tholo    2229: # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
                   2230: sun-il|Sun Microsystems console with working insert-line,
1.1       tholo    2231:        am, km, msgr,
                   2232:        cols#80, lines#34,
                   2233:        bel=^G, bold=\E[1m, clear=^L, cr=^M, cub1=^H, cud1=^J,
                   2234:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   2235:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2236:        el=\E[K, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   2237:        il1=\E[L, ind=^J, kb2=\E[218z, kbs=^H, kcub1=\E[D,
                   2238:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
                   2239:        kend=\E[220z, kf1=\E[224z, kf10=\E[233z, kf11=\E[234z,
                   2240:        kf12=\E[235z, kf2=\E[225z, kf3=\E[226z, kf4=\E[227z,
                   2241:        kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z,
                   2242:        kf9=\E[232z, khome=\E[214z, knp=\E[222z, kopt=\E[194z,
                   2243:        kpp=\E[216z, kres=\E[193z, kund=\E[195z, rev=\E[7m,
                   2244:        rmso=\E[m, rmul=\E[m, rs2=\E[s,
                   2245:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
                   2246:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1.4       tholo    2247: # On a SparcStation 5, <il1>/<il> flake out on the last line.
                   2248: # Unfortunately, without them the terminal has no way to scroll.
                   2249: sun-ss5|Sun SparcStation 5 console,
                   2250:        il@, il1@, use=sun-il,
                   2251: # If you are using an SS5, change the sun definition to use sun-ss5.
                   2252: sun|sun1|sun2|Sun Microsystems Inc. workstation console,
                   2253:        use=sun-il,
                   2254:
1.1       tholo    2255: # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
                   2256: sun-s|Sun Microsystems Workstation window with status line,
                   2257:        hs,
                   2258:        dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun,
                   2259: sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs,
                   2260:        hs,
                   2261:        dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,
                   2262: sun-48|Sun 48-line window,
                   2263:        cols#80, lines#48, use=sun,
                   2264: sun-34|Sun 34-line window,
                   2265:        cols#80, lines#34, use=sun,
                   2266: sun-24|Sun 24-line window,
                   2267:        cols#80, lines#24, use=sun,
                   2268: sun-17|Sun 17-line window,
                   2269:        cols#80, lines#17, use=sun,
                   2270: sun-12|Sun 12-line window,
                   2271:        cols#80, lines#12, use=sun,
                   2272: sun-1|Sun 1-line window for sysline,
                   2273:        eslok, hs,
                   2274:        cols#80, lines#1,
                   2275:        dsl=^L, fsl=\E[K, tsl=^M, use=sun,
                   2276: sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character,
                   2277:        ich1@, rmir@, smir@,
                   2278:        use=sun,
                   2279: sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,
1.4       tholo    2280:        lines#35,
                   2281:        rmcup=\E[>4h, smcup=\E[>4l, use=sun,
1.1       tholo    2282:
                   2283: #### Iris consoles
                   2284: #
                   2285:
                   2286: # (wsiris: this had extension capabilities
                   2287: #      :HS=\E7F2:HE=\E7F7:\
                   2288: #      :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
1.4       tholo    2289: # See the note on Iris extensions near the end of this file.
1.1       tholo    2290: # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> &
                   2291: # <flash> from BRL -- esr)
                   2292: wsiris|iris40|iris emulating a 40 line visual 50 (approximately),
                   2293:        am,
                   2294:        cols#80, it#8, lines#40,
1.4       tholo    2295:        bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB, cuf1=\EC,
1.1       tholo    2296:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E;,
                   2297:        dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK,
                   2298:        flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL,
1.4       tholo    2299:        ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB,
1.1       tholo    2300:        kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3,
                   2301:        kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI,
1.4       tholo    2302:        rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P,
                   2303:        smul=\E7R2\E9P,
1.1       tholo    2304:
                   2305: #### NeWS consoles
                   2306: #
                   2307: # Console terminal windows under the NeWS (Sun's Display Postscript windowing
                   2308: # environment).   Note: these have nothing to do with Sony's News workstation
                   2309: # line.
                   2310: #
                   2311:
                   2312: # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
                   2313: # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
                   2314: psterm|psterm-basic|NeWS psterm-80x34,
                   2315:        am, hs, km, ul,
                   2316:        cols#80, it#8, lines#34,
                   2317:        blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;,
                   2318:        cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY,
                   2319:        dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl,
                   2320:        home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D,
                   2321:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr,
                   2322:        ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^],
                   2323:        sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu,
                   2324:        tsl=\EOl,
                   2325: psterm-96x48|NeWS psterm 96x48,
                   2326:        cols#96, lines#48, use=psterm,
                   2327: psterm-90x28|NeWS psterm 90x28,
                   2328:        cols#90, lines#28, use=psterm,
                   2329: psterm-80x24|NeWS psterm 80x24,
                   2330:        cols#80, lines#24, use=psterm,
                   2331: # This is a faster termcap for psterm.  Warning:  if you use this termcap,
                   2332: # some control characters you type will do strange things to the screen.
                   2333: # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
                   2334: psterm-fast|NeWS psterm fast version (flaky ctrl chars),
                   2335:        am, hs, km, ul,
                   2336:        cols#80, it#8, lines#34,
                   2337:        blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;,
                   2338:        cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y,
                   2339:        dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I,
                   2340:        il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   2341:        kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni,
                   2342:        rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi,
                   2343:        smso=^Oo, smul=^Ou, tsl=^Ol,
                   2344:
                   2345: #### NeXT Consoles
                   2346: #
                   2347: # Use `glasstty' for the Workspace application
                   2348: #
                   2349:
                   2350: # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
                   2351: next|NeXT console,
                   2352:        am, xt,
                   2353:        cols#80, it#8, lines#24,
                   2354:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   2355:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                   2356:        ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   2357:        rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m,
                   2358: nextshell|NeXT Shell application,
                   2359:        am,
                   2360:        cols#80,
                   2361:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H,
                   2362:        kcud1=^J, nel=^M^J,
                   2363:
1.4       tholo    2364: ### Common Desktop Environment
                   2365: #
                   2366:
                   2367: # This ships with Sun's CDE in Solaris 2.5
                   2368: dtterm|CDE desktop terminal,
                   2369:        am, mir, msgr, xenl, xon,
                   2370:        colors#8, cols#80, it#8, lines#24, lm#0, pairs#64,
                   2371:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2372:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   2373:        clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
                   2374:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2375:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2376:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2377:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
                   2378:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
                   2379:        flash=\E[?5h$<200>\E[?5l, home=\E[H, ht=^I, hts=\EH,
                   2380:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   2381:        invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l, kbs=^H,
                   2382:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   2383:        kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
                   2384:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   2385:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   2386:        kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
                   2387:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   2388:        kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   2389:        kslt=\E[4~, nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
                   2390:        rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m,
                   2391:        rmul=\E[24m, sc=\E7, setab=\E[%p1%{40}%+%dm,
                   2392:        setaf=\E[%p1%{30}%+%dm,
                   2393:        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%;,
                   2394:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   2395:        smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
                   2396:
1.1       tholo    2397: ######## COMMON TERMINAL TYPES
                   2398: #
                   2399: # This section describes terminal classes and maker brands that are still
                   2400: # quite common, but have proprietary command sets not blessed by ANSI.
1.4       tholo    2401: #
1.1       tholo    2402:
                   2403: #### Altos
                   2404: #
                   2405: # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
                   2406: # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
                   2407: # Acer has a web site at http://www.acer.com.
                   2408: #
                   2409: # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
                   2410: # His comments suggest they were shipped with the system.
                   2411: #
                   2412:
                   2413: # (altos2: had extension capabilities
                   2414: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   2415: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   2416: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   2417: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   2418: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   2419: #      :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
                   2420: #      :HL=^AP\r:SP=\E[i:\
                   2421: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   2422: #      :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
                   2423: # Comparison with the k* capabilities makes it obvious that the c* things are
                   2424: # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
                   2425: # :sr: was given as a boolean-- esr)
                   2426: altos2|alt2|altos-2|altos II,
                   2427:        cols#80, it#8, lines#24, xmc#0,
                   2428:        clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C,
                   2429:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M,
                   2430:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   2431:        if=/usr/share/tabset/vt100, il1=\E[L, ind=^J,
                   2432:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r,
                   2433:        kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D,
                   2434:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r,
                   2435:        kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
                   2436:        kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
                   2437:        kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
                   2438:        kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   2439:        kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r,
                   2440:        nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   2441:        smam=\E[?7h, smso=\E[7m, smul=\E[4m,
                   2442: # (altos3: had extension capabilities
                   2443: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   2444: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   2445: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   2446: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   2447: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   2448: #      :HL=^AP\r:SP=\E[i:\
                   2449: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   2450: altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,
                   2451:        blink=\E[5p, ri=\EM, sgr0=\E[p,
                   2452:        use=altos2,
                   2453: altos4|alt4|altos-4|altos IV,
                   2454:        use=wy50,
                   2455: # (altos7: had extension capabilities:
                   2456: #      :GG#0:GI=\EH8:GF=\EH7:\
                   2457: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   2458: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   2459: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   2460: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   2461: # Comparison with the k* capabilities makes it obvious that the c* things are
                   2462: # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
1.4       tholo    2463: # also made this entry relative to adm12 in order to give it an <sgr>. The
1.1       tholo    2464: # <invis> imported by use=adm+sgr may work, let me know. -- esr)
                   2465: altos7|alt7|altos VII,
                   2466:        am, mir,
                   2467:        cols#80, lines#24, xmc#0,
1.4       tholo    2468:        acsc=l2m1k3j5t4u9v=w0q\:x6n8, blink=\EG2, bold=\EGt,
1.1       tholo    2469:        clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   2470:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   2471:        dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE,
                   2472:        ind=^J, invis=\EG1,
1.4       tholo    2473:        is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r,
                   2474:        kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H,
                   2475:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r,
                   2476:        kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
                   2477:        kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
                   2478:        kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
                   2479:        kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   2480:        kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r,
                   2481:        knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej,
                   2482:        rmir=\Er, smir=\Eq,
1.1       tholo    2483:        use=adm+sgr,
                   2484: altos7pc|alt7pc|altos PC VII,
                   2485:        kend=\ET, use=altos7,
                   2486:
                   2487: #### Hewlett-Packard (hp)
                   2488: #
                   2489: #      Hewlett-Packard
                   2490: #      8000 Foothills Blvd
                   2491: #      Roseville, CA 95747
                   2492: #      Vox: 1-(916)-785-4363   (Technical response line for VDTs)
                   2493: #           1-(800)-633-3600   (General customer support)
                   2494: #
                   2495:
                   2496: # Generic HP terminal - this should (hopefully) work on any HP terminal.
                   2497: hpgeneric|hp|hewlett-packard generic terminal,
                   2498:        am, da, db, mir, xhp,
                   2499:        cols#80, lines#24, lm#0, vt#6,
                   2500:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   2501:        cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM,
                   2502:        ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
                   2503:        ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@,
                   2504:        sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3,
                   2505:        vpa=\E&a%p1%dY,
                   2506:
                   2507: hp110|hewlett-packard model 110 portable,
                   2508:        lines#16, use=hpgeneric,
                   2509:
                   2510: hp+pfk+cr|hp function keys with CR,
                   2511:        kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r,
                   2512:        kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,
                   2513:
                   2514: hp+pfk-cr|hp function keys w/o CR,
                   2515:        kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,
                   2516:        kf8=\Ew,
                   2517:
1.4       tholo    2518: # The hp2621s use the same keys for the arrows and function keys,
1.1       tholo    2519: # but not separate escape sequences. These definitions allow the
                   2520: # user to use those keys as arrow keys rather than as function
                   2521: # keys.
                   2522: hp+pfk+arrows|hp alternate arrow definitions,
                   2523:        kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@,
                   2524:        kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r,
                   2525:        kll=\Eq\r, kri=\Es\r,
                   2526:
                   2527: hp+arrows|hp arrow definitions,
                   2528:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   2529:        kind=\ES, kll=\EF, kri=\ET,
                   2530:
                   2531: # Generic stuff from the HP 262x series
                   2532: #
                   2533: hp262x|HP 262x terminals,
                   2534:        xhp,
                   2535:        blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES,
                   2536:        invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   2537:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
                   2538:        kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET,
                   2539:        krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
                   2540:        sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c,
                   2541:        sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD,
                   2542:
1.4       tholo    2543: # Note: no <home> on HPs since that homes to top of memory, not screen.
1.1       tholo    2544: # Due to severe 2621 braindamage, the only way to get the arrow keys to
                   2545: # transmit anything at all is to turn on the function key labels
                   2546: # with <smkx>, and even then the user has to hold down shift!
                   2547: # The default 2621 turns off the labels except when it has to to
                   2548: # enable the function keys. If your installation prefers labels
                   2549: # on all the time, or off all the time (at the "expense" of the
1.4       tholo    2550: # function keys), use 2621-nl or 2621-wl.
                   2551: #
1.1       tholo    2552: # Note: there are newer ROMs for 2621's that allow you to set
                   2553: # strap A so the regular arrow keys xmit \EA, etc, as with the
                   2554: # 2645. However, even with this strap set, the terminal stops
                   2555: # xmitting if you reset it, until you unset and reset the strap!
                   2556: # Since there is no way to set/unset the strap with an escape
                   2557: # sequence, we don't use it in the default.
                   2558: # If you like, you can use 2621-ba (brain-damaged arrow keys).
1.4       tholo    2559: hp2621-ba|2621 w/new rom and strap A set,
                   2560:        rmkx@, smkx@, use=hp+arrows,
                   2561:        use=hp2621,
1.1       tholo    2562:
                   2563: # hp2621 with function labels. Most of the time they are off,
                   2564: # but inside vi, the function key labels appear. You have to
                   2565: # hold down shift to get them to xmit.
                   2566: hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,
                   2567:        is2=\E&jA\r, rmkx=\E&jA,
                   2568:        use=hp2621-fl,
1.4       tholo    2569: hp2621-fl|hp 2621,
1.1       tholo    2570:        xhp@, xon,
                   2571:        pb#19200,
                   2572:        cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>,
                   2573:        ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@,
                   2574:        sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD,
                   2575:        use=hp+pfk+cr, use=hpgeneric,
                   2576:
1.4       tholo    2577: # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
                   2578: hp2621p|hp 2621 with printer,
1.1       tholo    2579:        mc4=\E&p13C, mc5=\E&p11C, use=hp2621,
                   2580:
1.4       tholo    2581: hp2621p-a|hp2621p with fn as arrows,
1.1       tholo    2582:        use=hp+pfk+arrows, use=hp2621p,
                   2583:
                   2584: # hp2621 with k45 keyboard
1.4       tholo    2585: hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard,
1.1       tholo    2586:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   2587:        khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A,
                   2588:        use=hp2621,
                   2589:
                   2590: # 2621 using all 48 lines of memory, only 24 visible at any time.
                   2591: hp2621-48|48 line 2621,
                   2592:        lines#48,
                   2593:        cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, use=hp2621,
                   2594:
                   2595: # 2621 with no labels ever. Also prevents vi delays on escape.
                   2596: hp2621-nl|hp 2621 with no labels,
                   2597:        kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, use=hp2621-fl,
                   2598:
                   2599: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
                   2600: # (wrong).
                   2601: #
                   2602: hp2621-nt|hp 2621 w/no tabs,
                   2603:        ht@, use=hp2621,
                   2604:
                   2605: # Hp 2624 B with 4 or 10 pages of memory.
                   2606: #
                   2607: # Some assumptions are made with this entry. These settings are
                   2608: # NOT set up by the initialization strings.
                   2609: #
                   2610: # Port Configuration
                   2611: #      RecvPace=Xon/Xoff
                   2612: #      XmitPace=Xon/Xoff
                   2613: #      StripNulDel=Yes
                   2614: #
                   2615: # Terminal Configuration
                   2616: #      InhHndShk=Yes
                   2617: #      InhDC2=Yes
                   2618: #      XmitFnctn(A)=No
                   2619: #      InhEolWrp=No
                   2620: #
                   2621: # Note: the 2624 DOES have a true <home>, believe it or not!
                   2622: #
                   2623: # The 2624 has an "error line" to which messages can be sent.
                   2624: # This is CLOSE to what is expected for a "status line". However,
                   2625: # after a message is sent to the "error line", the next carriage
                   2626: # return is EATEN and the "error line" is turned back off again!
                   2627: # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
                   2628: #
                   2629: # This entry supports emacs (and any other program that uses raw
                   2630: # mode) at 4800 baud and less. I couldn't get the padding right
                   2631: # for 9600.
                   2632: #
                   2633: # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
1.4       tholo    2634: hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B,
1.1       tholo    2635:        da, db,
                   2636:        lm#96,
                   2637:        flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, use=hp+labels, use=scrhp,
                   2638:
                   2639: # This hp2626 entry does not use any of the fancy windowing stuff
                   2640: # of the 2626.
                   2641: #
                   2642: # Indeed, terminfo does not yet handle such stuff. Since changing
                   2643: # any window clears memory, it is probably not possible to use
                   2644: # this for screen opt.
                   2645: #
                   2646: # ed is incredibly slow most of the time - I am guessing at the
                   2647: # exact padding. Since the terminal uses xoff/xon this is intended
                   2648: # only for cost computation, so that the terminal will prefer el
                   2649: # or even dl1 which is probably faster!
                   2650: #
                   2651: # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
                   2652: # extra slow on the last line of the window.
                   2653: #
                   2654: # The padding probably should be changed.
                   2655: #
1.4       tholo    2656: hp2626|hp2626a|hp2626p|hp 2626,
1.1       tholo    2657:        da, db,
                   2658:        lm#0, pb#19200,
                   2659:        ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>,
                   2660:        is2=\E&j@\r, rin=\E&r%p1%dU,
                   2661:        use=hp+pfk+cr, use=hp+labels, use=scrhp,
                   2662:
                   2663: # This entry is for sysline. It allocates a 23 line window with
                   2664: # a 115 line workspace for regular use, and a 1 line window for
                   2665: # the status line.
                   2666: #
                   2667: # This assumes port 2 is being used.
                   2668: # Turn off horizontal line, Create ws #1 with 115 lines,
                   2669: # Create ws #2 with 1 line, Create window #1 lines 1-23,
                   2670: # Create window #2 lines 24-24, Attach cursor to workspace #1.
                   2671: # Note that this clears the tabs so it must be done by tset before
                   2672: # it sets the tabs.
                   2673: #
1.4       tholo    2674: hp2626-s|hp 2626 using only 23 lines,
1.1       tholo    2675:        eslok, hs,
                   2676:        lines#23,
                   2677:        fsl=\E&d@\E&w7f2p1I\E&w4f1I,
                   2678:        is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
                   2679:        tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC,
                   2680:        use=hp2626,
                   2681: # Force terminal back to 24 lines after being 23.
1.4       tholo    2682: hp2626-ns|hp 2626 using all 24 lines,
1.1       tholo    2683:        is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, use=hp2626,
                   2684: # Various entries useful for small windows on 2626.
1.4       tholo    2685: hp2626-12|hewlett-packard 2626 12 lines,
1.1       tholo    2686:        lines#12, use=hp2626,
1.4       tholo    2687: hp2626-12x40|hewlett-packard 2626 12 lines 40 columns,
1.1       tholo    2688:        cols#40, lines#12, use=hp2626,
1.4       tholo    2689: hp2626-x40|hewlett-packard 2626 40 columns,
1.1       tholo    2690:        cols#40, use=hp2626,
1.4       tholo    2691: hp2626-12-s|hewlett-packard 2626 11 lines plus status,
1.1       tholo    2692:        lines#11, use=hp2626-s,
                   2693:
                   2694: #
                   2695: # hp2627 color tubes from University of Wisconsin
                   2696: #
                   2697: hp2627a-rev|hp 2627 with reverse video colors,
                   2698:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   2699:        is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r,
                   2700:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@,
                   2701:        smul=\E&dD\E&v1S,
                   2702:        use=hp2621-nl,
1.4       tholo    2703: hp2627a|hp 2627 color terminal with no labels,
1.1       tholo    2704:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   2705:        is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r,
                   2706:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S,
                   2707:        rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S,
                   2708:        use=hp2621-nl,
                   2709: hp2627c|hp 2627 color (cyan) terminal with no labels,
                   2710:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   2711:        is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r,
                   2712:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   2713:        use=hp2627a,
                   2714:
1.4       tholo    2715: # hp2640a doesn't have the Y cursor addressing feature, and C is
1.1       tholo    2716: # memory relative instead of screen relative, as we need.
                   2717: #
1.4       tholo    2718: hp2640a|hp 2640a,
1.1       tholo    2719:        cup@, rmkx@, smkx@, use=hp2645,
                   2720:
                   2721: hp2640b|hp2644a|hp 264x series,
                   2722:        rmkx@, smkx@, use=hp2645,
                   2723:
1.4       tholo    2724: # (hp2641a: removed unknown :gu: -- esr)
                   2725: hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry,
                   2726:        am, da, db, mir, xhp,
                   2727:        cols#80, lines#24,
                   2728:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   2729:        cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,
                   2730:        ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I,
                   2731:        if=/usr/share/tabset/std, il1=\EL, ind=^J,
                   2732:        is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   2733:        rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB,
                   2734:        vpa=\E&a%p1%2dY,
                   2735:
1.1       tholo    2736: # This terminal should be used at 4800 baud or less. It needs padding for
                   2737: # plain characters at 9600, I guessed at an appropriate cr delay.  It really
                   2738: # wants ^E/^F handshaking, but that doesn't work well even if you write
                   2739: # software to support it.
                   2740: hp2645|hp45|HP 2645 series,
                   2741:        pb#9600,
                   2742:        blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED,
                   2743:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   2744:        ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL,
                   2745:        kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB,
                   2746:        rmkx=\E&s0A,
                   2747:        sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c,
                   2748:        sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD,
                   2749:        use=hpgeneric,
                   2750: # You should use this terminal at 4800 baud or less.
1.4       tholo    2751: hp2648|hp2648a|HP 2648a graphics terminal,
1.1       tholo    2752:        clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
                   2753:        dch1=\EP$<7>, ip=$<5>,
                   2754:        use=hp2645,
                   2755:
                   2756: # The HP 150 terminal is a fairly vanilla HP terminal, with the
                   2757: # clreol standout problem. It also has graphics capabilities and
                   2758: # a touch screen, which we don't describe here.
                   2759: hp150|hewlett packard Model 150,
                   2760:        use=hp2622,
                   2761:
1.4       tholo    2762: # HP 2382a terminals, "the little ones." They don't have any
1.1       tholo    2763: # alternate character set support and sending out ^N/^O will
                   2764: # leave the screen blank.
                   2765: hp2382a|hp2382|hewlett packard 2382a,
                   2766:        da, db,
                   2767:        lh#1, lm#48,
                   2768:        acsc@,
                   2769:        pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
                   2770:        rmacs@,
                   2771:        sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c,
                   2772:        sgr0=\E&d@, smacs@,
                   2773:        use=hp+labels, use=scrhp,
                   2774:
1.4       tholo    2775: hp2621-a|hp2621a-a|hp2621 with fn as arrows,
1.1       tholo    2776:        use=hp+pfk+arrows, use=hp2621-fl,
                   2777:
                   2778: # newer hewlett packard terminals
                   2779:
                   2780: newhpkeyboard|generic entry for HP extended keyboard,
                   2781:        kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   2782:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
                   2783:        kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV,
                   2784:        kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A,
                   2785:        use=hp+pfk-cr,
                   2786:
                   2787: newhp|generic entry for new hewlett packard terminals,
                   2788:        am, bw, mir, xhp, xon,
                   2789:        cols#80, lines#24, pb#4800,
1.4       tholo    2790:        acsc=T1R!U2S"W3O#V4P$t5u6w7v8\:'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\:4>q\,x.n/,
1.1       tholo    2791:        bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H,
                   2792:        cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH,
                   2793:        dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J,
                   2794:        invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J,
                   2795:        pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,
                   2796:        pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,
                   2797:        pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET,
                   2798:        rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg,
                   2799:        sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c%?%p9%t\016%e\017%;,
                   2800:        sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,
                   2801:        tbc=\E3,
                   2802:        use=newhpkeyboard,
                   2803:
                   2804: memhp|memory relative addressing for new HP ttys,
                   2805:        vt#6,
                   2806:        clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR,
                   2807:        cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR,
                   2808:        home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r,
                   2809:        mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp,
                   2810:
                   2811: scrhp|screen relative addressing for new HP ttys,
                   2812:        clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC,
                   2813:        cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC,
                   2814:        cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR,
                   2815:        home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA,
                   2816:        mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp,
                   2817:
1.4       tholo    2818: # (hp+labels: added label values from a BRL termcap -- esr)
1.1       tholo    2819: hp+labels|"standard" label info for new HP ttys,
                   2820:        lh#2, lw#8, nlab#8,
1.4       tholo    2821:        lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8,
1.1       tholo    2822:        pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
                   2823:        rmln=\E&j@, smln=\E&jB,
                   2824:
                   2825: hp+printer|"standard" printer info for HP ttys,
                   2826:        ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,
                   2827:
                   2828:
                   2829: # The new hp2621b is kind of a cross between the old 2621 and the
                   2830: # new 262x series of machines. It has dip-switched options.
                   2831: # The firmware has a bug in it such that if you give it a null
                   2832: # length label, the following character is eaten!
1.4       tholo    2833: hp2621b|hp 2621b with old style keyboard,
1.1       tholo    2834:        lh#1, lm#48, lw#8, nlab#8,
                   2835:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   2836:        kind=\ET, kll=\EF, kri=\ES,
                   2837:        pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%'o'%p1%+%c\r,
                   2838:        smln=\E&jB,
                   2839:        use=hp2621,
                   2840:
1.4       tholo    2841: hp2621b-p|hp 2621b with printer,
1.1       tholo    2842:        use=hp+printer, use=hp2621b,
                   2843:
                   2844: # hp2621b - new 2621b with new extended keyboard
                   2845: # these are closer to the new 26xx series than the other 2621b
1.4       tholo    2846: hp2621b-kx|hp 2621b with extended keyboard,
1.1       tholo    2847:        use=newhpkeyboard, use=hp2621b,
                   2848:
1.4       tholo    2849: hp2621b-kx-p|hp 2621b with new keyboard & printer,
1.1       tholo    2850:        use=hp+printer, use=hp2621b-kx,
                   2851:
                   2852: # Some assumptions are made in the following entries.
                   2853: # These settings are NOT set up by the initialization strings.
                   2854: #
                   2855: #    Port Configuration
                   2856: # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff       StripNulDel=Yes
                   2857: #
                   2858: #    Terminal Configuration
                   2859: # InhHndShk(G)=Yes     InhDC2(H)=Yes
                   2860: # XmitFnctn(A)=No              InhEolWrp=No
                   2861: #
                   2862: #
                   2863: # Hp 2622a & hp2623a display and graphics terminals
                   2864: #
1.4       tholo    2865: hp2622|hp2622a|hp 2622,
1.1       tholo    2866:        da, db,
                   2867:        lm#0, pb#19200,
                   2868:        is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp,
                   2869:
                   2870: # The 2623 is a 2622 with extra graphics hardware.
1.4       tholo    2871: hp2623|hp2623a|hp 2623,
1.1       tholo    2872:        use=hp2622,
                   2873:
                   2874: hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer,
                   2875:        use=hp+printer, use=hp2624,
                   2876:
                   2877: # The hewlett packard B can have an optional extra 6 pages of memory.
1.4       tholo    2878: hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory,
1.1       tholo    2879:        lm#240, use=hp2624,
                   2880:
                   2881: hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,
                   2882:        lm#240, use=hp2624b-p,
                   2883:
                   2884: # Color manipulations for HP terminals
                   2885: hp+color|hp with colors,
                   2886:        ccc,
                   2887:        colors#16, ncv#17, pairs#7,
                   2888:        initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a\n%?%p3%{1000}%=%t1%e.%p3%d%;b\n%?%p4%{1000}%=%t1%e.%p4%d%;c\n%?%p5%{1000}%=%t1%e.%p5%d%;x\n%?%p6%{1000}%=%t1%e.%p6%d%;y\n%?%p7%{1000}%=%t1%e.%p7%d%;z\n%p1%dI,
                   2889:        oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
                   2890:        op=\E&v0S, scp=\E&v%p1%dS,
                   2891:
                   2892: # <is2> sets the screen to be 80 columns wide
1.4       tholo    2893: hp2397a|hp2397|hewlett packard 2397A color terminal,
1.1       tholo    2894:        is2=\E&w6f80X,
                   2895:        use=memhp, use=hp+labels, use=hp+color,
                   2896:
                   2897: #  HP 700/44 Setup parameters:
                   2898: # Terminal Mode                HP-PCterm
                   2899: # Inhibit Auto Wrap    NO
                   2900: # Status Line          Host Writable
                   2901: # PC Character Set     YES
                   2902: # Twenty-Five Line Mode        YES
                   2903: # XON/XOFF             @128 or 64 (sc)
                   2904: # Keycode Mode                 NO   or YES (sc)
                   2905: # Backspace Key                BS or BS/DEL
                   2906: #
                   2907: # <is2>        sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
                   2908: # \E\\? does not turn off keycode mode
                   2909: # <smsc>       sets alternate start/stop; keycode on
                   2910: hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,
                   2911:        am, eo, xenl, xon,
                   2912:        cols#80, lines#25,
                   2913:        acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263,
                   2914:        bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H,
                   2915:        cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   2916:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   2917:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
                   2918:        ind=^J,
                   2919:        is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\,
                   2920:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   2921:        kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
                   2922:        kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~,
                   2923:        kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~,
                   2924:        kpp=\E[5~, rmam=\E[?7l,
                   2925:        rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m,
                   2926:        rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
                   2927:        smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m,
                   2928:        smul=\E[4m, xoffc=g, xonc=e,
                   2929: #
1.4       tholo    2930: # (hp2392: copied <rmir> here from hpex -- esr)
                   2931: hp2392|239x series,
1.1       tholo    2932:        cols#80,
                   2933:        cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r,
                   2934:        kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,
                   2935:        kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV,
1.4       tholo    2936:        rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY,
1.1       tholo    2937:        use=hpsub,
                   2938:
                   2939: hpsub|hp terminals -- capability subset,
                   2940:        am, da, db, mir, xhp, xon,
                   2941:        lines#24,
                   2942:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   2943:        cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
                   2944:        ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J,
                   2945:        is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB,
1.4       tholo    2946:        kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@,
                   2947:        sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB,
1.1       tholo    2948:
                   2949: # hpex:
                   2950: #      May be used for most 24 x 80 hp terminals,
                   2951: # but has no padding added, so may allow runover in some terminals at high
1.4       tholo    2952: # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
                   2953: # hp98x5 terminal emulators or hp98x6 consoles.
1.1       tholo    2954: #      Adds xy-cursor addressing, vertical cursor addressing, home,
                   2955: # last line, and underline capabilities.
                   2956: #
1.4       tholo    2957: # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
                   2958: # moved <rmir> here from hpsub -- esr)
1.1       tholo    2959: hpex|hp extended capabilites,
                   2960:        cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H,
1.4       tholo    2961:        kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ,
1.1       tholo    2962:        smul=\E&dD, vpa=\E&a%p1%dY,
                   2963:        use=hpsub,
                   2964:
1.4       tholo    2965: # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
                   2966: hp2|hpex2|hewlett-packard extended capabilities newer version,
                   2967:        am, da, db, mir, xhp,
                   2968:        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0,
                   2969:        bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
                   2970:        cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
                   2971:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
                   2972:        il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
                   2973:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   2974:        ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
                   2975:        kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
                   2976:        kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
                   2977:        krmir=\ER, ktbc=\E3, meml=\El, memu=\Em,
                   2978:        pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
                   2979:        pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
                   2980:        pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
                   2981:        pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A,
                   2982:        rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
                   2983:        sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
                   2984:        sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB,
                   2985:        smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   2986:
1.1       tholo    2987: # HP 236 console
                   2988: # From: <ddavis@ic.berkeley.edu>
                   2989: hp236|hp236 internal terminal emulator,
                   2990:        am,
                   2991:        cols#80, lines#24,
                   2992:        clear=\EF, cnorm=\EDE, cub1=^H,
                   2993:        cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB,
                   2994:        dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI,
                   2995:        sgr0=\ECI, smso=\EBI,
                   2996:
                   2997: # This works on a hp300 console running Utah 4.3 BSD
                   2998: # From: Craig Leres <leres@okeeffe.berkeley.edu>
                   2999: hp300h|HP Catseye console,
                   3000:        am, da, db, mir, xhp,
                   3001:        cols#128, lines#51, lm#0, xmc#0,
                   3002:        bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
                   3003:        cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
                   3004:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I,
                   3005:        if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H,
                   3006:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   3007:        rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@,
                   3008:        smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3,
                   3009:        vpa=\E&a%p1%dY,
                   3010: # From: Greg Couch <gregc@ernie.berkeley.edu>
                   3011: hp9837|hp98720|hp98721|HP 9000/300 workstations,
                   3012:        am, da, db, mir, xhp,
                   3013:        cols#128, it#8, lines#46, lm#0,
                   3014:        bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB,
                   3015:        cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
                   3016:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
                   3017:        il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED,
                   3018:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   3019:        ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU,
                   3020:        kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@,
                   3021:        sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD,
                   3022:        tbc=\E3, vpa=\E&a%p1%dY,
1.4       tholo    3023: # HP 9845 desktop computer from BRL
                   3024: # (hp9845: removed unknown capability :gu: -- esr)
                   3025: hp9845|HP 9845,
                   3026:        am, da, db, eo, mir, xhp,
                   3027:        cols#80, lines#21,
                   3028:        clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA,
                   3029:        dch1=\EP, dl1=\EM, ed=\EJ, el=\EK,
                   3030:        if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@,
                   3031:        smir=\EQ, smso=\E&dB,
1.1       tholo    3032: # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
                   3033: # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
                   3034: # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
                   3035: hp98550|hp98550a|HP 9000 Series 300 color console,
                   3036:        am, da, db, mir, xhp,
                   3037:        cols#128, it#8, lines#49, lm#0,
                   3038:        acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR,
                   3039:        clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   3040:        cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
                   3041:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
                   3042:        if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds,
                   3043:        kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   3044:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
                   3045:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   3046:        khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
                   3047:        knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ,
                   3048:        rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
                   3049:        sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ,
                   3050:        smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   3051: # From: Victor Duchovni <vic@fine.princeton.edu>
                   3052: # (hp700-wy: removed obsolete ":nl=^J:";
                   3053: # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
                   3054: hp700-wy|HP700/41 emulating wyse30,
                   3055:        am, bw, mir, msgr,
                   3056:        cols#80, it#8, lines#24, xmc#1,
                   3057:        cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
                   3058:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   3059:        dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1,
                   3060:        if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>,
                   3061:        is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI,
                   3062:        kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY,
                   3063:        kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K,
                   3064:        ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
                   3065:        sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
                   3066:        smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
                   3067: # (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
1.4       tholo    3068: hp70092|hp70092a|hp70092A|HP 700/92,
1.1       tholo    3069:        am, da, db, xhp,
                   3070:        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
                   3071:        acsc=, bel=^G, blink=\E&dA, bold=\E&dB, cbt=\Ei,
                   3072:        clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   3073:        cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
                   3074:        dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
                   3075:        kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   3076:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
                   3077:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   3078:        khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
                   3079:        knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dB,
                   3080:        ri=\ET, rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@,
                   3081:        rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smacs=^N, smir=\EQ,
                   3082:        smkx=\E&s1A, smln=\E&jB, smso=\E&dJ, smul=\E&dD, tbc=\E3,
                   3083:        vpa=\E&a%p1%dY,
                   3084:
                   3085: bobcat|sbobcat|HP 9000 model 300 console,
                   3086:        am, da, db, mir, xhp,
                   3087:        cols#128, it#8, lines#47, xmc#0,
                   3088:        cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   3089:        cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>,
                   3090:        ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>,
                   3091:        ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   3092:        khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@,
                   3093:        rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB,
                   3094:        smul=\E&dD, vpa=\E&a%dY$<6/>,
                   3095: gator-t|HP 9000 model 237 emulating extra-tall AAA,
                   3096:        lines#94, use=gator,
                   3097: gator|HP 9000 model 237 emulating AAA,
                   3098:        bw, km, mir, ul,
                   3099:        cols#128, it#8, lines#47,
                   3100:        bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J,
                   3101:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM,
                   3102:        dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>,
                   3103:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`,
                   3104:        ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>,
                   3105:        il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   3106:        rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m,
                   3107:        rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   3108: gator-52|HP 9000 model 237 emulating VT52,
                   3109:        cols#128, lines#47, use=vt52,
                   3110: gator-52t|HP 9000 model 237 emulating extra-tall VT52,
                   3111:        lines#94, use=gator-52,
                   3112:
                   3113: #### Honeywell-Bull
                   3114: #
                   3115: # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
                   3116: #
                   3117:
                   3118: # Honeywell Bull terminal.  Its cursor and function keys send single
                   3119: # control characters and it has standout/underline glitch.  Most programs
                   3120: # do not like these features/bugs.  Visual bell is realized by flashing the
                   3121: # "keyboard locked" LED.
                   3122: dku7003-dumb|Honeywell Bull DKU 7003 dumb mode,
                   3123:        cols#80, lines#25,
                   3124:        clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X,
                   3125:        cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K,
                   3126:        flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y,
                   3127:        kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J,
                   3128: dku7003|Honeywell Bull DKU 7003 all features described,
                   3129:        msgr,
                   3130:        xmc#1,
                   3131:        blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m,
                   3132:        rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   3133:        use=dku7003-dumb,
                   3134:
                   3135: #### Lear-Siegler (adm)
                   3136: #
                   3137: # These guys are long since out of the terminals business, but
                   3138: # in 1995 many current terminals still have an adm type as one of their
                   3139: # emulations (usually their stupidest, and usually labeled adm3, though
                   3140: # these `adm3' emulations normally have adm3a+ capabilities).
                   3141: #
                   3142: # WARNING: Some early ADM terminals (including the ADM3 and ADM5) are
                   3143: # reputed to have had the weird `feature' that sending them a ^G would trigger
                   3144: # a diagnostic dump to screen if one of the more obscure RS-232 pins
                   3145: # (variously reported as 22 or as `Ring Indicator') was being held high during
                   3146: # receipt of the ^G.  If you have a real ADM and think you've run into this,
                   3147: # check it out with a breakout box and tell us if this rumor is correct!
                   3148: # A quick fix might be to drop back to a cheesy 4-wire cable.
                   3149: #
                   3150:
                   3151: adm1a|adm1|lsi adm1a,
                   3152:        am,
                   3153:        cols#80, lines#24,
                   3154:        bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3155:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^,
                   3156:        ind=^J,
                   3157: adm2|lsi adm2,
                   3158:        am,
                   3159:        cols#80, lines#24,
                   3160:        bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3161:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   3162:        dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J,
                   3163:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   3164: # (adm3: removed obsolete ":ma=^K^P:" -- esr)
                   3165: adm3|lsi adm3,
                   3166:        am,
                   3167:        cols#80, lines#24,
                   3168:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   3169: # The following ADM-3A switch settings are assumed for normal operation:
                   3170: #      SPACE           U/L_DISP        CLR_SCRN        24_LINE
                   3171: #      CUR_CTL         LC_EN           AUTO_NL         FDX
                   3172: # Other switches may be set for operator convenience or communication
                   3173: # requirements.  I recommend
                   3174: #      DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
                   3175: #      ETX_OFF         EOT_OFF
                   3176: # Most of these terminals required an option ROM to support lower case display.
                   3177: # Open the case and look at the motherboard; if you see an open 24-pin DIP
                   3178: # socket, you may be out of luck.
                   3179: #
1.4       tholo    3180: # (adm3a: some capabilities merged in from BRl entry -- esr)
1.1       tholo    3181: adm3a|lsi adm3a,
                   3182:        am,
                   3183:        cols#80, lines#24,
1.4       tholo    3184:        bel=^G, clear=\032$<1/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
1.1       tholo    3185:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^,
1.4       tholo    3186:        ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rs1=^N,
1.1       tholo    3187: adm3a+|adm3a plus,
1.4       tholo    3188:        kbs=^H, use=adm3a,
1.1       tholo    3189: # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
                   3190: adm5|lsi adm5,
                   3191:        xmc#1,
                   3192:        bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^,
                   3193:        rmso=\EG, smso=\EG,
                   3194:        use=adm3a+,
1.4       tholo    3195: # A lot of terminals other than adm11s use these.  Wherever you see
1.1       tholo    3196: # use=adm+sgr with some of its capabilities disabled, try the
                   3197: # disabled ones.  They may well work but not have been documented or
                   3198: # expressed in the using entry.  We'd like to cook up an <sgr> but the
                   3199: # <rmacs>/<smacs> sequences of the using entries vary too much.
                   3200: adm+sgr|adm style highlight capabilities,
                   3201:        invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0,
                   3202:        smso=\EG4, smul=\EG8,
                   3203: # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
                   3204: # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
                   3205: # <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
                   3206: # be ^Z, according to his entry.
                   3207: # (adm11: <smul>=\EG4 was obviously erroneous because it also said
                   3208: # <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
                   3209: adm11|LSI ADM-11,
                   3210:        am, hs,
                   3211:        cols#80, lines#24,
                   3212:        bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H, cud1=^J,
                   3213:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3214:        dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I, kbs=^H,
                   3215:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf2=^AA\r,
                   3216:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   3217:        kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E),
                   3218:        use=adm+sgr,
                   3219: # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
                   3220: # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
                   3221: # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
                   3222: # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
1.4       tholo    3223: # via BRL.  That entry asserted <xmc#1>, but I've left that out because
                   3224: # neither earlier nor later ADMSs have it -- esr)
1.1       tholo    3225: adm12|lsi adm12,
                   3226:        am, mir,
1.4       tholo    3227:        cols#80, it#8, lines#24,
1.1       tholo    3228:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3229:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.4       tholo    3230:        dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
1.1       tholo    3231:        is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1,
                   3232:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
                   3233:        kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
1.4       tholo    3234:        kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0,
1.1       tholo    3235:        use=adm+sgr,
                   3236: # (adm20: removed obsolete ":kn#7:" -- esr)
                   3237: adm20|lear siegler adm20,
                   3238:        am,
                   3239:        cols#80, it#8, lines#24,
                   3240:        bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L,
                   3241:        cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW,
                   3242:        dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE,
                   3243:        kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(,
                   3244:        sgr0=\E(, smso=\E),
                   3245: adm21|lear siegler adm21,
                   3246:        xmc#1,
                   3247:        bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET,
                   3248:        ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H,
                   3249:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   3250:        use=adm+sgr, use=adm3a,
                   3251: # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
                   3252: # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
                   3253: # removed bogus-looking \200 from before <cup>. -- esr)
                   3254: adm22|lsi adm22,
                   3255:        am,
                   3256:        cols#80, lines#24,
                   3257:        bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3258:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   3259:        dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE,
                   3260:        is2=\E%\014\014\014\016\003\200\003\002\003\002\200\200\200\200\200\200\200\200\200\200\200,
                   3261:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
                   3262:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   3263:        kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   3264:        lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E),
                   3265: # ADM 31 DIP Switches
                   3266: #
                   3267: # This information comes from two versions of the manual for the
                   3268: # Lear-Siegler ADM 31.
                   3269: #
                   3270: # Main board:
                   3271: #                  rear of case
                   3272: #   +-||||-------------------------------------+
                   3273: #   + S1S2                              ||S    +
                   3274: #   +                                   ||3    +
                   3275: #   +                                          +
                   3276: #   +                                ||S       +
                   3277: #   +                                ||4       +
                   3278: #   +                                          +
                   3279: #   +                                          +
                   3280: #   +                                          +
                   3281: #   +                                          +
                   3282: #   +                                          +
                   3283: # +-+                                          +-+
                   3284: # +                                              +
                   3285: # +                               S5 S6 S7       +
                   3286: # +                               == == ==       +
                   3287: # +----------------------------------------------+
                   3288: #            front of case (keyboard)
                   3289: #
                   3290: #  S1 - Data Rate - Modem
                   3291: #  S2 - Data Rate - Printer
                   3292: # ------------------------
                   3293: # Data Rate   Setting
                   3294: # -------------------
                   3295: # 50          0 0 0 0
                   3296: # 75          1 0 0 0
                   3297: # 110         0 1 0 0
                   3298: # 134.5       1 1 0 0
                   3299: # 150         0 0 1 0
                   3300: # 300         1 0 1 0
                   3301: # 600         0 1 1 0
                   3302: # 1200        1 1 1 0
                   3303: # 1800        0 0 0 1
                   3304: # 2000        1 0 0 1
                   3305: # 2400        0 1 0 1
                   3306: # 3600        1 1 0 1
                   3307: # 4800        0 0 1 1
                   3308: # 7200        1 0 1 1
                   3309: # 9600        0 1 1 1
                   3310: # x           1 1 1 1
                   3311: #
                   3312: # S3 - Interface/Printer/Attributes
                   3313: # ---------------------------------
                   3314: # Printer Busy Control
                   3315: # sw1   sw2   sw3
                   3316: # ---------------
                   3317: # off   off   off   Busy not active, CD disabled
                   3318: # off   off   on    Busy not active, CD enabled
                   3319: # off   on    off   Busy active on J5-20, CD disabled
                   3320: # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
                   3321: # on    off   on    Busy active on J5-19, CD enabled
                   3322: #
                   3323: # sw4   Used in conjuction with S4 for comm interface control - Fact 0
                   3324: #
                   3325: # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
                   3326: #
                   3327: # sw6   ON enables printer BUSY active LOW - Factory Setting
                   3328: #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
                   3329: #
                   3330: # sw7   ON - steady cursor - Factory Setting
                   3331: #       OFF - blinking cursor
                   3332: #
                   3333: # sw8   ON causes selected attribute character to be displayed
                   3334: #       OFF causes SPACE to be displayed instead - Factory Setting
                   3335: #
                   3336: # S4 - Interface
                   3337: # --------------
                   3338: # Modem Interface
                   3339: # S3    S4    S4    S4    S4
                   3340: # sw4   sw1   sw2   sw3   sw4
                   3341: # ---------------------------
                   3342: # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
                   3343: #                               Current Loop disabled - Factory Setting
                   3344: # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
                   3345: #                               disabled
                   3346: # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
                   3347: #                               Current Loop Disabled
                   3348: #
                   3349: # sw5   ON disables dot stretching mode - Factory Setting
                   3350: #       OFF enables dot stretching mode
                   3351: # sw6   ON enables blanking function
                   3352: #       OFF enables underline function - Factory Setting
                   3353: # sw7   ON causes NULLS to be displayed as NULLS
                   3354: #       OFF causes NULLS to be displayed as SPACES - Factory Setting
                   3355: #
                   3356: # S5 - Word Structure
                   3357: # -------------------
                   3358: # sw1   ON enables BREAK key - Factory Setting
                   3359: #       OFF disables BREAK key
                   3360: # sw2   ON selects 50Hz monitor refresh rate
                   3361: #       OFF selects 60Hz monitor refresh rate - Factory Setting
                   3362: #
                   3363: # Modem Port Selection
                   3364: # sw3   sw4   sw5
                   3365: # ---------------
                   3366: # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
                   3367: # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
                   3368: # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
                   3369: # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
                   3370: # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
                   3371: # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
                   3372: # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
                   3373: # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
                   3374: #
                   3375: # sw6   ON  sends bit 8 a 1 (mark)
                   3376: #       OFF sends bit 8 as 0 (space) - Factory Setting
                   3377: # sw7   ON  selects Block Mode
                   3378: #       OFF selects Conversation Mode - Factory Setting
                   3379: # sw8   ON  selects Full Duplex operation
                   3380: #       OFF selects Half Duplex operation - Factory Setting
                   3381: #
                   3382: # S6 - Printer
                   3383: # ------------
                   3384: # sw1, sw2, sw6, sw7   Reserved - Factory 0
                   3385: #
                   3386: # Printer Port Selection
                   3387: # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
                   3388: #
                   3389: # sw8   ON   enables Printer Port
                   3390: #       OFF disables Printer Port - Factory Setting
                   3391: #
                   3392: # S7 - Polling Address
                   3393: # --------------------
                   3394: # sw1-7 Establish ASCII character which designates terminal polling address
                   3395: #       ON  = logic 0
                   3396: #       OFF = logic 1 - Factory Setting
                   3397: # sw8   ON   enables Polling Option
                   3398: #       OFF disables Polling Option - Factory Setting
                   3399: #
                   3400: #
1.4       tholo    3401: # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
1.1       tholo    3402: #
                   3403: # This adm31 entry uses underline as the standout mode.
                   3404: # If the adm31 gives you trouble with standout mode, check the DIP switch in
                   3405: # position 6, bank @c11, 25% from back end of the circuit board.  Should be
                   3406: # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
                   3407: # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
                   3408: adm31|lsi adm31 with sw6 set for underline mode,
                   3409:        am, mir,
                   3410:        cols#80, lines#24,
                   3411:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3412:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   3413:        dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0,
                   3414:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
                   3415:        kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
                   3416:        kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0,
                   3417:        rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1,
                   3418: adm31-old|o31|old adm31,
                   3419:        rmul@, smso=\EG4, smul@, use=adm31,
1.4       tholo    3420: # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
                   3421: adm36|LSI ADM36,
                   3422:        if=/usr/lib/tabset/vt100,
                   3423:        is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l, use=vt100,
1.1       tholo    3424: # (adm42: removed obsolete ":ma=^K^P:" -- esr)
                   3425: adm42|lsi adm42,
                   3426:        am,
                   3427:        cols#80, lines#24,
                   3428:        bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3429:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3430:        cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I,
                   3431:        il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J,
                   3432:        kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@,
                   3433:        smir=\Eq, smul@,
                   3434:        use=adm+sgr,
                   3435: # The following termcap for the Lear Siegler ADM-42 leaves the
                   3436: # "system line" at the bottom of the screen blank (for those who
                   3437: # find it distracting otherwise)
                   3438: adm42-ns|lsi adm-42 with no system line,
                   3439:        cbt=\EI\EF \011, clear=\E;\EF \011,
                   3440:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011,
                   3441:        dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011,
                   3442:        el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011,
                   3443:        smir=\Eq\EF \011,
                   3444:        use=adm42,
                   3445: # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
                   3446: # The insert mode of this terminal is commented out because it's broken for our
                   3447: # purposes in that it will shift the position of every character on the page,
                   3448: # not just the cursor line!
                   3449: # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
                   3450: adm1178|1178|lsi adm1178,
                   3451:        am,
                   3452:        cols#80, lines#24, xmc#1,
                   3453:        bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J,
                   3454:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3455:        cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET,
                   3456:        home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H,
                   3457:        kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0,
                   3458:        sgr0=\E), smso=\EG4, smul=\EG1,
                   3459:
                   3460: #### Prime
                   3461: #
                   3462: # Yes, Prime makes terminals.  These entries were posted by Kevin J. Cummings
                   3463: # <cummings@primerd.Prime.COM> on 14 Dec 1992 and lightly edited by esr.
                   3464: #
                   3465:
                   3466: # Standout mode is dim reverse-video.
                   3467: pt100|pt200|wren|fenix|prime pt100/pt200,
                   3468:        am, bw, mir, msgr,
                   3469:        cols#80, it#8, lines#24,
                   3470:        cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   3471:        cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,
                   3472:        cup=\E0%p1%'!'%+%c%p2%'!'%+%c, cuu=\E[%p1%dA, cuu1=\EM,
                   3473:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M, ed=\E[J\E[r,
                   3474:        el=\E[K\E[t, flash=\E$$<200/>\E$P, home=\E$B, ht=^I,
                   3475:        il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
1.4       tholo    3476:        kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, rmcup=,
                   3477:        rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
1.1       tholo    3478:        smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q,
                   3479:        smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m,
                   3480: pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode,
                   3481:        cols#132,
                   3482:        cup=\E[%i%p1%d;%p2%dH, use=pt100,
                   3483: pt250|Prime PT250,
                   3484:        rmso@, smso@, use=pt100,
                   3485: pt250w|Prime PT250 in 132-column mode,
                   3486:        rmso@, smso@, use=pt100w,
                   3487:
                   3488: #### Qume (qvt)
                   3489: #
                   3490: #      Qume, Inc.
                   3491: #      3475-A North 1st Street
                   3492: #      San Jose CA 95134
                   3493: #      Vox: (800)-457-4447
                   3494: #      Fax: (408)-473-1510
                   3495: #      Net: josed@techsupp.wyse.com (Jose D'Oliveira)
                   3496: #
                   3497: # Qume was bought by Wyse, but still (as of early 1995) has its own support
                   3498: # group and production division.
                   3499: #
                   3500: # Discontinued Qume models:
                   3501: #
                   3502: # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
                   3503: # built to replace them, and a qvt119+ which was a 101+ with available wide
                   3504: # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
                   3505: # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
                   3506: # ANSI-compatible terminals with the qvt323 and qvt61.
                   3507: #
                   3508: # Current Qume models (as of February 1995):
                   3509: #
                   3510: # All current Qume terminals have ANSI-compatible operation modes.
                   3511: # Qume is still producing the qvt62, which features emulations for other
                   3512: # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
                   3513: # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
                   3514: # with many emulations including Wyse370, Wyse 325, etc.  Their newest
                   3515: # model is the qvt520, which is vt420-compatible.
                   3516: #
                   3517: # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
                   3518:
                   3519: qvt101|qvt108|qume qvt 101 and QVT 108,
                   3520:        xmc#1, use=qvt101+,
                   3521:
                   3522: # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
                   3523: # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked
                   3524: # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
                   3525: # What seems to be going on here is that this entry was designed so that
                   3526: # the normal highlight is bold and standout is dim plus something else
                   3527: # (reverse-video maybe?  But then, are there two <rev> sequences?)
                   3528: qvt101+|qvt101p|qume qvt 101 PLUS product,
                   3529:        am, bw, hs, ul,
                   3530:        cols#80, lines#24, xmc#0,
                   3531:        bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J,
                   3532:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3533:        dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
                   3534:        flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
                   3535:        ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H,
                   3536:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET,
                   3537:        kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   3538:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   3539:        khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(,
                   3540:        smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef,
                   3541:        use=adm+sgr,
                   3542: qvt102|qume qvt 102,
                   3543:        cnorm=\E., use=qvt101,
                   3544: # (qvt103: added <rmam>/<smam> based on init string -- esr)
                   3545: qvt103|qume qvt 103,
                   3546:        am, xenl, xon,
                   3547:        cols#80, it#8, lines#24, vt#3,
                   3548:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   3549:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   3550:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   3551:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   3552:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   3553:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   3554:        hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   3555:        kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8,
                   3556:        rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>,
                   3557:        rmso=\E[m$<2>, rmul=\E[m$<2>,
                   3558:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   3559:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   3560:        sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=,
                   3561:        smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   3562: qvt103-w|qume qvt103 132 cols,
                   3563:        cols#132, lines#24,
                   3564:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103,
                   3565: qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals,
                   3566:        am, hs, mir, msgr,
                   3567:        cols#80, lines#24, xmc#0,
                   3568:        bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H,
                   3569:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   3570:        cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey,
                   3571:        el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I,
                   3572:        hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX,
                   3573:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r,
                   3574:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   3575:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   3576:        mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8,
                   3577:        tbc=\E3, tsl=\Eg\Ef,
                   3578:        use=adm+sgr,
                   3579: qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines,
                   3580:        lines#25, use=qvt119+,
                   3581: qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode,
                   3582:        cols#132,
                   3583:        is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+,
                   3584: qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25,
                   3585:        lines#25, use=qvt119+,
                   3586: qvt203|qvt203+|qume qvt 203 Plus,
                   3587:        dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
                   3588:        ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
                   3589:        kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
                   3590:        kf9=\E[28~, rmir=\E[4l, smir=\E[4h,
                   3591:        use=qvt103,
                   3592: qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video),
                   3593:        cols#132, lines#24,
                   3594:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203,
                   3595: #
                   3596: #      Since a command is present for enabling 25 data lines,
                   3597: #      a specific terminfo entry may be generated for the 203.
                   3598: #      If one is desired for the QVT 119 PLUS then 25 lines must
                   3599: #      be selected in the status line (setup line 9).
                   3600: #
                   3601: qvt203-25|QVT 203 PLUS with 25 by 80 column mode,
                   3602:        cols#80, lines#25,
                   3603:        is2=\E[=40h\E[?3l, use=qvt203,
                   3604: qvt203-25-w|QVT 203 PLUS with 25 by 132 columns,
                   3605:        cols#132, lines#25,
                   3606:        rs2=\E[?3h\E[=40h, use=qvt203,
                   3607:
                   3608: #### Televideo (tvi)
                   3609: #
                   3610: #      TeleVideo
                   3611: #      550 East Brokaw Road
                   3612: #      PO Box 49048    95161
                   3613: #      San Jose CA 95112
                   3614: #      Vox: (408)-954-8333
                   3615: #      Fax: (408)-954-0623
                   3616: #
                   3617: #
                   3618: # There are some tvi terminals that require incredible amounts of padding and
1.4       tholo    3619: # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
                   3620: # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
1.1       tholo    3621: #
                   3622: # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
                   3623: # Televideo terminals are ANSI and PC-ANSI compatible.
                   3624:
                   3625: tvi803|televideo 803,
                   3626:        clear=\E*$<10>, use=tvi950,
                   3627:
                   3628: # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
                   3629: # Switch settings are:
                   3630: #
                   3631: # S1  1 2 3 4
                   3632: #     D D D D  9600
                   3633: #     D D D U    50
                   3634: #     D D U D    75
                   3635: #     D D U U   110
                   3636: #     D U D D   135
                   3637: #     D U D U   150
                   3638: #     D U U D   300
                   3639: #     D U U U   600
                   3640: #     U D D D  1200
                   3641: #     U D D U  1800
                   3642: #     U D U D  2400
                   3643: #     U D U U  3600
                   3644: #     U U D D  4800
                   3645: #     U U D U  7200
                   3646: #     U U U D  9600
                   3647: #     U U U U 19200
                   3648: #
                   3649: # S1  5 6 7 8
                   3650: #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
                   3651: #     U D X U  7N2
                   3652: #     U U D D  7O1
                   3653: #     U U D U  7O2
                   3654: #     U U U D  7E1
                   3655: #     U U U U  7E2
                   3656: #     D D X D  8N1
                   3657: #     D D X U  8N2
                   3658: #     D U D D  8O1
                   3659: #     D U U U  8E2
                   3660: #
                   3661: # S1  9  Autowrap
                   3662: #     U  on
                   3663: #     D  off
                   3664: #
                   3665: # S1 10  CR/LF
                   3666: #     U  do CR/LF when CR received
                   3667: #     D  do CR when CR received
                   3668: #
                   3669: # S2  1  Mode
                   3670: #     U  block
                   3671: #     D  conversational
                   3672: #
                   3673: # S2  2  Duplex
                   3674: #     U  half
                   3675: #     D  full
                   3676: #
                   3677: # S2  3  Hertz
                   3678: #     U  50
                   3679: #     D  60
                   3680: #
                   3681: # S2  4  Edit mode
                   3682: #     U  local
                   3683: #     D  duplex
                   3684: #
                   3685: # S2  5  Cursor type
                   3686: #     U  underline
                   3687: #     D  block
                   3688: #
                   3689: # S2  6  Cursor down key
                   3690: #     U  send ^J
                   3691: #     D  send ^V
                   3692: #
                   3693: # S2  7  Screen colour
                   3694: #     U  green on black
                   3695: #     D  black on green
                   3696: #
                   3697: # S2  8  DSR status (pin 6)
                   3698: #     U  disconnected
                   3699: #     D  connected
                   3700: #
                   3701: # S2  9  DCD status (pin 8)
                   3702: #     U  disconnected
                   3703: #     D  duplex
                   3704: #
                   3705: # S2 10  DTR status (pin 20)
                   3706: #     U  disconnected
                   3707: #     D  duplex
                   3708: # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
                   3709: # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
                   3710: tvi910|televideo model 910,
                   3711:        am, msgr,
                   3712:        cols#80, it#8, lines#24, xmc#1,
                   3713:        bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3714:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
                   3715:        home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I,
                   3716:        if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H,
                   3717:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r,
                   3718:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   3719:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   3720:        vpa=\E[%p1%{32}%+%c, use=adm+sgr,
                   3721: # From: Alan R. Rogers <rogers%albany@csnet-relay>
                   3722: # as subsequently hacked over by someone at SCO
                   3723: # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
                   3724: #
                   3725: # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
                   3726: #
                   3727: # S1  1 2 3 4:
                   3728: #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
                   3729: #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
                   3730: #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
                   3731: #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
                   3732: #
                   3733: # S1  5 6 7 8:
                   3734: #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
                   3735: #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
                   3736: #     D U D D  8O1     D U U U  8E2
                   3737: #
                   3738: # S1  9  Autowrap            (U = on, D = off)
                   3739: # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
                   3740: # S2  1  Mode                (U = block, D = conversational)
                   3741: # S2  2  Duplex              (U =  half, D = full)
                   3742: # S2  3  Hertz               (U = 50, D = 60)
                   3743: # S2  4  Edit mode           (U = local, D = duplex)
                   3744: # S2  5  Cursor type         (U = underline, D = block)
                   3745: # S2  6  Cursor down key     (U = send ^J, D = send ^V)
                   3746: # S2  7  Screen colour       (U = green on black, D = black on green)
                   3747: # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
                   3748: # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
                   3749: # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
                   3750: #
1.4       tholo    3751: tvi910+|televideo 910+,
1.1       tholo    3752:        dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>,
                   3753:        kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
                   3754:        kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
1.4       tholo    3755:        ll=\E=7\s,
1.1       tholo    3756:        use=tvi910,
                   3757:
1.4       tholo    3758: # (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
                   3759: # <khome> from BRL entry -- esr)
1.1       tholo    3760: tvi912|tvi914|tvi920|old televideo 912/914/920,
1.4       tholo    3761:        am, msgr,
1.1       tholo    3762:        cols#80, it#8, lines#24, xmc#1,
                   3763:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3764:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.4       tholo    3765:        dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^,
                   3766:        ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt,
                   3767:        il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
                   3768:        kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
                   3769:        kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
                   3770:        kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El,
                   3771:        tbc=\E3,
1.1       tholo    3772: # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
                   3773: # The 920 has this plus real function keys that xmit different things.
                   3774: # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
1.4       tholo    3775: tvi912c|tvi912b|new televideo 912,
                   3776:        dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912,
1.1       tholo    3777: # set to page 1 when entering curses application (\E-17 )
                   3778: # reset to page 0 when exiting curses application (\E-07 )
1.4       tholo    3779: tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages,
                   3780:        rmcup=\E-07\s, smcup=\E-17\s, use=tvi912,
1.1       tholo    3781: # We got some new tvi912c terminals that act really weird on the regular
                   3782: # termcap, so one of our gurus worked this up. Seems that cursor
                   3783: # addressing is broken.
                   3784: tvi912cc|tvi912 at cowell college,
                   3785:        cup@, use=tvi912c,
                   3786:
1.4       tholo    3787: # Here are the switch settings for the tvi920c:
1.1       tholo    3788: #
                   3789: # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
                   3790: # 2: 9600      3: 4800         4: 2400         5: 1200
                   3791: # 6:  600      7:  300         8:  150         9:   75
                   3792: # 10: 110
                   3793: #
                   3794: # S2 UART/Terminal options:
                   3795: #              Up                      Down
                   3796: # 1:           Not used                Not allowed
                   3797: # 2:   Alternate character set   Standard character set
                   3798: # 3:       Full duplex             Half duplex
                   3799: # 4:       50 Hz refresh           60 Hz refresh
                   3800: # 5:         No parity              Send parity
                   3801: # 6:        2 stop bits             1 stop bit
                   3802: # 7:        8 data bits             7 data bits
                   3803: # 8:           Not used                Not allowed on Rev E or lower
                   3804: # 9:        Even parity             Odd parity
                   3805: # 10:      Steady cursor           Blinking cursor
                   3806: #      (On Rev E or lower, use W25 instead of switch 10.)
                   3807: #
                   3808: # S5 UART/Terminal options:
                   3809: #              Open                    Closed
                   3810: # 1:   P3-6 Not connected      DSR received on P3-6
                   3811: # 2:   P3-8 Not connected      DCD received on P3-8
                   3812: #
                   3813: # 3 Open, 4 Open:              P3-20 Not connected
                   3814: # 3 Open, 4 Closed:    DTR on when terminal is on
                   3815: # 3 Closed, 4 Open:    DTR is connected to RTS
                   3816: # 3 Closed, 4 Closed:  Not allowed
                   3817: #
                   3818: # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
                   3819: #              all data transmitted out of the modem port (P3) will also be
                   3820: #              transmitted out of the printer port (P4).
                   3821: #
                   3822: # 6 Open, 7 Open:              Not allowed
                   3823: # 6 Open, 7 Closed:    20ma current loop input
                   3824: # 6 Closed, 7 Open:    RS232 input
                   3825: # 6 Closed, 7 Closed:  Not allowed
                   3826: #
                   3827: # Jumper options:
                   3828: # If the jumper is installed, the effect will occur (the next time the terminal
                   3829: # is switched on).
                   3830: #
                   3831: # S4/W31:      Enables automatic LF upon receipt of CR from
                   3832: #              remote or keyboard.
                   3833: # S4/W32:      Enables transmission of EOT at the end of Send.  If not
                   3834: #              installed, a carriage return is sent.
                   3835: # S4/W33:      Disables automatic carriage return in column 80.
                   3836: # S4/W34:      Selects Page Print Mode as initial condition.  If not
                   3837: #              installed, Extension Mode is selected.
                   3838: #
                   3839: tvi920b|tvi920c|new televideo 920,
                   3840:        dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r,
                   3841:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   3842:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   3843:        use=tvi912,
                   3844:
                   3845: # Televideo 921 and variants
                   3846: # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
                   3847: # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
                   3848: # also added empty <acsc> to suppress tic warning -- esr)
                   3849: tvi921|televideo model 921 with sysline same as page & real vi function,
                   3850:        am, hs, xenl, xhp,
                   3851:        cols#80, lines#24, xmc#0,
                   3852:        acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
                   3853:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
                   3854:        cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
                   3855:        el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
                   3856:        if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@,
                   3857:        is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H,
                   3858:        kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>,
                   3859:        ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%,
                   3860:        rmir=, smacs=\E$, smir=, tsl=\Ef\EG0,
                   3861:        use=adm+sgr,
                   3862: # without the beeper
                   3863: # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
                   3864: # also added empty <acsc> to suppress tic warning -- esr)
                   3865: tvi92B|televideo model 921 with sysline same as page & real vi function,
                   3866:        am, hs, xenl, xhp,
                   3867:        cols#80, lines#24, xmc#0,
                   3868:        acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
                   3869:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
                   3870:        cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
                   3871:        el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I,
                   3872:        ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
                   3873:        invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z,
                   3874:        kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
                   3875:        kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE,
                   3876:        nel=^M^J, rmacs=\E%, rmir=, smacs=\E$, smir=, tsl=\Ef\EG0,
                   3877:        use=adm+sgr,
                   3878: # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
                   3879: tvi92D|tvi92B with DTR instead of XON/XOFF & better padding,
                   3880:        dl1=\ER$<2*/>, il1=\EE$<2*/>,
                   3881:        is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>,
                   3882:        kil1=\EE$<2*/>,
                   3883:        use=tvi92B,
                   3884:
                   3885: # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
                   3886: # in from a BSD termcap file because it looks like they do something the
                   3887: # old ones skip -- esr)
                   3888: tvi924|televideo tvi924,
                   3889:        am, bw, hs, in, mir, msgr, xenl, xon,
                   3890:        cols#80, it#8, lines#24, wsl#80, xmc#0,
                   3891:        bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0,
                   3892:        cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c,
                   3893:        cub1=^H, cud1=^V, cuf1=^L,
                   3894:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1,
                   3895:        dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et,
                   3896:        flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1,
                   3897:        ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
                   3898:        invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0,
                   3899:        kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
                   3900:        kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r,
                   3901:        kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r,
                   3902:        kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r,
                   3903:        kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^,
                   3904:        kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4,
                   3905:        lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10,
                   3906:        pfkey=\E|%p1%'1'%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, use=adm+sgr,
                   3907:
                   3908: # TVI925 DIP switches.  In each of these, D = Down and U = Up,
                   3909: #
                   3910: # Here are the settings for the external (baud) switches (S1):
                   3911: #
                   3912: #             Position         Baud
                   3913: # 7    8       9       10              [Printer]
                   3914: # 1    2       3       4               [Main RS232]
                   3915: # -----------------------------------------------------
                   3916: # D    D       D       D       9600
                   3917: # D    D       D       U         50
                   3918: # D    D       U       D         75
                   3919: # D    D       U       U        110
                   3920: # D    U       D       D        135
                   3921: # D    U       D       U        150
                   3922: # D    U       U       D        300
                   3923: # D    U       U       U        600
                   3924: # U    D       D       D       1200
                   3925: # U    D       D       U       1800
                   3926: # U    D       U       D       2400
                   3927: # U    D       U       U       3600
                   3928: # U    U       D       D       4800
                   3929: # U    U       D       U       7200
                   3930: # U    U       U       D       9600
                   3931: # U    U       U       U       19200
                   3932: #
                   3933: #
                   3934: # Settings for word length and stop-bits (S1)
                   3935: #
                   3936: #  Position    Description
                   3937: # 5    6
                   3938: # ---------------------------
                   3939: # U    -       7-bit word
                   3940: # D    -       8-bit word
                   3941: # -    U       2 stop bits
                   3942: # -    D       1 stop bit
                   3943: #
                   3944: #
                   3945: # S2 (external) settings
                   3946: #
                   3947: # Position     Up      Dn      Description
                   3948: # --------------------------------------------
                   3949: # 1            X               Local edit
                   3950: #                      X       Duplex edit (transmit editing keys)
                   3951: # --------------------------------------------
                   3952: # 2            X               912/920 emulation
                   3953: #                      X       925
                   3954: # --------------------------------------------
                   3955: # 3                    X
                   3956: # 4                    X       No parity
                   3957: # 5                    X
                   3958: # --------------------------------------------
                   3959: # 3                    X
                   3960: # 4                    X       Odd parity
                   3961: # 5            X
                   3962: # --------------------------------------------
                   3963: # 3                    X
                   3964: # 4            X               Even parity
                   3965: # 5            X
                   3966: # --------------------------------------------
                   3967: # 3            X
                   3968: # 4                    X       Mark parity
                   3969: # 5            X
                   3970: # --------------------------------------------
                   3971: # 3            X
                   3972: # 4            X               Space parity
                   3973: # 5            X
                   3974: # --------------------------------------------
                   3975: # 6            X               White on black display
                   3976: #                      X       Black on white display
                   3977: # --------------------------------------------
                   3978: # 7                    X       Half Duplex
                   3979: # 8                    X
                   3980: # --------------------------------------------
                   3981: # 7            X               Full Duplex
                   3982: # 8                    X
                   3983: # --------------------------------------------
                   3984: # 7                    X       Block mode
                   3985: # 8            X
                   3986: # --------------------------------------------
                   3987: # 9                    X       50 Hz
                   3988: #              X               60 Hz
                   3989: # --------------------------------------------
                   3990: # 10           X               CR/LF (Auto LF)
                   3991: #                      X       CR only
                   3992: #
                   3993: # S3 (internal switch) settings:
                   3994: #
                   3995: # Position     Up      Dn      Description
                   3996: # --------------------------------------------
                   3997: # 1            X               Keyclick off
                   3998: #                      X       Keyclick on
                   3999: # --------------------------------------------
                   4000: # 2                    X       English
                   4001: # 3                    X
                   4002: # --------------------------------------------
                   4003: # 2                    X       German
                   4004: # 3            X
                   4005: # --------------------------------------------
                   4006: # 2            X               French
                   4007: # 3                    X
                   4008: # --------------------------------------------
                   4009: # 2            X               Spanish
                   4010: # 3            X
                   4011: # --------------------------------------------
                   4012: # 4                    X       Blinking block cursor
                   4013: # 5                    X
                   4014: # --------------------------------------------
                   4015: # 4                    X       Blinking underline cursor
                   4016: # 5            X
                   4017: # --------------------------------------------
                   4018: # 4            X               Steady block cursor
                   4019: # 5                    X
                   4020: # --------------------------------------------
                   4021: # 4            X               Steady underline cursor
                   4022: # 5            X
                   4023: # --------------------------------------------
                   4024: # 6            X               Screen blanking timer (ON)
                   4025: #                      X       Screen blanking timer (OFF)
                   4026: # --------------------------------------------
                   4027: # 7            X               Page attributes
                   4028: #                      X       Line attributes
                   4029: # --------------------------------------------
                   4030: # 8            X               DCD disconnected
                   4031: #                      X       DCD connected
                   4032: # --------------------------------------------
                   4033: # 9            X               DSR disconnected
                   4034: #                      X       DSR connected
                   4035: # --------------------------------------------
                   4036: # 10           X               DTR Disconnected
                   4037: #                      X       DTR connected
                   4038: # --------------------------------------------
                   4039: #
                   4040: # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
1.4       tholo    4041: tvi925|televideo 925,
1.1       tholo    4042:        am, bw, hs, ul,
                   4043:        cols#80, lines#24, xmc#1,
                   4044:        bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V,
                   4045:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   4046:        cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
                   4047:        flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1,
                   4048:        ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z,
                   4049:        kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
                   4050:        ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
                   4051:        kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
                   4052:        kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3,
                   4053:        tsl=\Eh\Ef,
                   4054:        use=adm+sgr,
1.4       tholo    4055: # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
                   4056: # to avoid "magic cookie" standout glitch:
                   4057: tvi925-hi|TeleVideo Model 925 with half intensity standout mode,
                   4058:        xmc@,
                   4059:        kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925,
1.1       tholo    4060:
                   4061: # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
                   4062: # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
                   4063: # for additional capabilities,
                   4064: # The following tvi descriptions from B:pjphar and virus!mike
                   4065: # is for all 950s.  It sets the following attributes:
                   4066: # full duplex (\EDF)           write protect off (\E()
                   4067: # conversation mode (\EC)      graphics mode off (\E%)
                   4068: # white on black (\Ed)         auto page flip off (\Ew)
                   4069: # turn off status line (\Eg)   clear status line (\Ef\r)
                   4070: # normal video (\E0)           monitor mode off (\EX or \Eu)
                   4071: # edit mode (\Er)              load blank char to space (\Ee\040)
                   4072: # line edit mode (\EO)         enable buffer control (^O)
                   4073: # protect mode off (\E\047)    duplex edit keys (\El)
                   4074: # program unshifted send key to send line all (\E016)
                   4075: # program shifted send key to send line unprotected (\E004)
                   4076: # set the following to nulls:
                   4077: #      field delimiter (\Ex0\200\200)
                   4078: #      line delimiter (\Ex1\200\200)
                   4079: #      start-protected field delimiter (\Ex2\200\200)
                   4080: #      end-protected field delimiter (\Ex3\200\200)
                   4081: # set end of text delimiter to carriage return/null (\Ex4\r\200)
                   4082: #
                   4083: #                     TVI 950 Switch Setting Reference Charts
                   4084: #
                   4085: #                                     TABLE 1:
                   4086: #
                   4087: #      S1     1     2     3     4     5     6     7     8     9    10
                   4088: #          +-----------------------+-----+-----+-----------------------+
                   4089: #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
                   4090: #          |                       |Bits |Bits |                       |
                   4091: #   +------+-----------------------+-----+-----+-----------------------+
                   4092: #   |  Up  |        See            |  7  |  2  |        See            |
                   4093: #   +------+-----------------------+-----+-----+-----------------------+
                   4094: #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
                   4095: #   +------+-----------------------+-----+-----+-----------------------+
                   4096: #
                   4097: #
                   4098: #      S2     1     2     3     4     5     6     7     8     9    10
                   4099: #          +-----+-----+-----------------+-----+-----------+-----+-----+
                   4100: #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
                   4101: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   4102: #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
                   4103: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   4104: #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
                   4105: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   4106: #
                   4107: #                                    TABLE 2:
                   4108: #
                   4109: #             +-----------+-----+-----+-----+-----+-----------+
                   4110: #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
                   4111: #             +-----------+-----+-----+-----+-----+           |
                   4112: #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
                   4113: #             +-----------+-----+-----+-----+-----+-----------+
                   4114: #                         |  D  |  D  |  D  |  D  |   9600    |
                   4115: #                         |  U  |  D  |  D  |  D  |     50    |
                   4116: #                         |  D  |  U  |  D  |  D  |     75    |
                   4117: #                         |  U  |  U  |  D  |  D  |    110    |
                   4118: #                         |  D  |  D  |  U  |  D  |    135    |
                   4119: #                         |  U  |  D  |  U  |  D  |    150    |
                   4120: #                         |  D  |  U  |  U  |  D  |    300    |
                   4121: #                         |  U  |  U  |  U  |  D  |    600    |
                   4122: #                         |  D  |  D  |  D  |  U  |   1200    |
                   4123: #                         |  U  |  D  |  D  |  U  |   1800    |
                   4124: #                         |  D  |  U  |  D  |  U  |   2400    |
                   4125: #                         |  U  |  U  |  D  |  U  |   3600    |
                   4126: #                         |  D  |  D  |  U  |  U  |   4800    |
                   4127: #                         |  U  |  D  |  U  |  U  |   7200    |
                   4128: #                         |  D  |  U  |  U  |  U  |   9600    |
                   4129: #                         |  U  |  U  |  U  |  U  |  19200    |
                   4130: #                         +-----+-----+-----+-----+-----------+
                   4131: #
                   4132: #                                    TABLE 3:
                   4133: #                         +-----+-----+-----+-----------+
                   4134: #                         |  3  |  4  |  5  |   Parity  |
                   4135: #                         +-----+-----+-----+-----------+
                   4136: #                         |  X  |  X  |  D  |    None   |
                   4137: #                         |  D  |  D  |  U  |     Odd   |
                   4138: #                         |  D  |  U  |  U  |    Even   |
                   4139: #                         |  U  |  D  |  U  |    Mark   |
                   4140: #                         |  U  |  U  |  U  |   Space   |
                   4141: #                         +-----+-----+-----+-----------+
                   4142: #                                 X = don't care
                   4143: #
                   4144: #                                     CHART:
                   4145: #                         +-----+-----+-----------------+
                   4146: #                         |  7  |  8  | Communication   |
                   4147: #                         +-----+-----+-----------------+
                   4148: #                         |  D  |  D  |  Half Duplex    |
                   4149: #                         |  D  |  U  |  Full Duplex    |
                   4150: #                         |  U  |  D  |     Block       |
                   4151: #                         |  U  |  U  |     Local       |
                   4152: #                         +-----+-----+-----------------+
                   4153: #
                   4154: # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
                   4155: # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich>
                   4156: # should be present and all tvi native modes use the same string for this.
                   4157: # Finally, note that BSD has cud1=^V. -- esr)
1.4       tholo    4158: tvi950|televideo 950,
1.1       tholo    4159:        am, hs, mir, msgr, xenl, xon,
                   4160:        cols#80, it#8, lines#24, xmc#1,
                   4161:        acsc=d\rc\014e\nb\011i\013, bel=^G, cbt=\EI, clear=\E*,
                   4162:        cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4163:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   4164:        dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed,
                   4165:        fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J,
                   4166:        invis@,
                   4167:        is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\Ef\r,
                   4168:        kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L,
                   4169:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r,
                   4170:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   4171:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   4172:        kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X,
                   4173:        rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
                   4174:        use=adm+sgr,
                   4175: #
                   4176: # is for 950 with two pages adds the following:
                   4177: #      set 48 line page (\E\\2)
                   4178: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   4179: #      set local (no send) edit keys (\Ek)
                   4180: #
                   4181: # two page 950 adds the following:
                   4182: #      when entering ex, set 24 line page (\E\\1)
                   4183: #      when exiting ex, reset 48 line page (\E\\2)
                   4184: #                       place cursor at 0,24,1 (\E-07 )
                   4185: #      set duplex (send) edit keys (\El) when entering vi
                   4186: #      set local (no send) edit keys (\Ek) when exiting vi
                   4187: #
1.4       tholo    4188: tvi950-2p|televideo950 w/2 pages,
1.1       tholo    4189:        is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07 \011,
1.4       tholo    4190:        rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
                   4191:        smkx=\El,
1.1       tholo    4192:        use=tvi950,
                   4193: #
                   4194: # is for 950 with four pages adds the following:
                   4195: #      set 96 line page (\E\\3)
                   4196: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   4197: #
                   4198: # four page 950 adds the following:
                   4199: #      when entering ex, set 24 line page (\E\\1)
                   4200: #      when exiting ex, reset 96 line page (\E\\3)
                   4201: #                       place cursor at 0,24,1 (\E-07 )
                   4202: #
1.4       tholo    4203: tvi950-4p|televideo950 w/4 pages,
1.1       tholo    4204:        is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07 \011,
1.4       tholo    4205:        rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
                   4206:        smkx=\El,
1.1       tholo    4207:        use=tvi950,
                   4208: #
                   4209: # <is2> for reverse video 950 changes the following:
                   4210: #      set reverse video (\Ed)
                   4211: #
                   4212: # set vb accordingly (\Ed ...delay... \Eb)
                   4213: #
1.4       tholo    4214: tvi950-rv|televideo950 rev video,
1.1       tholo    4215:        flash=\Ed$<200/>\Eb,
                   4216:        is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200, use=tvi950,
                   4217:
                   4218: # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
1.4       tholo    4219: tvi950-rv-2p|televideo950 rev video w/2 pages,
1.1       tholo    4220:        flash=\Ed$<200/>\Eb,
1.4       tholo    4221:        is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07\s,
                   4222:        rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
                   4223:        smkx=\El,
1.1       tholo    4224:        use=tvi950,
                   4225:
                   4226: # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
1.4       tholo    4227: tvi950-rv-4p|televideo950 rev video w/4 pages,
1.1       tholo    4228:        flash=\Ed$<200/>\Eb,
1.4       tholo    4229:        is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07\s,
                   4230:        rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
                   4231:        smkx=\El,
1.1       tholo    4232:        use=tvi950,
                   4233: # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
                   4234: # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
                   4235: # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
                   4236: # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
                   4237: # the :ko: string had :cl: in it, which means that one of the original
                   4238: # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
                   4239: # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
                   4240: # ko implies -- esr)
                   4241: # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
                   4242: # also work.
                   4243: tvi955|televideo 955,
                   4244:        mc5i, msgr@,
                   4245:        it#8, xmc@,
                   4246:        acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2,
                   4247:        civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH,
                   4248:        cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1,
                   4249:        is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1,
                   4250:        knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%,
                   4251:        rmam=\E[=7l, rmxon=^N,
                   4252:        rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\200\E0p\E4\200\Ef\r,
                   4253:        sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O,
                   4254:        use=tvi950,
                   4255: tvi955-w|955-w|televideo955 w/132 cols,
                   4256:        cols#132,
                   4257:        is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955,
                   4258: # use half-intensity as normal mode, full intensity as <bold>
                   4259: tvi955-hb|955-hb|televideo955 half-bright,
                   4260:        bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El,
                   4261:        sgr0=\EG0\E[=5h,
                   4262:        use=tvi955,
                   4263: # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
                   4264: # (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
1.4       tholo    4265: # added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
                   4266: # According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
                   4267: # it does to the function keys.  I deduced <rmam>/<smam>.
                   4268: # also added empty <acsc> to suppress tic warning,  -- esr)
1.1       tholo    4269: tvi970|televideo 970,
1.4       tholo    4270:        am, da, db, mir, msgr,
1.1       tholo    4271:        cols#80, it#8, lines#24,
1.4       tholo    4272:        acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
                   4273:        cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df,
                   4274:        cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r,
                   4275:        ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H,
                   4276:        hpa=\E[%i%p1%dG, ht=^I, il1=\E[L,
1.1       tholo    4277:        is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J,
                   4278:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   4279:        kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f,
                   4280:        kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B,
1.4       tholo    4281:        rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   4282:        sgr0=\E[m, smacs=\E(B, smam=\E[?7l,
                   4283:        smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m,
                   4284:        smul=\E[4m, vpa=\E[%i%p1%dd,
                   4285: tvi970-vb|televideo 970 with visual bell,
                   4286:        flash=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l, use=tvi970,
                   4287: tvi970-2p|televideo 970 with using 2 pages of memory,
                   4288:        rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q,
                   4289:        use=tvi970,
1.1       tholo    4290: # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
                   4291: # per line (rather than 40), Esc K chooses the normal character set.  Not sure
                   4292: # padding is needed, but adapted from the tvi920c termcap.  The <smso> and
                   4293: # <smul> strings are klutzy, but at least use no screen space.
1.4       tholo    4294: # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
                   4295: # its absence means <smam>=\Ev isn't save to use. -- esr)
1.1       tholo    4296: # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
1.4       tholo    4297: # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
                   4298: # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
1.1       tholo    4299: tvipt|televideo personal terminal,
                   4300:        am,
                   4301:        cols#80, lines#24,
                   4302:        cbt=\EI, clear=^Z, cub1=^H, cuf1=^L,
                   4303:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>,
1.4       tholo    4304:        ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt,
1.1       tholo    4305:        il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J,
1.4       tholo    4306:        kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R,
                   4307:        rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH,
                   4308: # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
                   4309: tvi9065|televideo 9065,
                   4310:        am, bw, chts, hs, mc5i, mir, msgr, xenl, xon,
                   4311:        cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0,
                   4312:        wnum#0, wsl#30,
                   4313:        acsc=0_'rjhkglfmeniopxjqksqtmulvown, bel=^G,
                   4314:        blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z,
                   4315:        cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,
                   4316:        cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L,
                   4317:        cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu=\E[%p1%dA, cuu1=^K,
                   4318:        cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp,
                   4319:        dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY,
                   4320:        el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
                   4321:        ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt,
                   4322:        il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1,
                   4323:        ip=$<3>,
                   4324:        is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er,
                   4325:        is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s,
                   4326:        kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
                   4327:        kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r,
                   4328:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4329:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H,
                   4330:        mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J,
                   4331:        pfkey=\E|%p1%'0'%+%c3%p2%s\031,
                   4332:        pfloc=\E|%p1%'0'%+%c2%p2%s\031,
                   4333:        pfx=\E|%p1%'0'%+%c1%p2%s\031,
                   4334:        pln=\E_%p1%'?'%+%c%p2%s\r, prot=\E&,
                   4335:        rep=\E[%p2%db%p1%c, rev=\EG4,
                   4336:        rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT,
                   4337:        rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H,
                   4338:        rmdc=\200, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0,
                   4339:        rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l,
                   4340:        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\200\200\Ex1\200\200\Ex2\200\200\Ex3\200\200\Ex4\200\200\E1,
                   4341:        rs3=\E[=19h\E.3\E9\E0O\200\200\200\200\200\E0o\200\200\200\200\200\E0J\177\200\200\200\200,
                   4342:        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%%%;,
                   4343:        sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er,
                   4344:        smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O,
                   4345:        tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0,
1.1       tholo    4346:
                   4347: #### Visual (vi)
                   4348: #
                   4349: # In September 1993, Visual Technology of Westboro, Massachusetts,
                   4350: # merged with White Pine Software of Nashua, New Hampshire.
                   4351: #
                   4352: # White Pine Software may be contacted at +1 603/886-9050.
                   4353: # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
                   4354: #
                   4355:
1.4       tholo    4356: # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
                   4357: # Recently I hacked together the following termcap for Visual
                   4358: # Technology's Visual 50 terminal. It's a slight modification of
                   4359: # the vt52 termcap.
                   4360: # It's intended to run when the Visual 50 is in vt52 emulation mode
                   4361: # (I know what you're thinking; if it's emulating a vt52, then why
                   4362: # another termcap? Well, it turns out that the Visual 50 can handle
                   4363: # <dl1> and db(?) among other things, which the vt52 can't)
                   4364: # The termcap works OK for the most part. The only problem is on
                   4365: # character inserts. The whole line gets painfully redrawn for each
                   4366: # character typed. Any suggestions?
                   4367: # Beau's entry is combined with the vi50 entry from University of Wisconsin.
                   4368: # Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
                   4369: # disguise; <kf7>-<kf9> are really l1-l3.
1.1       tholo    4370: vi50|visual 50,
1.4       tholo    4371:        am, da, db, msgr,
1.1       tholo    4372:        cols#80, it#8, lines#24,
1.4       tholo    4373:        bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB,
                   4374:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   4375:        dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH, ht=^I,
1.1       tholo    4376:        il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   4377:        kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV, kf5=\EE,
                   4378:        kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH, nel=^M^J,
1.4       tholo    4379:        ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES,
1.1       tholo    4380: # this one was BSD & SCO's vi50
                   4381: vi50adm|visual 50 in adm3a mode,
                   4382:        am, msgr,
                   4383:        cols#80, it#8, lines#24,
                   4384:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4385:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM,
                   4386:        ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H,
                   4387:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH,
                   4388:        rmso=\ET, smso=\EU,
                   4389: # From: Jeff Siegal <jbs@athena.mit.edu>
                   4390: vi55|Visual 55,
                   4391:        am, mir, msgr,
                   4392:        cols#80, it#8, lines#24,
                   4393:        clear=\Ev, csr=\E_%p1%'A'%+%c%p2%'A'%+%c, cub1=^H,
                   4394:        cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   4395:        cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I,
                   4396:        il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED,
                   4397:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET,
                   4398:        smir=\Ea, smso=\EU,
                   4399:
1.4       tholo    4400: # Visual 200 from BRL
                   4401: # The following switch settings are assumed for normal operation:
                   4402: #      FULL_DUPLEX             SCROLL                  CR
                   4403: #      AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
                   4404: # Other switches may be set for operator convenience or communication
                   4405: # requirements.
                   4406: # Character insertion is kludged in order to get around the "beep" misfeature.
                   4407: # (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
                   4408: # Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
                   4409: # and <dl1> strings, but we seem to get along fine without them.
                   4410: vi200|visual 200,
                   4411:        am, mir, msgr,
1.1       tholo    4412:        cols#80, it#8, lines#24,
1.4       tholo    4413:        acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H,
                   4414:        cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   4415:        cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey,
                   4416:        el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea,
                   4417:        kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   4418:        kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p,
                   4419:        kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v,
                   4420:        kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei,
                   4421:        kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI,
                   4422:        rmacs=\EG, rmkx=\E>, rmso=\E3,
                   4423:        rs1=\E3\Eb\Ej\E\\\El\EG\Ec\Ek\EX, sgr0=\E3\Eb,
                   4424:        smacs=\EF, smkx=\E=, smso=\E4, tbc=\Eg,
1.1       tholo    4425: # The older Visuals didn't come with function keys. This entry uses
                   4426: # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
                   4427: # If your version of vi doesn't support function keys you may want
                   4428: # to use vi200-f.
1.4       tholo    4429: vi200-f|visual 200 no function keys,
1.1       tholo    4430:        is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q,
                   4431:        kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w,
                   4432:        kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@,
                   4433:        use=vi200,
                   4434: vi200-rv|visual 200 reverse video,
                   4435:        cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200,
                   4436:
                   4437: # the function keys are programmable but we don't reprogram them to their
                   4438: # default values with <is2> because programming them is very verbose. maybe
                   4439: # an initialization file should be made for the 300 and they could be stuck
                   4440: # in it.
                   4441: # (vi300: added <rmam>/<smam> based on init string -- esr)
                   4442: vi300|visual 300 ansi x3.64,
                   4443:        am, bw, mir, xenl,
                   4444:        cols#80, lines#24,
                   4445:        bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
                   4446:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   4447:        dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   4448:        il1=\E[L, ind=^J,
                   4449:        is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s,
                   4450:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   4451:        kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\,
                   4452:        kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\,
                   4453:        kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l,
                   4454:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
                   4455:        smso=\E[1m, smul=\E[4m,
                   4456: # some of the vi300s have older firmware that has the command
                   4457: # sequence for setting editing extent reversed.
                   4458: vi300-old|visual 300 with old firmware (set edit extent reversed),
                   4459:        is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s,
                   4460:        use=vi300,
                   4461:
                   4462: # Visual 500 prototype entry from University of Wisconsin.
                   4463: # The best place to look for the escape sequences is page A1-1 of the
                   4464: # Visual 500 manual.  The initialization sequence given here may be
                   4465: # overkill, but it does leave out some of the initializations which can
                   4466: # be done with the menus in set-up mode.
                   4467: # The :xp: line below is so that emacs can understand the padding requirements
                   4468: # of this slow terminal.  :xp: is 10 time the padding factor.
                   4469: # (vi500: removed unknown :xp#4: termcap;
                   4470: # also added empty <acsc> to suppress tic warning -- esr)
                   4471: vi500|visual 500,
                   4472:        am, mir, msgr,
                   4473:        cols#80, it#8, lines#33,
                   4474:        acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M,
                   4475:        csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB,
                   4476:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   4477:        dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>,
                   4478:        el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>,
                   4479:        ind=^J,
                   4480:        is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\,
                   4481:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   4482:        khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G,
                   4483:        rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D,
                   4484:
                   4485: # The visual 550 is a visual 300 with tektronix graphics,
                   4486: # and with 33 lines. clear screen is modified here to
                   4487: # also clear the graphics.
                   4488: vi550|visual 550 ansi x3.64,
                   4489:        lines#33,
                   4490:        clear=\030\E[H\E[2J, use=vi300,
                   4491:
                   4492: vi603|visual603|visual 603,
                   4493:        hs, mir,
                   4494:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   4495:        csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C,
                   4496:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   4497:        dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L,
                   4498:        ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r,
                   4499:        rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   4500:        sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~,
                   4501:        use=vt100,
                   4502:
                   4503: #### Wyse (wy)
                   4504: #
                   4505: #      Wyse Technology
                   4506: #      3471 North First Street
                   4507: #      San Jose, CA 95134
                   4508: #      Vox: (408)-473-1200
                   4509: #      Fax: (408) 473-1222
                   4510: #      Web: http://www.wyse.com
                   4511: #
                   4512: # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
                   4513: # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
                   4514: # obvious address, http://www.wyse.com.
                   4515: #
                   4516: # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
                   4517: # They now own the Qume and Amdek brands, too.  So these are the people to
                   4518: # talk with about all Link, Qume, and Amdek terminals.
                   4519: #
                   4520: # Wyse has a BBS containing termcap and terminfo stuff for their terminals
                   4521: # (though this may not last long -- I expect the Web will kill it off by
                   4522: # mid-1997 or so).  According to their tech support, at 800-800-9973, it's
                   4523: # at 408-922-4400 thru 4405.  The 4400 modem is flaky as of 5/96, so
                   4524: # call 4401 etc.  Come in at 9600 hard; don't use autospeed sense.
                   4525: #
                   4526: # All the following entries until (but not including) wy520 are direct from
                   4527: # Wyse technical support and represent their best knowledge as of January 1995.
                   4528: # I canceled the bel capacities in the vb entries.
                   4529: # I made two trivial syntax fixes in the wyse30 entry.
                   4530: # I made some entries relative to adm+sgr.
                   4531: #
                   4532: #
                   4533: # Note: The wyse75, wyse85, and wyse99 have been discontinued.
                   4534:
                   4535: #         Although the Wyse 30 can support more than one attribute
                   4536: #      it requires magic cookies to do so.  Many applications do not
                   4537: #      function well with magic cookies.  The following terminfo uses
                   4538: #      the protect mode to support one attribute (dim) without cookies.
                   4539: #      If more than one attribute is needed then the wy30-mc terminfo
                   4540: #      should be used.
                   4541: #
                   4542: wy30|wyse30|Wyse 30,
                   4543:        am, bw, hs, mc5i, mir, msgr, xon,
                   4544:        cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
                   4545:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
                   4546:        civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H,
                   4547:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   4548:        cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>,
                   4549:        dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9,
                   4550:        fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>,
                   4551:        ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024,
                   4552:        kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
                   4553:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7,
                   4554:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   4555:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ,
                   4556:        kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T,
                   4557:        mc5=^X, nel=^M^J, pfx=\Ez%p1%'?'%+%c%p2%s\177,
                   4558:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>,
                   4559:        rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
                   4560:        sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   4561:        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
                   4562:        smso=\E`7\E), tbc=\E0, tsl=\EF,
                   4563: #
                   4564: #      This terminal description uses the non-hidden attribute mode
                   4565: #      (with magic cookie).
                   4566: #
                   4567: # (wy30-mc: added <smcup> to suppress tic warning --esr)
                   4568: wy30-mc|wyse30-mc|wyse 30 with magic cookies,
                   4569:        msgr@,
                   4570:        ma@, xmc#1,
                   4571:        blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,
                   4572:        rmcup=\EG0,
                   4573:        sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   4574:        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
                   4575:        use=wy30, use=adm+sgr,
                   4576: #      The mandatory pause used by <flash> does not work with
                   4577: #      older versions of terminfo.  If you see this effect then
                   4578: #      unset xon and delete the / from the delay.
                   4579: #      i.e. change $<100/> to $<100>
                   4580: wy30-vb|wyse30-vb|wyse 30 visible bell,
                   4581:        bel@, use=wy30,
                   4582: #
                   4583: #         The Wyse 50 can support one attribute (e.g. Dim, Inverse,
                   4584: #      Normal) without magic cookies by using the protect mode.
                   4585: #      The following description uses this feature, but when more
                   4586: #      than one attribute is put on the screen at once, all attributes
                   4587: #      will be changed to be the same as the last attribute given.
                   4588: #         The Wyse 50 can support more attributes when used with magic
                   4589: #      cookies.  The wy50-mc terminal description uses magic cookies
                   4590: #      to correctly handle multiple attributes on a screen.
                   4591: #
                   4592: wy50|wyse50|Wyse 50,
                   4593:        am, bw, hs, mc5i, mir, msgr, xon,
                   4594:        cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
                   4595:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
                   4596:        civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H,
                   4597:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   4598:        cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r,
                   4599:        ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
                   4600:        home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>,
1.4       tholo    4601:        is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H,
                   4602:        kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW,
                   4603:        kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   4604:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   4605:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   4606:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   4607:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   4608:        ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J,
1.1       tholo    4609:        pfx=\Ez%p1%'?'%+%c%p2%s\177,
                   4610:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E),
                   4611:        ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
                   4612:        sgr=%?%p1%p3%|%t\E`6\E)\n%e%p5%p8%|%t\E`7\E)%e\E(%;\n%?%p9%t\EH\002%e\EH\003%;,
                   4613:        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
                   4614:        smso=\E`6\E), tbc=\E0, tsl=\EF,
                   4615: #
                   4616: #      This terminal description uses the non-hidden attribute mode
                   4617: #      (with magic cookie).
                   4618: #
                   4619: #      The mandatory pause used by flash does not work with some
                   4620: #      older versions of terminfo.  If you see this effect then
                   4621: #      unset <xon> and delete the / from the delay.
                   4622: #      i.e. change $<100/> to $<100>
                   4623: # (wy50-mc: added <smcup> to suppress tic warning --esr)
                   4624: wy50-mc|wyse50-mc|wyse 50 with magic cookies,
                   4625:        msgr@,
                   4626:        ma@, xmc#1,
                   4627:        blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,
                   4628:        rmcup=\EG0,
                   4629:        sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   4630:        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
                   4631:        smso=\EGt, use=wy50,
                   4632:        use=adm+sgr,
                   4633: wy50-vb|wyse50-vb|wyse 50 visible bell,
                   4634:        bel@, use=wy50,
                   4635: wy50-w|wyse50-w|wyse 50 132-column,
                   4636:        cols#132, lw#7, nlab#16, wsl#97,
                   4637:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy50,
                   4638: wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell,
                   4639:        bel@,
                   4640:        use=wy50-w,
                   4641: #
                   4642: #      The Wyse 350 is a Wyse 50 with color.
                   4643: #      Unfortunately this means that it has magic cookies.
                   4644: #      The color attributes are designed to overlap the reverse, dim and
                   4645: #      underline attributes.  This is nice for monochrome applications
                   4646: #      because you can make underline stuff green (or any other color)
                   4647: #      but for true color applications it's not so hot because you cannot
                   4648: #      mix color with reverse, dim or underline.
                   4649: #          To further complicate things one of the attributes must be
                   4650: #      black (either the foreground or the background).  In reverse video
                   4651: #      the background changes color with black letters.  In normal video
                   4652: #      the foreground changes colors on a black background.
                   4653: #          This terminfo uses some of the more advanced features of curses
                   4654: #      to display both color and blink.  In the final analysis I am not
                   4655: #      sure that the wy350 runs better with this terminfo than it does
                   4656: #      with the wy50 terminfo (with user adjusted colors).
                   4657: #
                   4658: #      The mandatory pause used by flash does not work with
                   4659: #      older versions of terminfo.  If you see this effect then
                   4660: #      unset xon and delete the / from the delay.
                   4661: #      i.e. change $<100/> to $<100>
                   4662: #
                   4663: # Bug: The <op> capability resets attributes.
                   4664: wy350|wyse350|Wyse 350,
                   4665:        am, bw, hs, mc5i, mir, xon,
                   4666:        colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8,
                   4667:        wsl#45, xmc#1,
                   4668:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
                   4669:        cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
                   4670:        cub1=^H, cud1=^J, cuf1=^L,
                   4671:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>,
                   4672:        dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET,
                   4673:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
1.4       tholo    4674:        il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>,
1.1       tholo    4675:        is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI,
                   4676:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
                   4677:        ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   4678:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   4679:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   4680:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   4681:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   4682:        ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0,
                   4683:        pfx=\Ez%p1%'?'%+%c%p2%s\177,
                   4684:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\EG0\E), ri=\Ej,
                   4685:        rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=,
                   4686:        setf=%?%p1%{0}%=%t%{76}\n%e%p1%{1}%=%t%{64}\n%e%p1%{2}%=%t%{8}\n%e%p1%{3}%=%t%{72}\n%e%p1%{4}%=%t%{4}\n%e%p1%{5}%=%t%{68}\n%e%p1%{6}%=%t%{12}\n%e%p1%{7}%=%t%{0}\n%;%PC\n\EG%gC%gA%+%'0'%+%c,
                   4687:        sgr=%{0}%?%p4%t%{2}%|%;\n%?%p7%t%{1}%|%;%PA\n\EG%?%gC%t%gC%e\n%{0}%?%p1%t%{4}%|%;\n%?%p2%t%{8}%|%;\n%?%p3%t%{4}%|%;\n%?%p5%t%{64}%|%;\n%;%gA%+%'0'%+%c\n%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   4688:        sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002,
                   4689:        smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF,
                   4690:        use=adm+sgr,
                   4691: wy350-vb|wyse350-vb|wyse 350 visible bell,
                   4692:        bel@, use=wy350,
                   4693: wy350-w|wyse350-w|wyse 350 132-column,
                   4694:        cols#132, lw#7, nlab#16, wsl#97,
                   4695:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy350,
                   4696: wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell,
                   4697:        bel@,
                   4698:        use=wy350-w,
                   4699: #
                   4700: #      This terminfo description is untested.
1.4       tholo    4701: #      The wyse100 emulates an adm31, so the adm31 entry should work.
1.1       tholo    4702: #
                   4703: wy100|wyse 100,
                   4704:        hs, mir,
                   4705:        cols#80, lines#24, xmc#1,
                   4706:        bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4707:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   4708:        dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J,
                   4709:        invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
                   4710:        kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   4711:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{,
                   4712:        rmir=\Er, smir=\Eq, tsl=\EF,
                   4713:        use=adm+sgr,
                   4714: #
                   4715: #      The Wyse 120/150 has most of the features of the Wyse 60.
                   4716: #      This terminal does not need padding up to 9600 baud!
                   4717: #      <msgr> should be set but the clear screen fails when in
                   4718: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   4719: #      then set <msgr>.
                   4720: #
                   4721: wy120|wyse120|wy150|wyse150|Wyse 120/150,
                   4722:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   4723:        cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
1.4       tholo    4724:        acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
1.1       tholo    4725:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
                   4726:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4727:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
                   4728:        dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
                   4729:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>,
                   4730:        hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
                   4731:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   4732:        is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   4733:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   4734:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   4735:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   4736:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4737:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   4738:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
                   4739:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
                   4740:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   4741:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   4742:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
                   4743:        rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11,
1.4       tholo    4744:        rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
1.1       tholo    4745:        rs3=\EwG\Ee($<100>,
                   4746:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
                   4747:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   4748:        smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt,
                   4749:        smxon=\Ec21\ntbc=\E0, tsl=\EF, use=adm+sgr,
                   4750: #
                   4751: wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column,
                   4752:        cols#132, lw#7, nlab#16, wsl#97,
                   4753:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
                   4754:        rs2=\E`;$<70>, use=wy120,
                   4755: #
                   4756: wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines,
                   4757:        lh@, lines#25, lw@, nlab@,
                   4758:        pln@, rs3=\EwG\Ee)$<100>, use=wy120,
                   4759: #
                   4760: wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines,
                   4761:        lh@, lines#25, lw@, nlab@,
                   4762:        pln@, rs3=\EwG\Ee)$<100>, use=wy120-w,
                   4763: #
                   4764: wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell,
                   4765:        bel@,
                   4766:        use=wy120,
                   4767: #
                   4768: wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell,
                   4769:        bel@,
                   4770:        use=wy120-w,
                   4771: #
                   4772: #      The Wyse 60 is like the Wyse 50 but with more padding.
                   4773: #      The reset strings are slow and the pad times very depending
                   4774: #      on other parameters such as font loading.  I have tried
                   4775: #      to follow the following outline:
                   4776: #
                   4777: #              <rs1> -> set personality
                   4778: #              <rs2> -> set number of columns
                   4779: #              <rs3> -> set number of lines
                   4780: #              <is1> -> select the proper font
                   4781: #              <is2> -> do the initialization
                   4782: #              <is3> -> set up display memory (2 pages)
                   4783: #
                   4784: #      The Wyse 60's that have vt100 emulation are slower than the
                   4785: #      older Wyse 60's.  This change happened mid-1987.
                   4786: #      The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
                   4787: #
                   4788: #      The meta key is only half right.  This terminal will return the
                   4789: #      high order bit set when you hit CTRL-function_key
                   4790: #
                   4791: #      It may be useful to assign two function keys with the
                   4792: #      values  \E=(\s  look at old data in page 1
                   4793: #              \E=W,   look at bottom of page 1
                   4794: #      where \s is a space ( ).
                   4795: #
                   4796: #      Note:
                   4797: #         The Wyse 60 runs faster when the XON/XOFF
                   4798: #         handshake is turned off.
                   4799: #
                   4800: # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4801: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4802: wy60|wyse60|Wyse 60,
                   4803:        am, bw, hs, km, mc5i, mir, msgr,
                   4804:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45,
1.4       tholo    4805:        acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
1.1       tholo    4806:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>,
                   4807:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4808:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   4809:        dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r,
                   4810:        ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
                   4811:        home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>,
                   4812:        ip=$<3>, is1=\EcB0\EcC1,
                   4813:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   4814:        is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   4815:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   4816:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   4817:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   4818:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4819:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   4820:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
                   4821:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
                   4822:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   4823:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   4824:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
                   4825:        rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er,
                   4826:        rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>,
                   4827:        rs2=\EeG$<150>, rs3=\EwG\Ee($<200>,
                   4828:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
                   4829:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   4830:        smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
                   4831:        tbc=\E0, tsl=\EF,
                   4832:        use=adm+sgr,
                   4833: #
                   4834: wy60-w|wyse60-w|wyse 60 132-column,
                   4835:        cols#132, lw#7, nlab#16, wsl#97,
                   4836:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>,
                   4837:        rs2=\EeF$<150>\E`;$<150>, use=wy60,
                   4838: #
                   4839: wy60-25|wyse60-25|wyse 60 80-column 25-lines,
                   4840:        lh@, lines#25, lw@, nlab@,
                   4841:        pln@, rs3=\EwG\Ee)$<200>, use=wy60,
                   4842: wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines,
                   4843:        lh@, lines#25, lw@, nlab@,
                   4844:        pln@, rs3=\EwG\Ee)$<200>, use=wy60-w,
                   4845: #
                   4846: wy60-42|wyse60-42|wyse 60 80-column 42-lines,
                   4847:        lines#42,
                   4848:        clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>,
                   4849:        dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>,
                   4850:        ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>,
                   4851:        ri=\Ej$<10>, rs3=\Ee*$<150>,
                   4852:        use=wy60,
                   4853: wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines,
                   4854:        cols#132, lw#7, nlab#16, wsl#97,
                   4855:        clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>,
                   4856:        dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>,
                   4857:        nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>,
                   4858:        use=wy60-42,
                   4859: #
                   4860: wy60-43|wyse60-43|wyse 60 80-column 43-lines,
                   4861:        lh@, lines#43, lw@, nlab@,
                   4862:        pln@, rs3=\Ee+$<150>, use=wy60-42,
                   4863: wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines,
                   4864:        lh@, lines#43, lw@, nlab@,
                   4865:        pln@, rs3=\Ee+$<150>, use=wy60-42-w,
                   4866: #
                   4867: wy60-vb|wyse60-vb|Wyse 60 visible bell,
                   4868:        bel@, use=wy60,
                   4869: wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell,
                   4870:        bel@,
                   4871:        use=wy60-w,
                   4872:
                   4873: #      The Wyse-99GT looks at lot like the Wyse 60 except that it
                   4874: #      does not have the 42/43 line mode.  In the Wyse-60 the "lines"
                   4875: #      setup parameter controls the number of lines on the screen.
                   4876: #      For the Wyse 99GT the "lines" setup parameter controls the
                   4877: #      number of lines in a page.  The screen can display 25 lines max.
                   4878: #          The Wyse-99GT also has personalities for the VT220 and
                   4879: #      Tektronix 4014.  But this has no bearing on the native mode.
                   4880: #
                   4881: #      (msgr) should be set but the clear screen fails when in
                   4882: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   4883: #      then set msgr, else use msgr@.
                   4884: #
                   4885: #      u0 -> enter Tektronix mode
                   4886: #      u1 -> exit Tektronix mode
                   4887: #
                   4888: wy99gt|wyse99gt|Wyse 99gt,
                   4889:        msgr@,
                   4890:        clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>,
                   4891:        el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>,
                   4892:        il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@,
1.4       tholo    4893:        ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1,
1.1       tholo    4894:        u0=\E~>\E8, u1=\E[42h,
                   4895:        use=wy60,
                   4896: #
                   4897: wy99gt-w|wyse99gt-w|wyse 99gt 132-column,
                   4898:        cols#132, lw#7, nlab#16, wsl#97,
                   4899:        clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>,
                   4900:        dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>, use=wy99gt,
                   4901: #
                   4902: wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines,
                   4903:        lh@, lines#25, lw@, nlab@,
1.4       tholo    4904:        pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt,
1.1       tholo    4905: #
                   4906: wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines,
                   4907:        lh@, lines#25, lw@, nlab@,
                   4908:        pln@, rs2=\E`;$<150>, use=wy99gt-w,
                   4909: #
                   4910: wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell,
                   4911:        bel@, use=wy99gt,
                   4912: #
                   4913: wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell,
                   4914:        bel@,
                   4915:        use=wy99gt-w,
                   4916: #
                   4917: #      The Wyse 160 is combination of the WY-60 and the WY-99gt.
                   4918: #      The reset strings are slow and the pad times very depending
                   4919: #      on other parameters such as font loading.  I have tried
                   4920: #      to follow the following outline:
                   4921: #
                   4922: #              <rs1> -> set personality
                   4923: #              <rs2> -> set number of columns
                   4924: #              <rs3> -> set number of lines
                   4925: #              <is1> -> select the proper font
                   4926: #              <is2> -> do the initialization
                   4927: #              <is3> -> set up display memory (2 pages)
                   4928: #
                   4929: #      The display memory may be used for either text or graphics.
                   4930: #      When "Display Memory = Shared" the terminal will have more pages
                   4931: #      but garbage may be left on the screen when you switch from
                   4932: #      graphics to text.  If "Display Memory = Unshared" then the
                   4933: #      text area will be only one page long.
                   4934: #
                   4935: # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4936: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4937: wy160|wyse160|Wyse 160,
                   4938:        am, bw, hs, km, mc5i, mir, msgr,
                   4939:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38,
1.4       tholo    4940:        acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
1.1       tholo    4941:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>,
                   4942:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4943:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>,
                   4944:        dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>,
                   4945:        el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I,
                   4946:        hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1,
                   4947:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   4948:        is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   4949:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   4950:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   4951:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   4952:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4953:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   4954:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
                   4955:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>,
                   4956:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   4957:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   4958:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<1>,
                   4959:        rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er,
                   4960:        rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>,
1.4       tholo    4961:        rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>,
1.1       tholo    4962:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
                   4963:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   4964:        smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
                   4965:        tbc=\E0, tsl=\EF,
                   4966:        use=adm+sgr,
                   4967: #
                   4968: wy160-w|wyse160-w|wyse 160 132-column,
                   4969:        cols#132, lw#7, nlab#16, wsl#90,
                   4970:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>,
                   4971:        rs2=\EeF$<150>\E`;$<150>, use=wy160,
                   4972: #
                   4973: wy160-25|wyse160-25|wyse 160 80-column 25-lines,
                   4974:        lh@, lines#25, lw@, nlab@,
                   4975:        pln@, rs3=\EwG\Ee)$<200>, use=wy160,
                   4976: wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines,
                   4977:        lh@, lines#25, lw@, nlab@,
                   4978:        pln@, rs3=\EwG\Ee)$<200>, use=wy160-w,
                   4979: #
                   4980: wy160-42|wyse160-42|wyse 160 80-column 42-lines,
                   4981:        lines#42,
                   4982:        clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>,
                   4983:        ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>,
                   4984:        rs3=\Ee*$<150>,
                   4985:        use=wy160,
                   4986: wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines,
                   4987:        cols#132, lw#7, nlab#16, wsl#90,
                   4988:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>,
                   4989:        rs2=\EeF$<150>\E`;$<150>,
                   4990:        use=wy160-42,
                   4991: #
                   4992: wy160-43|wyse160-43|wyse 160 80-column 43-lines,
                   4993:        lh@, lines#43, lw@, nlab@,
                   4994:        pln@, rs3=\Ee+$<150>, use=wy160-42,
                   4995: wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines,
                   4996:        lh@, lines#43, lw@, nlab@,
                   4997:        pln@, rs3=\Ee+$<150>, use=wy160-42-w,
                   4998: #
                   4999: wy160-vb|wyse160-vb|Wyse 160 visible bell,
                   5000:        bel@, use=wy160,
                   5001: wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell,
                   5002:        bel@,
                   5003:        use=wy160-w,
                   5004: #
                   5005: #      The Wyse 75 is a vt100 lookalike without advanced video.
                   5006: #
                   5007: #         The Wyse 75 can support one attribute (e.g. Dim, Inverse,
                   5008: #      Underline) without magic cookies.  The following description
                   5009: #      uses this capability, but when more than one attribute is
                   5010: #      put on the screen at once, all attributes will be changed
                   5011: #      to be the same as the last attribute given.
                   5012: #         The Wyse 75 can support more attributes when used with magic
                   5013: #      cookies.  The wy75-mc terminal description uses magic cookies
                   5014: #      to correctly handle multiple attributes on a screen.
                   5015: #
                   5016: wy75|wyse75|wyse 75,
                   5017:        am, hs, mc5i, mir, msgr, xenl, xon,
                   5018:        cols#80, lines#24, ma#1, pb#1201, wsl#78,
                   5019:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5020:        bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>,
                   5021:        cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>,
                   5022:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   5023:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   5024:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>,
                   5025:        dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>,
1.4       tholo    5026:        dl1=\E[M, dsl=\E[>\\\,\001\001\E[>-\001\001,
1.1       tholo    5027:        ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>,
1.4       tholo    5028:        enacs=\E)0, flash=\E[30h\E\\\,\E[30l$<250>, fsl=^A,
1.1       tholo    5029:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   5030:        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
                   5031:        ind=\n$<2>, ip=$<1>,
                   5032:        is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h,
                   5033:        is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy,
                   5034:        kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
                   5035:        kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM,
                   5036:        kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   5037:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
                   5038:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i,
                   5039:        kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M,
                   5040:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   5041:        khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~,
                   5042:        kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i,
                   5043:        mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O,
                   5044:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m,
                   5045:        rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l,
                   5046:        sc=\E7,
                   5047:        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%;,
                   5048:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   5049:        smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m,
1.4       tholo    5050:        tbc=\E[3g, tsl=\E[>\\\,\001,
1.1       tholo    5051: #
                   5052: #      This terminal description uses the non-hidden attribute mode
                   5053: #      (with magic cookie).
                   5054: #
                   5055: wy75-mc|wyse75-mc|wyse 75 with magic cookies,
                   5056:        msgr@,
                   5057:        ma@, xmc#1,
                   5058:        blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p,
                   5059:        rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p,
                   5060:        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%;,
                   5061:        sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p,
                   5062:        use=wy75,
                   5063: wy75-vb|wyse75-vb|wyse 75 with visible bell,
                   5064:        pb@,
                   5065:        bel@, use=wy75,
                   5066: wy75-w|wyse75-w|wyse 75 in 132 column mode,
                   5067:        cols#132, wsl#130,
                   5068:        rs2=\E[35h\E[?3h$<80>, use=wy75,
                   5069: wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns,
                   5070:        pb@,
                   5071:        bel@, use=wy75-w,
                   5072: #
                   5073: #      Wyse 85 emulating a vt220 7 bit mode.
                   5074: #              24 line screen with status line.
                   5075: #
                   5076: #      The vt220 mode permits more function keys but it wipes out
                   5077: #      the escape key.  I strongly recommend that <f11> be set to
                   5078: #      escape (esc).
                   5079: #      The terminal may have to be set for 8 data bits and 2 stop
                   5080: #      bits for the arrow keys to work.
                   5081: #      The Wyse 85 runs faster with XON/XOFF enabled.  Also the
                   5082: #      <dch> and <ich> work best when XON/XOFF is set.  <ich> and
                   5083: #      <dch> leave trash on the screen when used without XON/XOFF.
                   5084: #
                   5085: wy85|wyse85|wyse 85,
                   5086:        am, hs, mc5i, mir, msgr, xenl, xon,
                   5087:        cols#80, it#8, lines#24, wsl#80,
                   5088:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5089:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   5090:        clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
                   5091:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   5092:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5093:        cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
                   5094:        dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
                   5095:        dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
                   5096:        ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
1.4       tholo    5097:        enacs=\E)0, flash=\E[30h\E\\\,\E[30l$<300>,
1.1       tholo    5098:        fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
                   5099:        ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
                   5100:        ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
                   5101:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
                   5102:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
                   5103:        kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
                   5104:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP,
                   5105:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   5106:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   5107:        kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR,
                   5108:        kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   5109:        kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~,
                   5110:        knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3,
                   5111:        lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   5112:        ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
                   5113:        rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p,
                   5114:        rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7,
                   5115:        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%;,
                   5116:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   5117:        smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   5118:        tsl=\E[40h\E7\E[25;%i%p1%dH,
                   5119: #
                   5120: #      Wyse 85 with visual bell.
                   5121: wy85-vb|wyse85-vb|wyse 85 with visible bell,
1.4       tholo    5122:        bel@, flash=\E[30h\E\\\,\E[30l$<300>, use=wy85,
1.1       tholo    5123: #
                   5124: #      Wyse 85 in 132-column mode.
                   5125: wy85-w|wyse85-w|wyse 85 in 132-column mode,
                   5126:        cols#132, wsl#132,
                   5127:        rs2=\E[35h\E[?3h$<70>, use=wy85,
                   5128: #
                   5129: #      Wyse 85 in 132-column mode with visual bell.
                   5130: wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns,
                   5131:        bel@,
                   5132:        use=wy85-w,
                   5133: #
                   5134: #      Wyse 185 emulating a vt320 7 bit mode.
                   5135: #
                   5136: #      This terminal always displays 25 lines.  These lines may be used
                   5137: #      as 24 data lines and a terminal status line (top or bottom) or
                   5138: #      25 data lines.  The 48 and 50 line modes change the page size
                   5139: #      and not the number of lines on the screen.
                   5140: #
                   5141: #      The Compose Character key can be used as a meta key if changed
                   5142: #      by set-up.
                   5143: #
                   5144: wy185|wyse185|wyse 185,
                   5145:        am, hs, km, mc5i, mir, msgr, xenl, xon,
                   5146:        cols#80, it#8, lines#24, wsl#80,
                   5147:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5148:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   5149:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   5150:        csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
                   5151:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5152:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5153:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>,
                   5154:        dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
                   5155:        dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>,
                   5156:        el=\E[K, el1=\E[1K, enacs=\E)0,
1.4       tholo    5157:        flash=\E[30h\E\\\,\E[30l$<100>, fsl=\E[1;24r\E8,
1.1       tholo    5158:        home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH,
                   5159:        ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>,
                   5160:        ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
                   5161:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h,
                   5162:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
                   5163:        kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D,
                   5164:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM,
                   5165:        kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   5166:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
                   5167:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
                   5168:        kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
                   5169:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   5170:        khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   5171:        kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
                   5172:        mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>,
                   5173:        rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>,
                   5174:        rmso=\E[27m, rmul=\E[24m,
                   5175:        rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
                   5176:        rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
                   5177:        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%;,
                   5178:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
                   5179:        smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
                   5180:        tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd,
                   5181: #
                   5182: #      Wyse 185 with 24 data lines and top status (terminal status)
                   5183: wy185-24|wyse185-24|wyse 185 with 24 data lines,
                   5184:        hs@,
                   5185:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy185,
                   5186: #
                   5187: #      Wyse 185 with visual bell.
                   5188: wy185-vb|wyse185-vb|wyse 185+flash,
                   5189:        bel@, use=wy185,
                   5190: #
                   5191: #      Wyse 185 in 132-column mode.
                   5192: wy185-w|wyse185-w|wyse 185 in 132-column mode,
                   5193:        cols#132, wsl#132,
                   5194:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
                   5195:        ip=$<7>, rs2=\E[35h\E[?3h,
                   5196:        use=wy185,
                   5197: #
                   5198: #      Wyse 185 in 132-column mode with visual bell.
                   5199: wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols,
                   5200:        bel@, use=wy185-w,
                   5201:
                   5202: # wy325 terminfo entries
                   5203: # Done by Joe H. Davis        3-9-92
                   5204:
                   5205: # lines 25  columns 80
                   5206: #
                   5207: wy325|wyse325|Wyse epc,
                   5208:        am, bw, hs, mc5i, mir,
                   5209:        cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
1.4       tholo    5210:        acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
1.1       tholo    5211:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
                   5212:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   5213:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
                   5214:        dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
                   5215:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
                   5216:        il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
                   5217:        is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   5218:        is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   5219:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   5220:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   5221:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   5222:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   5223:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq,
                   5224:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
                   5225:        mc0=\EP, mc4=^T, mc5=\Ed#,
                   5226:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   5227:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   5228:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
                   5229:        rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11,
1.4       tholo    5230:        rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
1.1       tholo    5231:        rs3=\EwG\Ee($<100>,
                   5232:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
                   5233:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   5234:        smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0,
                   5235:        tsl=\EF,
                   5236:        use=adm+sgr,
                   5237:
                   5238: #
                   5239: # lines 24  columns 80  vb
                   5240: #
                   5241: wy325-vb|wyse325-vb|wyse-325 with visual bell,
                   5242:        bel@, use=wy325,
                   5243:
                   5244: #
                   5245: # lines 24  columns 132
                   5246: #
                   5247: wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode,
                   5248:        cols#132, lw#7, nlab#16, wsl#97,
                   5249:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
                   5250:        rs2=\E`;$<70>, use=wy325,
                   5251: #
                   5252: # lines 25  columns 80
                   5253: #
                   5254: wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines,
                   5255:        lh@, lines#25, lw@, nlab@,
                   5256:        pln@, rs3=\EwG\Ee)$<100>, use=wy325,
                   5257: #
                   5258: # lines 25  columns 132
                   5259: #
                   5260: wy325-25w|wyse325-25w|wy325 132 columns,
                   5261:        lh@, lines#25, lw@, nlab@,
                   5262:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   5263: #
                   5264: # lines 25  columns 132  vb
                   5265: #
                   5266: wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video,
                   5267:        bel@,
                   5268:        use=wy325-w,
                   5269:
                   5270: #
                   5271: # lines 42  columns 80
                   5272: #
                   5273: wy325-42|wyse325-42|wyse-325 42 lines,
                   5274:        lh@, lines#42, lw@, nlab@,
                   5275:        pln@, rs3=\EwG\Ee)$<100>, use=wy325,
                   5276: #
                   5277: # lines 42  columns 132
                   5278: #
                   5279: wy325-42w|wyse325-42w|wyse-325 42 lines wide mode,
                   5280:        lh@, lines#42, lw@, nlab@,
                   5281:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   5282: #
                   5283: # lines 42  columns 132  vb
                   5284: #
                   5285: wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell,
                   5286:        bel@,
                   5287:        use=wy325-w,
                   5288: #
                   5289: # lines 43  columns 80
                   5290: #
                   5291: wy325-43|wyse325-43|wyse-325 43 lines,
                   5292:        lh@, lines#43, lw@, nlab@,
                   5293:        pln@, use=wy325,
                   5294: #
                   5295: # lines 43  columns 132
                   5296: #
                   5297: wy325-43w|wyse325-43w|wyse-325 43 lines wide mode,
                   5298:        lh@, lines#43, lw@, nlab@,
                   5299:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   5300: #
                   5301: # lines 43  columns 132  vb
                   5302: #
                   5303: wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell,
                   5304:        bel@,
                   5305:        use=wy325-w,
                   5306:
                   5307: #      Wyse 370 -- 24 line screen with status line.
                   5308: #
                   5309: #      The terminal may have to be set for 8 data bits and 2 stop
                   5310: #      bits for the arrow keys to work.
                   5311: #
                   5312: #      If you change keyboards the terminal will send different
                   5313: #      escape sequences.
                   5314: #      The following definition is for the basic terminal without
                   5315: #      function keys.
                   5316: #
                   5317: #      <u0> -> enter Tektronix 4010/4014 mode
                   5318: #      <u1> -> exit  Tektronix 4010/4014 mode
                   5319: #      <u2> -> enter ASCII mode (from any ANSI mode)
                   5320: #      <u3> -> exit  ASCII mode (goto native ANSI mode)
                   5321: #      <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
                   5322: #      <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
                   5323: #
                   5324: # Bug: The <op> capability resets attributes.
                   5325: wy370-nk|wyse 370 without function keys,
                   5326:        am, ccc, hs, mc5i, mir, msgr, xenl, xon,
                   5327:        colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80,
                   5328:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5329:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   5330:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   5331:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   5332:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5333:        cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
                   5334:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>,
                   5335:        dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
                   5336:        dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>,
                   5337:        el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0,
1.4       tholo    5338:        flash=\E[30h\E\\\,\E[30l$<300>, fsl=\E[1;24r\E8,
1.1       tholo    5339:        home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH,
                   5340:        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
                   5341:        ind=\n$<2>,
                   5342:        initc=\E[66;%p1%d;\n%?%p2%{250}%<%t%{0}\n%e%p2%{500}%<%t%{16}\n%e%p2%{750}%<%t%{32}%e%{48}%;\n%?%p3%{250}%<%t%{0}\n%e%p3%{500}%<%t%{4}\n%e%p3%{750}%<%t%{8}%e%{12}%;\n%?%p4%{250}%<%t%{0}\n%e%p4%{500}%<%t%{1}\n%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw,
                   5343:        invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>,
                   5344:        is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h,
                   5345:        is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i,
                   5346:        mc5=\E[5i,
                   5347:        oc=\E[60w\E[63;0w\n\E[66;1;4w\n\E[66;2;13w\n\E[66;3;16w\n\E[66;4;49w\n\E[66;5;51w\n\E[66;6;61w\n\E[66;7;64w,
                   5348:        op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O,
                   5349:        rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l,
                   5350:        rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
                   5351:        rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>,
                   5352:        rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw,
                   5353:        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%;,
                   5354:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
                   5355:        smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
                   5356:        tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH,
                   5357:        u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B,
                   5358:        u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd,
                   5359: #
                   5360: #      Function key set for the ASCII (wy-50 compatible) keyboard
                   5361: #      This is the default 370.
                   5362: #
                   5363: wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard,
                   5364:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   5365:        kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i,
                   5366:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   5367:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i,
                   5368:        kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
                   5369:        kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP,
                   5370:        knp=\E[U, kpp=\E[V,
                   5371:        use=wy370-nk,
                   5372: #
                   5373: #      Function key set for the VT-320 (and wy85) compatible keyboard
                   5374: #
                   5375: wy370-105k|Wyse 370 with 105 key keyboard,
                   5376:        ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs,
                   5377:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   5378:        kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   5379:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   5380:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   5381:        kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   5382:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   5383:        khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
                   5384:        kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
                   5385:        use=wy370-nk,
                   5386: #
                   5387: #      Function key set for the PC compatible keyboard
                   5388: #
                   5389: wy370-EPC|Wyse 370 with 102 key keyboard,
                   5390:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   5391:        kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
                   5392:        kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   5393:        kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   5394:        khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V,
                   5395:        use=wy370-nk,
                   5396: #
                   5397: #      Wyse 370 with visual bell.
                   5398: wy370-vb|Wyse 370 with visible bell,
                   5399:        bel@, use=wy370,
                   5400: #
                   5401: #      Wyse 370 in 132-column mode.
                   5402: wy370-w|Wyse 370 in 132-column mode,
                   5403:        cols#132, wsl#132,
                   5404:        rs2=\E[35h\E[?3h$<70>, use=wy370,
                   5405: #
                   5406: #      Wyse 370 in 132-column mode with visual bell.
                   5407: wy370-wvb|Wyse 370 with visible bell 132-columns,
1.4       tholo    5408:        flash=\E[30h\E\\\,\E[30l$<300>,
1.1       tholo    5409:        use=wy370-w,
                   5410: wy370-rv|Wyse 370 reverse video,
                   5411:        rs3=\E[32h\E[?5h, use=wy370,
                   5412: #
                   5413: #      Wyse 99gt Tektronix 4010/4014 emulator,
                   5414: #
                   5415: wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator,
                   5416:        am, os,
                   5417:        cols#74, lines#35,
1.4       tholo    5418:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
1.1       tholo    5419:        cup=\035%{3040}%{89}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037,
                   5420:        cuu1=^K, ff=^L,
                   5421:        hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
                   5422:        home=^]7`x @\037,
                   5423:        hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
                   5424:        is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h,
                   5425: #
                   5426: #      Wyse 160 Tektronix 4010/4014 emulator,
                   5427: #
                   5428: wy160-tek|Wyse 160 Tektronix 4010/4014 emulator,
                   5429:        cup=\035%{3103}%{91}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037,
                   5430:        home=^]8`g @\037,
                   5431:        use=wy99gt-tek,
                   5432: #
                   5433: #      Wyse 370 Tektronix 4010/4014 emulator,
                   5434: #
                   5435: wy370-tek|Wyse 370 Tektronix 4010/4014 emulator,
                   5436:        am, os,
                   5437:        cols#80, lines#36,
1.4       tholo    5438:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
1.1       tholo    5439:        cup=\035%{775}%{108}%p1%*%{5}%/%-%Py\n%p2%{64}%*%{4}%+%{5}%/%Px\n%gy%{32}%/%{31}%&%{32}%+%c\n%gy%{31}%&%{96}%+%c\n%gx%{32}%/%{31}%&%{32}%+%c\n%gx%{31}%&%{64}%+%c\037,
                   5440:        cuu1=^K, ff=^L,
                   5441:        hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
                   5442:        home=^]8g @\037,
                   5443:        hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
                   5444:        is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K,
                   5445:        nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0,
                   5446:
                   5447: # Vendor-supplied Wyse entries end here.
                   5448:
                   5449: #
                   5450: #TITLE:  TERMINFO ENTRY WY520
                   5451: #DATE:   8/5/93
                   5452: # The WY520 terminfo is based on the WY285 entry published on the WYSE
                   5453: # BBS with the addition of more function keys and special keys.
                   5454: #
                   5455: #               rs1 -> set personality
                   5456: #               rs2 -> set number of columns
                   5457: #               rs3 -> set number of lines
                   5458: #               is1 -> select the proper font
                   5459: #               is2 -> do the initialization
                   5460: #               is3 -> If this string is empty then rs3 gets sent.
                   5461: #
                   5462: #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
                   5463: #       - The BS key is programmed to generate BS in smcup since
                   5464: #         is2 doesn't seem to work.
                   5465: #       - Remove and shift/Remove: delete a character
                   5466: #       - Insert : enter insert mode
                   5467: #       - Find   : delete to end of file
                   5468: #       - Select : clear a line
                   5469: #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
                   5470: #       - F14 : Home key
                   5471: #       - Bottom status line (host writable line) is used.
                   5472: #       - smkx,rmkx are removed because this would put the numeric
                   5473: #         keypad in Dec application mode which doesn't seem to work
                   5474: #         with SCO applications.
                   5475: #
                   5476: wy520|wyse520|wyse 520,
                   5477:        am, hs, km, mc5i, mir, xenl, xon,
                   5478:        cols#80, it#8, lines#24, wsl#80,
                   5479:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5480:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   5481:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   5482:        csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
                   5483:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5484:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5485:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>,
                   5486:        dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~,
                   5487:        ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K,
                   5488:        enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I,
                   5489:        hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>,
                   5490:        il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
                   5491:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h,
                   5492:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy,
                   5493:        kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D,
                   5494:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~,
                   5495:        kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   5496:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   5497:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   5498:        kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   5499:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   5500:        khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
                   5501:        kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
                   5502:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   5503:        ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l,
                   5504:        rmso=\E[m, rmul=\E[24m,
                   5505:        rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
                   5506:        rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
                   5507:        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%;,
                   5508:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h,
                   5509:        smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   5510:        tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`,
                   5511:        vpa=\E[%i%p1%dd,
                   5512: #
                   5513: #       Wyse 520 with 24 data lines and status (terminal status)
                   5514: wy520-24|wyse520-24|wyse 520 with 24 data lines,
                   5515:        hs@,
                   5516:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520,
                   5517: #
                   5518: #       Wyse 520 with visual bell.
                   5519: wy520-vb|wyse520-vb|wyse 520 with visible bell,
1.4       tholo    5520:        flash=\E[30h\E\\\,\E[30l$<100>, use=wy520,
1.1       tholo    5521: #
                   5522: #       Wyse 520 in 132-column mode.
                   5523: wy520-w|wyse520-w|wyse 520 in 132-column mode,
                   5524:        cols#132, wsl#132,
                   5525:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
                   5526:        ip=$<7>, rs2=\E[35h\E[?3h,
                   5527:        use=wy520,
                   5528: #
                   5529: #       Wyse 520 in 132-column mode with visual bell.
                   5530: wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,
1.4       tholo    5531:        flash=\E[30h\E\\\,\E[30l$<100>,
1.1       tholo    5532:        use=wy520-w,
                   5533: #
                   5534: #
                   5535: #       Wyse 520 emulating a vt420 7 bit mode.
                   5536: #       The DEL key is programmed to generate BS in is2.
                   5537: #       With EPC keyboard.
                   5538: #       - 'End' key will clear till end of line on EPC keyboard
                   5539: #       - Shift/End : ignored.
                   5540: #       - Insert : enter insert mode.
                   5541: #       - Delete : delete a character (have to change interrupt character
                   5542: #                  to CTRL-C: stty intr '^c') for it to work since the
                   5543: #                  Delete key sends 7FH.
                   5544: wy520-epc|wyse520-epc|wyse 520 with EPC kb,
                   5545:        kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~,
                   5546:        kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H,
                   5547:        use=wy520,
                   5548: #
                   5549: #       Wyse 520 with 24 data lines and status (terminal status)
                   5550: #       with EPC keyboard.
                   5551: wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines,
                   5552:        hs@,
                   5553:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520-epc,
                   5554: #
                   5555: #       Wyse 520 with visual bell.
                   5556: wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell,
1.4       tholo    5557:        flash=\E[30h\E\\\,\E[30l$<100>,
1.1       tholo    5558:        use=wy520-epc,
                   5559: #
                   5560: #       Wyse 520 in 132-column mode.
                   5561: wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode,
                   5562:        cols#132, wsl#132,
                   5563:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
                   5564:        ip=$<7>, rs2=\E[35h\E[?3h,
                   5565:        use=wy520-epc,
                   5566: #
                   5567: #       Wyse 520 in 132-column mode with visual bell.
                   5568: wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns,
1.4       tholo    5569:        flash=\E[30h\E\\\,\E[30l$<100>,
1.1       tholo    5570:        use=wy520-epc-w,
                   5571: #
                   5572: #       Wyse 520 in 80-column, 36 lines
                   5573: wy520-36|wyse520-36|wyse 520 with 36 data lines,
                   5574:        hs@,
                   5575:        lines#36,
                   5576:        dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520,
                   5577: #
                   5578: #       Wyse 520 in 80-column, 48 lines
                   5579: wy520-48|wyse520-48|wyse 520 with 48 data lines,
                   5580:        hs@,
                   5581:        lines#48,
                   5582:        dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520,
                   5583: #
                   5584: #       Wyse 520 in 132-column, 36 lines
                   5585: wy520-36w|wyse520-36w|wyse 520 with 36 data lines,
                   5586:        cols#132, wsl#132,
                   5587:        rs2=\E[?3h,
                   5588:        rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36,
                   5589: #
                   5590: #       Wyse 520 in 132-column, 48 lines
                   5591: wy520-48w|wyse520-48w|wyse 520 with 48 data lines,
                   5592:        cols#132, wsl#132,
                   5593:        rs2=\E[?3h,
                   5594:        rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48,
                   5595: #
                   5596: #
                   5597: #       Wyse 520 in 80-column, 36 lines with EPC keyboard
                   5598: wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines,
                   5599:        hs@,
                   5600:        lines#36,
                   5601:        dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520-epc,
                   5602: #
                   5603: #       Wyse 520 in 80-column, 48 lines with EPC keyboard
                   5604: wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines,
                   5605:        hs@,
                   5606:        lines#48,
                   5607:        dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520-epc,
                   5608: #
                   5609: #       Wyse 520 in 132-column, 36 lines with EPC keyboard
                   5610: wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines,
                   5611:        cols#132, wsl#132,
                   5612:        rs2=\E[?3h,
                   5613:        rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36pc,
                   5614: #
                   5615: #       Wyse 520 in 132-column, 48 lines with EPC keyboard
                   5616: wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines,
                   5617:        cols#132, wsl#132,
                   5618:        rs2=\E[?3h,
                   5619:        rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48pc,
                   5620:
                   5621: # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
                   5622: # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
                   5623: # file and we don't know what <hts> is -- esr)
                   5624: wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on,
                   5625:        am,
                   5626:        cols#80, it#8, lines#24,
                   5627:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   5628:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW,
                   5629:        dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J,
1.4       tholo    5630:        is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F,
                   5631:        kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O,
                   5632:        rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N,
                   5633:        smul=^N,
1.1       tholo    5634:
                   5635: wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad,
                   5636:        is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=,
                   5637:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   5638:        khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>,
                   5639:        use=wy75,
                   5640:
                   5641: # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
                   5642: wy100q|Wyse 100 for Quotron,
                   5643:        cols#80, lines#24, xmc#1,
                   5644:        cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L,
                   5645:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   5646:        dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@,
1.4       tholo    5647:        is2=\E`\:\200\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J,
                   5648:        kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq,
1.1       tholo    5649:        use=adm+sgr,
                   5650:
                   5651: #### Kermit terminal emulations
                   5652: #
                   5653: # Obsolete Kermit versions may be listed in the section describing obsolete
                   5654: # non-ANSI terminal emulators later in the file.
                   5655: #
                   5656:
                   5657: # KERMIT standard all versions.
                   5658: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   5659: # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   5660: # From: greg small <gts@populi.berkeley.edu> 9-25-84
                   5661: kermit|standard kermit,
                   5662:        cols#80, lines#24,
                   5663:        clear=\EE, cub1=^H, cuf1=\EC,
                   5664:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   5665:        el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n,
                   5666:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   5667: kermit-am|standard kermit plus auto-margin,
                   5668:        am,
                   5669:        is2=K1 Standard Kermit plus Automatic Margins\n, use=kermit,
                   5670: # IBMPC Kermit 1.2.
                   5671: # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
                   5672: # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
                   5673: # line).
                   5674: # From: greg small <gts@populi.berkeley.edu> 8-30-84
                   5675: pckermit|pckermit12|UCB IBMPC Kermit 1.2,
                   5676:        am,
                   5677:        lines#25,
                   5678:        clear=\EH\EJ, ed@, el@,
                   5679:        is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit,
                   5680: # IBMPC Kermit 1.20
                   5681: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   5682: # Initialization must escape from that region by cursor position to line 24.
                   5683: # Cannot use character insert because 1.20 goes crazy if insert at col 80.
                   5684: # Does not use :am: because autowrap is lost when kermit dropped and restarted.
                   5685: # From: greg small <gts@populi.berkeley.edu> 12-19-84
                   5686: pckermit120|UCB IBMPC Kermit 1.20,
                   5687:        it#8, lines#24,
                   5688:        cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I,
                   5689:        il1=\EL,
                   5690:        is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n,
                   5691:        rmir@, rmso=\Eq, smir@, smso=\Ep,
                   5692:        use=kermit,
                   5693: # MS-DOS Kermit 2.27 for the IBMPC
                   5694: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   5695: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   5696: # Initialization must escape from that region by cursor position to line 24.
                   5697: # Does not use am: because autowrap is lost when kermit dropped and restarted.
                   5698: # Reverse video for standout like H19.
                   5699: # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   5700: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   5701: msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC,
                   5702:        am@,
                   5703:        cols#80, it#8, lines#24,
                   5704:        clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
                   5705:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   5706:        cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK,
                   5707:        home=\EH, ht=^I, il1=\EL,
                   5708:        is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n,
                   5709:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek,
                   5710:        rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep,
                   5711: # MS-DOS Kermit 2.27 with automatic margins
                   5712: # From:        greg small <gts@populi.berkeley.edu> 3-17-85
                   5713: msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins,
                   5714:        am,
                   5715:        cvvis=\EO\Eq\EG\EvK5,
                   5716:        is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n, use=msk227,
                   5717: # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
                   5718: # Automatic margins now default.  Use ansi <sgr> for highlights.
                   5719: # Define function keys.
                   5720: # (msk22714: removed obsolete ":kn#10:" -- esr)
                   5721: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   5722: msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC,
                   5723:        am,
                   5724:        bold=\E[1m, cvvis=\EO\Eq\EG\EvK6,
                   5725:        is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n,
                   5726:        kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6,
                   5727:        kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m,
                   5728:        sgr0=\E[m, smso=\E[1m, smul=\E[4m,
                   5729:        use=mskermit227,
                   5730: # This was designed for a VT320 emulator, but it is probably a good start
                   5731: # at support for the VT320 itself.
                   5732: # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
                   5733: # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
                   5734: vt320-k3|MS-Kermit 3.00's vt320 emulation,
                   5735:        am, eslok, hs, km, mir, msgr, xenl,
                   5736:        cols#80, it#8, lines#49, pb#9600, vt#3,
                   5737:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5738:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   5739:        clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M,
                   5740:        csr=\E[%i%p1%d;%p1%dr, cub=\E[%p1%dD, cub1=^H,
                   5741:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5742:        cup=\E[%i%p1%d;%p1%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5743:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   5744:        dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
                   5745:        flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l,
                   5746:        fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   5747:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   5748:        is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD,
                   5749:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~,
                   5750:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   5751:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~,
                   5752:        kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8,
                   5753:        rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l,
                   5754:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
                   5755:        rs1=\E(B\E)B\E>\E F\E[4;20l\E[12h\E[?1;5;6;38;42l\E[?7;25h\E4i\E?4i\E[m\E[r\E[2$~,
                   5756:        sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                   5757:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   5758:        tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd,
                   5759: # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
                   5760: # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
                   5761: # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
                   5762: vt320-k311|dec vt320 series as defined by kermit 3.11,
                   5763:        am, eslok, hs, mir, msgr, xenl, xon,
                   5764:        cols#80, it#8, lines#24, vt#3,
                   5765:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5766:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   5767:        clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M,
                   5768:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   5769:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5770:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5771:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   5772:        dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
                   5773:        flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH,
                   5774:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED,
                   5775:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   5776:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   5777:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   5778:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
                   5779:        lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
                   5780:        rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O,
                   5781:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
                   5782:        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
                   5783:        smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
                   5784:        smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
                   5785:
                   5786: ######## NON-ANSI TERMINAL EMULATIONS
                   5787: #
                   5788:
                   5789: #### Avatar
                   5790: #
                   5791: # These entries attempt to describe Avatar, a terminal emulation used with
                   5792: # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
                   5793: # capabilities, but with cheaper (shorter) control sequences.  Messy design,
                   5794: # excessively dependent on PC idiosyncracies, but apparently rather popular
                   5795: # in the BBS world.
                   5796: #
                   5797: # No color support.  Avatar doesn't fit either of the Tektronix or HP color
                   5798: # models that terminfo knows about.  An Avatar color attribute is the
                   5799: # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
                   5800: #
                   5801: # I wrote these entries while looking at the Avatar spec.  I don't have
                   5802: # the facilities to test them.  Let me know if they work, or don't.
                   5803: #
                   5804: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   5805: # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
                   5806: # tell ncurses that the corresponding highlights exist; it should use <sgr>,
                   5807: # which is the only method that will actually work for multiple highlights.)
                   5808: avatar0|avatar terminal emulator level 0,
                   5809:        am, bce, msgr,
                   5810:        cols#80, it#8, lines#25,
                   5811:        blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D,
                   5812:        cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G,
                   5813:        ind=^J, invis=^V^A\200, rep=\031%p1%c%p2%d, rev=^A^Vp,
                   5814:        rs2=^L,
                   5815:        sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;,
                   5816:        sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A,
                   5817:        use=klone+acs,
                   5818: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   5819: avatar0+|avatar terminal emulator level 0+,
                   5820:        dch1=^V^N, rmir=\026\n\200\200\200\200, smir=^V^I, use=avatar0,
                   5821: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   5822: avatar|avatar1|avatar terminal emulator level 1,
                   5823:        civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+,
                   5824:        rmam=^V", rmir=^V^P, smam=^V$,
                   5825:        use=avatar0+,
                   5826:
                   5827: ######## OLDER TERMINAL TYPES
                   5828: #
                   5829: # This section is devoted to older commercial terminal brands that are now
                   5830: # discontinued, but known to be still in use or represented by emulations.
                   5831: #
                   5832:
                   5833: #### AT&T (att, tty)
                   5834: #
                   5835: # This section also includes Teletype-branded VDTs.
                   5836: #
1.4       tholo    5837: # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
                   5838: # Boundless Technologies); for details, see the header comment on the ADDS
                   5839: # section.
1.1       tholo    5840: #
                   5841: # These are AT&T's official terminfo entries.  All-caps aliases have been
                   5842: # removed.
                   5843: #
                   5844: att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode,
                   5845:        am, eo, mir, msgr, xon,
                   5846:        cols#80, it#8, lines#24,
                   5847:        bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   5848:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5849:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5850:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   5851:        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
                   5852:        il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J,
                   5853:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   5854:        kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r,
                   5855:        kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r,
                   5856:        kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r,
                   5857:        kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H,
                   5858:        kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   5859:        rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h,
                   5860:        smso=\E[7m,
                   5861: att2350|AT&T 2350 Video Information Terminal 80 column mode,
                   5862:        mc0@, mc4@, mc5@,
                   5863:        use=att2300,
                   5864:
                   5865: # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
                   5866: # Seems upward compatible with vt100, plus ins/del line/char.
                   5867: # On sgr, the protection parameter is ignored.
                   5868: # No check is made to make sure that only 3 parameters are output.
                   5869: #      standout= reverse + half-intensity = 3 | 5.
                   5870: #      bold= reverse + underline = 2 | 3.
                   5871: # note that half-bright blinking doesn't look different from normal blinking.
                   5872: # NOTE:you must program the function keys first, label second!
                   5873: # (att4410: a BSD entry has been seen with the following capabilities:
                   5874: # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
                   5875: # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
                   5876: att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1,
                   5877:        am, hs, mir, msgr, xon,
                   5878:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
1.4       tholo    5879:        acsc=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--\,\,..,
1.1       tholo    5880:        bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M,
                   5881:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   5882:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m,
                   5883:        dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I,
                   5884:        ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0,
                   5885:        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,
                   5886:        kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   5887:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT,
                   5888:        kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H,
                   5889:        ll=\E[24H, nel=^M^J,
                   5890:        pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s,
1.4       tholo    5891:        pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
1.1       tholo    5892:        rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
                   5893:        sc=\E7,
                   5894:        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%;,
                   5895:        sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
                   5896:        tsl=\E7\E[25;%p1%{1}%+%dH,
                   5897:
                   5898: att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1,
                   5899:        cols#132, wsl#132,
                   5900:        is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1,
                   5901:
                   5902: att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2,
                   5903:        pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s,
                   5904:        use=att5410v1,
                   5905:
                   5906: att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode,
                   5907:        cols#132, wsl#132,
                   5908:        is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410,
                   5909:
                   5910: # 5410 in terms of a vt100
                   5911: # (v5410: added <rmam>/<smam> based on init string -- esr)
1.4       tholo    5912: v5410|att5410 in terms of a vt100,
1.1       tholo    5913:        am, mir, msgr, xon,
                   5914:        cols#80, it#8, lines#24, vt#3,
                   5915:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5916:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   5917:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   5918:        cub1=^H, cud1=^J, cuf1=\E[C$<2>,
                   5919:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P,
                   5920:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   5921:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@,
                   5922:        il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H,
                   5923:        kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   5924:        kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx,
                   5925:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv,
                   5926:        kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>,
                   5927:        rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
                   5928:        rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   5929:        sc=\E7,
                   5930:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   5931:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   5932:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   5933:
                   5934: #
                   5935: # Teletype Model 5420 -- A souped up 5410, with multiple windows,
                   5936: # even! the 5420 has three modes: scroll, window or page mode
                   5937: # this terminfo should work in scroll or window mode, but doesn't
                   5938: # take advantage of any of the differences between them.
                   5939: #
                   5940: # Has memory below (2 lines!)
                   5941: # 3 pages of memory (plus some spare)
                   5942: # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
                   5943: # <hpa>, <hts> would work for these, but these work in both scroll and window
                   5944: # mode... Unset insert character so insert mode works
                   5945: # <is1> sets 80 column mode,
                   5946: # <is2> escape sequence:
                   5947: # 1) turn off all fonts
                   5948: # 2) function keys off, keyboard lock off, control display off,
                   5949: #    insert mode off, erasure mode off,
                   5950: # 3) full duplex, monitor mode off, send graphics off, nl on lf off
                   5951: # 4) reset origin mode
                   5952: # 5) set line wraparound
                   5953: # 6) exit erasure mode, positional attribute mode, and erasure extent mode
                   5954: # 7) clear margins
                   5955: # 8) program ENTER to transmit ^J,
                   5956: # We use \212 to program the ^J because a bare ^J will get translated by
                   5957: # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
                   5958: #     1      2            3              4     5     6    7  8
                   5959: # <is3> set screen color to black,
                   5960: # No representation in terminfo for the delete word key: kdw1=\Ed
                   5961: # Key capabilities assume the power-up send sequence...
                   5962: # This <rmcup> is not strictly necessary, but it helps maximize
                   5963: # memory usefulness: <rmcup=\Ez>,
                   5964: # Alternate sgr0:      <sgr0=\E[m\EW^O>,
                   5965: # 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%;>,
                   5966: # smkx programs the SYS PF keys to send a set sequence.
                   5967: # It also sets up labels f1, f2, ..., f8, and sends edit keys.
                   5968: # This string causes them to send the strings <kf1>-<kf8>
                   5969: # when pressed in SYS PF mode.
                   5970: # (att4415: I added <rmam>/<smam> based on the init string -- esr)
                   5971: att4415|tty5420|att5420|AT&T 4415/5420 80 cols,
                   5972:        db, mir, xon,
                   5973:        lh#2, lm#78, lw#8, nlab#8, wsl#55,
                   5974:        cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD,
                   5975:        cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx,
                   5976:        cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP,
                   5977:        dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD,
                   5978:        flash=\E[?5h$<200>\E[?5l, home=\E[x,
                   5979:        hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@,
                   5980:        il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>,
                   5981:        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,
                   5982:        is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M,
                   5983:        kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd,
                   5984:        kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                   5985:        kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
                   5986:        kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   5987:        lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i,
                   5988:        mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt,
                   5989:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s,
1.4       tholo    5990:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV,
1.1       tholo    5991:        rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l,
                   5992:        rmkx=\E[19;0j\E[21;1j\212, rmln=\E|,
                   5993:        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%;,
                   5994:        sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h,
                   5995:        smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g,
                   5996:        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
                   5997:        use=att4410,
                   5998:
                   5999: att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols,
                   6000:        cols#132, lm#54, wsl#97,
                   6001:        is1=\E[?3h$<100>, use=att4415,
                   6002:
                   6003: att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv,
                   6004:        flash=\E[?5l$<200>\E[?5h, is3=\E[?5h,
                   6005:        use=att4415,
                   6006:
                   6007: att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv,
                   6008:        cols#132, lm#54, wsl#97,
                   6009:        flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h, use=att4415,
                   6010:
                   6011: # Note that this mode permits programming USER PF KEYS and labels
                   6012: # However, when you program user pf labels you have to reselect
                   6013: # user pf keys to make them appear!
1.4       tholo    6014: att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels,
1.1       tholo    6015:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   6016:        pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s,
1.4       tholo    6017:        pln=\E[%p1%d;0;0;1q%p2%:-16.16s,
1.1       tholo    6018:
1.4       tholo    6019: att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels,
1.1       tholo    6020:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   6021:        use=att4415+nl, use=att4415,
                   6022:
                   6023: att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels,
                   6024:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   6025:        use=att4415+nl, use=att4415-rv,
                   6026:
                   6027: att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels,
                   6028:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   6029:        use=att4415+nl, use=att4415-w,
                   6030:
                   6031: att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels,
                   6032:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   6033:        use=att4415+nl, use=att4415-w-rv,
                   6034:
                   6035: att5420_2|AT&T 5420 model 2 80 cols,
                   6036:        am, db, hs, mir, msgr, xon,
                   6037:        cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
                   6038:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6039:        blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j,
                   6040:        cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6041:        cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
                   6042:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j,
                   6043:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
                   6044:        dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K,
                   6045:        el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
                   6046:        hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   6047:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
                   6048:        invis=\E[8m,
                   6049:        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,
                   6050:        kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D,
                   6051:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
                   6052:        kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe,
                   6053:        kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H,
                   6054:        kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
                   6055:        kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   6056:        lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i,
                   6057:        mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J,
                   6058:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~,
1.4       tholo    6059:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8,
                   6060:        rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j,
                   6061:        rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
                   6062:        sc=\E7,
1.1       tholo    6063:        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%;,
                   6064:        sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~,
                   6065:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   6066:        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
                   6067: att5420_2-w|AT&T 5420 model 2 in 132 column mode,
                   6068:        cols#132,
                   6069:        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,
                   6070:
                   6071: att4418|att5418|AT&T 5418 80 cols,
                   6072:        am, xon,
                   6073:        cols#80, lines#24,
                   6074:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6075:        bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD,
                   6076:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                   6077:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   6078:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m,
                   6079:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H,
                   6080:        ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J,
                   6081:        is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%, kcub1=\E@,
                   6082:        kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h,
                   6083:        kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I,
                   6084:        kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E,
                   6085:        kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j,
                   6086:        kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8,
                   6087:        rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7,
                   6088:        sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
                   6089: att4418-w|att5418-w|AT&T 5418 132 cols,
                   6090:        cols#132,
                   6091:        is1=\E[?3h, use=att5418,
                   6092:
                   6093: att4420|tty4420|teletype 4420,
                   6094:        da, db, eo, msgr, ul, xon,
                   6095:        cols#80, lines#24, lm#72,
                   6096:        bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC,
                   6097:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
1.4       tholo    6098:        dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s,
1.1       tholo    6099:        kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC,
                   6100:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH,
                   6101:        kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET,
                   6102:        lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~,
                   6103:        rmul=\EZ, smdc@, smso=\E}, smul=\E\\,
                   6104:
1.4       tholo    6105: #  The following is a terminfo entry for the Teletype 4424
1.1       tholo    6106: #  asynchronous keyboard-display terminal.  It supports
1.4       tholo    6107: #  the vi editor.  The terminal must be set up as follows,
1.1       tholo    6108: #
                   6109: #      HIGHLIGHT DEFINITION    3-TONE
                   6110: #      DISPLAY FUNCTION        GROUP III
                   6111: #
                   6112: #  The second entry below provides limited (a la adm3a)
                   6113: #  operation under GROUP II.
                   6114: #
                   6115: #  This must be used with DISPLAY FUNCTION GROUP I or III
                   6116: #      and HIGHLIGHT DEFINITION 3-TONE
                   6117: # The terminal has either bold or blink, depending on options
                   6118: #
1.4       tholo    6119: # (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
1.1       tholo    6120: att4424|tty4424|teletype 4424,
                   6121:        am, xon,
                   6122:        cols#80, lines#24,
                   6123:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6124:        bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M,
                   6125:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6126:        cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC,
                   6127:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA,
                   6128:        dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM,
                   6129:        ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   6130:        ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h,
                   6131:        kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6132:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   6133:        khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~,
                   6134:        rmul=\EZ,
                   6135:        sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m,
1.4       tholo    6136:        sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\,
                   6137:        tbc=\EF,
1.1       tholo    6138:
                   6139: att4424-1|tty4424-1|teletype 4424 in display function group I,
                   6140:        kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@,
                   6141:        use=att4424,
                   6142:
                   6143: # This entry is not one of AT&T's official ones, it was translated from the
                   6144: # 4.4BSD termcap file.  The highlight strings are different from att4424.
                   6145: # I have no idea why this is -- older firmware version, maybe?
                   6146: # The following two lines are the comment originally attached to the entry:
                   6147: # This entry appears to avoid the top line - I have no idea why.
                   6148: # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
                   6149: att4424m|tty4424m|teletype 4424M,
                   6150:        am, da, db, mir,
                   6151:        cols#80, it#8, lines#23,
                   6152:        bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   6153:        cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP,
                   6154:        dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>,
                   6155:        is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   6156:        kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   6157:        kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m,
                   6158:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   6159:
                   6160: # The Teletype 5425 is really version 2 of the Teletype 5420. It
                   6161: # is quite similar, except for some minor differences. No page
                   6162: # mode, for example, so all of the <cup> sequences used above have
                   6163: # to change back to what's being used for the 5410. Many of the
                   6164: # option settings have changed their numbering as well.
                   6165: #
                   6166: # This has been tested on a preliminary model.
                   6167: #
                   6168: # (att5425: added <rmam>/<smam> based on the init string -- esr)
                   6169: att5425|tty5425|att4425|AT&T 4425/5425,
                   6170:        am, da, db, hs, mir, msgr, xenl, xon,
                   6171:        cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
                   6172:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6173:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   6174:        clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M,
                   6175:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6176:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6177:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6178:        cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   6179:        dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J,
                   6180:        el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
                   6181:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
                   6182:        hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   6183:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
                   6184:        invis=\E[8m, is1=\E<\E[?3l$<100>,
                   6185:        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,
                   6186:        is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J,
                   6187:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   6188:        kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc,
                   6189:        kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi,
                   6190:        kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T,
                   6191:        kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i,
                   6192:        nel=^M^J,
                   6193:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
1.4       tholo    6194:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8,
1.1       tholo    6195:        rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l,
                   6196:        rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|,
                   6197:        rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7,
                   6198:        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%;,
                   6199:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6200:        smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m,
                   6201:        smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH,
                   6202:        vpa=\E[%p1%{1}%+%dd,
                   6203:
                   6204: att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels,
                   6205:        smkx=\E[21;1j\E[25;4j\Eent,
                   6206:        use=att4425,
                   6207:
                   6208: att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode,
                   6209:        cols#132, lm#54, wsl#97,
                   6210:        is1=\E[?3h$<100>, use=tty5425,
                   6211:
                   6212: # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
                   6213: # I also added <rmam>/<smam> -- esr)
                   6214: att4426|tty4426|teletype 4426S,
                   6215:        am, da, db, xon,
                   6216:        cols#80, lines#24, lm#48,
                   6217:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6218:        bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V,
                   6219:        cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
                   6220:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   6221:        cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP,
                   6222:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H,
                   6223:        hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^,
                   6224:        il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS,
                   6225:        is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO,
                   6226:        kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   6227:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
                   6228:        kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H,
                   6229:        nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT,
                   6230:        rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
                   6231:        rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0,
                   6232:        smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g,
                   6233:        vpa=\E[%p1%dd,
                   6234:
                   6235: # Terminfo entry for the AT&T 510 A Personal Terminal
                   6236: # Function keys 9 - 16 are available only after the
                   6237: # screen labeled (soft keys/action blocks) are labeled.  Function key
                   6238: # 9 corresponds to the leftmost touch target on the screen,
                   6239: # function key 16 corresponds to the rightmost.
                   6240: #
                   6241: # This entry is based on one done by Ernie Rice at Summit, NJ and
                   6242: # changed by Anne Gallup, Skokie, IL, ttrdc!anne
1.4       tholo    6243: att510a|bct510a|AT&T 510A Personal Terminal,
1.1       tholo    6244:        am, mir, msgr, xenl, xon,
                   6245:        cols#80, lh#2, lines#24, lw#7, nlab#8,
1.4       tholo    6246:        acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b,
1.1       tholo    6247:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   6248:        civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M,
                   6249:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B,
                   6250:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   6251:        cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP,
                   6252:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J,
                   6253:        el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I,
                   6254:        hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l,
                   6255:        is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z,
                   6256:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm,
                   6257:        kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh,
                   6258:        kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe,
                   6259:        kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T,
                   6260:        mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE,
1.4       tholo    6261:        pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
1.1       tholo    6262:        rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7,
                   6263:        sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;,
                   6264:        sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m,
                   6265:        smul=\E[4m, tbc=\E[3g,
                   6266:
                   6267: # Terminfo entry for the AT&T 510 D Personal Terminal
                   6268: # Function keys 9 through 16 are accessed by bringing up the
                   6269: # system blocks.
                   6270: # Function key 9 corresponds to the leftmost touch target on the screen,
                   6271: # function key 16 corresponds to the rightmost.
                   6272: #
                   6273: # There are problems with soft key labeling.  These are due to
                   6274: # strangenesses in the native terminal that are impossible to
                   6275: # describe in a terminfo.
1.4       tholo    6276: att510d|bct510d|AT&T 510D Personal Terminal,
1.1       tholo    6277:        am, da, db, mir, msgr, xenl, xon,
                   6278:        cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8,
1.4       tholo    6279:        acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b,
1.1       tholo    6280:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   6281:        clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD,
                   6282:        cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC,
                   6283:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   6284:        cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P,
                   6285:        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K,
                   6286:        el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H,
                   6287:        hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   6288:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
                   6289:        invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212,
                   6290:        kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
                   6291:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd,
                   6292:        kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi,
                   6293:        kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf,
                   6294:        kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2,
1.4       tholo    6295:        mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE,
                   6296:        pln=\E[%p1%dp%p2%:-16s, rc=\E8,
1.1       tholo    6297:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
                   6298:        rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|,
                   6299:        rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|,
                   6300:        rs2=\E[5;0|, sc=\E7,
                   6301:        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%;,
                   6302:        sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h,
                   6303:        smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m,
                   6304:        smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
                   6305:
                   6306: # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
1.4       tholo    6307: att500|att513|AT&T 513 using page mode,
1.1       tholo    6308:        am, chts, mir, msgr, xenl, xon,
                   6309:        cols#80, lh#2, lines#24, lw#8, nlab#8,
1.4       tholo    6310:        acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b,
1.1       tholo    6311:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   6312:        clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M,
                   6313:        csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6314:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6315:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6316:        cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m,
                   6317:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   6318:        enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
                   6319:        hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   6320:        indn=\E[%p1%dE, invis=\E[8m,
                   6321:        is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l,
                   6322:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   6323:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   6324:        kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK,
                   6325:        kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ,
                   6326:        kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY,
                   6327:        kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw,
                   6328:        kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd,
                   6329:        kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   6330:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent,
                   6331:        kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
                   6332:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm,
                   6333:        khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi,
                   6334:        kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
                   6335:        kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
                   6336:        kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB,
                   6337:        ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2,
                   6338:        mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i,
                   6339:        nel=\EE,
                   6340:        pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s,
                   6341:        pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s,
                   6342:        pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s,
1.4       tholo    6343:        pln=\E[%p1%dp%p2%:-16s, rc=\E8,
1.1       tholo    6344:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
                   6345:        rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l,
                   6346:        rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m,
                   6347:        rmul=\E[m,
                   6348:        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,
                   6349:        rs2=\E[5;0|, sc=\E7,
                   6350:        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%;,
                   6351:        sgr0=\E[m\017, smacs=^N, smir=\E[4h,
                   6352:        smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m,
                   6353:        smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
                   6354:
                   6355: # 01-07-88
                   6356: # printer must be set to EMUL ANSI to accept ESC codes
                   6357: # <cuu1> stops at top margin
                   6358: # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
                   6359: #      and alt font ascii,wrap on,tabs cleared
                   6360: # <is2> disables newline on LF,Emphasized off
                   6361: # The <u0> capability sets form length
                   6362: att5310|att5320|AT&T Model 53210 or 5320 matrix printer,
                   6363:        xhpa, xvpa,
                   6364:        bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10,
                   6365:        orhi#100, orl#12, orvi#72,
                   6366:        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%;,
                   6367:        cr=^M,
                   6368:        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%;,
1.4       tholo    6369:        cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM,
1.1       tholo    6370:        ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r,
                   6371:        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%;,
                   6372:        rshm=\E[m,
                   6373:        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(}%;,
                   6374:        smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds,
                   6375:        smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m,
                   6376:        u0=\E[%p1%dt, vpa=\E[%p1%dd,
                   6377:
1.4       tholo    6378: # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
                   6379: # The following SET-UP modes are assumed for normal operation:
                   6380: #      CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
                   6381: # Other SET-UP modes may be set for operator convenience or communication
                   6382: # requirements.  This termcap description is for the Resident Terminal Mode.
                   6383: # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   6384: # The BRL entry also said: UNSAFE :ll=\E[70H:
                   6385: att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs,
                   6386:        am, xon,
                   6387:        cols#88, it#8, lines#70, vt#3,
                   6388:        bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   6389:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   6390:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   6391:        home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   6392:        il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J,
                   6393:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   6394:        kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT,
                   6395:        rs1=\Ec, sc=\E7,
                   6396:
1.1       tholo    6397: # 5620 terminfo  (2.0 or later ROMS with char attributes)
1.4       tholo    6398: # The following SET-UP modes are assumed for normal operation:
                   6399: #      DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
                   6400: # Other SET-UP modes may be set for operator convenience or communication
                   6401: # requirements.  This termcap description is for Resident Terminal Mode.  No
                   6402: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1.1       tholo    6403: # assumptions: <ind> (scroll forward one line) is only done at screen bottom
                   6404: # Be aware that older versions of the dmd have a firmware bug that affects
                   6405: # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
1.4       tholo    6406: # <msgr> is from an otherwise inferior BRL for this terminal.  That entry
                   6407: # also has <ll>=\E[70H commented out and marked unsafe.
1.1       tholo    6408: # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
                   6409: att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns,
1.4       tholo    6410:        am, msgr, npc, xon,
1.1       tholo    6411:        cols#88, it#8, lines#70,
                   6412:        bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H,
                   6413:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   6414:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
                   6415:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@,
                   6416:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
                   6417:        indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
                   6418:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J,
                   6419:        pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T,
                   6420:        rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7,
                   6421:        sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
1.4       tholo    6422: att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer,
1.1       tholo    6423:        lines#24, use=att5620,
1.4       tholo    6424: att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer,
1.1       tholo    6425:        lines#34, use=att5620,
1.4       tholo    6426: # 5620 layer running the "S" system's downloaded graphics handler:
                   6427: att5620-s|tty5620-s|layer|vitty|5620 S layer,
                   6428:        am,
                   6429:        cols#80, it#8, lines#72,
                   6430:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
                   6431:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED,
                   6432:        el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J,
                   6433:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   6434:        kll=\E[70;1H,
1.1       tholo    6435:
                   6436: # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
                   6437: #
                   6438: # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
                   6439: # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
1.4       tholo    6440: att605|AT&T 605 80 column 102key keyboard,
1.1       tholo    6441:        am, eo, xon,
                   6442:        cols#80, lines#24, lw#8, nlab#8, wsl#80,
                   6443:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6444:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   6445:        cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   6446:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   6447:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   6448:        el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   6449:        il1=\E[L, ind=^J, invis=\E[8m,
                   6450:        is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017,
                   6451:        kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J,
                   6452:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   6453:        kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq,
                   6454:        kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD,
                   6455:        kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH,
                   6456:        kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ,
                   6457:        kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe,
                   6458:        kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx,
                   6459:        kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv,
                   6460:        kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs,
                   6461:        kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh,
                   6462:        kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@,
                   6463:        kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H,
                   6464:        mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   6465:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
1.4       tholo    6466:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
1.1       tholo    6467:        rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
                   6468:        rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016,
                   6469:        smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
                   6470:        tsl=\E7\E[25;%i%p1%dx,
1.4       tholo    6471: att605-pc|ATT 605 in pc term mode,
1.1       tholo    6472:        acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263,
                   6473:        cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
                   6474:        dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z,
                   6475:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   6476:        kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N,
                   6477:        kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
                   6478:        kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I,
                   6479:        rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g,
                   6480:        xonc=e,
                   6481:        use=att605,
1.4       tholo    6482: att605-w|AT&T 605-w 132 column 102 key keyboard,
1.1       tholo    6483:        cols#132, wsl#132,
                   6484:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0, use=att605,
                   6485: # (att610: I added <rmam>/<smam> based on the init string.  I also
1.4       tholo    6486: # added <indn> and <rin> because the BSD file says the att615s have them,
1.1       tholo    6487: # and the 615 is like a 610 with a big keyboard, and most of their other
                   6488: # smart terminals support the same sequence -- esr)
1.4       tholo    6489: att610|AT&T 610; 80 column; 98key keyboard,
1.1       tholo    6490:        am, eslok, hs, mir, msgr, xenl, xon,
                   6491:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   6492:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6493:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6494:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   6495:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6496:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   6497:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6498:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   6499:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   6500:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
                   6501:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   6502:        indn=\E[%p1%dS, invis=\E[8m,
                   6503:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0,
                   6504:        is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
                   6505:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6506:        kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   6507:        kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
                   6508:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
                   6509:        kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i,
                   6510:        nel=\EE,
                   6511:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
1.4       tholo    6512:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
1.1       tholo    6513:        ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
                   6514:        rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7,
                   6515:        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%;,
                   6516:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6517:        smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx,
1.4       tholo    6518: att610-w|AT&T 610; 132 column; 98key keyboard,
1.1       tholo    6519:        cols#132, wsl#132,
                   6520:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610,
                   6521:
1.4       tholo    6522: att610-103k|AT&T 610; 80 column; 103key keyboard,
1.1       tholo    6523:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   6524:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   6525:        kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
                   6526:        kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
                   6527:        kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
                   6528:        kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
                   6529:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
                   6530:        kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx,
                   6531:        khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl,
                   6532:        knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V,
                   6533:        kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq,
                   6534:        krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo,
                   6535:        kslt=\ENI, kspd=\EOp, kund=\EOs,
                   6536:        use=att610,
1.4       tholo    6537: att610-103k-w|AT&T 610; 132 column; 103key keyboard,
1.1       tholo    6538:        cols#132, wsl#132,
                   6539:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610-103k,
1.4       tholo    6540: att615|AT&T 615; 80 column; 98key keyboard,
1.1       tholo    6541:        kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
                   6542:        kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
                   6543:        kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
                   6544:        kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
                   6545:        kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
                   6546:        kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
                   6547:        kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM,
                   6548:        use=att610,
1.4       tholo    6549: att615-w|AT&T 615; 132 column; 98key keyboard,
1.1       tholo    6550:        kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
                   6551:        kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
                   6552:        kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
                   6553:        kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
                   6554:        kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
                   6555:        kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
                   6556:        kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM,
                   6557:        use=att610-w,
1.4       tholo    6558: att615-103k|AT&T 615; 80 column; 103key keyboard,
1.1       tholo    6559:        kLFT=\E[ A, kRIT=\E[ @,
                   6560:        use=att610-103k,
1.4       tholo    6561: att615-103k-w|AT&T 615; 132 column; 103key keyboard,
1.1       tholo    6562:        kLFT=\E[ A, kRIT=\E[ @,
                   6563:        use=att610-103k-w,
                   6564: # (att620: I added <rmam>/<smam> based on the init string and
                   6565: # <rin>/<indn> from a BSD termcap -- esr)
1.4       tholo    6566: att620|AT&T 620; 80 column; 98key keyboard,
1.1       tholo    6567:        am, eslok, hs, mir, msgr, xenl, xon,
                   6568:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   6569:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6570:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6571:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   6572:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6573:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   6574:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6575:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   6576:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   6577:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
                   6578:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   6579:        indn=\E[%p1%dS, invis=\E[8m,
                   6580:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h,
                   6581:        is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H,
                   6582:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6583:        kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   6584:        kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE,
                   6585:        kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI,
                   6586:        kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR,
                   6587:        kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ,
                   6588:        kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy,
                   6589:        kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf,
                   6590:        kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp,
                   6591:        kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                   6592:        kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H,
                   6593:        mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   6594:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
1.4       tholo    6595:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
1.1       tholo    6596:        ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l,
                   6597:        rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
                   6598:        rs2=\Ec\E[?3l, sc=\E7,
                   6599:        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%;,
                   6600:        sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h,
                   6601:        smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
                   6602:        tsl=\E7\E[25;%i%p1%dx,
1.4       tholo    6603: att620-w|AT&T 620; 132 column; 98key keyboard,
1.1       tholo    6604:        cols#132, wsl#132,
                   6605:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620,
1.4       tholo    6606: att620-103k|AT&T 620; 80 column; 103key keyboard,
1.1       tholo    6607:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   6608:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   6609:        kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
                   6610:        kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
                   6611:        kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
                   6612:        kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
                   6613:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
                   6614:        kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@,
                   6615:        kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@,
                   6616:        kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@,
                   6617:        kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@,
                   6618:        kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi,
                   6619:        kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
                   6620:        kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
                   6621:        kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB,
                   6622:        ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs,
                   6623:        use=att620,
                   6624:
1.4       tholo    6625: att620-103k-w|AT&T 620; 132 column; 103key keyboard,
1.1       tholo    6626:        cols#132, wsl#132,
                   6627:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620-103k,
                   6628:
1.4       tholo    6629: # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
                   6630: # The following SETUP modes are assumed for normal operation:
                   6631: #      Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
                   6632: #      Font_Size=Large         Non-Layers_Window_Cols=80
                   6633: #                              Non-Layers_Window_Rows=60
                   6634: # Other SETUP modes may be set for operator convenience or communication
                   6635: # requirements.  Some capabilities assume a printer attached to the Aux EIA
                   6636: # port.  This termcap description is for the Fixed Non-Layers Window.  No
                   6637: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1.1       tholo    6638: # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
1.4       tholo    6639: att630|AT&T 630 windowing terminal,
1.1       tholo    6640:        am, da, db, mir, msgr, npc, xon,
                   6641:        cols#80, it#8, lines#60, lm#0,
                   6642:        bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M,
                   6643:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   6644:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   6645:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   6646:        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   6647:        el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   6648:        il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m,
                   6649:        kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
                   6650:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M,
                   6651:        kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt,
                   6652:        kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy,
                   6653:        kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~,
                   6654:        kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i,
                   6655:        mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8,
                   6656:        rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m,
                   6657:        rmul=\E[m, rs2=\Ec, sc=\E7,
                   6658:        sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m,
                   6659:        sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   6660: att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,
                   6661:        lines#24, use=att630,
                   6662:
                   6663: # This entry was modified 3/13/90 by JWE.
                   6664: # fixes include additions of <enacs>, correcting <rep>, and modification
                   6665: # of <kHOM>.  (See comments below)
                   6666: # att730 has status line of 80 chars
                   6667: # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
                   6668: # the <kf25> and up keys are used for shifted system Fkeys
                   6669: # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
                   6670: # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
                   6671: # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
                   6672: # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
                   6673: # 102, 102+1, or 122 key keyboards
                   6674: #       kHOM=\E[2J,
                   6675: # (att730: I added <rmam>/<smam> based on the init string -- esr)
1.4       tholo    6676: att730|AT&T 730 windowing terminal,
1.1       tholo    6677:        am, da, db, eslok, hs, mir, msgr, npc, xenl, xon,
                   6678:        cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80,
                   6679:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6680:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6681:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   6682:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6683:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   6684:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6685:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   6686:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   6687:        enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8,
                   6688:        home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
                   6689:        ind=\ED, invis=\E[8m,
                   6690:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B,
                   6691:        is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
                   6692:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6693:        kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   6694:        kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw,
                   6695:        kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{,
                   6696:        kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD,
                   6697:        kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH,
                   6698:        kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ,
                   6699:        kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf,
                   6700:        kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ,
1.4       tholo    6701:        kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg,
1.1       tholo    6702:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
                   6703:        kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T,
                   6704:        mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
1.4       tholo    6705:        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,
                   6706:        pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s,
                   6707:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
1.1       tholo    6708:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
                   6709:        rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m,
                   6710:        rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7,
                   6711:        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%;,
                   6712:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6713:        smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h,
                   6714:        swidm=\E#6, tsl=\E7\E[;%i%p1%dx,
                   6715: att730-41|730MTG-41|AT&T 730-41 windowing terminal Version,
                   6716:        lines#41, use=att730,
                   6717: att730-24|730MTG-24|AT&T 730-24 windowing terminal Version,
                   6718:        lines#24, use=att730,
                   6719: att730r|730MTGr|AT&T 730 rev video windowing terminal Version,
                   6720:        flash=\E[?5l$<200>\E[?5h,
                   6721:        is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B, use=att730,
                   6722: att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version,
                   6723:        lines#41, use=att730r,
                   6724: att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version,
                   6725:        lines#24, use=att730r,
                   6726:
                   6727: # The following represents the screen layout along with the associated
                   6728: # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
                   6729: # not appear on the screen but are shown to reference the bezel buttons.
                   6730: # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
                   6731: # position relative to the screen.
                   6732: #
                   6733: #
                   6734: #
                   6735: #      +----------------------------------------------------------------+
                   6736: #      |                                                                |
                   6737: # XXXX | kf0                                                       kf24 | XXXX
                   6738: #      |                                                                |
                   6739: #      |                                                                |
                   6740: # XXXX | kf1                                                       kf23 | XXXX
                   6741: #      |                                                                |
                   6742: #      |                                                                |
                   6743: # XXXX | kf2                                                       kf22 | XXXX
                   6744: #      |                                                                |
                   6745: #      |                                                                |
                   6746: # XXXX | kf3                                                       kf21 | XXXX
                   6747: #      |                                                                |
                   6748: #      |                                                                |
                   6749: # XXXX | kf4                                                       kf20 | XXXX
                   6750: #      |                                                                |
                   6751: #      |                                                                |
                   6752: # XXXX | kf5                                                       kf19 | XXXX
                   6753: #      |                                                                |
                   6754: #      |                                                                |
                   6755: # XXXX | kf6                                                       kf18 | XXXX
                   6756: #      |                                                                |
                   6757: #      |                                                                |
                   6758: # XXXX |                                                                | XXXX
                   6759: #      |                                                                |
                   6760: #      |                                                                |
                   6761: #      +----------------------------------------------------------------+
                   6762: #
                   6763: #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
                   6764: #
                   6765: # Note: XXXX represents the screen buttons
                   6766: #                                                          CMD   REDRAW
                   6767: #
                   6768: #                                                          MAIL
                   6769: #
                   6770: # version 1 note:
                   6771: #      The character string sent by key 'kf26' may be user programmable
                   6772: #       to send either \E[16s, or \E[26s.
                   6773: #       The character string sent by key 'krfr' may be user programmable
                   6774: #       to send either \E[17s, or \E[27s.
                   6775: #
                   6776: # Depression of the "CMD" key sends    \E!    (kcmd)
                   6777: # Depression of the "MAIL" key sends   \E[26s (kf26)
                   6778: # "REDRAW" same as "REFRESH" (krfr)
                   6779: #
                   6780: # "kf" functions adds carriage return to output string if terminal is in
                   6781: # 'new line' mode.
                   6782: #
                   6783: # The following are functions not covered in the table above:
                   6784: #
                   6785: #       Set keyboard character (SKC): \EPn1;Pn2w
                   6786: #                       Pn1= 0 Back Space key
                   6787: #                       Pn1= 1 Break key
                   6788: #                       Pn2=   Program char (hex)
                   6789: #
                   6790: #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
                   6791: #                       Pn1=     Window number (1-39)
                   6792: #                       Pn2-Pn5= Y;X;Y;X coordinates
                   6793: #
                   6794: #       Screen Selection (SSL): \E[Pnu
                   6795: #                       Pn= Window number
                   6796: #
                   6797: #       Set Terminal Modes (SM): \E[Pnh
                   6798: #                       Pn= 3 Graphics mode
                   6799: #                       Pn= > Cursor blink
                   6800: #                       Pn= < Enter new line mode
                   6801: #                       Pn= = Enter reverse insert/replace mode
                   6802: #                       Pn= ? Enter no scroll mode
                   6803: #
                   6804: #       Reset Terminal Mode (RM): \E[Pnl
                   6805: #                       Pn= 3 Exit graphics mode
                   6806: #                       Pn= > Exit cursor blink
                   6807: #                       Pn= < Exit new line mode
                   6808: #                       Pn= = Exit reverse insert/replace mode
                   6809: #                       Pn= ? Exit no scroll mode
                   6810: #
                   6811: #       Screen Status Report (SSR): \E[Pnp
                   6812: #                       Pn= 0 Request current window number
                   6813: #                       Pn= 1 Request current window dimensions
                   6814: #
                   6815: #       Device Status Report (DSR): \E[6n    Request cursor position
                   6816: #
                   6817: #       Call Status Report (CSR): \E[Pnv
                   6818: #                       Pn= 0 Call failed
                   6819: #                       Pn= 1 Call successful
                   6820: #
                   6821: #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
                   6822: #                       Pn1= Button number to be loaded
                   6823: #                       Pn2= Character count of "string"
                   6824: #                       Pn3= Key mode being loaded:
                   6825: #                               0= Unshifted
                   6826: #                               1= Shifted
                   6827: #                               2= Control
                   6828: #                       String= Text string (15 chars max)
                   6829: #
                   6830: #       Screen Number Report (SNR): \E[Pnp
                   6831: #                       Pn= Screen number
                   6832: #
                   6833: #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
                   6834: #                       Pn1= Number of rows available in window
                   6835: #                       Pn2= Number of columns available in window
                   6836: #
                   6837: #       Cursor Position Report (CPR): \E[Pn1;Pn2R
                   6838: #                       Pn1= "Y" Position of cursor
                   6839: #                       Pn2= "X" Position of cursor
                   6840: #
                   6841: #       Request Answer Back (RAB): \E[c
                   6842: #
                   6843: #       Answer Back Response (ABR): \E[?;*;30;VSV
                   6844: #                       *=  0 No printer available
                   6845: #                       *=  2 Printer available
                   6846: #                       V=  Software version number
                   6847: #                       SV= Software sub version number
                   6848: #      (printer-available field not documented in v1)
                   6849: #
                   6850: #       Screen Alignment Aid: \En
                   6851: #
                   6852: #       Bell (lower pitch): \E[x
                   6853: #
                   6854: #       Dial Phone Number: \EPdstring\
                   6855: #                       string= Phone number to be dialed
                   6856: #
                   6857: #       Set Phone Labels: \EPpstring\
                   6858: #                       string= Label for phone buttons
                   6859: #
                   6860: #       Set Clock: \EPchour;minute;second\
                   6861: #
                   6862: #       Position Clock: \EPsY;X\
                   6863: #                       Y= "Y" coordinate
                   6864: #                       X= "X" coordinate
                   6865: #
                   6866: #       Delete Clock: \Epr\
                   6867: #
                   6868: #       Programming The Function Buttons: \EPfPn;string\
                   6869: #                       Pn= Button number (00-06, 18-24)
                   6870: #                                         (kf00-kf06, kf18-kf24)
                   6871: #                       string= Text to sent on button depression
                   6872: #
                   6873: # The following in version 2 only:
                   6874: #
                   6875: #       Request For Local Directory Data: \EPp12;\
                   6876: #
                   6877: #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
                   6878: #
                   6879: #      Request for Local Directory Data in print format: \EPp13;\
                   6880: #
                   6881: #      Enable 'Prt on Line' mode: \022 (DC2)
                   6882: #
                   6883: #      Disable 'Prt on Line' mode: \024 (DC4)
                   6884: #
                   6885:
                   6886: # 05-Aug-86:
                   6887: # The following Terminfo entry describes functions which are supported by
                   6888: # the AT&T 5430/pt505 terminal software version 2 and later.
                   6889: att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal,
                   6890:        am, xon,
                   6891:        cols#80, it#8, lines#24,
                   6892:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6893:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H,
                   6894:        cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
                   6895:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   6896:        cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6897:        cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   6898:        dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E2K, home=\E[H, ht=^I,
                   6899:        il=\E[%p1%dL, il1=\E[L, ind=^J,
                   6900:        is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l,
                   6901:        kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6902:        kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s,
                   6903:        kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s,
                   6904:        kf22=\E[22s, kf23=\E[23s, kf24=\E24s, kf26=\E26s,
                   6905:        kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s,
                   6906:        krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   6907:        rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m,
                   6908:        rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m,
                   6909:        smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m,
                   6910:
                   6911: # The following Terminfo entry describes functions which are supported by
                   6912: # the AT&T 5430/pt505 terminal software version 1.
                   6913: att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines,
                   6914:        lines#24,
                   6915:        mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505,
                   6916: tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines,
                   6917:        lines#22, use=att505,
                   6918: #
                   6919: # -------------------- TERMINFO FILE CAN BE SPLIT HERE -----------------------
                   6920: # This cut mark helps make life less painful for people running ncurses tic
                   6921: # on machines with relatively little RAM.  The file can be broken in half here
                   6922: # cleanly and compiled in sections -- no `use' references cross this cut
                   6923: # going forward.
                   6924: #
                   6925:
                   6926: #### Ampex (Dialogue)
                   6927: #
                   6928: # Yes, these are the same people who are better-known for making audio- and
                   6929: # videotape.  I'm told they are located in Redwood City, CA.
                   6930: #
                   6931:
                   6932: # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
                   6933: # (ampex80: some capabilities merged in from SCO's entry -- esr)
                   6934: ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80,
                   6935:        am, bw, ul,
                   6936:        cols#80, it#8, lines#24,
                   6937:        bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J,
                   6938:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   6939:        dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1,
                   6940:        ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em,
                   6941:        smso=\Ej, smul=\El, tbc=\E3,
                   6942: # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
                   6943: ampex175|ampex d175,
                   6944:        am,
                   6945:        cols#80, lines#24,
                   6946:        bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   6947:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   6948:        dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J,
                   6949:        is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   6950:        kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K,
                   6951:        rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El,
                   6952: # No backspace key in the main QWERTY cluster. Fortunately, it has a
                   6953: # NEWLINE/PAGE key just above RETURN that sends a strange single-character
                   6954: # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
                   6955: # mode), this key can be used as the erase key; I find I like this. Because
                   6956: # some people and some systems may not, there is another termcap ("ampex175")
                   6957: # that suppresses this little eccentricity by omitting the relevant capability.
                   6958: ampex175-b|ampex d175 using left arrow for erase,
                   6959:        kbs=^_,
                   6960:        use=ampex175,
                   6961: # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
                   6962: # (ampex210: removed obsolete ":kn#10:" -- esr)
                   6963: ampex210|a210|ampex a210,
                   6964:        am, hs, xenl,
                   6965:        cols#80, it#8, lines#24, xmc#1,
                   6966:        cbt=\EI, clear=\E*, cub1=^H, cuf1=^L,
                   6967:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   6968:        dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX,
                   6969:        fsl=\E.2, home=^^, ht=^I, ich1=\EQ,
                   6970:        if=/usr/share/tabset/std, il1=\EE, invis@,
                   6971:        is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H,
                   6972:        kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
                   6973:        kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
                   6974:        kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^,
                   6975:        tsl=\E.0\Eg\E}\Ef, use=adm+sgr,
1.4       tholo    6976: # (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
                   6977: # from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
1.1       tholo    6978: # and moved the padding to be *after* the caps -- esr)
                   6979: ampex219|ampex-219|amp219|Ampex with Automargins,
                   6980:        hs, xenl,
                   6981:        cols#80, it#8, lines#24,
                   6982:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z,
1.4       tholo    6983:        clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M,
                   6984:        csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B,
                   6985:        cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>,
                   6986:        cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>,
                   6987:        el=\E[K$<3>, home=\E[H, ht=^I, ind=^J,
1.1       tholo    6988:        is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   6989:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~,
                   6990:        kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~,
                   6991:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H,
                   6992:        rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>,
                   6993:        rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h,
                   6994:        smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>,
                   6995: ampex219w|ampex-219w|amp219w|Ampex 132 cols,
                   6996:        cols#132, lines#24,
1.4       tholo    6997:        bel=^G, cr=^M, cud1=^J, ind=^J,
1.1       tholo    6998:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219,
                   6999: # (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr)
                   7000: ampex232|ampex-232|Ampex Model 232,
                   7001:        am,
                   7002:        cols#80, lines#24, xmc#1,
                   7003:        cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V,
                   7004:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   7005:        dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET,
                   7006:        flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>,
                   7007:        invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L,
                   7008:        kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
                   7009:        kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
                   7010:        kf9=^AI\r, khome=^^,
                   7011:        use=adm+sgr,
                   7012: # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr)
                   7013: ampex232w|Ampex Model 232 / 132 columns,
                   7014:        cols#132, lines#24,
                   7015:        is2=\E\034Eg\El, use=ampex232,
                   7016:
                   7017: #### Ann Arbor (aa)
                   7018: #
                   7019: # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
                   7020: # numbers of function keys.  At least some used monitors in portrait mode,
1.4       tholo    7021: # allowing up to 76-character screen heights!  They were reachable at:
                   7022: #
                   7023: #      Ann Arbor Terminals
                   7024: #      6175 Jackson Road
                   7025: #      Ann Arbor, MI 48103
                   7026: #      (313)-663-8000
                   7027: #
                   7028: # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
                   7029: # can't be found on the Web; I fear they're long dead.  R.I.P.
1.1       tholo    7030: #
                   7031:
                   7032:
                   7033: # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
                   7034: # Highly modified 6/22 by Mike O'Brien.
                   7035: # split out into several for the various screen sizes by dave-yost@rand
                   7036: # Modifications made 3/82 by Mark Horton
                   7037: # Modified by Tom Quarles at UCB for greater efficiency and more diversity
                   7038: # status line moved to top of screen, <flash> removed 5/82
                   7039: # Some unknown person at SCO then hacked the init strings to make them more
                   7040: # efficient.
                   7041: #
                   7042: # assumes the following setup:
                   7043: #   A menu: 0000 1010  0001 0000
                   7044: #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   7045: #   C menu: 56   66   0    0    9600  0110 1100
                   7046: #   D menu: 0110 1001   1   0
                   7047: #
                   7048: #      Briefly, the settings are for the following modes:
                   7049: #         (values are for bit set/clear with * indicating our preference
                   7050: #          and the value used to test these termcaps)
                   7051: #      Note that many of these settings are irrelevent to the terminfo
                   7052: #      and are just set to the default mode of the terminal as shipped
                   7053: #      by the factory.
                   7054: #
                   7055: # A menu: 0000 1010  0001 0000
                   7056: #      Block/underline cursor*
                   7057: #      blinking/nonblinking cursor*
                   7058: #      key click/no key click*
                   7059: #      bell/no bell at column 72*
                   7060: #
                   7061: #      key pad is cursor control*/key pad is numeric
                   7062: #      return and line feed/return for <cr> key *
                   7063: #      repeat after .5 sec*/no repeat
                   7064: #      repeat at 25/15 chars per sec. *
                   7065: #
                   7066: #      hold data until pause pressed/process data unless pause pressed*
                   7067: #      slow scroll/no slow scroll*
                   7068: #      Hold in area/don't hold in area*
                   7069: #      functions keys have default*/function keys disabled on powerup
                   7070: #
                   7071: #      show/don't show position of cursor during page transmit*
                   7072: #      unused
                   7073: #      unused
                   7074: #      unused
                   7075: #
                   7076: # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   7077: #      Baud rate (9600*)
                   7078: #
                   7079: #      2 bits of parity - 00=odd,01=even*,10=space,11=mark
                   7080: #      1 stop bit*/2 stop bits
                   7081: #      parity error detection off*/on
                   7082: #
                   7083: #      keyboard local/on line*
                   7084: #      half/full duplex*
                   7085: #      disable/do not disable keyboard after data transmission*
                   7086: #
                   7087: #      transmit entire page/stop transmission at cursor*
                   7088: #      transfer/do not transfer protected characters*
                   7089: #      transmit all characters/transmit only selected characters*
                   7090: #      transmit all selected areas/transmit only 1 selected area*
                   7091: #
                   7092: #      transmit/do not transmit line separators to host*
                   7093: #      transmit/do not transmit page tab stops tabs to host*
                   7094: #      transmit/do not transmit column tab stop tabs to host*
                   7095: #      transmit/do not transmit graphics control (underline,inverse..)*
                   7096: #
                   7097: #      enable*/disable auto XON/XOFF control
                   7098: #      require/do not require receipt of a DC1 from host after each LF*
                   7099: #      pause key acts as a meta key/pause key is pause*
                   7100: #      unused
                   7101: #
                   7102: #      unused
                   7103: #      unused
                   7104: #      unused
                   7105: #      unused
                   7106: #
                   7107: #      XON character (17*)
                   7108: #      XOFF character (19*)
                   7109: #
                   7110: # C menu: 56   66   0    0    9600  0110 1100
                   7111: #      number of lines to print data on (printer) (56*)
                   7112: #
                   7113: #      number of lines on a sheet of paper (printer) (66*)
                   7114: #
                   7115: #      left margin (printer) (0*)
                   7116: #
                   7117: #      number of pad chars on new line to printer (0*)
                   7118: #
                   7119: #      printer baud rate (9600*)
                   7120: #
                   7121: #      printer parity: 00=odd,01=even*,10=space,11=mark
                   7122: #      printer stop bits: 2*/1
                   7123: #      print/do not print guarded areas*
                   7124: #
                   7125: #      new line is: 01=LF,10=CR,11=CRLF*
                   7126: #      unused
                   7127: #      unused
                   7128: #
                   7129: # D menu: 0110 1001   1   0
                   7130: #      LF is newline/LF is down one line, same column*
                   7131: #      wrap to preceding line if move left from col 1*/don't wrap
                   7132: #      wrap to next line if move right from col 80*/don't wrap
                   7133: #      backspace is/is not destructive*
                   7134: #
                   7135: #      display*/ignore DEL character
                   7136: #      display will not/will scroll*
                   7137: #      page/column tab stops*
                   7138: #      erase everything*/erase unprotected only
                   7139: #
                   7140: #      editing extent: 0=display,1=line*,2=field,3=area
                   7141: #
                   7142: #      unused
                   7143: #
                   7144:
                   7145: annarbor4080|aa4080|ann arbor 4080,
                   7146:        am,
                   7147:        cols#80, lines#40,
                   7148:        bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_,
                   7149:        cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c,
                   7150:        cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H,
                   7151:        kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P,
                   7152:
1.4       tholo    7153: # Strange Ann Arbor terminal from BRL
                   7154: aas1901|Ann Arbor K4080 w/S1901 mod,
                   7155:        am,
                   7156:        cols#80, lines#40,
                   7157:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N,
                   7158:        home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\200c,
                   7159:        nel=^M^J,
                   7160:
1.1       tholo    7161: # If you're using the GNU termcap library, add
                   7162: #      :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
                   7163: # to these capabilities.  This is the nonstandard GNU termcap scrolling
                   7164: # capability, arguments are:
                   7165: #   1. Total number of lines on the screen.
                   7166: #   2. Number of lines above desired scroll region.
                   7167: #   3. Number of lines below (outside of) desired scroll region.
                   7168: #   4. Total number of lines on the screen, the same as the first parameter.
                   7169: # The generic Ann Arbor entry is the only one that uses this.
                   7170: aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly),
                   7171:        am, km, mc5i, mir, xon,
                   7172:        cols#80, it#8,
                   7173:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   7174:        clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   7175:        cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
                   7176:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7177:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   7178:        el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
                   7179:        hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL,
                   7180:        il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8,
                   7181:        is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z,
                   7182:        kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   7183:        kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK,
                   7184:        kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP,
                   7185:        kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT,
                   7186:        kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC,
                   7187:        kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI,
                   7188:        khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i,
                   7189:        mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8,
                   7190:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
                   7191:        rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\,
                   7192:        rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7,
                   7193:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   7194:        sgr0=\E[m,
                   7195:        smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,
                   7196:        smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   7197:        vpa=\E[%p1%{1}%+%dd,
                   7198:
                   7199: aaa+rv|ann arbor ambassador in reverse video,
                   7200:        blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m,
                   7201:        is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
                   7202:        rs1=\E[H\E[7m\E[J$<156>,
                   7203:        sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
                   7204:        sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m,
                   7205: # Ambassador with the DEC option, for partial vt100 compatibility.
                   7206: aaa+dec|ann arbor ambassador in dec vt100 mode,
                   7207:        acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}},
                   7208:        csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N,
                   7209:        sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;,
                   7210:        smacs=^O,
                   7211: aaa-18|ann arbor ambassador/18 lines,
                   7212:        lines#18,
                   7213:        is2=\E7\E[60;0;0;18p\E8,
                   7214:        rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p, use=aaa+unk,
                   7215: aaa-18-rv|ann arbor ambassador/18 lines+reverse video,
                   7216:        use=aaa+rv, use=aaa-18,
                   7217: aaa-20|ann arbor ambassador/20 lines,
                   7218:        lines#20,
                   7219:        is2=\E7\E[60;0;0;20p\E8,
                   7220:        rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p, use=aaa+unk,
                   7221: aaa-22|ann arbor ambassador/22 lines,
                   7222:        lines#22,
                   7223:        is2=\E7\E[60;0;0;22p\E8,
                   7224:        rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p, use=aaa+unk,
                   7225: aaa-24|ann arbor ambassador/24 lines,
                   7226:        lines#24,
                   7227:        is2=\E7\E[60;0;0;24p\E8,
                   7228:        rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p, use=aaa+unk,
                   7229: aaa-24-rv|ann arbor ambassador/24 lines+reverse video,
                   7230:        use=aaa+rv, use=aaa-24,
                   7231: aaa-26|ann arbor ambassador/26 lines,
                   7232:        lines#26,
                   7233:        is2=\E7\E[60;0;0;26p\E8,
                   7234:        rmcup=\E[60;0;0;26p\E[26;1H\E[K,
                   7235:        smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk,
                   7236: aaa-28|ann arbor ambassador/28 lines,
                   7237:        lines#28,
                   7238:        is2=\E7\E[60;0;0;28p\E8,
                   7239:        rmcup=\E[60;0;0;28p\E[28;1H\E[K,
                   7240:        smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk,
                   7241: aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status,
                   7242:        eslok, hs,
                   7243:        lines#29,
                   7244:        dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K,
                   7245:        fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8,
                   7246:        rmcup=\E[60;1;0;30p\E[29;1H\E[K,
                   7247:        smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K,
                   7248:        tsl=\E[>51h\E[1;%p1%dH\E[2K,
                   7249:        use=aaa+unk,
                   7250: aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video,
                   7251:        use=aaa+rv, use=aaa-30-s,
                   7252: aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context,
                   7253:        rmcup=\E[60;1;0;30p\E[59;1H\E[K,
                   7254:        smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s,
                   7255: aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context,
                   7256:        rmcup=\E[60;1;0;30p\E[59;1H\E[K,
                   7257:        smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv,
                   7258: aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines,
                   7259:        lines#30,
                   7260:        is2=\E7\E[60;0;0;30p\E8,
                   7261:        rmcup=\E[60;0;0;30p\E[30;1H\E[K,
                   7262:        smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk,
                   7263: aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video,
                   7264:        use=aaa+rv, use=aaa-30,
                   7265: aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context,
                   7266:        rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
                   7267:        use=aaa-30,
                   7268: aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context,
                   7269:        rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
                   7270:        use=aaa+rv, use=aaa-30,
                   7271: aaa-36|ann arbor ambassador/36 lines,
                   7272:        lines#36,
                   7273:        is2=\E7\E[60;0;0;36p\E8,
                   7274:        rmcup=\E[60;0;0;36p\E[36;1H\E[K,
                   7275:        smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk,
                   7276: aaa-36-rv|ann arbor ambassador/36 lines+reverse video,
                   7277:        use=aaa+rv, use=aaa-36,
                   7278: aaa-40|ann arbor ambassador/40 lines,
                   7279:        lines#40,
                   7280:        is2=\E7\E[60;0;0;40p\E8,
                   7281:        rmcup=\E[60;0;0;40p\E[40;1H\E[K,
                   7282:        smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk,
                   7283: aaa-40-rv|ann arbor ambassador/40 lines+reverse video,
                   7284:        use=aaa+rv, use=aaa-40,
                   7285: aaa-48|ann arbor ambassador/48 lines,
                   7286:        lines#48,
                   7287:        is2=\E7\E[60;0;0;48p\E8,
                   7288:        rmcup=\E[60;0;0;48p\E[48;1H\E[K,
                   7289:        smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk,
                   7290: aaa-48-rv|ann arbor ambassador/48 lines+reverse video,
                   7291:        use=aaa+rv, use=aaa-48,
                   7292: aaa-60-s|ann arbor ambassador/59 lines+status,
                   7293:        eslok, hs,
                   7294:        lines#59,
                   7295:        dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K,
                   7296:        fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8,
                   7297:        tsl=\E[>51h\E[1;%p1%dH\E[2K,
                   7298:        use=aaa+unk,
                   7299: aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video,
                   7300:        use=aaa+rv, use=aaa-60-s,
                   7301: aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video,
                   7302:        use=aaa+dec, use=aaa+rv, use=aaa-60-s,
                   7303: aaa-60|ann arbor ambassador/60 lines,
                   7304:        lines#60,
                   7305:        is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, use=aaa+unk,
                   7306: aaa-60-rv|ann arbor ambassador/60 lines+reverse video,
                   7307:        use=aaa+rv, use=aaa-60,
                   7308: aaa-db|ann arbor ambassador 30/destructive backspace,
                   7309:        cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h,
                   7310:        use=aaa-30,
                   7311:
                   7312: guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols,
                   7313:        lines#33,
                   7314:        flash=\E[>59h$<100>\E[>59l,
                   7315:        is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l,
                   7316:        rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p,
                   7317:        use=aaa+unk,
                   7318: guru+rv|guru changes for reverse video,
                   7319:        flash=\E[>59l$<100>\E[>59h, is3=\E[>59h,
                   7320: guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video,
                   7321:        use=guru+rv, use=guru-33,
                   7322: guru+s|guru status line,
                   7323:        eslok, hs,
                   7324:        dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l,
1.4       tholo    7325:        rmcup=\E[255;1p\E[255;1H\E[K, smcup=,
1.1       tholo    7326:        tsl=\E[>51h\E[1;%p1%dH\E[2K,
                   7327: guru-nctxt|guru with no saved context,
                   7328:        smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru,
                   7329: guru-s|guru-33-s|ann arbor guru/33 lines+status,
                   7330:        lines#32,
                   7331:        is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J,
                   7332:        smcup=\E[33;1p\E[255;1H\E[K,
                   7333:        use=guru+s, use=guru+unk,
                   7334: guru-24|ann arbor guru 24 lines,
                   7335:        cols#80, lines#24,
                   7336:        is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p, use=guru+unk,
                   7337: guru-44|ann arbor guru 44 lines,
                   7338:        cols#97, lines#44,
                   7339:        is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p, use=guru+unk,
                   7340: guru-44-s|ann arbor guru/44 lines+status,
                   7341:        lines#43,
                   7342:        is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J,
                   7343:        smcup=\E[44;1p\E[255;1H\E[K,
                   7344:        use=guru+s, use=guru+unk,
                   7345: guru-76|guru with 76 lines by 89 cols,
                   7346:        cols#89, lines#76,
                   7347:        is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p, use=guru+unk,
                   7348: guru-76-s|ann arbor guru/76 lines+status,
                   7349:        cols#89, lines#75,
                   7350:        is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J,
                   7351:        smcup=\E[76;1p\E[255;1H\E[K,
                   7352:        use=guru+s, use=guru+unk,
                   7353: guru-76-lp|guru-lp|guru with page bigger than line printer,
                   7354:        cols#134, lines#76,
                   7355:        is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p, use=guru+unk,
                   7356: guru-76-w|guru 76 lines by 178 cols,
                   7357:        cols#178, lines#76,
                   7358:        is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p, use=guru+unk,
                   7359: guru-76-w-s|ann arbor guru/76 lines+status+wide,
                   7360:        cols#178, lines#75,
                   7361:        is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J,
                   7362:        smcup=\E[76;1p\E[255;1H\E[K,
                   7363:        use=guru+s, use=guru+unk,
                   7364: guru-76-wm|guru 76 lines by 178 cols with 255 cols memory,
                   7365:        cols#178, lines#76,
                   7366:        is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p, use=guru+unk,
                   7367: aaa-rv-unk|ann arbor unknown type,
                   7368:        lh#0, lw#0, nlab#0,
                   7369:        blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m,
                   7370:        is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
                   7371:        rs1=\E[H\E[7m\E[J,
                   7372:        sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
                   7373:        sgr0=\E[7m, smso=\E[m, smul=\E[4;7m,
                   7374:
                   7375: #### Applied Digital Data Systems (adds)
                   7376: #
                   7377: # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
                   7378: # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
                   7379: # terminals was merged again.  Then AT&T sold the terminal business to
1.4       tholo    7380: # SunRiver, which later changed its  name to Boundless Technologies.  The
                   7381: # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
                   7382: # as of early 1995) are at:
1.1       tholo    7383: #
1.4       tholo    7384: #      Boundless Technologies
1.1       tholo    7385: #      100 Marcus Boulevard
                   7386: #      Hauppauge, NY 11788-3762
                   7387: #      Vox: (800)-231-5445
                   7388: #      Fax: (516)-342-7378
                   7389: #
                   7390: # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
1.4       tholo    7391: # In 1995 Boundless acquired DEC's terminals business.
1.1       tholo    7392: #
                   7393:
                   7394: # Regent: lowest common denominator, works on all regents.
                   7395: # (regent: renamed ":bc:" to ":le:" -- esr)
                   7396: regent|Adds Regent Series,
                   7397:        am,
                   7398:        cols#80, lines#24,
                   7399:        bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z,
1.4       tholo    7400:        home=\EY\s\s, ind=^J, ll=^A,
1.1       tholo    7401: # Regent 100 has a bug where if computer sends escape when user is holding
                   7402: # down shift key it gets confused, so we avoid escape.
                   7403: regent100|Adds Regent 100,
                   7404:        xmc#1,
                   7405:        bel=^G, cup=\013%p1%{32}%+%c%p2%p2%{6}%*%+\020%c,
                   7406:        kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r,
                   7407:        kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3,
                   7408:        lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@,
                   7409:        sgr0=\E0@, smso=\E0P, smul=\E0`,
                   7410:        use=regent,
                   7411: regent20|Adds Regent 20,
                   7412:        bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK, use=regent,
                   7413: regent25|Adds Regent 25,
                   7414:        bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, use=regent20,
                   7415: regent40|Adds Regent 40,
                   7416:        xmc#1,
                   7417:        bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r,
                   7418:        kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
                   7419:        kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6,
                   7420:        lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P,
                   7421:        smul=\E0`,
                   7422:        use=regent25,
                   7423: regent40+|Adds Regent 40+,
                   7424:        is2=\EB, use=regent40,
                   7425: regent60|regent200|Adds Regent 60,
                   7426:        dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF,
                   7427:        rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV,
                   7428:        use=regent40+,
                   7429: # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
                   7430: # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
                   7431: viewpoint|addsviewpoint|adds viewpoint,
                   7432:        am,
                   7433:        cols#80, lines#24,
                   7434:        bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J,
                   7435:        cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   7436:        cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>,
                   7437:        ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
                   7438:        kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A,
                   7439:        rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N,
                   7440: # Some viewpoints have bad ROMs that foo up on ^O
                   7441: screwpoint|adds viewpoint with ^O bug,
                   7442:        cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint,
                   7443:
                   7444: # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
                   7445: # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.
1.4       tholo    7446: # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
1.1       tholo    7447: # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
                   7448: # invis=01000100 and %c is the logical or of desired attributes.
                   7449: # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
                   7450: vp3a+|viewpoint3a+|adds viewpoint 3a+,
                   7451:        am, bw,
                   7452:        cols#80, it#8, lines#24,
                   7453:        civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J,
                   7454:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   7455:        ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H,
                   7456:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(,
                   7457:        sgr=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E),
                   7458:        sgr0=\E(, smso=\E0Q\E),
                   7459: vp60|viewpoint60|addsvp60|adds viewpoint60,
                   7460:        use=regent40,
                   7461: #
                   7462: # adds viewpoint 90 - from cornell
                   7463: # Note:  emacs sends ei occasionally to insure the terminal is out of
                   7464: #        insert mode. This unfortunately puts the viewpoint90 IN insert
                   7465: #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
                   7466: #   -    :ei=:im=: must be present in the termcap translation.)
                   7467: #   -    <xhp> indicates glitch that attributes stick to location
                   7468: #   -    <msgr> means it's safe to move in standout mode
                   7469: #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
                   7470: #               the status line
                   7471: # Function key and label capabilities merged in from SCO.
                   7472: vp90|viewpoint90|adds viewpoint 90,
                   7473:        bw, msgr, xhp,
                   7474:        cols#80, lines#24,
                   7475:        clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F,
                   7476:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE,
1.4       tholo    7477:        dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I,
                   7478:        ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J,
                   7479:        kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r,
                   7480:        kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
                   7481:        kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2,
                   7482:        lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9,
                   7483:        lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV,
                   7484:        sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV,
1.1       tholo    7485: # Note: if return acts weird on a980, check internal switch #2
                   7486: # on the top chip on the CONTROL pc board.
                   7487: adds980|a980|adds consul 980,
                   7488:        am,
                   7489:        cols#80, lines#24,
                   7490:        bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J,
                   7491:        cuf1=\E^E01, cup=\013%p1%'@'%+%c\E\005%p2%2d,
                   7492:        dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1,
                   7493:        kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8,
                   7494:        kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N,
                   7495:
                   7496: #### C. Itoh Electronics
                   7497: #
                   7498: # As of 1995 these people no longer make terminals (they're still in the
                   7499: # printer business).  Their terminals were all clones of the DEC VT series.
                   7500: # They're located in Orange County, CA.
                   7501: #
                   7502:
                   7503: # CIT 80  - vt-52 emulator, the termcap has been modified to remove
                   7504: #           the delay times and do an auto tab set rather than the indirect
                   7505: #           file used in vt100.
                   7506: cit80|cit-80|citoh 80,
                   7507:        am,
                   7508:        cols#80, lines#24,
                   7509:        clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C,
                   7510:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L,
                   7511:        ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   7512:        kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=,
                   7513: # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
                   7514: # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
                   7515: cit101|citc|C.itoh fast vt100,
                   7516:        am, xenl,
                   7517:        cols#80, lines#24,
                   7518:        bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C,
                   7519:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U,
                   7520:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
                   7521:        flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L,
                   7522:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g,
                   7523:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   7524:        rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   7525:        sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
                   7526:        smul=\E[4m,
1.4       tholo    7527: # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
                   7528: # The following termcap entry was created from the Callan cd100 entry.  The
                   7529: # last two lines (with the capabilities in caps) are used by RM-cobol to allow
                   7530: # full selection of combinations of reverse video, underline, and blink.
                   7531: # (cit101e: emoved unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
                   7532: # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
                   7533: # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
                   7534: cit101e|C. Itoh CIT-101e,
                   7535:        am, mir, msgr,
                   7536:        cols#80, it#8, lines#24,
                   7537:        acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr,
                   7538:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
                   7539:        cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J,
                   7540:        el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L,
                   7541:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT,
                   7542:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl,
                   7543:        kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l,
                   7544:        rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h,
                   7545:        smkx=\E=, smso=\E[7m, smul=\E[4m,
                   7546: cit101e-n|CIT-101e w/o am,
                   7547:        am@,
                   7548:        cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
                   7549: cit101e-132|CIT-101e, 132 cols,
                   7550:        cols#132,
                   7551:        kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
                   7552: cit101e-n132|CIT-101e, 132 cols w/o am,
                   7553:        am@,
                   7554:        cols#132,
                   7555:        cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
1.1       tholo    7556: # CIE Terminals CIT-500 from BRL
                   7557: # The following SET-UP modes are assumed for normal operation:
                   7558: #      GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
                   7559: #      AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
                   7560: #      DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
                   7561: # Other SET-UP modes may be set for operator convenience or communication
                   7562: # requirements.
                   7563: # Hardware tabs are assumed to be set every 8 columns; they can be set up
                   7564: # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
                   7565: # "stty ixon -ixany" to enable DC3/DC1 flow control!
                   7566: # (cit500: I added <rmam>/<smam> based on the init string -- esr)
                   7567: cit500|CIE Terminals CIT-500,
                   7568:        mir, msgr, xon,
                   7569:        cols#80, it#8, lines#64, vt#3,
                   7570:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   7571:        clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   7572:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   7573:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   7574:        cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   7575:        ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
1.4       tholo    7576:        il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD,
                   7577:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M,
                   7578:        ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
                   7579:        kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ,
                   7580:        khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1,
                   7581:        lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18,
                   7582:        lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m,
                   7583:        ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
                   7584:        rmso=\E[m, rmul=\E[m,
1.1       tholo    7585:        rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>,
                   7586:        sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   7587:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   7588:
                   7589: # C. Itoh printers begin here
                   7590: citoh|ci8510|8510|c.itoh 8510a,
                   7591:        cols#80, it#8,
                   7592:        bold=\E!, cub1@,
1.4       tholo    7593:        is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073.,
1.1       tholo    7594:        rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY,
                   7595:        smul=\EX,
                   7596:        use=lpr,
                   7597: citoh-pica|citoh in pica,
                   7598:        is1=\EN, use=citoh,
                   7599: citoh-elite|citoh in elite,
                   7600:        cols#96,
                   7601:        is1=\EE,
1.4       tholo    7602:        is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089., use=citoh,
1.1       tholo    7603: citoh-comp|citoh in compressed,
                   7604:        cols#136,
                   7605:        is1=\EQ,
1.4       tholo    7606:        is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129., use=citoh,
1.1       tholo    7607: # citoh has infinite cols because we don't want lp ever inserting \n\t**.
                   7608: citoh-prop|citoh-ps|ips|citoh in proportional spacing mode,
                   7609:        cols#32767,
                   7610:        is1=\EP, use=citoh,
                   7611: citoh-6lpi|citoh in 6 lines per inch mode,
                   7612:        is3=\EA, use=citoh,
                   7613: citoh-8lpi|citoh in 8 lines per inch mode,
                   7614:        lines#88,
                   7615:        is3=\EB, use=citoh,
                   7616:
                   7617: #### Control Data (cdc)
                   7618: #
                   7619:
                   7620: cdc456|cdc 456 terminal,
                   7621:        am,
                   7622:        cols#80, lines#24,
                   7623:        bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   7624:        cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X,
                   7625:        el=^V, home=^Y, il1=\EL, ind=^J,
1.4       tholo    7626:
                   7627: # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
                   7628: cdc721|CDC Viking,
                   7629:        am,
                   7630:        cols#80, lines#24,
                   7631:        clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
                   7632:        cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
                   7633:        kcuu1=^W, khome=^Y,
                   7634: cdc721ll|CDC Vikingll,
                   7635:        am,
                   7636:        cols#132, lines#24,
                   7637:        clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
                   7638:        cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
                   7639:        kcuu1=^W, khome=^Y,
                   7640: # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
                   7641: cdc752|CDC 752,
                   7642:        am, bw, xhp,
                   7643:        cols#80, lines#24,
                   7644:        bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   7645:        cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V,
                   7646:        home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017,
                   7647: # CDC 756
                   7648: # The following switch/key settings are assumed for normal operation:
                   7649: #      96 chars        SCROLL          FULL duplex     not BLOCK
                   7650: # Other switches may be set according to communication requirements.
                   7651: # Insert/delete-character cannot be used, as the whole display is affected.
                   7652: # "so" & "se" are commented out until jove handles "sg" correctly.
                   7653: cdc756|CDC 756,
                   7654:        am, bw,
                   7655:        cols#80, lines#24,
                   7656:        bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   7657:        cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z,
                   7658:        dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J,
                   7659:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI,
                   7660:        kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED,
                   7661:        kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y,
                   7662:        khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4,
                   7663:        lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z,
                   7664:        rs1=\031\030\002\003\017,
1.1       tholo    7665: #
                   7666: # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
                   7667: #
                   7668: # Part of the long initialization string defines the "DOWN" key to the left
1.4       tholo    7669: # of the tab key to send an ESC.  The real ESC key is positioned way out
                   7670: # in right field.
1.1       tholo    7671: #
                   7672: # The termcap won't work in 132 column mode due to the way it it moves the
                   7673: # cursor.  Termcap doesn't have the capability (as far as I could tell) to
                   7674: # handle the 721 in 132 column mode.
                   7675: #
                   7676: # (cdc721: changed :ri: to :sr: -- esr)
                   7677: cdc721-esc|Control Data 721,
                   7678:        am, bw, msgr, xon,
                   7679:        cols#80, it#8, lines#30,
1.4       tholo    7680:        bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z,
1.1       tholo    7681:        cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W,
1.4       tholo    7682:        dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW,
                   7683:        ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[,
1.1       tholo    7684:        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.4       tholo    7685:        kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q,
                   7686:        kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x,
                   7687:        kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D,
                   7688:        ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^],
                   7689:        sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk,
                   7690:        smso=^^D, smul=^\, tbc=^^^RY,
1.1       tholo    7691:
                   7692: #### Getronics
                   7693: #
                   7694: # Getronics is a Dutch electronics company that at one time was called
                   7695: # `Geveke' and made async terminals; but (according to the company itself!)
                   7696: # they've lost all their documentation on the command set.  The hardware
                   7697: # documentation suggests the terminals were actually manufactured by a
                   7698: # Taiwanese electronics company named Cal-Comp.  There are known
                   7699: # to have been at least two models, the 33 and the 50.
                   7700: #
                   7701:
                   7702: # The 50 seems to be a top end vt220 clone, with the addition of a higher
                   7703: # screen resolution, a larger screen, at least 1 page of memory above and
                   7704: # below the screen, apparently pages of memory right and left of the screen
                   7705: # which can be panned, and about 75 function keys (15 function keys x normal,
                   7706: # shift, control, func A, func B). It also has more setup possibilities than
                   7707: # the vt220. The monitor case is dated November 1978 and the keyboard case is
                   7708: # May 1982.
                   7709: #
                   7710: # The vt100 emulation works as is.  The entry below describes the rather
                   7711: # non-conformant (but more featureful) ANSI mode.
                   7712: #
                   7713: # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
                   7714: visa50|geveke visa 50 terminal in ansi 80 character mode,
                   7715:        bw, mir, msgr,
                   7716:        cols#80, lines#25,
                   7717:        acsc=0_aaffggjjkkllmmnnqqttuuvvwwxxh ooss, bel=^G,
                   7718:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M,
                   7719:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   7720:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   7721:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7722:        dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM,
                   7723:        dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H,
                   7724:        hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   7725:        il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
                   7726:        is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h,
                   7727:        ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS,
                   7728:        kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
                   7729:        kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002,
                   7730:        kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007,
                   7731:        kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char,
                   7732:        lf3=A insert line, lf4=A delete line, lf5=A clear,
                   7733:        lf6=A ce of/cf gn, lf7=A print, lf8=A on-line,
                   7734:        lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l,
                   7735:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m,
                   7736:        rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h,
                   7737:        smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
                   7738:        vpa=\E[%i%p1%dd,
                   7739:
                   7740: #### Human Designed Systems (Concept)
                   7741: #
                   7742: #      Human Designed Systems
                   7743: #      400 Fehley Drive
                   7744: #      King of Prussia, PA 19406
                   7745: #      Vox: (610)-277-8300
                   7746: #      Fax: (610)-275-5739
                   7747: #      Net: support@hds.com
                   7748: #
                   7749: # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
                   7750: # the character-terminal business now (1995) and making X terminals.  In
                   7751: # particular, the whole `Concept' line described here was discontinued long
                   7752: # ago.
                   7753: #
                   7754:
                   7755: # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
                   7756: # Extensive changes to c108 by arpavax:eric Feb 1982
                   7757: # Some unknown person at SCO then translated it to terminfo.
                   7758: #
                   7759: # There seem to be a number of different versions of the C108 PROMS
                   7760: # (with bug fixes in its Z-80 program).
                   7761: #
                   7762: # The first one that we had would lock out the keyboard of you
                   7763: # sent lots of short lines (like /usr/dict/words) at 9600 baud.
                   7764: # Try that on your C108 and see if it sends a ^S when you type it.
                   7765: # If so, you have an old version of the PROMs.
                   7766: #
                   7767: # You should configure the C108 to send ^S/^Q before running this.
                   7768: # It is much faster (at 9600 baud) than the c100 because the delays
                   7769: # are not fixed.
                   7770: # new status line display entries for c108-8p:
                   7771: # <is3> - init str #3 - setup term for status display -
                   7772: # set programmer mode, select window 2, define window at last
                   7773: # line of memory, set bkgnd stat mesg there, select window 0.
                   7774: #
                   7775: # <tsl> - to status line - select window 2, home cursor, erase to
                   7776: # end-of-window, 1/2 bright on, goto(line#0, col#?)
                   7777: #
                   7778: # <fsl> - from status line - 1/2 bright off, select window 0
                   7779: #
                   7780: # <dsl> - disable status display - set bkgnd status mesg with
                   7781: # illegal window #
                   7782: #
                   7783: # There are probably more function keys that should be added but
                   7784: # I don't know what they are.
                   7785: #
                   7786: # No delays needed on c108 because of ^S/^Q handshaking
                   7787: #
                   7788: c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages,
                   7789:        is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n,
                   7790:        rmcup=\Ev  \001\177p\Ep\r\n,
                   7791:        use=c108-4p,
                   7792: c108-4p|concept108-4p|concept 108 w/4 pages,
                   7793:        eslok, hs, xon,
                   7794:        pb@,
                   7795:        acsc=l\\qLkTxUmMjE, cnorm=\Ew, cr=^M,
                   7796:        cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c,
1.4       tholo    7797:        cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s,
1.1       tholo    7798:        ind=^J, is1=\EK\E!\E F,
                   7799:        is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n,
1.4       tholo    7800:        rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!,
1.1       tholo    7801:        smcup=\EU\Ev  8p\Ep\r\E\025,
1.4       tholo    7802:        tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100,
1.1       tholo    7803: c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video,
                   7804:        rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r,
                   7805:        use=c108-rv-4p,
                   7806: c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video,
                   7807:        flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE,
                   7808:        use=c108-4p,
                   7809: c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode,
                   7810:        cols#132,
                   7811:        is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n,
                   7812:        smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p,
                   7813:
                   7814: # Concept 100:
                   7815: # These have only window relative cursor addressing, not screen
                   7816: # relative. To get it to work right here, smcup/rmcup (which
                   7817: # were invented for the concept) lock you into a one page
                   7818: # window for screen style programs.
                   7819: #
                   7820: # To get out of the one page window, we use a clever trick:
                   7821: # we set the window size to zero ("\Ev    " in rmcup) which the
                   7822: # terminal recognizes as an error and resets the window to all
                   7823: # of memory.
                   7824: #
                   7825: # This trick works on c100 but does not on c108, sigh.
                   7826: #
                   7827: # Some tty drivers use cr3 for concept, others use nl3, hence
                   7828: # the delays on cr and ind below. This padding is only needed at
                   7829: # 9600 baud and up.  One or the other is commented out depending on
                   7830: # local conventions.
                   7831: #
                   7832: # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe
                   7833: # less than 6 but more than 2 will work.
                   7834: #
                   7835: # Note: can't use function keys f7-f10 because they are
                   7836: # indistinguishable from arrow keys (!), also, del char and
                   7837: # clear eol use xon/xoff so they probably won't work very well.
                   7838: #
                   7839: # Also note that we don't define insrt/del char/delline/eop/send
                   7840: # because they don't transmit unless we reset them - I figured
                   7841: # it was a bad idea to clobber their definitions.
                   7842: #
                   7843: # The <mc5> sequence changes the escape character to ^^ so that
                   7844: # escapes will be passed through to the printer. Only trouble
                   7845: # is that ^^ won't be - ^^ was chosen to be unlikely.
                   7846: # Unfortunately, if you're sending raster bits through to be
                   7847: # plotted, any character you choose will be likely, so we lose.
                   7848: #
                   7849: # \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
                   7850: # cannot be # in is2 because it will hang a c100 with no printer
                   7851: # if sent twice.
                   7852: c100|concept100|concept|c104|c100-4p|hds concept 100,
                   7853:        am, eo, mir, ul, xenl,
                   7854:        cols#80, lines#24, pb#9600, vt#8,
                   7855:        bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r,
                   7856:        cub1=^H, cud1=^J, cuf1=\E=,
                   7857:        cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;,
                   7858:        dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>,
                   7859:        ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK,
                   7860:        ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>,
                   7861:        is1=\EK,
1.4       tholo    7862:        is2=\EU\Ef\E7\E5\E8\El\ENH\E\200\Eo&\200\Eo'\E\Eo!\200\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c,
1.1       tholo    7863:        is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_,
                   7864:        kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q,
                   7865:        kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7,
1.4       tholo    7866:        kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?,
                   7867:        khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E.,
                   7868:        kri=\E\\, krmir=\E\200, mc4=\036o \E\EQ!\EYP\027,
1.1       tholo    7869:        mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI,
                   7870:        rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED,
1.4       tholo    7871:        rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex,
                   7872:        rmso=\Ed, rmul=\Eg, sgr0=\EN@,
                   7873:        smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX,
                   7874:        smso=\ED, smul=\EG,
1.1       tholo    7875: c100-rv|c100-rv-4p|concept100-rv|c100 rev video,
                   7876:        cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee,
                   7877:        smso=\EE,
                   7878:        use=c100,
                   7879: oc100|oconcept|c100-1p|old 1 page concept 100,
                   7880:        in,
                   7881:        is3@, use=c100,
                   7882:
                   7883: # <ht> through <el> included to specify padding needed in raw mode.
                   7884: # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
                   7885: avt-ns|concept avt no status line,
                   7886:        am, eo, mir, ul, xenl, xon,
                   7887:        cols#80, it#8, lines#24, lm#192,
                   7888:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   7889:        clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M,
                   7890:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7891:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   7892:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7893:        cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>,
                   7894:        dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H,
                   7895:        hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@,
                   7896:        ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>,
                   7897:        invis=\E8m, ip=$<4>, is1=\E[=103l\E[=205l,
1.4       tholo    7898:        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,
1.1       tholo    7899:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   7900:        kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   7901:        kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H,
                   7902:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   7903:        pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#,
                   7904:        prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
                   7905:        ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n, rmir=\E4l,
                   7906:        rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, sc=\E7,
                   7907:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   7908:        sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r,
                   7909:        smir=\E1, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m,
                   7910:        tbc=\E[2g, vpa=\E[%p1%{1}%+%dd,
                   7911: avt-rv-ns|concept avt in reverse video mode/no status line,
                   7912:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
                   7913:        use=avt-ns,
                   7914: avt-w-ns|concept avt in 132 column mode/no status line,
                   7915:        is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
                   7916:        use=avt-ns,
                   7917: avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video,
                   7918:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
                   7919:        smcup=\E[H\E[1;24;1;132w,
                   7920:        use=avt-ns,
                   7921:
                   7922: # Concept AVT with status line. We get the status line using the
                   7923: # "Background status line" feature of the terminal. We swipe the
                   7924: # first line of memory in window 2 for the status line, keeping
                   7925: # 191 lines of memory and 24 screen lines for regular use.
                   7926: # The first line is used instead of the last so that this works
                   7927: # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
                   7928: # assumes an 8 page AVT but lm isn't currently used anywhere.)
                   7929: #
                   7930: avt+s|concept avt status line changes,
                   7931:        eslok, hs,
                   7932:        lm#191,
                   7933:        dsl=\E[0*w, fsl=\E[1;1!w,
                   7934:        is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n,
                   7935:        rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r,
                   7936:        tsl=\E[2;1!w\E[;%p1%dH\E[2K,
                   7937: avt|avt-s|concept-avt|avt w/80 columns,
                   7938:        use=avt+s, use=avt-ns,
                   7939: avt-rv|avt-rv-s|avt reverse video w/sl,
                   7940:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, use=avt+s,
                   7941:        use=avt-ns,
                   7942: avt-w|avt-w-s|concept avt 132 cols+status,
                   7943:        is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, use=avt+s,
                   7944:        use=avt-ns,
                   7945: avt-w-rv|avt-w-rv-s|avt wide+status+rv,
                   7946:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
                   7947:        smcup=\E[H\E[1;24;1;132w,
                   7948:        use=avt+s, use=avt-ns,
                   7949:
                   7950: #### Contel Business Systems.
                   7951: #
                   7952:
                   7953: # Contel c300 and c320 terminals.
                   7954: contel300|contel320|c300|Contel Business Systems C-300 or C-320,
                   7955:        am, in, xon,
                   7956:        cols#80, lines#24, xmc#1,
                   7957:        bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   7958:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   7959:        dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
                   7960:        el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
                   7961:        hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
                   7962:        kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
                   7963:        kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
                   7964:        rmso=\E!\200, sgr0=\E!\200, smso=\E!\r, tbc=\E3,
                   7965: # Contel c301 and c321 terminals.
                   7966: contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,
                   7967:        flash@, ich1@, ip@, rmso=\E!\200$<20>, smso=\E!\r$<20>,
                   7968:        use=contel300,
                   7969:
                   7970: #### Data General (dg)
                   7971: #
                   7972: # According to James Carlson <carlson@xylogics.com> writing in January 1995,
                   7973: # the terminals group at Data General was shut down in 1991; all these
                   7974: # terminals have thus been discontinued.
                   7975: #
                   7976:
                   7977: # According to the 4.4BSD termcap file, the dg200 <cup> should be the
                   7978: # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
                   7979: # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
                   7980: # maybe they were originally nuls (which would fit).
                   7981: dg200|data general dasher 200,
                   7982:        am, bw,
                   7983:        cols#80, lines#24,
                   7984:        bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
                   7985:        cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J,
                   7986:        kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q,
                   7987:        kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x,
                   7988:        kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U,
                   7989:        smso=^^D, smul=^T,
1.4       tholo    7990: # Data General 210/211 (and 410?)      from Lee Pearson (umich!lp) via BRL
                   7991: dg210|dg-ansi|Data General 210/211,
                   7992:        am,
                   7993:        cols#80, lines#24,
                   7994:        clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   7995:        ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D, kcud1=\E[B,
                   7996:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, nel=\r\E[H\E[A\n,
                   7997:        rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m, smul=\E[4;m,
1.1       tholo    7998: # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
                   7999: # courtesy of Carlos Rucalde of Vantage Software, Inc.
                   8000: # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
                   8001: # I suspect the d200 function keys actually work on the dg211, check it out.)
                   8002: dg211|Data General d211,
                   8003:        cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@,
                   8004:        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L,
                   8005:        rmso=\036E$<\200/>, smcup=^L^R, smso=\036D$<5/>,
                   8006:        use=dg200,
                   8007: # dg450 from cornell
                   8008: dg450|dg6134|data general 6134,
                   8009:        cub1@, cuf1=^X, use=dg200,
                   8010: # Note: lesser Dasher terminals will not work with vi because vi insists upon
                   8011: # having a command to move straight down from any position on the bottom line
                   8012: # and scroll the screen up, or a direct vertical scroll command.  The 460 and
                   8013: # above have both, the D210/211, for instance, has neither.  We must use ANSI
                   8014: # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
                   8015: # backspace on all terminals.  This is not so in DG mode.
                   8016: # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
                   8017: # grounds that there is no matching ":ml:"
                   8018: # fixed garbled ":k9=\E[00\:z:" capability -- esr)
                   8019: dg460-ansi|Data General Dasher 460 in ANSI-mode,
                   8020:        am, msgr, ul,
                   8021:        cols#80, it#8, lines#24,
                   8022:        blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   8023:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m,
                   8024:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   8025:        il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D, kcub1=\E[D,
                   8026:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[001z,
                   8027:        kf1=\E[002z, kf2=\E[003z, kf3=\E[004z, kf4=\E[005z,
                   8028:        kf5=\E[006z, kf6=\E[007z, kf7=\E[008z, kf8=\E[009z,
                   8029:        kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3, lf3=f4,
                   8030:        lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m, ri=\E[T,
                   8031:        rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   8032: # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
                   8033: # Data General 605x
                   8034: # Ought to work for a Model 6242, Type D210 as well as a 605x.
                   8035: # Note that the cursor-down key transmits ^Z.  Job control users, beware!
1.4       tholo    8036: # This also matches a posted description of something called a `Dasher 100'
1.1       tholo    8037: # so there's a dg100 alias here.
                   8038: # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr)
                   8039: dg6053|dg100|data general 6053,
                   8040:        am, bw, ul,
                   8041:        cols#80, lines#24,
                   8042:        bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
                   8043:        cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, home=^H,
                   8044:        ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W,
                   8045:        kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w,
1.4       tholo    8046:        kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, rmso=\200^^E,
1.1       tholo    8047:        rmul=^U, smcup=^L^R, smso=\200\200\200\200\200\036D,
                   8048:        smul=^T,
                   8049:
                   8050: #### Datamedia (dm)
                   8051: #
1.4       tholo    8052: # Datamedia was headquartered in Nashua, New Hampshire in 1993.
                   8053: # As of early 1996, at least one company called `Datamedia' has been taken
                   8054: # over by:
                   8055: #
                   8056: #    Axent Technologies, Inc.
                   8057: #    2400 Research Boulevard
                   8058: #    Rockville, Maryland 20850
                   8059: #    voice: +1 301/258-5043
                   8060: #      fax: +1 301/330-5756
                   8061: #    email: <info@axent.com>
                   8062: #
                   8063: # makers of OmniGuard client/server security software.  They are a software
                   8064: # only company and no longer make terminals.  However, the operator there
                   8065: # told me that she had once spoken to a customer looking for Datamedia
                   8066: # terminals who'd mentioned a Datamedia in New Jersey.  This is backed up
                   8067: # by comp.terminals poosting describing the ID plate on the back of a
                   8068: # "Datamedia 3000" terminal.  Was this an earlier incarnation of Axent?
                   8069: # Inquiring minds want to know...
                   8070: #
1.1       tholo    8071:
                   8072: cs10|colorscan|Datamedia Color Scan 10,
                   8073:        msgr,
                   8074:        cols#80, lines#24,
                   8075:        bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   8076:        cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   8077:        ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   8078:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m,
                   8079:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   8080: cs10-w|Datamedia Color Scan 10 with 132 columns,
                   8081:        cols#132,
                   8082:        cup=\E[%i%p1%02d;%p2%03dH, use=cs10,
                   8083:
                   8084: # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
                   8085: dm1520|dm1521|datamedia 1520,
                   8086:        am, xenl,
                   8087:        cols#80, it#8, lines#24,
                   8088:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
                   8089:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   8090:        home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
                   8091:        khome=^Y,
                   8092: dm2500|datamedia2500|datamedia 2500,
                   8093:        cols#80, lines#24,
                   8094:        bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\,
                   8095:        cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z,
                   8096:        dch1=\020\010\030\035$<10*>,
                   8097:        dl1=\020\032\030\035$<10*>, el=^W, home=^B,
                   8098:        ich1=\020\034\030\035$<10*>,
                   8099:        il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377,
                   8100:        rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^],
                   8101:        smdc=^P, smir=^P, smso=^N,
                   8102: # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
                   8103: # also, has a meta-key.
                   8104: # From: <goldberger@su-csli.arpa>
                   8105: # (dmchat: ":MT:" changed to ":km:" -- esr)
                   8106: dmchat|dmchat version of datamedia 2500,
                   8107:        km,
                   8108:        dl1=\020\032\030\035$<2/>,
                   8109:        il1=\020\n\030\035\030\035$<1*/>, use=dm2500,
                   8110: # (dm3025: ":MT:" changed to ":km:" -- esr)
                   8111: dm3025|datamedia 3025a,
                   8112:        km,
                   8113:        cols#80, it#8, lines#24,
                   8114:        bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   8115:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
                   8116:        dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK,
                   8117:        home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>,
                   8118:        is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP,
                   8119:        smir=\EP, smso=\EO1,
                   8120: dm3045|datamedia 3045a,
                   8121:        am, eo, km@, ul, xenl,
                   8122:        dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA,
                   8123:        kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r,
                   8124:        kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r,
                   8125:        khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@,
                   8126:        use=dm3025,
                   8127: # Datamedia DT80 soft switches:
                   8128: # 1    0=Jump  1=Smooth
                   8129: #      Autorepeat      0=off  1=on
                   8130: #      Screen          0=Dark 1=light
                   8131: #      Cursor          0=u/l  1=block
                   8132: #
                   8133: # 2    Margin Bell     0=off  1=on
                   8134: #      Keyclick        0=off  1=on
                   8135: #      Ansi/VT52       0=VT52 1=Ansi
                   8136: #      Xon/Xoff        0=Off  1=On
                   8137: #
                   8138: # 3    Shift3          0=Hash 1=UK Pound
                   8139: #      Wrap            0=Off  1=On
                   8140: #      Newline         0=Off  1=On
                   8141: #      Interlace       0=Off  1=On
                   8142: #
                   8143: # 4    Parity          0=Odd  1=Even
                   8144: #      Parity          0=Off  1=On
                   8145: #      Bits/Char       0=7    1=8
                   8146: #      Power           0=60Hz 1=50Hz
                   8147: #
                   8148: # 5    Line Interface  0=EIA  1=Loop
                   8149: #      Aux Interface   0=EIA  1=Loop
                   8150: #      Local Copy      0=Off  1=On
                   8151: #      Spare
                   8152: #
                   8153: # 6    Aux Parity      0=Odd  1=Even
                   8154: #      Aux Parity      0=Off  1=On
                   8155: #      Aux Bits/Char   0=7    1=8
                   8156: #      CRT Saver       0=Off  1=On
                   8157: # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
                   8158: dm80|dmdt80|dt80|datamedia dt80/1,
                   8159:        clear=\E[2J\E[H, cud1=^J, cuf1=\E[C,
                   8160:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   8161:        home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM,
                   8162:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   8163:        use=vt100,
                   8164: # except in 132 column mode, where it needs a little padding.
                   8165: # This is still less padding than the vt100, and you can always turn on
                   8166: # the ^S/^Q handshaking, so you can use vt100 flavors for things like
                   8167: # reverse video.
                   8168: dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode,
                   8169:        cols#132,
                   8170:        clear=\E[H\E[2J$<50/>, cud1=^J,
                   8171:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>,
                   8172:        ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80,
                   8173: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   8174: dt80-sas|Datamedia DT803/DTX for SAS usage,
                   8175:        am, bw,
                   8176:        cols#80, lines#24,
                   8177:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                   8178:        bel=^G, clear=^L, cr=^M,
                   8179:        csr=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2,
                   8180:        cub1=^H, cud1=\EB, cuf1=^\,
                   8181:        cup=\E=%p2%' '%+%c%p1%' '%+%c, cuu1=^_, dl1=\EM, ed=^K,
                   8182:        el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB,
                   8183:        is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J,
                   8184:        kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N,
                   8185:        rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF,
                   8186:        smso=\E$2\004, tbc=\E'0,
                   8187:
                   8188: # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
                   8189: # These aren't end-all Excel termcaps; but do insert/delete char/line
                   8190: # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
                   8191: # The naming convention has been bent somewhat, with the use of E? (where
                   8192: # E is for 'Excel') as # a name.  This was done to distinguish the entries
                   8193: # from the other Datamedias in use here, and yet to associate a model of
                   8194: # the Excel terminals with the regular datamedia terminals that share
                   8195: # major characteristics.
                   8196: excel62|excel64|datamedia Excel 62,
                   8197:        dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
                   8198:        kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
                   8199:        use=dt80,
                   8200: excel62-w|excel64-w|datamedia Excel 62 in 132 char mode,
                   8201:        dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
                   8202:        kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
                   8203:        use=dt80w,
                   8204: excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode,
                   8205:        dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J,
                   8206:        kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l,
                   8207:        smir=\E[4h,
                   8208:        use=dt80,
                   8209:
                   8210: #### Falco
                   8211: #
                   8212: #      Falco Data Products
                   8213: #      440 Potrero Avenue
                   8214: #      Sunnyvale, CA 940864-196
                   8215: #      Vox: (800)-325-2648
                   8216: #      Fax: (408)-745-7860
                   8217: #      Net: techsup@charm.sys.falco.com
                   8218: #
                   8219: # Current Falco models as of 1995 are generally ANSI-compatible and support
                   8220: # emulations of DEC VT-series, Wyse, and Televideo types.
1.4       tholo    8221: #
1.1       tholo    8222:
                   8223: # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
                   8224: # This terminal was released around 1983 and was discontinued long ago.
                   8225: # The standout and underline highlights are the same.
                   8226: falco|ts1|ts-1|falco ts-1,
                   8227:        am,
                   8228:        cols#80, it#8, lines#24,
                   8229:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   8230:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   8231:        dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE,
                   8232:        ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   8233:        kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0,
                   8234:        smir=\Eq, smso=\Eg1, smul=\Eg1,
                   8235: falco-p|ts1p|ts-1p|falco ts-1 with paging option,
                   8236:        am, da, db, mir, msgr, ul,
                   8237:        cols#80, it#8, lines#24,
                   8238:        bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B,
                   8239:        cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A,
                   8240:        dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I,
                   8241:        il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B,
                   8242:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er,
                   8243:        rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq,
                   8244:        smso=\Eg4, smul=\Eg1,
                   8245: # (ts100: I added <rmam>/<smam> based on the init string -- esr)
                   8246: ts100|ts100-sp|falco ts100-sp,
                   8247:        am, mir, msgr, xenl, xon,
                   8248:        cols#80, it#8, lines#24, vt#3,
                   8249:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   8250:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   8251:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   8252:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   8253:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   8254:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   8255:        cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,
                   8256:        el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,
                   8257:        ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea,
                   8258:        ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn,
                   8259:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM,
                   8260:        kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   8261:        kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   8262:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   8263:        rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   8264:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   8265:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   8266:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   8267:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   8268: ts100-ctxt|falco ts-100 saving context,
                   8269:        rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100,
                   8270:
                   8271: #### Florida Computer Graphics
                   8272: #
                   8273:
                   8274: # Florida Computer Graphics Beacon System, using terminal emulator program
                   8275: # "host.com", as provided by FCG.  This description is for an early release
                   8276: # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
                   8277: # commented out.
                   8278:
                   8279: # From: David Bryant <cbosg!djb> 1/7/83
                   8280: beacon|FCG Beacon System,
                   8281:        am, da, db,
                   8282:        cols#80, lines#32,
                   8283:        bel=\ESTART\r\E37\r\EEND\r$<1>,
1.4       tholo    8284:        blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M,
                   8285:        cub1=^H, cud1=^J, cuf1=\EV,
1.1       tholo    8286:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU,
                   8287:        dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE,
1.4       tholo    8288:        ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=,
                   8289:        rmso=\ESTART\r\E70\,0\r\EEND\r$<20>,
                   8290:        rmul=\ESTART\r\E60\,0\r\EEND\r,
                   8291:        sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>,
                   8292:        smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>,
                   8293:        smso=\ESTART\r\E70\,6\r\EEND\r$<20>,
                   8294:        smul=\ESTART\r\E60\,1\r\EEND\r,
1.1       tholo    8295:
                   8296: #### Fluke
                   8297: #
                   8298:
1.4       tholo    8299: # The f1720a differences from ANSI: no auto margin, destructive
1.1       tholo    8300: # tabs, # of lines, funny highlighting and underlining
                   8301: f1720|f1720a|fluke 1720A,
                   8302:        xt,
                   8303:        cols#80, lines#16, xmc#1,
                   8304:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
                   8305:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J,
                   8306:        el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^],
                   8307:        kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   8308:        smso=\E[7m, smul=\E[4m,
                   8309:
                   8310: #### Liberty Electronics (Freedom)
                   8311: #
                   8312: #      Liberty Electronics
                   8313: #      48089 Fremont Blvd
                   8314: #      Fremont CA 94538
                   8315: #      Vox: (510)-623-6000
                   8316: #      Fax: (510)-623-7021
                   8317:
                   8318: # From: <faletti@berkeley.edu>
                   8319: # (f100: added empty <acsc> to suppress a tic warning;
                   8320: # made this relative to adm+sgr -- note that <invis> isn't
                   8321: # known to work for f100 but does on the f110. --esr)
                   8322: f100|freedom|freedom100|freedom model 100,
                   8323:        am, bw, hs, mir, msgr, xon,
                   8324:        cols#80, lines#24,
                   8325:        acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J,
                   8326:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   8327:        dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
                   8328:        flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c,
                   8329:        ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>,
                   8330:        is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V,
                   8331:        kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r,
                   8332:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   8333:        kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er,
                   8334:        smacs=\E%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
                   8335:        vpa=\E[%p1%{32}%+%c, use=adm+sgr,
                   8336: f100-rv|freedom-rv|freedom 100 in reverse video,
                   8337:        flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100,
                   8338: # The f110 and f200 have problems with vi(1).  They use the ^V
                   8339: # code for the down cursor key. When kcud1 is defined in terminfo
                   8340: # as ^V, the Control Character Quoting capability (^V in insert mode)
                   8341: # is lost! It cannot be remapped in vi because it is necessary to enter
                   8342: # a ^V to to quote the ^V that is being remapped!!!
                   8343: #
                   8344: # f110/f200 users will have to decide whether
                   8345: # to lose the down cursor key or the quoting capability. We will opt
                   8346: # initially for leaving the quoting capability out, since use of VI
                   8347: # is not generally applicable to most interactive applications
                   8348: # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
                   8349: f110|freedom110|Liberty Freedom 110,
                   8350:        bw@, eslok,
                   8351:        it#8, wsl#80,
                   8352:        blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V,
                   8353:        cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r,
                   8354:        flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW,
                   8355:        kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ,
                   8356:        kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO,
                   8357:        smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef,
                   8358:        use=f100,
                   8359: f110-14|Liberty Freedom 110 14inch,
                   8360:        dch1@, use=f110,
                   8361: f110-w|Liberty Freedom 110 - 132 cols,
                   8362:        cols#132, use=f110,
                   8363: f110-14w|Liberty Freedom 110 14in/132 cols,
                   8364:        cols#132,
                   8365:        dch1@, use=f110,
                   8366: # (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
                   8367: f200|freedom200|Liberty Freedom 200,
                   8368:        am, eslok, hs, mir, msgr, xon,
                   8369:        cols#80, it#8, lines#24, wsl#80,
                   8370:        acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0,
                   8371:        clear=^Z, cnorm=\E.1, cr=^M,
                   8372:        csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V,
                   8373:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   8374:        cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY,
                   8375:        el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^,
                   8376:        hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H,
                   8377:        kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
                   8378:        kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
                   8379:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   8380:        kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
                   8381:        ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<,
                   8382:        tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c,
                   8383:        use=adm+sgr,
                   8384: f200-w|Liberty Freedom 200 - 132 cols,
                   8385:        cols#132, use=f200,
                   8386: # The f200 has the ability to reprogram the down cursor key. The key is
                   8387: # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
                   8388: # so powering the terminal off and on will not cause the change to be lost.
                   8389: f200vi|Liberty Freedom 200 for vi,
                   8390:        flash=\Eb$<200/>\Ed, kcud1=^J, use=f200,
                   8391: f200vi-w|Liberty Freedom 200 - 132 cols for vi,
                   8392:        cols#132, use=f200vi,
                   8393:
                   8394: #### GraphOn (go)
                   8395: #
                   8396: #      Graphon Corporation
                   8397: #      544 Division Street
                   8398: #      Campbell, CA 95008
                   8399: #      Vox: (408)-370-4080
                   8400: #      Fax: (408)-370-5047
                   8401: #      Net: troy@graphon.com (Troy Morrison)
                   8402: #
                   8403: #
                   8404: # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
                   8405: # including one odd hybrid that starts out life on power-up as a character
                   8406: # terminal, than can be switched to X graphics mode (driven over the serial
                   8407: # line) by an escape sequence.  No info on this beast yet.
                   8408: # (go140: I added <rmam>/<smam> based on the init string -- esr)
                   8409: go140|graphon go-140,
                   8410:        cols#80, it#8, lines#24,
                   8411:        clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C,
                   8412:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   8413:        ed=\E[J$<10/>, el=\E[K, ht=^I,
                   8414:        if=/usr/share/tabset/vt100, il1=\E[L,
                   8415:        is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q,
                   8416:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   8417:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
                   8418:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
                   8419:        rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
                   8420:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   8421: go140w|graphon go-140 in 132 column mode,
                   8422:        am,
                   8423:        cols#132,
                   8424:        is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, use=go140,
                   8425: # Hacked up vt200 termcap to handle GO-225/VT220
                   8426: # From: <edm@nwnexus.WA.COM>
                   8427: # (go225: I added <rmam>/<smam> based on the init string -- esr)
                   8428: go225|go-225|Graphon 225,
                   8429:        am, mir, xenl,
                   8430:        cols#80, it#8, lines#25, vt#3,
                   8431:        blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   8432:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   8433:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   8434:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED,
                   8435:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H,
                   8436:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   8437:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m,
                   8438:        rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l,
                   8439:        rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>,
                   8440:        rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w,
                   8441:        sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r,
                   8442:        smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
                   8443:
                   8444: #### Harris (Beehive)
                   8445: #
                   8446: # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
                   8447: # Their terminal group is ancient history now (1995) though the parent
                   8448: # company is still in business.
                   8449: #
                   8450:
                   8451: # Beehive documentation is undated and marked Preliminary and has no figures
                   8452: # so we must have early Superbee2 (Model 600, according to phone conversation
                   8453: # with mfr.). It has proved reliable except for some missing padding
                   8454: # (notably after \EK and <nl> at bottom of screen).
                   8455: #
                   8456: # The key idea is that AEP mode is poison for <cup> & that US's in
                   8457: # the local memory should be avoided like the plague. That means
                   8458: # that the 2048 character local buffer is used as 25 lines of 80
                   8459: # characters, period. No scrolling local memory, folks. It also
                   8460: # appears that we cannot use naked INS LINE feature since it uses
                   8461: # US. The sbi fakes <il1> with an 80-space insert that may be too
                   8462: # slow at low speeds; also spaces get converted to \040 which is
                   8463: # too long for some programs (not vi).  DEL LINE is ok but slow.
                   8464: #
                   8465: # The <nl> string is designed for last line of screen ONLY; cup to
                   8466: # 25th line corrects the motion inherent in scrolling to Page 1.
                   8467: #
                   8468: # There is one understood bug. It is that the screen appears to
                   8469: # pop to a new (blank) page after a <nel>, or leave a half-line
                   8470: # ellipsis to a quad that is the extra 48 memory locations. The
                   8471: # data received is dumped into memory but not displayed.  Not to
                   8472: # worry if <cup> is being used; the lines not displayed will be,
                   8473: # whenever the cursor is moved up there. Since <cup> is addressed
                   8474: # relative to MEMORY of window, nothing is lost; but beware of
                   8475: # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
                   8476: # therefore, is setenv MORE -c .
                   8477: #
                   8478: # WARNING: Not all features tested.
                   8479: #
                   8480: # Timings are assembled from 3 sources. Some timings may reflect
                   8481: # SB2/Model 300 that were used if more conservative.
                   8482: # Tested on a Model 600 at 1200 and 9600 bd.
                   8483: #
                   8484: # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
                   8485: # placed on the keyboard and useless because of AEP, is made
                   8486: # into a backspace key. In use ESC must be pressed twice (to send)
                   8487: # and sending ^C must be prefixed by ESC to avoid that weird
                   8488: # transmit mode associated with ENTER key.
                   8489: #
                   8490: # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
                   8491: # the screen, then it has dropped into ENTER mode; hit
                   8492: # RESET--ONLINE--!tset.
                   8493: #
                   8494: # As delivered this machine has a FATAL feature that will throw
                   8495: # it into that strange transmit state (SPOW) if the space bar is
                   8496: # hit after a CR is received, but before receiving a LF (or a
                   8497: # few others).
                   8498: #
                   8499: # The circuits MUST be modified to eliminate the SPOW latch.
                   8500: # This is done by strapping on chip A46 of the I/O board; cut
                   8501: # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
                   8502: # chip. This mod has been checked out on a Mod 600 of Superbee II.
                   8503: # With this modification absurdly high timings on cr are
                   8504: # unnecessary.
                   8505: #
                   8506: # NOTE WELL that the rear panel switch should be set to CR/LF,
                   8507: # not AEP!
                   8508: #
                   8509: sb1|beehive superbee,
                   8510:        am, bw, da, db, mir, ul, xsb,
                   8511:        cols#80, lines#25, xmc#1,
                   8512:        bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r,
                   8513:        cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d,
                   8514:        cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>,
                   8515:        el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1,
                   8516:        il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>,
                   8517:        ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED,
                   8518:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK,
                   8519:        kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu,
                   8520:        kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO,
1.4       tholo    8521:        krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER,
                   8522:        rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO,
                   8523:        smso=\E_1, smul=\E_0, tbc=\E3,
1.1       tholo    8524: sbi|superbee|beehive superbee at Indiana U.,
                   8525:        xsb,
                   8526:        cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA, use=sb1,
                   8527: # Alternate (older) description of Superbee - f1=escape, f2=^C.
                   8528: # Note: there are at least 3 kinds of superbees in the world.  The sb1
                   8529: # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
                   8530: # The sb3 puts garbage on the bottom of the screen when you scroll with
                   8531: # the switch in the back set to CRLF instead of AEP.  This description
                   8532: # is tested on the sb2 but should work on all with either switch setting.
                   8533: # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
                   8534: # the other two if you want to try to hit that tiny escape key.
                   8535: # This description is tricky: being able to use cup depends on there being
                   8536: # 2048 bytes of memory and the hairy <nl> string.
                   8537: superbee-xsb|beehive super bee,
                   8538:        am, da, db, xsb,
                   8539:        cols#80, it#8, lines#25,
                   8540:        clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J,
                   8541:        cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>,
                   8542:        dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>,
                   8543:        home=\EH, ht=^I, hts=\E1,
                   8544:        ind=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET,
                   8545:        is2=\EH\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   8546:        kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,
                   8547:        kf8=\Ew, khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3,
                   8548: # This loses on lines > 80 chars long, use at your own risk
                   8549: superbeeic|super bee with insert char,
                   8550:        ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb,
                   8551: sb2|sb3|fixed superbee,
                   8552:        xsb@, use=superbee,
                   8553:
                   8554: # Reports are that most of these Beehive entries (except superbee) have not
                   8555: # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
                   8556:
                   8557: # (bee: <ich1> was empty, which is obviously bogus -- esr)
                   8558: beehive|bee|harris beehive,
                   8559:        am, mir,
                   8560:        cols#80, lines#24,
                   8561:        cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
                   8562:        cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
                   8563:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>,
                   8564:        kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   8565:        kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL,
                   8566:        krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@,
                   8567:        smir=\EQ, smso=\EdP, smul=\Ed`,
                   8568: # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
                   8569: # good grief - does this entry make :sg:/:ug: when it doesn't have to?
                   8570: # look at those spaces in <rmso>/<smso>.  Seems strange to me...
                   8571: # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
                   8572: # really care, cook up one using ^F -- esr)
                   8573: beehive3|bh3m|beehiveIIIm|harris beehive 3m,
                   8574:        am,
                   8575:        cols#80, it#8, lines#20,
                   8576:        bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K,
                   8577:        dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F,
1.4       tholo    8578:        il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s,
1.1       tholo    8579: beehive4|bh4|beehive 4,
                   8580:        am,
                   8581:        cols#80, lines#24,
                   8582:        bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
                   8583:        cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J,
                   8584: microb|microbee|micro bee series,
                   8585:        am,
                   8586:        cols#80, it#8, lines#24,
                   8587:        bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   8588:        cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   8589:        el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   8590:        kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
                   8591:        kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@,
1.4       tholo    8592:        rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`,
1.1       tholo    8593:
                   8594: # 8675, 8686, and bee from Cyrus Rahman
                   8595: # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
                   8596: ha8675|harris 8675,
                   8597:        is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F,
                   8598:        kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei,
                   8599:        kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H,
                   8600:        kf8=\177, kf9=\Ee,
                   8601:        use=bee,
                   8602: # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
                   8603: # in :is: -- esr)
                   8604: ha8686|harris 8686,
                   8605:        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#,
                   8606:        kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003,
                   8607:        kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003,
                   8608:        kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003,
                   8609:        kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(,
                   8610:        use=bee,
                   8611:
                   8612: #### Hazeltine
                   8613: #
                   8614: # Hazeltine appears to be out of the business now (1995).  These guys were
                   8615: # co-owners of the Terminal Brain Damage Hall Of Fame along with Harris.
                   8616: # They have a hazeltine.com domain and can be reached at:
                   8617: #
                   8618: #      Hazeltine
                   8619: #      450 East Pulaski Road
                   8620: #      Greenlawn, New York 11740
                   8621: #
                   8622: # As late as 1993, manuals for the terminal product line could still be
                   8623: # purchased from:
                   8624: #
                   8625: #      TRW Customer Service Division
                   8626: #      15 Law Drive
                   8627: #      P.O. Box 2076
                   8628: #      Fairfield, NJ 07007-2078
                   8629: #
                   8630:
                   8631: # Since <cuf1> is blank, when you want to erase something you
                   8632: # are out of luck.  You will have to do ^L's a lot to
                   8633: # redraw the screen.  h1000 is untested.  It doesn't work in
                   8634: # vi - this terminal is too dumb for even vi.  (The code is
                   8635: # there but it isn't debugged for this case.)
                   8636: hz1000|hazeltine 1000,
                   8637:        cols#80, lines#12,
1.4       tholo    8638:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K,
1.1       tholo    8639:        ind=^J,
                   8640: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   8641: hz1420|hazeltine 1420,
                   8642:        am,
                   8643:        cols#80, lines#24,
                   8644:        bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P,
                   8645:        cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S,
                   8646:        ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y,
                   8647:        smso=\E^_,
                   8648: # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
                   8649: # freakout with out-of-range args and tn3270.  No hz since it needs to
                   8650: # receive tildes.
                   8651: hz1500|hazeltine 1500,
                   8652:        am, hz,
                   8653:        cols#80, lines#24,
                   8654:        bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
                   8655:        cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%'`'%+%c%p1%'`'%+%c,
                   8656:        cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R,
                   8657:        il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P,
                   8658:        kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_,
                   8659: # h1510 assumed to be in sane escape mode.  Else use h1500.
                   8660: # (h1510: early versions of this entry apparently had "<rmso=\E^_>,
                   8661: # <smso=\E^Y>, but these caps were commented out in 8.3; also,
                   8662: # removed incorrect and overridden ":do=^J:" -- esr)
                   8663: hz1510|hazeltine 1510,
                   8664:        am,
                   8665:        cols#80, lines#24,
                   8666:        bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P,
                   8667:        cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X,
                   8668:        el=\E^O, il1=\E^Z, ind=^J,
1.4       tholo    8669: # Hazeltine 1520
                   8670: # The following switch settings are assumed for normal operation:
                   8671: #      FULL            CR              U/L_CASE        ESCAPE
                   8672: #      FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
                   8673: # Other switches may be set for operator convenience or communication
                   8674: # requirements.
                   8675: hz1520|Hazeltine 1520,
                   8676:        am, bw, msgr,
                   8677:        cols#80, lines#24,
                   8678:        bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J,
                   8679:        cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
                   8680:        ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H,
                   8681:        kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L,
                   8682:        kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z,
                   8683:        rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_,
                   8684: # This version works with the escape switch off
1.1       tholo    8685: # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
1.4       tholo    8686: hz1520-noesc|hazeltine 1520,
1.1       tholo    8687:        am, hz,
                   8688:        cols#80, lines#24,
                   8689:        bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
                   8690:        cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O,
                   8691:        home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_,
                   8692: # Note: the h1552 appears to be the first Hazeltine terminal which
                   8693: # is not braindamaged.  It has tildes and backprimes and everything!
                   8694: # Be sure the auto lf/cr switch is set to cr.
                   8695: hz1552|hazeltine 1552,
                   8696:        cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue,
                   8697:        lf2=red, lf3=green,
                   8698:        use=vt52,
                   8699: hz1552-rv|hazeltine 1552 reverse video,
                   8700:        cud1=^J, rmso=\ET, smso=\ES, use=hz1552,
                   8701: # Note: h2000 won't work well because of a clash between upper case and ~'s.
                   8702: hz2000|hazeltine 2000,
                   8703:        am,
                   8704:        cols#74, lines#27,
                   8705:        bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J,
                   8706:        cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R,
                   8707:        il1=~\032$<6>, ind=^J, pad=\177,
                   8708: # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
                   8709: # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
                   8710: # to work ok. There is one problem though if one types a lot of garbage
                   8711: # characters very fast vi seems not able to keep up and hangs while trying
                   8712: # to insert. That's in insert mode while trying to insert in the middle of
                   8713: # a line. It might be because the Esprit doesn't have insert char and delete
                   8714: # char as a built in function. Vi has to delete to end of line and then
                   8715: # redraw the rest of the line.
                   8716: esprit|Hazeltine Esprit I,
                   8717:        am, bw,
                   8718:        cols#80, lines#24,
                   8719:        bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K,
                   8720:        cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
                   8721:        ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H,
                   8722:        kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J,
                   8723:        kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J,
                   8724:        kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R,
                   8725:        lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9,
                   8726:        rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_,
                   8727: esprit-am|hazeltine esprit auto-margin,
                   8728:        am, use=esprit,
1.4       tholo    8729: # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
                   8730: # Vi it seems always wants to send a control J for "do" and it turned out
                   8731: # that the terminal would work somewhat if the auto LF/CR was turned off.
                   8732: # (hmod1: removed :dn=~^K: -- esr)
                   8733: hmod1|Hazeltine Modular 1,
                   8734:        am, hz,
                   8735:        cols#80, lines#24,
                   8736:        bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
                   8737:        cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z,
                   8738:        ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R,
                   8739:        rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_,
                   8740: #
                   8741: # Hazeltine Executive 80 Model 30 (1554?)
                   8742: #      from  Will Martin <control@ALMSA-1.ARPA> via BRL
                   8743: # Like VT100, except for different "am" behavior.
                   8744: hazel|exec80|h80|he80|Hazeltine Executive 80,
                   8745:        am,
                   8746:        cols#80, it#8, lines#24, vt#3,
                   8747:        bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   8748:        clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   8749:        cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   8750:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
                   8751:        ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
                   8752:        is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
                   8753:        kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   8754:        kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
                   8755:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
                   8756:        rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
                   8757:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   8758:        sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>,
                   8759:        smul=\E[4m$<2/>,
1.1       tholo    8760:
                   8761: #### IBM
                   8762: #
                   8763:
                   8764: ibm327x|line mode IBM 3270 style,
                   8765:        gn,
                   8766:        clear=^M^J, el=^M, home=^M,
                   8767:
                   8768: # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
                   8769: # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
                   8770: # (ibm3101: <if=/usr/share/tabset/ibm3101> removed, no such file -- esr)
                   8771: ibm3101|i3101|IBM 3101-10,
                   8772:        am, xon,
                   8773:        cols#80, lines#24,
                   8774:        bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   8775:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   8776:        el=\EI, home=\EH, ht=^I, hts=\E0, ind=^J, kbs=^H, kcub1=\ED,
                   8777:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\E1,
                   8778: #   Received from the IBM terminals division (given to DRB)
                   8779: #   June 1988 for PS/2 OS 2.2.3 cut
                   8780: ibm3151|i3151|IBM 3151,
                   8781:        rmso=\E4@, rmul=\E4@,
                   8782:        sgr=\E4%{64}%?%p1%{0}%>%p1%{4}%<%&%t%{8}%|%;%?%p1%{7}%=%t%{16}%|%;%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c,
                   8783:        sgr0=\E4@, smso=\E4A, smul=\E4B,
                   8784:        use=ibm3163,
                   8785: # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
                   8786: # I've commented out or translated some IBM extensions.
                   8787: ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,
                   8788:        am, mir, msgr,
                   8789:        cols#80, it#8, lines#24,
                   8790:        acsc=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356,
                   8791:        bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED,
                   8792:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   8793:        cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J,
                   8794:        invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1,
                   8795:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ,
                   8796:        kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r,
                   8797:        kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r,
                   8798:        kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r,
                   8799:        kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r,
                   8800:        kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r,
                   8801:        kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r,
                   8802:        kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN,
                   8803:        ktbc=\E 1, rev=\E4A, rmcup=\E>A, rmso=\E4@, rmul=\E4@,
                   8804:        sgr=\E4%'@'%?%p1%t%'A'%|%;\n%?%p2%t%'B'%|%;\n%?%p3%t%'A'%|%;\n%?%p4%t%'D'%|%;\n%?%p5%t%'@'%|%;\n%?%p6%t%'H'%|%;\n%?%p7%t%'P'%|%;%c\n%?%p9%t\E>A%e\E<@%;,
                   8805:        sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B,
                   8806:
                   8807: # How the 3164 sgr string works:
                   8808: #      %{32}           # push space for no special video characteristics
                   8809: #      %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
                   8810: #      %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
                   8811: #      %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
                   8812: #      %c              # pop Pa1
                   8813: #      %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
                   8814: #      %c              # pop Pa2
                   8815: #      %{64}           # use only black background for now
                   8816: #      %c              # pop Pa3
                   8817: ibm3164|i3164|IBM 3164,
                   8818:        blink=\E4D, bold=\E4H,
                   8819:        sgr=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c,
                   8820:        sgr0=\E4@,
                   8821:        use=ibm3163,
                   8822:
                   8823: ibmaed|IBM Experimental display,
                   8824:        am, eo, msgr,
                   8825:        cols#80, it#8, lines#52,
                   8826:        clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC,
                   8827:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   8828:        dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP,
                   8829:        il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   8830:        rmso=\E0, sgr0=\E0, smso=\E0,
                   8831: ibm-apl|apl|IBM apl terminal simulator,
                   8832:        lines#25, use=dm1520,
                   8833: # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
                   8834: # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
                   8835: ibmmono|ibm5151|IBM workstation monochrome,
                   8836:        eslok, hs,
                   8837:        bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL,
                   8838:        invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET,
                   8839:        kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY,
                   8840:        khome=\EH, kich1=\200, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG,
                   8841:        lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew,
                   8842:        sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, use=ibm3101,
                   8843: ibmega|ibm5154|IBM Enhanced Color Display,
                   8844:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
                   8845:        nel=^M^J,
                   8846:        use=ibmmono,
                   8847: ibmega-c|ibm5154-c|IBM Enhanced Color Display,
                   8848:        rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, use=ibmmono,
                   8849: ibmvga-c|IBM VGA display color termcap,
                   8850:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
                   8851:        nel=^M^J,
                   8852:        use=ibmega-c,
                   8853: ibmvga|IBM VGA display,
                   8854:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
                   8855:        nel=^M^J,
                   8856:        use=ibmega,
                   8857: # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
                   8858: rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display,
                   8859:        lines#32,
                   8860:        dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono,
                   8861: # Advanced Monochrome (6153) and Color (6154) Graphics Display:
                   8862: ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display,
                   8863:        lines#31,
                   8864:        dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono,
                   8865: ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display,
                   8866:        lines#31,
                   8867:        dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmega-c,
                   8868: # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
                   8869: # also in /usr/lpp/bos/bsdsysadmin.
                   8870: # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
                   8871: # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
                   8872: # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
                   8873: # I also added <rmam>/<smam> based on the terminal reset string.
                   8874: # There was an unknown boolean ":ht:" which I assume was meant to set hardware
                   8875: # tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
                   8876: # like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
                   8877: ibm8512|ibm8513|hft-c|IBM High Function Terminal,
                   8878:        am, mir, msgr,
                   8879:        cols#80, it#8, lines#25,
                   8880:        acsc=, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cub1=\E[D,
                   8881:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   8882:        dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
                   8883:        home=\E[H, il=\E[%p1%dL, il1=\E[L, is2=\Eb\E[m\017\E[?7h,
                   8884:        kcud1=\E[B, kcuu1=\E[A, kf0=\E[010q, kf1=\E[001q,
                   8885:        kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, kf5=\E[005q,
                   8886:        kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, kf9=\E[009q,
                   8887:        khome=\E[H, rc=\E[u, rev=\E[7m, rmacs=^O, rmam=\E[?7l,
                   8888:        rmcup=\E[20h, rmdc=\E[4l, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   8889:        rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m,
                   8890:        smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb,
                   8891:        smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   8892: hft|AIWS High Function Terminal,
                   8893:        am, xon,
                   8894:        cols#80, lines#25,
                   8895:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   8896:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   8897:        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   8898:        ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H,
                   8899:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   8900:        kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
                   8901:        kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
                   8902:        kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q,
                   8903:        ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m,
                   8904:        sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m,
                   8905: ibm-system1|system1|ibm system/1 computer,
                   8906:        am, xt,
                   8907:        cols#80, lines#24,
                   8908:        bel=^G, clear=^Z, cub1=^H, cuf1=^\,
                   8909:        cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K,
                   8910:        ind=^J,
                   8911:
                   8912: # From: <pryor@math.berkeley.edu>
                   8913: ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display,
                   8914:        eslok, hs,
                   8915:        lines#33,
                   8916:        dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmmono,
                   8917: ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display,
                   8918:        eslok, hs,
                   8919:        lines#33,
                   8920:        dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c,
                   8921: ibm8514|IBM 8514 color display,
                   8922:        eslok, hs,
                   8923:        lines#41,
                   8924:        cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
                   8925:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,
                   8926:        use=ibmega,
                   8927: ibm8514-c|IBM 8514 color display,
                   8928:        eslok, hs,
                   8929:        lines#41,
                   8930:        cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
                   8931:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,
                   8932:        use=ibmega-c,
                   8933:
                   8934: #
                   8935: # AIX entries.  IBM ships these with AIX 3.
                   8936: # AIX extension caps are commented out,
                   8937: # except for box1 which has been translated to an <acsc> string.
                   8938: #
                   8939: aixterm-m|IBM AIXterm Monochrome Terminal Emulator,
                   8940:        eslok, hs,
                   8941:        acsc=llqqkkxxjjmmwwuuvvttnn, bold=\E[1m, dsl=\E[?E,
                   8942:        fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0,
                   8943:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   8944:        sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT,
                   8945:        use=ibm6153,
                   8946: aixterm-m-old|IBM AIXterm Monochrome Terminal Emulator,
                   8947:        eslok, hs,
                   8948:        bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@,
                   8949:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   8950:        tsl=\E[?%p1%dT,
                   8951:        use=ibm6153,
                   8952: jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator,
                   8953:        acsc@,
                   8954:        use=aixterm-m,
                   8955:
                   8956: #### Infoton/General Terminal Corp.
                   8957: #
                   8958:
                   8959: # gt100 sounds like something DEC would come out with.  Let's hope they don't.
                   8960: i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100),
                   8961:        am,
                   8962:        cols#80, lines#24,
                   8963:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   8964:        cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM,
                   8965:        ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL,
                   8966:        ind=^J, rmso=\Ea, smso=\Eb,
                   8967: i400|infoton 400,
                   8968:        am,
                   8969:        cols#80, lines#25,
                   8970:        bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   8971:        cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A,
                   8972:        dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N,
                   8973:        il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q,
                   8974: # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
                   8975: addrinfo,
                   8976:        am,
                   8977:        cols#80, lines#24,
                   8978:        bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y,
                   8979:        cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H,
                   8980:        ind=^J, ll=^H^\,
                   8981: # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
                   8982: infoton,
                   8983:        am,
                   8984:        cols#80, lines#24,
                   8985:        bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\,
                   8986:        ed=^K, ind=^J, ll=^H^\,
                   8987:
                   8988: #### Interactive Systems Corp
                   8989: #
                   8990: # ISC used to sell OEMed and customized hardware to support ISC UNIX.
                   8991: # ISC UNIX still exists in 1995, but ISC itself is no more; they got
                   8992: # bought out by Sun.
                   8993: #
                   8994:
                   8995: # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
                   8996: # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
                   8997: # ":le=^_:" later overridden -- esr)
                   8998: intext|Interactive Systems Corporation modified owl 1200,
                   8999:        am,
                   9000:        cols#80, it#8, lines#24, xmc#1,
                   9001:        bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J,
                   9002:        cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\,
                   9003:        dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>,
                   9004:        el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H,
                   9005:        kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r,
                   9006:        kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r,
                   9007:        kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<,
1.4       tholo    9008:        rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%,
                   9009:        smso=^V$\,,
1.1       tholo    9010: intext2|intextii|INTERACTIVE modified owl 1251,
                   9011:        am, bw, ul,
                   9012:        cols#80, lines#24, xmc#0,
                   9013:        bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B,
                   9014:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   9015:        dl1=\E[M, ed=\E[J, el=\E[K,
                   9016:        flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u,
                   9017:        hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S,
                   9018:        kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r,
                   9019:        kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r,
                   9020:        kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r,
                   9021:        khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO,
                   9022:        lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT,
                   9023:        lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D,
                   9024:        smul=\E[18 D,
                   9025:
                   9026: #### Kimtron (abm, kt)
                   9027: #
                   9028: # Kimtron entries include (undocumented) codes for: enter dim mode,
                   9029: # enter bold mode, enter reverse mode, turn off all attributes.
                   9030: #
                   9031:
                   9032: # Kimtron ABM 85 added by Dual Systems
                   9033: # (abm85: removed duplicated ":kd=^J:" -- esr)
                   9034: abm85|Kimtron ABM 85,
                   9035:        am, bw, msgr,
                   9036:        cols#80, it#8, lines#24, xmc#1,
                   9037:        cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L,
                   9038:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   9039:        dl1=\ER, ed=\Ey, el=\Et, ht=^I,
                   9040:        if=/usr/share/tabset/stdcrt, il1=\EE,
                   9041:        is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H,
                   9042:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek,
                   9043:        rmul=\Em, smir=\EQ, smso=\Ej, smul=\El,
                   9044: # Kimtron ABM 85H added by Dual Systems.
1.4       tholo    9045: # Some notes about the abm85h entries:
1.1       tholo    9046: # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
                   9047: #    firmware revs prior to SP51
1.4       tholo    9048: # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
                   9049: #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
                   9050: #    in some places and NOT software settable i.e., <is2> can't fix it)
1.1       tholo    9051: # 3) In 85h mode, the arrow keys and special functions transmit when
                   9052: #    the terminal is in dup-edit, and work only locally in local-edit.
                   9053: #    Vi won't swallow `del char' for instance, but <smcup> turns on
                   9054: #    dup-edit anyway so that the arrow keys will work right. If the
                   9055: #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
                   9056: #    <is2>.  Note that 920E mode does not have software commands to toggle
                   9057: #    between dup and local edit, so you get whatever was set last on the
                   9058: #    terminal.
                   9059: # 4) <flash> attribute is nice, but seems too slow to work correctly
                   9060: #    (\Eb<pad>\Ed)
                   9061: # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
                   9062: #    are selected, the <xmc@> entry should be removed.
                   9063: # 6) auto new-line should be on (selectable from setup mode only)
                   9064: #
                   9065: # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
                   9066: abm85h|Kimtron ABM 85H native mode,
                   9067:        hs,
                   9068:        xmc@,
                   9069:        bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@,
                   9070:        fsl=^M, invis@,
                   9071:        is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El,
                   9072:        kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef,
                   9073:        use=adm+sgr, use=abm85,
                   9074: abm85e|Kimtron ABM 85H in 920E mode,
                   9075:        xmc@,
                   9076:        bel=^G, dim=\E), flash@,
                   9077:        is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em,
                   9078:        rev=\Ej, sgr0=\E(\Ek, smir=\EZ,
                   9079:        use=abm85,
                   9080: abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.,
                   9081:        xmc@,
                   9082:        bel=^G, dim=\E),
                   9083:        is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF,
                   9084:        rev=\Ej, sgr0=\E(\Ek, smir=\EZ,
                   9085:        use=abm85,
                   9086: # From: <malman@bbn-vax.arpa>
                   9087: # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
                   9088: kt7|kimtron model kt-7,
                   9089:        am,
                   9090:        cols#80, it#8, lines#24,
                   9091:        cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L,
                   9092:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   9093:        dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
                   9094:        if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E",
                   9095:        kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L,
                   9096:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r,
                   9097:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   9098:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   9099:        kich1=\EQ, kil1=\EE, tsl=\Ef,
                   9100:        use=adm+sgr,
1.4       tholo    9101: # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
                   9102: # other kt7 entry and the adjacent key capabilities).  Removed EE which is
                   9103: # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
                   9104: # but we can't figure out what.
                   9105: kt7ix|kimtron model kt-7 or 70 in IX mode,
                   9106:        am, bw,
                   9107:        cols#80, it#8, lines#25,
                   9108:        acsc=lZm@k?jYt4uCvAwBqDx3nE, bel=^G, blink=\EG2, cbt=\EI,
                   9109:        civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V,
                   9110:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   9111:        dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M,
                   9112:        home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J,
                   9113:        is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*,
                   9114:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER,
                   9115:        ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
                   9116:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   9117:        kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ,
                   9118:        nel=^M^J, pulse=\EK, rmacs=\E%, rmir=, rmso=\EG0, rmul=\EG0,
                   9119:        sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef,
                   9120:
                   9121: #### Microdata/MDIS
                   9122: #
                   9123: # This was a line of terminals made by McDonnell-Douglas Information Systems.
                   9124: # These entries come direct from MDIS documentation.  I have edited them only
                   9125: # to move primary names of the form p[0-9] * to aliases, and to comment out
                   9126: # <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have
                   9127: # also removed the change history; the last version indicates this is
                   9128: # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
                   9129: #
                   9130:
                   9131: # McDonnell Information Systems Terminal Family History
                   9132: # =========================================
                   9133: #
                   9134: # Prism-1, Prism-2 and P99:
                   9135: #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
                   9136: #
                   9137: # Prism-4 and Prism-5:
                   9138: #       Slightly less ancient range of Microdata terminals. Follow-on from
                   9139: #       Prism-2, but with many enhancements. P5 has eight display pages.
                   9140: #
                   9141: # Prism-6:
                   9142: #       A special terminal for use with library systems, primarily in Germany.
                   9143: #       Limited numbers. Similar functionality to P5 (except attributes?).
                   9144: #
                   9145: # Prism-7, Prism-8 and Prism-9:
                   9146: #       More recent range of MDIS terminals, in which P7 and P8
                   9147: #       replace the P4 & P5, with added functionality, and P9 is the flagship.
                   9148: #       The P9 has two emulation modes - P8 and ANSI - and includes a
                   9149: #       large number of the DEC VT220 control sequences. Both
                   9150: #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
                   9151: #
                   9152: # Prism-12 and Prism-14:
                   9153: #       Latest range, functionally very similar to the P9.  The P14 has a
                   9154: #       black-on-white overscanning screen.
                   9155: #
                   9156: # The terminfo definitions given here are:
                   9157: #
                   9158: # p2      - Prism-2 (or Prism-1 or P99).
                   9159: #
                   9160: # p4      - Prism-4 (and older P7s & P8s).
                   9161: # p5      - Prism-5 (or Prism-6).
                   9162: #
                   9163: # p7      - Prism-7.
                   9164: # p8      - Prism-8 (in national or multinational mode).
                   9165: # p8-w    - 132 column version of p8.
                   9166: # p9      - Prism-9 in ANSI mode.
                   9167: # p9-w    - 132 column version of p9.
                   9168: # p9-8    - Prism-9 in Prism-8 emulation mode.
                   9169: # p9-8-w  - As p9-8, but with 132 columns.
                   9170: #
                   9171: # p12     - Prism-12 in ANSI mode.
                   9172: # p12-w   - 132 column version of p12.
                   9173: # p12-m   - Prism-12 in MDC emulation mode.
                   9174: # p12-m-w - As p12-m, but with 132 columns.
                   9175: # p14     - Prism-14 in ANSI mode.
                   9176: # p14-w   - 132 column version of p14.
                   9177: # p14-m   - Prism-14 in MDC emulation mode.
                   9178: # p14-m-w - As p14-m, but with 132 columns.
                   9179: #
                   9180: # p2: Prism-2
                   9181: # -----------
                   9182: #
                   9183: # Includes Prism-1 and basic P99 without SP or MP loaded.
                   9184: # The simplest form of Prism-type terminal.
                   9185: # Basic cursor movement and clearing operations only.
                   9186: # No video attributes.
                   9187: # Notes:
                   9188: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
                   9189: #  value up, followed by backspace.
                   9190: #
                   9191: P2|prism2|MDC Prism-2,
                   9192:        am, bw, msgr,
                   9193:        cols#80, lines#24,
                   9194:        bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   9195:        cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
                   9196:        cuu1=^Z, ed=\EJ, el=\EK, home=^A,
                   9197:        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
                   9198:        ind=^J, kbs=^H, khome=^A, vpa=\013%p1%' '%+%c,
                   9199:
                   9200: # p4: Prism-4
                   9201: # -----------
                   9202: #
                   9203: # Includes early versions of P7 & P8.
                   9204: # Basic family definition for most Prisms (except P2 and P9 ANSI).
                   9205: # Notes:
                   9206: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
                   9207: #  value up, followed by backspace.
                   9208: #  Cursor key definitions removed because they interfere with vi and csh keys.
                   9209: #
                   9210: prism4|p4|P4|MDC Prism-4,
                   9211:        am, bw, hs, mc5i, msgr,
                   9212:        cols#80, lines#24, wsl#72, xmc#1,
                   9213:        bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>,
                   9214:        cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   9215:        cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
                   9216:        cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK,
                   9217:        fsl=^]\345, home=^A^J,
                   9218:        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
                   9219:        ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER,
                   9220:        rev=^CD, rmso=^C\s, rmul=^C\s,
                   9221:        sgr=\003%'@'%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;,
                   9222:        sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343,
                   9223:        vpa=\013%p1%' '%+%c,
                   9224:
                   9225: # p5: Prism-5
                   9226: # -----------
                   9227: #
                   9228: # Same definition as p4. Includes Prism-6 (not tested!).
                   9229: # Does not use any multi-page features.
                   9230: #
                   9231: prism5|p5|P5|MDC Prism-5,
                   9232:        use=p4,
                   9233:
                   9234: # p7: Prism-7
                   9235: # -----------
                   9236: #
                   9237: # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
                   9238: # Notes:
                   9239: #  Use p4 for very early models of P7.
                   9240: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   9241: #
                   9242: prism7|p7|P7|MDC Prism-7,
                   9243:        cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4,
                   9244:
                   9245: # p8: Prism-8
                   9246: # -----------
                   9247: #
                   9248: # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
                   9249: # Supports national and multinational character sets.
                   9250: # Notes:
                   9251: #  Alternate char set operations only work in multinational mode.
                   9252: #  Use p4 for very early models of P8.
                   9253: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   9254: # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
                   9255: #
                   9256: prism8|p8|P8|MDC Prism-8,
                   9257:        cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h,
                   9258:        vpa=\E[%i%p1%dd,
                   9259:        use=p4,
                   9260:
                   9261: # p8-w: Prism-8 in 132 column mode
                   9262: # --------------------------------
                   9263: #
                   9264: # 'Wide' version of p8.
                   9265: # Notes:
                   9266: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   9267: #
                   9268: prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode,
                   9269:        cols#132,
                   9270:        is2=\E[<12h\E[<14h, use=p8,
                   9271:
                   9272: # p9: Prism-9 in ANSI mode
                   9273: # -------------------------
                   9274: #
                   9275: # The "flagship" model of this generation of terminals.
                   9276: # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
                   9277: # Notes:
                   9278: #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
                   9279: #  Fixes to deal with terminal firmware bugs:
                   9280: #  . 'ri' uses insert-line since rev index doesn't always
                   9281: #  . 'sgr0' has extra '0' since esc[m fails
                   9282: #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
                   9283: #  Not covered in the current definition:
                   9284: #  . Labels
                   9285: #  . Programming Fn keys
                   9286: #  . Graphic characters (defaults correctly to vt100)
                   9287: #  . Padding values (sets xon)
                   9288: # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
                   9289: #
                   9290: prism9|p9|P9|MDC Prism-9 in ANSII mode,
                   9291:        am, bw, hs, mc5i, msgr, xenl, xon,
                   9292:        cols#80, it#8, lines#24, vt#3, wsl#72,
                   9293:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l,
                   9294:        clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v,
                   9295:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   9296:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   9297:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   9298:        dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX,
                   9299:        ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`,
                   9300:        ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   9301:        is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D,
                   9302:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~,
                   9303:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   9304:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   9305:        kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
                   9306:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   9307:        khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J,
                   9308:        prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m,
                   9309:        ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   9310:        rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N,
                   9311:        sc=\E[%y,
                   9312:        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%;,
                   9313:        sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   9314:        tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd,
                   9315:
                   9316: # p9-w: Prism-9 in 132 column mode
                   9317: # --------------------------------
                   9318: #
                   9319: # 'Wide' version of p9.
                   9320: #
                   9321: prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode,
                   9322:        cols#132,
                   9323:        is2=\E[&p\E[<12l\E F\E[<14h,
                   9324:        rs2=\E[&p\E[<12l\E F\E[<14h, use=p9,
                   9325:
                   9326: # p9-8: Prism-9 in P8 mode
                   9327: # ------------------------
                   9328: #
                   9329: # P9 terminal in P8 emulation mode.
                   9330: # Similar to p8 definition.
                   9331: # Insertion and deletion operations possible.
                   9332: #
                   9333: prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode,
                   9334:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   9335:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8,
                   9336:
                   9337: # p9-8-w: Prism-9 in P8 and 132 column modes
                   9338: # ------------------------------------------
                   9339: #
                   9340: # P9 terminal in P8 emulation mode and 132 column mode.
                   9341: #
                   9342: prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode,
                   9343:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   9344:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w,
                   9345:
                   9346: # p12: Prism-12 in ANSI mode
                   9347: # ---------------------------
                   9348: #
                   9349: # See p9 definition.
                   9350: #
                   9351: prism12|p12|P12|MDC Prism-12 in ANSI mode,
                   9352:        use=p9,
                   9353:
                   9354: # p12-w: Prism-12 in 132 column mode
                   9355: # ----------------------------------
                   9356: #
                   9357: # 'Wide' version of p12.
                   9358: #
                   9359: prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode,
                   9360:        use=p9-w,
                   9361:
                   9362: # p12-m: Prism-12 in MDC emulation mode
                   9363: # -------------------------------------
                   9364: #
                   9365: # P12 terminal in MDC emulation mode.
                   9366: # Similar to p8 definition.
                   9367: # Insertion and deletion operations possible.
                   9368: #
                   9369: prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode,
                   9370:        use=p9-8,
                   9371:
                   9372: # p12-m-w: Prism-12 in MDC emulation and 132 column modes
                   9373: # -------------------------------------------------------
                   9374: #
                   9375: # P12 terminal in MDC emulation mode and 132 column mode.
                   9376: #
                   9377: prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode,
                   9378:        use=p9-8-w,
                   9379:
                   9380: # p14: Prism-14 in ANSII mode
                   9381: # ---------------------------
                   9382: #
                   9383: # See p9 definition.
                   9384: #
                   9385: prism14|p14|P14|MDC Prism-14 in ANSII mode,
                   9386:        use=p9,
                   9387:
                   9388: # p14-w: Prism-14 in 132 column mode
                   9389: # ----------------------------------
                   9390: #
                   9391: # 'Wide' version of p14.
                   9392: #
                   9393: prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode,
                   9394:        use=p9-w,
                   9395:
                   9396: # p14-m: Prism-14 in MDC emulation mode
                   9397: # -------------------------------------
                   9398: #
                   9399: # P14 terminal in MDC emulation mode.
                   9400: # Similar to p8 definition.
                   9401: # Insertion and deletion operations possible.
                   9402: #
                   9403: prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode,
                   9404:        use=p9-8,
                   9405:
                   9406: # p14-m-w: Prism-14 in MDC emulation and 132 column modes
                   9407: # -------------------------------------------------------
                   9408: #
                   9409: # P14 terminal in MDC emulation mode and 132 column mode.
                   9410: #
                   9411: prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode,
                   9412:        use=p9-8-w,
                   9413:
                   9414: # End of McDonnell Information Systems Prism definitions
                   9415:
                   9416: # These things were popular in the Pick database community at one time
                   9417: # From: George Land <georgeland@aol.com> 24 Sep 1996
                   9418: p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition,
                   9419:        am, bw, hs, mir,
                   9420:        cols#80, lines#24, ma#1, wsl#78, xmc#1,
                   9421:        bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F,
                   9422:        cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P,
                   9423:        ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U,
                   9424:        kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ,
                   9425:        kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r,
                   9426:        kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r,
                   9427:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   9428:        kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2,
                   9429:        lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M,
                   9430:        pad=\200, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE,
                   9431:        smul=^C0,
1.1       tholo    9432:
                   9433: #### Microterm (act, mime)
                   9434: #
                   9435: # The mime1 entries refer to the Microterm Mime I or Mime II.
                   9436: # The default mime is assumed to be in enhanced act iv mode.
                   9437: #
                   9438:
                   9439: # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
                   9440: # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
                   9441: # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
                   9442: # since Sytek insists ^S means xoff.
                   9443: # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
                   9444: act4|microterm|microterm act iv,
                   9445:        am,
                   9446:        cols#80, lines#24,
                   9447:        bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X,
                   9448:        cup=\024%p1%{24}%+%c%p2%p2%?%'/'%>%t%'0'%+%;%'P'%+%c,
                   9449:        cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>,
                   9450:        ed=\037$<2.2*/>, el=\036$<.1*/>, home=^],
                   9451:        il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X,
                   9452:        kcuu1=^Z,
                   9453: # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
                   9454: # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
                   9455: # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
                   9456: act5|microterm5|microterm act v,
                   9457:        kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA, use=act4,
                   9458: # Mimes using brightness for standout.  Half bright is really dim unless
                   9459: # you turn up the brightness so far that lines show up on the screen.
                   9460: mime-fb|full bright mime1,
                   9461:        is2=^S\E, rmso=^S, smso=^Y, use=mime,
                   9462: mime-hb|half bright mime1,
                   9463:        is2=^Y\E, rmso=^Y, smso=^S, use=mime,
                   9464: # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
                   9465: # the more plausible ":do=^J:" -- esr)
                   9466: # uc was at one time disabled to get around a curses bug, be wary of it
                   9467: mime|mime1|mime2|mimei|mimeii|microterm mime1,
                   9468:        am,
                   9469:        cols#80, it#8, lines#24, vt#9,
                   9470:        bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X,
                   9471:        cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%'0'%+%;%'P'%+%c,
                   9472:        cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>,
                   9473:        il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K,
                   9474:        kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U,
1.4       tholo    9475: # These termcaps (for mime2a) put the terminal in low intensity mode
1.1       tholo    9476: # since high intensity mode is so obnoxious.
                   9477: mime2a-s|microterm mime2a (emulating an enhanced soroc iq120),
                   9478:        am,
                   9479:        cols#80, lines#24,
                   9480:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   9481:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED,
                   9482:        dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^,
                   9483:        il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J,
                   9484:        kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7,
1.4       tholo    9485:        smir=\EE, smso=\E\:, smul=\E6,
1.1       tholo    9486: # This is the preferred mode (but ^X can't be used as a kill character)
                   9487: mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52),
                   9488:        cols#80, it#8, lines#24,
                   9489:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   9490:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N,
                   9491:        dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I,
                   9492:        il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED,
                   9493:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9,
                   9494:        rmul=\E5, smir=^O, smso=\E8, smul=\E4,
                   9495: # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
                   9496: mime3a|mime1 emulating 3a,
                   9497:        am@,
                   9498:        kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a,
                   9499: mime3ax|mime-3ax|mime1 emulating enhanced 3a,
                   9500:        it#8,
                   9501:        dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>, use=mime3a,
                   9502: # Wed Mar  9 18:53:21 1983
                   9503: # We run our terminals at 2400 baud, so there might be some timing problems at
                   9504: # higher speeds. The major improvements in this model are the terminal now
                   9505: # scrolls down and insert mode works without redrawing the rest of the line
                   9506: # to the right of the cursor. This is done with a bit of a kludge using the
                   9507: # exit graphics mode to get out of insert, but it does not appear to hurt
                   9508: # anything when using vi at least. If you have some users using act4s with
                   9509: # programs that use curses and graphics mode this could be a problem.
                   9510: mime314|mm314|mime 314,
                   9511:        am,
                   9512:        cols#80, lines#24,
                   9513:        clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z,
                   9514:        dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H,
                   9515:        kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S,
                   9516: # Microterm mime 340 from University of Wisconsin
                   9517: mm340|mime340|mime 340,
                   9518:        cols#80, lines#24,
                   9519:        clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   9520:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   9521:        dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>,
1.4       tholo    9522:        el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,,
1.1       tholo    9523:        kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J,
                   9524: # This came from University of Wisconsin marked "astro termcap for jooss".
                   9525: # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
                   9526: # also added <rmam>/<smam> based  on the init string -- esr)
                   9527: mt4520-rv|micro-term 4520 reverse video,
                   9528:        am, hs, msgr, xenl, xon,
                   9529:        cols#80, it#8, lines#24, wsl#80,
                   9530:        bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M,
                   9531:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   9532:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   9533:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   9534:        cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   9535:        dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h,
                   9536:        fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   9537:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   9538:        is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J,
                   9539:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   9540:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
                   9541:        ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100,
                   9542:        ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m,
                   9543:        rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J,
                   9544:        sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
                   9545:        tbc=\E[g, tsl=\E[25;1H,
                   9546:
                   9547: # Fri Aug  5 08:11:57 1983
                   9548: # This entry works for the ergo 4000 with the following setups:
                   9549: # ansi,wraparound,newline disabled, xon/xoff disabled in both
                   9550: # setup a & c.
                   9551: #
                   9552: # WARNING!!! There are multiple versions of ERGO 4000 microcode
                   9553: # Be advised that very early versions DO NOT WORK RIGHT !!
                   9554: # Microterm does have a ROM exchange program- use it or lose big
                   9555: # (ergo400: added <rmam>/<smam> based on the init string -- esr)
                   9556: ergo4000|microterm ergo 4000,
                   9557:        da, db, msgr,
                   9558:        cols#80, lines#66,
                   9559:        bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B,
                   9560:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   9561:        dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>,
                   9562:        el=\E[0K$<13>, ht=^I, il=\E[1L$<5*>, ind=\ED$<20*>,
                   9563:        is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>,
                   9564:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   9565:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3,
                   9566:        lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l,
                   9567:        rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>,
                   9568:        smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>,
                   9569:        smso=\E[7m$<20>,
                   9570:
                   9571: #### NCR
                   9572: #
                   9573: # NCR's terminal group was merged with AT&T's when AT&T bought the company.
                   9574: # For what happened to that group, see the ADDS section.
                   9575: #
                   9576: # There is an NCR4103 terminal that's just a re-badged Wyse-50.
                   9577: #
                   9578:
                   9579: # NCR7900 DIP switches:
                   9580: #
                   9581: # Switch A:
                   9582: # 1-4 - Baud Rate
                   9583: # 5   - Parity (Odd/Even)
                   9584: # 6   - Don't Send or Do Send Spaces
                   9585: # 7   - Parity Enable
                   9586: # 8   - Stop Bits (One/Two)
                   9587: #
                   9588: # Switch B:
                   9589: # 1   - Upper/Lower Shift
                   9590: # 2   - Typewriter Shift
                   9591: # 3   - Half Duplex / Full Duplex
                   9592: # 4   - Light/Dark Background
                   9593: # 5-6 - Carriage Return Without / With Line Feed
                   9594: # 7   - Extended Mode
                   9595: # 8   - Suppress Keyboard Display
                   9596: #
                   9597: # Switch C:
                   9598: # 1   - End of line entry disabled/enabled
                   9599: # 2   - Conversational mode / (Local?) Mode
                   9600: # 3   - Control characters displayed / not displayed
                   9601: # 4   - (2-wire?) / 4-wire communications
                   9602: # 5   - RTS on and off for each character
                   9603: # 6   - (50Hz?) / 60 Hz
                   9604: # 7   - Exit after level zero diagnostics
                   9605: # 8   - RS-232 interface
                   9606: #
                   9607: # Switch D:
                   9608: # 1   - Reverse Channel (yes / no)
                   9609: # 2   - Manual answer (no / yes)
                   9610: # 3-4 - Cursor appearance
                   9611: # 5   - Communication Rate
                   9612: # 6   - Enable / Disable EXT turnoff
                   9613: # 7   - Enable / Disable CR turnoff
                   9614: # 8   - Enable / Disable backspace
                   9615: #
                   9616: # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
1.4       tholo    9617: ncr7900i|ncr7900|ncr 7900 model 1,
1.1       tholo    9618:        am, bw, ul,
                   9619:        cols#80, lines#24, xmc#1,
                   9620:        bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   9621:        cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J,
                   9622:        is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F,
                   9623:        kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@,
                   9624:        rmul=\E0@,
                   9625:        sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c,
                   9626:        sgr0=\E0@, smso=\E0Q, smul=\E0`,
                   9627: ncr7900iv|ncr 7900 model 4,
                   9628:        am, bw, eslok, hs,
                   9629:        cols#80, lines#24,
                   9630:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
                   9631:        cup=\013%p1%'@'%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1,
                   9632:        fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H,
                   9633:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET,
                   9634:        kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
                   9635:        khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J,
                   9636:        tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo,
1.4       tholo    9637: ncr7901|ncr 7901 model,
1.1       tholo    9638:        am, bw, ul,
                   9639:        cols#80, lines#24,
                   9640:        bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M,
                   9641:        cub1=^H, cud1=^J, cuf1=^F,
                   9642:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A,
                   9643:        ed=\Ek, el=\EK,
                   9644:        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J,
                   9645:        is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
                   9646:        khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O,
                   9647:        sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016,
                   9648:        sgr0=^O, smso=\E0Q\016, smul=\E0`\016,
                   9649:        vpa=\013%p1%'@'%+%c,
                   9650:
                   9651: #### Perkin-Elmer (Owl)
                   9652: #
                   9653: # These are official terminfo entries from within Perkin-Elmer.
                   9654: #
                   9655:
                   9656: bantam|pe550|pe6100|perkin elmer 550,
                   9657:        cols#80, lines#24,
                   9658:        bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   9659:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   9660:        el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA,
                   9661: fox|pe1100|perkin elmer 1100,
                   9662:        am,
                   9663:        cols#80, lines#24,
                   9664:        bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
                   9665:        cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   9666:        ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003,
                   9667:        home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3,
                   9668: owl|pe1200|perkin elmer 1200,
                   9669:        am, in,
                   9670:        cols#80, lines#24,
                   9671:        bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
                   9672:        cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   9673:        dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
                   9674:        el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
                   9675:        hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
                   9676:        kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
                   9677:        kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
                   9678:        rmso=\E!\200, sgr0=\E!\200, smso=\E!^H, tbc=\E3,
                   9679: pe1251|pe6300|pe6312|perkin elmer 1251,
                   9680:        am,
                   9681:        cols#80, it#8, lines#24, pb#300, vt#8, xmc#1,
                   9682:        bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
                   9683:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   9684:        ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J,
                   9685:        kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE,
                   9686:        kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3,
                   9687: # (pe7000m: this had
                   9688: #      rmul=\E!\0, smul=\E!\040,
                   9689: # which is probably wrong, it collides with kf0
                   9690: pe7000m|perkin elmer 7000 series monochrome monitor,
                   9691:        am,
                   9692:        cols#80, lines#24,
                   9693:        bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB,
                   9694:        cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   9695:        ed=\EJ, el=\EI, home=\EH, ind=^J,
1.4       tholo    9696:        is1=\E!\200\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V,
1.1       tholo    9697:        kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\200, kf1=\E!^A,
                   9698:        kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E,
                   9699:        kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S,
1.4       tholo    9700:        ll=\ES7\s, ri=\ER,
1.1       tholo    9701: pe7000c|perkin elmer 7000 series colour monitor,
1.4       tholo    9702:        is1=\E!\200\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0,
                   9703:        rmul=\E!\200, smso=\Eb2, smul=\E!\s,
1.1       tholo    9704:        use=pe7000m,
                   9705:
                   9706: #### Sperry Univac
                   9707: #
                   9708: # Sperry Univac has merged with Burroughs to form Unisys.
                   9709: #
                   9710:
                   9711: # This entry is for the Sperry UTS30 terminal running the TTY
                   9712: # utility under control of CP/M Plus 1R1. The functionality
                   9713: # provided is comparable to the DEC vt100.
                   9714: # (uts30: I added <rmam>/<smam> based on the init string -- esr)
                   9715: uts30|sperry uts30 with cp/m@1R1,
                   9716:        am, bw, hs,
                   9717:        cols#80, lines#24, wsl#40,
                   9718:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   9719:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L,
                   9720:        cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c,
                   9721:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB,
                   9722:        cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH,
                   9723:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM,
                   9724:        dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H,
                   9725:        ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN,
                   9726:        ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H,
                   9727:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H,
                   9728:        rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI,
                   9729:        rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m,
                   9730:        rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   9731:        sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m,
                   9732:        smul=\E[4m, tsl=\E], uc=\EPB,
                   9733:
                   9734: #### Tandem
                   9735: #
                   9736: # Tandem builds these things for use with its line of fault-tolerant
                   9737: # transaction-processing computers.  They aren't generally available
                   9738: # on the merchant market, and so are fairly uncommon.
                   9739: #
                   9740:
                   9741: tandem6510|adm3a repackaged by Tandem,
                   9742:        use=adm3a,
                   9743:
                   9744: # A funny series of terminal that TANDEM uses.  The actual model numbers
                   9745: # have a fourth digit after 653 that designates minor variants.  These are
                   9746: # natively block-mode and rather ugly, but they have a character mode which
                   9747: # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
                   9748: # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
                   9749: # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
                   9750: tandem653|t653x|Tandem 653x multipage terminal,
                   9751:        am, da, db, hs,
                   9752:        cols#80, lines#24, wsl#64, xmc#1,
                   9753:        clear=\EI, cub1=^H, cud1=^J, cuf1=\EC,
                   9754:        cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r,
1.4       tholo    9755:        ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s,
                   9756:        rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo,
1.1       tholo    9757:
                   9758: #### Tandy/Radio Shack
                   9759: #
                   9760: # Tandy has a line of VDTs distinct from its microcomputers.
                   9761: #
                   9762:
                   9763: dmterm|deskmate terminal,
                   9764:        am, bw,
                   9765:        cols#80, lines#24,
                   9766:        bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H,
                   9767:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   9768:        cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I,
                   9769:        ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB,
                   9770:        kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4,
                   9771:        kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0,
                   9772:        khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6,
                   9773:        lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@,
                   9774:        use=adm+sgr,
                   9775: dt100|dt-100|Tandy DT-100 terminal,
                   9776:        xon,
                   9777:        cols#80, lines#24, xmc#1,
                   9778:        acsc=kkllmmjjnnwwvvttuuqqxx, bel=^G, civis=\E[?25l,
                   9779:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   9780:        csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   9781:        cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   9782:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   9783:        il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D,
                   9784:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i,
                   9785:        kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~,
                   9786:        kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H,
                   9787:        knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5,
                   9788:        lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m,
                   9789:        sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
                   9790: dt100w|dt-100w|Tandy DT-100 terminal (wide mode),
                   9791:        cols#132, use=dt100,
                   9792: dt110|Tandy DT-110 emulating ansi,
                   9793:        xon,
                   9794:        cols#80, lines#24,
                   9795:        acsc=kkllmmjjnnwwvvuuttqqxx, bel=^G, civis=\E[?25l,
                   9796:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   9797:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C,
                   9798:        cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P,
                   9799:        dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H,
                   9800:        ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B,
                   9801:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K,
                   9802:        kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~,
                   9803:        kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~,
                   9804:        khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1,
                   9805:        lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9,
                   9806:        lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   9807:        smacs=^N, smso=\E[7m, smul=\E[4m,
                   9808: pt210|TRS-80 PT-210 printing terminal,
                   9809:        hc, os,
                   9810:        cols#80,
                   9811:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   9812:
                   9813: #### Tektronix (tek)
                   9814: #
                   9815: # Tektronix tubes are graphics terminals.  Most of them use modified
                   9816: # oscilloscope technology incorporating a long-persistence green phosphor,
                   9817: # and support vector graphics on a main screen with an attached "dialogue
                   9818: # area" for interactive text.
                   9819: #
                   9820:
1.4       tholo    9821: tek|tek4012|tektronix 4012,
1.1       tholo    9822:        os,
                   9823:        cols#75, lines#35,
                   9824:        bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J,
                   9825:        ff=\014$<1000>, is2=\E^O,
                   9826: # (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
1.4       tholo    9827: tek4013|tektronix 4013,
1.1       tholo    9828:        acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012,
1.4       tholo    9829: tek4014|tektronix 4014,
1.1       tholo    9830:        cols#81, lines#38,
                   9831:        is2=\E\017\E9, use=tek4012,
                   9832: # (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
1.4       tholo    9833: tek4015|tektronix 4015,
1.1       tholo    9834:        acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014,
1.4       tholo    9835: tek4014-sm|tektronix 4014 in small font,
1.1       tholo    9836:        cols#121, lines#58,
1.4       tholo    9837:        is2=\E\017\E\:, use=tek4014,
1.1       tholo    9838: # (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
1.4       tholo    9839: tek4015-sm|tektronix 4015 in small font,
                   9840:        acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm,
                   9841: # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
                   9842: #
                   9843: # You need to have "stty nl2" in effect.  Some versions of tset(1) know
                   9844: # how to set it for you.
                   9845: #
                   9846: # It's got the Magic Cookie problem around stand-out mode.  If you can't
                   9847: # live with Magic Cookie, remove the :so: and :se: fields and do without
                   9848: # reverse video.  If you like reverse video stand-out mode but don't want
                   9849: # it to flash, change the letter 'H' to 'P' in the :so: field.
                   9850: tek4023|tektronix 4023,
                   9851:        am,
                   9852:        cols#80, lines#24, vt#4, xmc#1,
                   9853:        bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
                   9854:        cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, rmso=^_@,
1.1       tholo    9855:        smso=^_P,
                   9856: # It is recommended that you run the 4025 at 4800 baud or less;
                   9857: # various bugs in the terminal appear at 9600.  It wedges at the
                   9858: # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
                   9859: # on keyboard don't work.  You have to hit BREAK twice to get
                   9860: # one break at any speed - this is a documented feature.
                   9861: # Can't use cursor motion because it's memory relative, and
                   9862: # because it only works in the workspace, not the monitor.
                   9863: # Same for home. Likewise, standout only works in the workspace.
                   9864: #
                   9865: # <el> was commented out since vi and rogue seem to work better
                   9866: # simulating it with lots of spaces!
                   9867: #
                   9868: # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U
                   9869: # and didn't seem necessary.
                   9870: #
                   9871: tek4024|tek4025|tek4027|tektronix 4024/4025/4027,
                   9872:        am, da, db,
                   9873:        cols#80, it#8, lines#34, lm#0,
                   9874:        bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M,
                   9875:        cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r,
                   9876:        cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r,
                   9877:        cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r,
                   9878:        dl=\037dli %p1%d\r\006, dl1=\037dli\r\006,
                   9879:        ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010,
                   9880:        il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r,
                   9881:        ind=^F^J,
                   9882:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
                   9883:        rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r,
                   9884:        smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r,
1.4       tholo    9885: tek4025-17|tek 4025 17 line window,
1.1       tholo    9886:        lines#17, use=tek4025,
1.4       tholo    9887: tek4025-17-ws|tek 4025 17 line window in workspace,
1.1       tholo    9888:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r,
                   9889:        rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r,
                   9890:        smso=\037att e\r,
                   9891:        use=tek4025-17,
                   9892: tek4025-ex|tek4027-ex|tek 4025/4027 w/!,
                   9893:        is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r,
                   9894:        rmcup=\037com 33\r, smcup=!com 31\r,
                   9895:        use=tek4025,
                   9896: # Tektronix 4025a
                   9897: # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
                   9898: # The following status modes are assumed for normal operation (replace the
                   9899: # initial "!" by whatever the current command character is):
                   9900: #      !COM 29                 # NOTE: changes command character to GS (^])
                   9901: #      ^]DUP
                   9902: #      ^]ECH R
                   9903: #      ^]EOL
                   9904: #      ^]RSS T
                   9905: #      ^]SNO N
                   9906: #      ^]STO 9 17 25 33 41 49 57 65 73
                   9907: # Other modes may be set according to communication requirements.
                   9908: # If the command character is inadvertently changed, termcap can't restore it.
                   9909: # Insert-character cannot be made to work on both top and bottom rows.
                   9910: # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
                   9911: # There also seems to be a problem with vertical motion, perhaps involving
                   9912: # delete/insert-line, following a typed carriage return.  This terminal sucks.
                   9913: # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   9914: # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
                   9915: # work any more. -- esr)
1.4       tholo    9916: tek4025a|Tektronix 4025A,
1.1       tholo    9917:        am, bw, da, db, xon,
                   9918:        cols#80, it#8, lines#34,
                   9919:        bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^],
                   9920:        cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;,
                   9921:        cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;,
                   9922:        cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;,
                   9923:        dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;,
                   9924:        el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I,
                   9925:        il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;,
                   9926:        tbc=\035sto;,
                   9927: # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
                   9928: # Here's the command file that I use to get rogue to work on the 4025.
                   9929: # It should work with any program using the old curses (e.g. it better
                   9930: # not try to scroll, or cursor addressing won't work.  Also, you can't
                   9931: # see the cursor.)
                   9932: # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
1.4       tholo    9933: tek4025-cr|tek 4025 for curses and rogue,
1.1       tholo    9934:        am,
                   9935:        cols#80, it#8, lines#33,
                   9936:        clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;,
1.4       tholo    9937:        cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J,
1.1       tholo    9938:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
                   9939:        rmcup=\037wor 0, smcup=\037wor 33h,
                   9940: # next two lines commented out since curses only allows 128 chars, sigh.
                   9941: #      :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:\
                   9942: #      :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:
                   9943: tek4025ex|4025ex|4027ex|tek 4025 w/!,
1.4       tholo    9944:        is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r,
1.1       tholo    9945:        rmcup=\037com 33\r, smcup=!com 31\r,
                   9946:        use=tek4025,
1.4       tholo    9947: tek4105|tektronix 4105,
1.1       tholo    9948:        am, mir, msgr, ul, xenl, xt,
                   9949:        cols#79, it#8, lines#29,
                   9950:        acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z,
                   9951:        clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C,
                   9952:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P,
                   9953:        dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   9954:        il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m,
                   9955:        is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B,
                   9956:        kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T,
1.4       tholo    9957:        rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m,
                   9958:        rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m,
                   9959:        smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
                   9960:        smul=\E[=5;<2m, tbc=\E[1g,
1.1       tholo    9961:
                   9962: # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
1.4       tholo    9963: tek4105-30|4015 emulating 30 line vt100,
1.1       tholo    9964:        am, mir, msgr, xenl, xon,
                   9965:        cols#80, it#8, lines#30, vt#3,
                   9966:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   9967:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   9968:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   9969:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   9970:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   9971:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   9972:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   9973:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq,
                   9974:        ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD,
                   9975:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy,
                   9976:        kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
                   9977:        kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   9978:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   9979:        rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   9980:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   9981:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   9982:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   9983:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   9984:
1.4       tholo    9985: # Tektronix 4105 from BRL
                   9986: # The following setup modes are assumed for normal operation:
                   9987: #      CODE ansi               CRLF no                 DABUFFER 141
                   9988: #      DAENABLE yes            DALINES 30              DAMODE replace
                   9989: #      DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
                   9990: #      FLAGGING input          INSERTREPLACE replace   LFCR no
                   9991: #      ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
                   9992: #      SELECTCHARSET G1 0      TABS -2
                   9993: # Other setup modes may be set for operator convenience or communication
                   9994: # requirements; I recommend
                   9995: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
                   9996: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
                   9997: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
                   9998: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
                   9999: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
                   10000: #      PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
                   10001: #      XMTDELAY 0
                   10002: # and factory color maps.  After setting these modes, save them with NVSAVE. No
                   10003: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   10004: # "IC" cannot be used in combination with "im" & "ei".
                   10005: # "tek4105a" is just a guess:
                   10006: tek4105a|Tektronix 4105,
                   10007:        msgr, xon,
                   10008:        cols#80, it#8, lines#30, vt#3,
                   10009:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   10010:        civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
                   10011:        cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   10012:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   10013:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   10014:        cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
                   10015:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   10016:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   10017:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
                   10018:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   10019:        kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
                   10020:        kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
                   10021:        lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   10022:        rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
                   10023:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7,
                   10024:        sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
                   10025:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   10026:
                   10027: #
                   10028: # Tektronix 4106/4107/4109 from BRL
                   10029: # The following setup modes are assumed for normal operation:
                   10030: #      CODE ansi               COLUMNMODE 80           CRLF no
                   10031: #      DABUFFER 141            DAENABLE yes            DALINES 32
                   10032: #      DAMODE replace          DAVISIBILITY yes        ECHO no
                   10033: #      EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
                   10034: #      LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
                   10035: #      PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
                   10036: #      TABS -2
                   10037: # Other setup modes may be set for operator convenience or communication
                   10038: # requirements; I recommend
                   10039: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
                   10040: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
                   10041: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
                   10042: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
                   10043: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
                   10044: #      PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
                   10045: #      XMTDELAY 0
                   10046: # and factory color maps.  After setting these modes, save them with NVSAVE.  No
                   10047: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   10048: # "IC" cannot be used in combination with "im" & "ei".
                   10049: tek4106brl|tek4107brl|tek4109brl|Tektronix 4106, 4107, or 4109,
                   10050:        msgr, xon,
                   10051:        cols#80, it#8, lines#32, vt#3,
                   10052:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   10053:        civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
                   10054:        cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   10055:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   10056:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   10057:        cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
                   10058:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   10059:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   10060:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
                   10061:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   10062:        kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
                   10063:        kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
                   10064:        lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   10065:        rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
                   10066:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   10067:        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>,
                   10068:        sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
                   10069:        smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g,
                   10070:
                   10071: tek4107|tek4109|tektronix terminals 4107 4109,
1.1       tholo    10072:        am, mir, msgr, ul, xenl, xt,
                   10073:        cols#79, it#8, lines#29,
                   10074:        bel=^G, blink=\E%!1\E[5m$<2>\E%!0,
                   10075:        bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M,
                   10076:        cub1=^H, cud1=^J, cuf1=\EC,
                   10077:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3,
                   10078:        dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J,
                   10079:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   10080:        rev=\E%!1\E[7m$<2>\E%0, ri=\EI,
                   10081:        rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0,
                   10082:        sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0,
                   10083:        sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0,
                   10084:        smul=\E%!1\E[4m$<2>\E%!0,
                   10085: # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
                   10086: # see the note attached to tek4207.
                   10087: tek4207-s|Tektronix 4207 with sysline but no memory,
                   10088:        eslok, hs,
                   10089:        dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8,
                   10090:        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,
                   10091:        is2=\E7\E[?6l\E[2K\E[?6h\E8,
                   10092:        tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107,
                   10093:
                   10094: # The 4110 series may be a wonderful graphics series, but they make the 4025
                   10095: # look good for screen editing.  In the dialog area, you can't move the cursor
                   10096: # off the bottom line.  Out of the dialog area, ^K moves it up, but there
                   10097: # is no way to scroll.
                   10098: #
                   10099: # Note that there is a floppy for free from Tek that makes the
                   10100: # 4112 emulate the vt52 (use the vt52 termcap). There is also
                   10101: # an expected enhancement that will use ANSI standard sequences.
                   10102: #
                   10103: # 4112 in non-dialog area pretending to scroll. It really wraps
                   10104: # but vi is said to work (more or less) in this mode.
                   10105: #
                   10106: # 'vi' works reasonably well with this entry.
                   10107: #
                   10108: otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series,
                   10109:        am,
                   10110:        cols#80, lines#34,
                   10111:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J,
                   10112:        rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0,
                   10113: # The 4112 with the ANSI compatibility enhancement
                   10114: tek4112|tek4114|tektronix 4110 series,
                   10115:        am, db,
                   10116:        cols#80, lines#34,
                   10117:        cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C,
                   10118:        cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M,
                   10119:        ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L,
                   10120:        ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8,
                   10121:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1.4       tholo    10122: tek4112-nd|4112 not in dialog area,
1.1       tholo    10123:        cuu1=^K, use=tek4112,
1.4       tholo    10124: tek4112-5|4112 in 5 line dialog area,
1.1       tholo    10125:        lines#5, use=tek4112,
                   10126: # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
                   10127: # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
                   10128: # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
                   10129: # previously \0410 and \0411 sequences...I don't *think* they were supposed
                   10130: # to be 4-digit octal -- esr)
                   10131: tek4113|tektronix 4113 color graphics with 5 line dialog area,
                   10132:        am, da, eo,
                   10133:        cols#80, lines#5,
                   10134:        clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0,
                   10135:        flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
                   10136:        is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0,
1.4       tholo    10137: tek4113-34|tektronix 4113 color graphics with 34 line dialog area,
1.1       tholo    10138:        lines#34,
                   10139:        is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113,
                   10140: # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
                   10141: # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
                   10142: # :vb: needs enough delay to let you see the background color being toggled.
1.4       tholo    10143: tek4113-nd|tektronix 4113 color graphics with no dialog area,
1.1       tholo    10144:        am, eo,
                   10145:        cols#80, it#8, lines#34,
                   10146:        clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K,
                   10147:        cvvis=\ELZ\EKA0,
                   10148:        flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
                   10149:        home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @,
                   10150:        ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0,
                   10151: # This entry is from Tek. Inc.  (Brian Biehl)
                   10152: # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
                   10153: otek4115|Tektronix 4115,
                   10154:        am, da, db, eo,
                   10155:        cols#80, it#8, lines#34,
                   10156:        cbt=\E[Z, clear=\E[H\E[2J,
                   10157:        cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B,
                   10158:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   10159:        cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J,
                   10160:        el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100,
                   10161:        il1=\E[L,
                   10162:        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,
                   10163:        kbs=^H, ri=\EM, rmam=\E[?7l,
                   10164:        rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l,
                   10165:        rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
                   10166:        smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m,
                   10167:        smul=\E[4m,
                   10168: tek4115|newer tektronix 4115 entry with more ANSI capabilities,
                   10169:        am, xon,
                   10170:        cols#80, lines#34,
                   10171:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   10172:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   10173:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   10174:        cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
                   10175:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG,
                   10176:        ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   10177:        il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D,
                   10178:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   10179:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l,
                   10180:        rmso=\E[m, rmul=\E[m,
                   10181:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   10182:        sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   10183:        vpa=\E[%p1%{1}%+%dd,
                   10184: # The tek4125 emulates a vt100 incorrectly - the scrolling region
                   10185: # command is ignored.  The following entry replaces <csr> with the needed
                   10186: # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
                   10187: # chokes on; and adds a lot of initialization for the tek dialog area.
                   10188: # Note that this entry uses all 34 lines and sets the cursor color to green.
                   10189: # Steve Jacobson 8/85
1.4       tholo    10190: # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
                   10191: # commented out, <smir>=\E1 because there's no <rmir>  -- esr)
1.1       tholo    10192: tek4125|tektronix 4125,
                   10193:        lines#34,
                   10194:        csr@, dl1=\E[1M, il1=\E[1L,
                   10195:        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.4       tholo    10196:        rc@, sc@, smkx=\E=,
1.1       tholo    10197:        use=vt100,
                   10198:
                   10199: # From: <jcoker@ucbic>
                   10200: # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
                   10201: # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
1.4       tholo    10202: # note that if jcoker wasn't confused you may be able to use this one.
                   10203: # I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
1.1       tholo    10204: tek4207|Tektronix 4207 graphics terminal with memory,
1.4       tholo    10205:        am, bw, mir, msgr, ul, xenl,
1.1       tholo    10206:        cols#80, it#8, lines#32,
                   10207:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>,
                   10208:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   10209:        cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J,
                   10210:        el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>,
1.4       tholo    10211:        il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5,
1.1       tholo    10212:        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,
                   10213:        kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H,
1.4       tholo    10214:        rev=\E[7m, ri=\E[T,
                   10215:        rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m,
                   10216:        rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m,
                   10217:        smul=\E[4m, tbc=\E[1g,
1.1       tholo    10218:
                   10219: # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
                   10220: # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
                   10221: # Tab had been given as \E2I,that must be the tab-set capability -- esr)
                   10222: tek4404|tektronix 4404,
                   10223:        cols#80, it#8, lines#32,
                   10224:        blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
                   10225:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   10226:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M,
                   10227:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L,
                   10228:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8,
                   10229:        rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l,
                   10230:        rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m,
                   10231:        smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h,
                   10232:        smkx=\E[?1l, smso=\E[7m, smul=\E[4m,
                   10233: # Some unknown person wrote:
                   10234: # I added the is string - straight Unix has ESC ; in the login
                   10235: # string which sets a ct8500 into monitor mode (aka 4025 snoopy
                   10236: # mode). The is string here cleans up a few things (but not
                   10237: # everything).
                   10238: ct8500|tektronix ct8500,
                   10239:        am, bw, da, db,
                   10240:        cols#80, lines#25,
                   10241:        bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J,
                   10242:        cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER,
                   10243:        dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\,
1.4       tholo    10244:        il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s,
                   10245:        rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!,
1.1       tholo    10246:
                   10247: # Tektronix 4205 terminal.
                   10248: #
                   10249: # am is not defined because the wrap around occurs not when the char.
                   10250: # is placed in the 80'th column, but when we are attempting to type
                   10251: # the 81'st character on the line.  (esr: hmm, this is like the vt100
                   10252: # version of xenl, perhaps am + xenl would work!)
                   10253: #
                   10254: # Bold, dim, and standout are simulated by colors and thus not allowed
                   10255: # with colors.  The tektronix color table is mapped into the RGB color
                   10256: # table by setf/setb. All colors are reset to factory specifications by oc.
                   10257: # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
                   10258: # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
                   10259: # interval then maps into pre-defined value.
1.4       tholo    10260: tek4205|tektronix 4205,
1.1       tholo    10261:        ccc, mir, msgr,
                   10262:        colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63,
                   10263:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   10264:        bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z,
                   10265:        clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
                   10266:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   10267:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   10268:        dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX,
                   10269:        ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
                   10270:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
1.4       tholo    10271:        initc=\E%%!0\n\ETF4\n%?%p1%{0}%=%t0\n%e%p1%{1}%=%t4\n%e%p1%{2}%=%t3\n%e%p1%{3}%=%t5\n%e%p1%{4}%=%t2\n%e%p1%{5}%=%t6\n%e%p1%{6}%=%t7\n%e1%;\n%?%p2%{125}%<%t0\n%e%p2%{250}%<%tA2\n%e%p2%{375}%<%tA?\n%e%p2%{500}%<%tC8\n%e%p2%{625}%<%tD4\n%e%p2%{750}%<%tE1\n%e%p2%{875}%<%tE\:\n%eF4%;\n%?%p3%{125}%<%t0\n%e%p3%{250}%<%tA2\n%e%p3%{375}%<%tA?\n%e%p3%{500}%<%tC8\n%e%p3%{625}%<%tD4\n%e%p3%{750}%<%tE1\n%e%p3%{875}%<%tE\:\n%eF4%;\n%?%p4%{125}%<%t0\n%e%p4%{250}%<%tA2\n%e%p4%{375}%<%tA?\n%e%p4%{500}%<%tC8\n%e%p4%{625}%<%tD4\n%e%p4%{750}%<%tE1\n%e%p4%{875}%<%tE\:\n%eF4%;\n\E%%!1,
1.1       tholo    10272:        invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H,
                   10273:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA,
                   10274:        kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER,
                   10275:        kf7=\ES,
                   10276:        oc=\E%!0\n\ETFB0\n0000\n1F4F4F4\n2F400\n30F40\n4A4C<F4\n50F4F4\n6F40F4\n7F4F40\n\E%!1,
1.4       tholo    10277:        op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=,
                   10278:        rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m,
1.1       tholo    10279:        setb=\E[=%?%p1%{0}%=%t0m\n%e%p1%{1}%=%t4m\n%e%p1%{2}%=%t3m\n%e%p1%{3}%=%t5m\n%e%p1%{4}%=%t2m\n%e%p1%{5}%=%t6m\n%e%p1%{6}%=%t7m\n%e1m%;,
                   10280:        setf=\E[<%?%p1%{0}%=%t0m\n%e%p1%{1}%=%t4m\n%e%p1%{2}%=%t3m\n%e%p1%{3}%=%t5m\n%e%p1%{4}%=%t2m\n%e%p1%{5}%=%t6m\n%e%p1%{6}%=%t7m\n%e1m%;,
                   10281:        sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N,
                   10282:        smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
                   10283:        smul=\E[4m, tbc=\E[1g,
                   10284:
                   10285: #### Teletype (tty)
                   10286: #
                   10287: # These are the hardcopy Teletypes from before AT&T bought the company,
                   10288: # clattering electromechanical dinosaurs in Bakelite cases that printed on
                   10289: # pulpy yellow roll paper.  If you remember these you go back a ways.
                   10290: # Teletype-branded VDTs are listed in the AT&T section.
                   10291: #
                   10292: # The earliest UNIXes were designed to use these clunkers; nroff and a few
                   10293: # other programs still default to emitting codes for the Model 37.
                   10294: #
                   10295:
                   10296: tty33|tty35|model 33 or 35 teletype,
                   10297:        hc, os, xon,
                   10298:        cols#72,
                   10299:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   10300: tty37|model 37 teletype,
                   10301:        hc, os, xon,
                   10302:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
                   10303:        ind=^J,
                   10304:
                   10305: # There are known to be at least three flavors of the tty40, all seem more
                   10306: # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
                   10307: # awful braindamage, such as printing a visible newline indicator after each
                   10308: # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
                   10309: # braindamaged but has hope and is described here.  The 40-4 is a 3270
                   10310: # lookalike and beyond hope.  The terminal has visible bell but I don't know
                   10311: # it - it's null here to prevent it from showing the BL character.
                   10312: # There is an \EG in <nl> because of a bug in old vi (if stty says you have
                   10313: # a "newline" style terminal (-crmode) vi figures all it needs is nl
                   10314: # to get crlf, even if <cr> is not ^M.)
                   10315: # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
                   10316: tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2,
                   10317:        xon,
                   10318:        cols#80, lines#24,
                   10319:        clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB,
                   10320:        cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>,
                   10321:        ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1,
                   10322:        ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^],
                   10323:        kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4,
                   10324:        rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>,
                   10325: tty43|model 43 teletype,
                   10326:        am, hc, os, xon,
                   10327:        cols#132,
                   10328:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
                   10329:
                   10330: #### Tymshare
                   10331: #
                   10332:
                   10333: # You can add <is2=\E<> to put this 40-column mode, though I can't
                   10334: # for the life of me think why anyone would want to.
                   10335: scanset|sc410|sc415|Tymshare Scan Set,
                   10336:        am, bw, msgr,
                   10337:        cols#80, lines#24,
1.4       tholo    10338:        acsc=l<m-k4j%q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H,
                   10339:        cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   10340:        cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED,
                   10341:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0,
                   10342:        mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N,
1.1       tholo    10343:
                   10344: #### Volker-Craig (vc)
                   10345: #
                   10346: # If you saw a Byte Magazine cover with a terminal on it during the early
                   10347: # 1980s, it was probably one of these.  Carl Helmers liked them because
                   10348: # they could crank 19.2 and were cheap (that is, until he tried to program
                   10349: # one...)
                   10350: #
                   10351:
                   10352: # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
                   10353: # every other linefeed.
                   10354: vc303|vc103|vc203|volker-craig 303,
                   10355:        am,
                   10356:        cols#80, lines#24,
                   10357:        bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
                   10358:        cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I,
                   10359:        kcuu1=^N, ll=\017$<1>W,
                   10360: vc303a|vc403a|volker-craig 303a,
                   10361:        clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>,
                   10362:        home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303,
                   10363: # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
                   10364: vc404|volker-craig 404,
                   10365:        am,
                   10366:        cols#80, lines#24,
                   10367:        bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   10368:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   10369:        ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J,
                   10370:        kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z,
                   10371: vc404-s|volker-craig 404 w/standout mode,
                   10372:        cud1=^J, rmso=^O, smso=^N, use=vc404,
                   10373: # From: <wolfgang@cs.sfu.ca>
                   10374: # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
                   10375: vc414|vc414h|Volker-Craig 414H in sane escape mode.,
                   10376:        am,
                   10377:        cols#80, lines#24,
                   10378:        clear=\E\034$<40>, cud1=\E^K, cuf1=^P,
                   10379:        cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3,
                   10380:        dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R,
1.4       tholo    10381:        ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P,
                   10382:        kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE,
                   10383:        kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2,
                   10384:        lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8,
1.1       tholo    10385:        rmso=\E^_, smso=\E^Y,
                   10386: vc415|volker-craig 415,
                   10387:        clear=^L, use=vc404,
                   10388:
                   10389: ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
                   10390: #
                   10391:
                   10392: #### IBM PC and clones
                   10393: #
                   10394:
                   10395: # The pcplot IBM-PC terminal emulation program is really messed up. It is
                   10396: # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
                   10397: # doesn't support scrolling regions, ignores add line commands, and ignores
                   10398: # delete line commands. Consequently, the resulting behavior looks like a
                   10399: # crude adm3a-type terminal.
                   10400: # Steve Jacobson 8/85
                   10401: pcplot|pc-plot terminal emulation program,
                   10402:        xenl@,
                   10403:        csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100,
1.4       tholo    10404: # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
                   10405: # I've found that my KayPro II, running MDM730, continues to emulate an
                   10406: # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
                   10407: # system the following termcap entry works well:
                   10408: # I have noticed a couple of minor glitches, but nothing I can't work
                   10409: # around. (I added two capabilities from the BRL entry -- esr)
1.1       tholo    10410: kaypro|kaypro2|kaypro II,
                   10411:        am,
                   10412:        cols#80, lines#24,
1.4       tholo    10413:        bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L,
                   10414:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W,
                   10415:        el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K,
1.1       tholo    10416:
                   10417: # From IBM, Thu May  5 19:35:27 1983
1.4       tholo    10418: # (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
1.1       tholo    10419: ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS),
                   10420:        am,
                   10421:        cols#80, lines#24,
                   10422:        bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\,
1.4       tholo    10423:        cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_,
1.1       tholo    10424:
1.4       tholo    10425: #### Apple II
1.1       tholo    10426: #
1.4       tholo    10427: # Apple II firmware console first, then various 80-column cards and
                   10428: # terminal emulators.  For two cents I'd toss all these in the UFO file
                   10429: # along with the 40-column apple entries.
                   10430: #
                   10431:
                   10432: # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
                   10433: #      'it#8' tells UNIX that you have tabs every 8 columns.  This is a
                   10434: #              function of TIC, not the firmware.
                   10435: #      The clear key on a IIgs will do something like clear-screen,
                   10436: #              depending on what you're in.
                   10437: appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface,
                   10438:        am, bw, eo, msgr,
                   10439:        cols#80, it#8, lines#24,
                   10440:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
                   10441:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   10442:        home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J,
                   10443:        kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N,
                   10444:        smso=^O,
                   10445: # Apple //e with 80-column card, entry from BRL
                   10446: # The modem interface is permitted to discard LF (maybe DC1), otherwise
                   10447: # passing characters to the 80-column firmware via COUT (PR#3 assumed).
                   10448: # Auto-wrap does not work right due to newline scrolling delay, which also
                   10449: # requires that you set "stty cr2".
                   10450: # Note: Cursor addressing is only available via the Pascal V1.1 entry,
                   10451: # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
                   10452: # using a terminal emulation program instead of the built-in firmware.
                   10453: apple2e|Apple //e,
                   10454:        bw, msgr,
                   10455:        cols#80, lines#24,
                   10456:        bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_,
                   10457:        ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W,
                   10458:        is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K,
                   10459:        nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
                   10460:        smso=^O,
                   10461: # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
                   10462: # 4.20, with incoming and outgoing terminals both on 0, emulation On.
                   10463: apple2e-p|Apple //e via Pascal,
                   10464:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H,
                   10465:        kcud1=^J,
                   10466:        use=apple2e,
                   10467: # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
                   10468: # Enable DC3/DC1 flow control with "stty ixon -ixany".
                   10469: apple-ae|ASCII Express,
                   10470:        am, bw, msgr, nxon, xon,
                   10471:        cols#80, it#8, lines#24,
                   10472:        bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   10473:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   10474:        home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J,
                   10475:        kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
                   10476:        smso=^O,
1.1       tholo    10477: appleII|apple ii plus,
                   10478:        am,
                   10479:        cols#80, it#8, lines#24,
                   10480:        clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\,
                   10481:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6,
                   10482:        ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I,
                   10483:        is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N,
                   10484:        smso=^O,
                   10485: # Originally by Gary Ford 21NOV83
                   10486: # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
                   10487: apple-80|apple II with smarterm 80 col,
                   10488:        am, bw,
                   10489:        cols#80, lines#24,
                   10490:        cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J,
                   10491:        cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_,
                   10492:        ed=\013$<10*/>, el=\035$<10/>, home=^Y,
                   10493: apple-soroc|apple emulating soroc 120,
                   10494:        am,
                   10495:        cols#80, lines#24,
                   10496:        bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   10497:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
                   10498:        home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   10499: # From Peter Harrison, Computer Graphics Lab, San Francisco
                   10500: #   ucbvax!ucsfmis!harrison  .....uucp
                   10501: #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
                   10502: # "These two work.  If you don't have the inverse video chip for the
                   10503: # Apple with videx then remove the :so: and :se: fields."
                   10504: # (apple-videx: this used to be called DaleApple -- esr)
                   10505: apple-videx|Apple with videx videoterm 80 column board with inverse video,
                   10506:        am, xenl,
                   10507:        cols#80, it#8, lines#24,
                   10508:        clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\,
                   10509:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   10510:        home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y,
                   10511:        rmso=^Z2, sgr0=^Z2, smso=^Z3,
1.4       tholo    10512: # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
                   10513: #                            Apple Cat ][ 212 modem, + more all
                   10514: #                            controlled by ASCII Express: Pro.
                   10515: # From Dave Shaver <isucs1!shaver>
                   10516: apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell,
                   10517:        am, eo, xt,
                   10518:        cols#80, lines#24,
                   10519:        acsc=, clear=^L, cuf1=^\,
                   10520:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   10521:        flash=^W35^W06, home=^Y,
                   10522:        is2=^V4^W06\017\rVisible Bell Installed.\016\r\n,
                   10523:        rmso=^N, smso=^O,
                   10524: apple-uterm|Ultraterm for Apple micros,
                   10525:        am, eo, xt,
                   10526:        cols#80, lines#24,
                   10527:        acsc=, clear=^L, cuf1=^\,
                   10528:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   10529:        home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O,
                   10530: # from trwrba!bwong (Bradley W. Wong):
                   10531: #
                   10532: # This entry assumes that you are using an apple with the UCSD Pascal
                   10533: # language card.  SYSTEM.MISCINFO is assumed to be the same as that
                   10534: # supplied with the standard apple except that screenwidth should be set
                   10535: # using SETUP to 80 columns.  Note that the right arrow in not mapped in
                   10536: # this termcap entry.  This is because that key, on the Apple, transmits
                   10537: # a ^U and would thus preempt the more useful "up" function of vi.
                   10538: #
                   10539: # HMH 2/23/81
                   10540: apple80p|80-column apple with Pascal card,
                   10541:        am, bw,
                   10542:        cols#80, lines#24,
                   10543:        clear=^Y^L, cuf1=^\\:,
                   10544:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   10545:        home=^Y, kcub1=^H,
                   10546: #
                   10547: # Apple II+ equipped with Videx 80 column card
                   10548: #
                   10549: # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
                   10550: # manually converted by D A Gwyn
                   10551: #
                   10552: # DO NOT use any terminal emulation with this data base, it works directly
                   10553: # with the Videx card.  This has been tested with vi 1200 baud and works fine.
                   10554: #
                   10555: # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
                   10556: # 1 screen, while in R2 ^U doesn't.
                   10557: # For inverse alternate character set add:
                   10558: #      <smacs>=^O:<rmacs>=^N:
                   10559: # (apple-v: added it#8 -- esr)
                   10560: apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520),
                   10561:        am, xenl,
                   10562:        cols#80, it#8, lines#24,
                   10563:        bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H,
                   10564:        cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c,
                   10565:        cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>,
                   10566:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
                   10567:        khome=^Y, rmso=^Z2, smso=^Z3,
                   10568: apple-videx3|vapple|Apple II with 80 col card,
                   10569:        am,
                   10570:        cols#80, lines#24,
                   10571:        clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   10572:        cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   10573:        kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!,
                   10574:        kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%, kf9=\E&, khome=\EH,
                   10575: #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
                   10576: aepro|Apple II+ running ASCII Express Pro--vt52,
                   10577:        cols#80, lines#24,
                   10578:        clear=\014$<300/>, cuf1=\EC,
                   10579:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   10580:        el=\EK, home=\EH,
                   10581: # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
                   10582: apple-vm80|ap-vm80|apple with viewmax-80,
                   10583:        cols#80, lines#24,
                   10584:        clear=\014$<300/>, cuf1=^\\:,
                   10585:        cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_,
                   10586:        ed=\013$<300/>, el=^], home=\031$<200/>,
                   10587:
                   10588: #### Apple Lisa & Macintosh
                   10589: #
                   10590:
                   10591: # (lisa: changed <cvvis> to <cnorm> -- esr)
1.1       tholo    10592: lisa|apple lisa console display (black on white),
                   10593:        am, eo, msgr,
                   10594:        cols#88, it#8, lines#32,
                   10595:        acsc=lfmekcjdttuvvuwsqax`nb, civis=\E[5h, clear=^L,
1.4       tholo    10596:        cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   10597:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   10598:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
1.1       tholo    10599:        is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   10600:        kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
                   10601:        sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m,
                   10602: liswb|apple lisa console display (white on black),
                   10603:        is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m,
                   10604:        smso=\E[m, smul=\E[4m, use=lisa,
1.4       tholo    10605:
                   10606: # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
                   10607: # <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
                   10608: #
                   10609: # These entries assume that the 'Auto Wraparound' is enabled.
                   10610: # Xon-Xoff flow control should also be enabled.
                   10611: #
                   10612: # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
                   10613: # settings are in non-volatile memory and don't need to be reset upon login.
                   10614: # Also setting the number of columns glitches the screen annoyingly.
                   10615: # You can type "reset" to get them set.
                   10616: #
                   10617: lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation,
                   10618:        am, xenl, xon,
                   10619:        cols#80, it#8, lines#24, vt#3,
                   10620:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   10621:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   10622:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   10623:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
                   10624:        el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD,
                   10625:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ,
                   10626:        kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8,
                   10627:        rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   10628:        rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r,
                   10629:        sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   10630:        tbc=\E[3g,
                   10631: # Lisaterm in 132 column ("wide") mode.
                   10632: lisaterm-w|Apple Lisa with Lisaterm in 132 column mode,
                   10633:        cols#132,
                   10634:        kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm,
                   10635: # Although MacTerminal has insert/delete line, it is commented out here
                   10636: # since it is much faster and cleaner to use the "lock scrolling region"
                   10637: # method of inserting and deleting lines due to the MacTerminal implementation.
                   10638: # Also, the "Insert/delete ch" strings have an extra character appended to them
                   10639: # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
                   10640: # supported by MacTerminal.
1.1       tholo    10641: mac|macintosh|Macintosh with MacTerminal,
                   10642:        xenl,
1.4       tholo    10643:        blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa,
                   10644: # Lisaterm in 132 column ("wide") mode.
                   10645: mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode,
                   10646:        cols#132, use=mac,
1.1       tholo    10647:
                   10648: #### Radio Shack/Tandy
                   10649: #
                   10650:
                   10651: # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
                   10652: # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
                   10653: # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
                   10654: coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II,
                   10655:        am,
                   10656:        cols#80, it#8, lines#24,
1.4       tholo    10657:        bel=^G, blink=^_", bold=\E\:^A, civis=^E\s,
1.1       tholo    10658:        clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F,
                   10659:        cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I,
                   10660:        dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J,
1.4       tholo    10661:        kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#,
                   10662:        sgr0=\037!\E\:\200, smso=^_\s, smul=^_",
1.1       tholo    10663: # (trs2: removed obsolete ":nl=^_:" -- esr)
                   10664: trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M,
                   10665:        am, msgr,
                   10666:        cols#80, it#8, lines#24,
                   10667:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^],
                   10668:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B,
                   10669:        el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\,
                   10670:        kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N,
                   10671: # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
                   10672: # (This had extension capabilities
                   10673: #      :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
                   10674: #      :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
                   10675: # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
                   10676: trs16|trs-80 model 16 console,
                   10677:        am,
                   10678:        cols#80, it#8, lines#24,
                   10679:        acsc=l_mbk`javewcquxs, bel=^G, civis=\ERc, clear=^L,
                   10680:        cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   10681:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   10682:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
                   10683:        ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   10684:        kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S,
                   10685:        khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7,
                   10686:        lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@,
                   10687:        smacs=\ERG, smso=\ERD,
                   10688:
                   10689: #### Atari ST
                   10690: #
                   10691:
                   10692: # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
                   10693: atari|atari st,
                   10694:        am,
                   10695:        cols#80, it#8, lines#25,
                   10696:        clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
                   10697:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   10698:        ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB,
                   10699:        kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep,
                   10700: # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
                   10701: # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
                   10702: uniterm|uniterm49|UniTerm VT220 emulator with 49 lines,
                   10703:        lines#49,
                   10704:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, use=vt220,
                   10705: # MiNT VT52 emulation. 80 columns, 25 rows.
                   10706: # MiNT is Now TOS, the operating system which comes with all Ataris now
                   10707: # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
                   10708: # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
1.4       tholo    10709: # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
1.1       tholo    10710: st52|Atari ST with VT52 emulation,
                   10711:        am, km,
                   10712:        cols#80, lines#25,
                   10713:        bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED,
                   10714:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   10715:        cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL,
                   10716:        ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1,
                   10717:        kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M,
                   10718:        kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>,
                   10719:        kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G,
                   10720:        kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek,
1.4       tholo    10721:        ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq,
1.1       tholo    10722:        smcup=\Ee, smso=\Ep,
                   10723:
                   10724: #### Commodore Business Machines
                   10725: #
                   10726: # Formerly located in West Chester, PA; went spectacularly bust in 1994
                   10727: # after years of shaky engineering and egregious mismanagement.  Made one
                   10728: # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
                   10729: # C-128, VIC-20).  The C-64 is said to have been the most popular machine
                   10730: # ever (most units sold); they can still be found gathering dust in closets
                   10731: # everywhere.
                   10732: #
                   10733:
                   10734: # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
                   10735: # Added a few more entries, converted caret-type control sequence (^x) entries
                   10736: # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
                   10737: #
                   10738: # :as:, :ae:                   Support for alternate character sets.
                   10739: # :ve=\E[\040p:vi=\E[\060\040p:        cursor visible/invisible.
                   10740: # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
                   10741: #     This one appears to fix a problem I always had with a line ending
                   10742: #     at 'width+1' (I think) followed by a blank line in vi. The blank
                   10743: #     line tended to disappear and reappear depending on how the screen
                   10744: #     was refreshed. Note that this is probably needed only if you use
                   10745: #     something like a Dnet Fterm with the window sized to some peculiar
                   10746: #     dimension larger than 80 columns.
                   10747: # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
                   10748: # (amiga: removed obsolete :kn#10:,
                   10749: # also added empty <acsc> to suppress a warning --esr)
                   10750: amiga-old|Amiga ANSI,
                   10751:        am, bw, xenl,
                   10752:        cols#80, lines#24,
                   10753:        acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z,
                   10754:        civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD,
                   10755:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                   10756:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   10757:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   10758:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   10759:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
                   10760:        indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H, kcub1=\ED,
                   10761:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\E9~, kf1=\E0~,
                   10762:        kf2=\E1~, kf3=\E2~, kf4=\E3~, kf5=\E4~, kf6=\E5~, kf7=\E6~,
                   10763:        kf8=\E7~, kf9=\E8~, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
                   10764:        rmacs=^O, rmso=\E[m, rmul=\E[m, rs1=\Ec, sgr0=\E[m, smacs=^N,
                   10765:        smso=\E[7m, smul=\E[4m,
                   10766:
                   10767: # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
                   10768: # (amiga: added empty <acsc> to suppress a warning --esr)
                   10769: amiga|Amiga ANSI,
                   10770:        bw, msgr,
                   10771:        cols#80, lines#24,
                   10772:        acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z,
                   10773:        civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M,
                   10774:        cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
                   10775:        cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
                   10776:        cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
                   10777:        dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G,
                   10778:        home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S,
                   10779:        indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H,
                   10780:        kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
                   10781:        kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~,
                   10782:        kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~,
                   10783:        kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T,
                   10784:        rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m,
                   10785:        rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l,
                   10786:        smso=\2337m, smul=\2334m,
                   10787:
                   10788: # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
                   10789: #      I'm trying to write a termcap for a commodore b-128, and I'm
                   10790: # having a little trouble. I've had to map most of my control characters
                   10791: # to something that unix will accept (my delete-char is a ctrl-t, etc),
                   10792: # and create some functions (like cm), but thats life.
                   10793: #      The problem is with the arrow keys - right, and up work fine, but
                   10794: # left deletes the previous character and down I just can't figure out.
                   10795: # Jove knows what I want, but I don't know what it's sending to me (it
                   10796: # isn't thats bound to next-line in jove).
                   10797: #      Anybody got any ideas? Here's my termcap.
                   10798: # DAG -- I changed his "^n" entries to "\n"; see if that works.
                   10799: #
                   10800: commodore|b-128|Commodore B-128 micro,
                   10801:        am, bw,
                   10802:        cols#80, lines#24, pb#150,
1.4       tholo    10803:        clear=\E\006$<10/>, cr=^M, cud1=^J, cuf1=^F,
                   10804:        cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P,
1.1       tholo    10805:        dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>,
                   10806:        home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>,
1.4       tholo    10807:        kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=,
                   10808:        smir=,
1.1       tholo    10809:
                   10810: #### North Star
                   10811: #
                   10812: # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
                   10813: northstar|North Star Advantage,
                   10814:        cols#80, lines#24,
1.4       tholo    10815:        clear=\004$<200/>,
1.1       tholo    10816:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>,
1.4       tholo    10817:        el=\016$<200/>, home=\034\032$<200/>,
1.1       tholo    10818:
                   10819: #### Osborne
                   10820: #
                   10821: # Thu Jul  7 03:55:16 1983
                   10822: #
                   10823: # As an aside, be careful; it may sound like an anomaly on the
                   10824: # Osborne, but with the 80-column upgrade, it's too easy to
                   10825: # enter lines >80 columns!
                   10826: #
                   10827: # I've already had several comments...
                   10828: # The Osborne-1 with the 80-col option is capable of being
                   10829: # 52, 80, or 104 characters wide; default to 80 for compatibility
                   10830: # with most systems.
                   10831: #
                   10832: # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
1.4       tholo    10833: osborne-w|osborne1-w|osborne I in 104-column mode,
1.1       tholo    10834:        msgr, ul, xt,
                   10835:        cols#104, lines#24,
                   10836:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   10837:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   10838:        dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J,
                   10839:        kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El,
1.4       tholo    10840: # Osborne I    from ptsfa!rhc (Robert Cohen) via BRL
                   10841: osborne|osborne1|osborne I in 80-column mode,
                   10842:        am, mir, msgr, ul, xhp,
                   10843:        cols#80, lines#24,
                   10844:        clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L,
                   10845:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   10846:        dch1=\\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H,
                   10847:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E),
                   10848:        rmul=\Em, smir=\EQ, smso=\E(, smul=\El,
1.1       tholo    10849: #
                   10850: # Osborne Executive definition from BRL
                   10851: # Similar to tvi920
                   10852: # Added by David Milligan and Tom Smith (SMU)
                   10853: osexec|Osborne executive,
                   10854:        am,
                   10855:        cols#80, lines#24, xmc#1,
                   10856:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   10857:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.4       tholo    10858:        dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
                   10859:        is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
                   10860:        kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
                   10861:        kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
                   10862:        kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej,
                   10863:        smul=\El, tbc=\E3,
1.1       tholo    10864:
                   10865: #### Console types for obsolete UNIX clones
                   10866: #
                   10867: # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
                   10868: # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
                   10869: # were commercial, Minix an educational tool sold in conjunction with a book.
                   10870: # Memory-segmentation limits and a strong tendency to look like V7 long after
                   10871: # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
                   10872: # and Minix were ported to 32-bit Intel boxes, only to be run over by a
                   10873: # steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
                   10874: # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
                   10875: # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
                   10876: # even as single processes under SunOS and the Macintosh OS.
                   10877: #
                   10878:
1.4       tholo    10879: # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
                   10880: minix|minix console (v1.7),
                   10881:        am, xenl,
1.1       tholo    10882:        cols#80, it#8, lines#25,
1.4       tholo    10883:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
                   10884:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   10885:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   10886:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   10887:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
                   10888:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   10889:        is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   10890:        kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S,
                   10891:        kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +,
                   10892:        lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM,
                   10893:        rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
                   10894: # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
                   10895: minix-old|minix console (v1.5),
                   10896:        xon,
                   10897:        cols#80, it#8, lines#25,
                   10898:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
1.1       tholo    10899:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   10900:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   10901:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   10902:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
                   10903:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   10904:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   10905:        kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G,
                   10906:        khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m,
                   10907:        rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
1.4       tholo    10908: # The linewrap option can be specified by editing /usr/include/minix/config.h
                   10909: # before recompiling the minix 1.5 kernel.
                   10910: minix-old-am|minix console with linewrap,
                   10911:        am, use=minix-old,
1.1       tholo    10912:
                   10913: pc-minix|minix console on an Intel box,
                   10914:        use=klone+acs, use=minix,
                   10915:
                   10916: # According to the Coherent 2.3 manual, the PC console is similar
                   10917: # to a z19. The differences seem to be (1) 25 lines, (2) no status
                   10918: # line, (3) standout is broken, (4) ins/del line is broken, (5)
                   10919: # has blinking and bold.
                   10920: pc-coherent|pcz19|coherent|IBM PC console running Coherent,
                   10921:        am, mir,
                   10922:        cols#80, it#8, lines#25,
                   10923:        bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   10924:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN,
                   10925:        ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED,
                   10926:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO,
                   10927:        rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep,
                   10928:
                   10929: # According to the Venix 1.1 manual, the PC console is similar
                   10930: # to a DEC vt52.  Differences seem to be (1) arrow keys send
                   10931: # different strings, (2) enhanced standout, (3) added insert/delete line.
                   10932: # Note in particular that it doesn't have automatic margins.
                   10933: # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
                   10934: # not described here because this derives from an old termcap entry.
                   10935: pc-venix|venix|IBM PC console running Venix,
                   10936:        cols#80, it#8, lines#25,
                   10937:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   10938:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   10939:        ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK,
                   10940:        kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI,
                   10941:
                   10942: #### Miscellaneous microcomputer consoles
                   10943: #
                   10944: # If you know anything more about any of these, please tell me.
                   10945: #
                   10946:
                   10947: # basis from Peter Harrison, Computer Graphics Lab, San Francisco
                   10948: #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
                   10949: # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
                   10950: basis|BASIS108 computer with terminal translation table active,
                   10951:        clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H,
                   10952:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E),
                   10953:        smso=\E(,
                   10954:        use=adm3a,
                   10955: # luna's BMC terminal emulator
                   10956: luna|luna68k|LUNA68K Bitmap console,
                   10957:        cols#88, lines#46, use=ansi-mini,
                   10958: megatek|pegasus workstation terminal emulator,
                   10959:        am, os,
                   10960:        cols#83, lines#60,
                   10961: # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
                   10962: # interface (pre-Macintosh by several years) that went nowhere.
                   10963: xerox820|x820|Xerox 820,
                   10964:        am,
                   10965:        cols#80, lines#24,
                   10966:        bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   10967:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X,
                   10968:        home=^^, ind=^J,
                   10969:
                   10970: #### Videotex and teletext
                   10971: #
                   10972:
1.4       tholo    10973: # \E\:1}       switch to te'le'informatique mode (ascii terminal/ISO 6429)
                   10974: # \E[?3l       80 columns
                   10975: # \E[?4l       scrolling on
                   10976: # \E[12h       local echo off
                   10977: # \Ec          reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
                   10978: # \E)0         G1 DEC set (line graphics)
                   10979: #
                   10980: # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
                   10981: m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique,
                   10982:        eslok, hs, xenl,
                   10983:        cols#80, it#8, lines#24, wsl#72, xmc#0,
                   10984:        acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G,
                   10985:        blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J,
                   10986:        cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   10987:        cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
                   10988:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   10989:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   10990:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J,
                   10991:        home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=^J,
                   10992:        ip=$<7/>, is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0,
                   10993:        is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
                   10994:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp,
                   10995:        kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu,
                   10996:        kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H,
                   10997:        kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H,
                   10998:        mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rin=\EM,
                   10999:        rmacs=^O, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   11000:        rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m,
                   11001:        smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A,
                   11002:        u6=\E[%i%d;%dR, u7=\E[6n,
1.1       tholo    11003:
                   11004: ######## OBSOLETE VDT TYPES
                   11005: #
                   11006: # These terminals are *long* dead -- these entries are retained for
                   11007: # historical interest only.
                   11008:
                   11009: #### Amtek Business Machines
                   11010: #
                   11011:
                   11012: # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
                   11013: # but these caps were commented out in 8.3; also, removed overridden
                   11014: # ":do=^J:" -- esr)
                   11015: abm80|amtek business machines 80,
                   11016:        am, bw,
                   11017:        cols#80, lines#24,
                   11018:        cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P,
                   11019:        cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L,
                   11020:        dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z,
                   11021:
                   11022: #### Bell Labs blit terminals
                   11023: #
                   11024: # These were AT&T's official entries.  The 5620 FAQ maintained by
                   11025: # David Breneman <daveb@dgtl.com> has this to say:
                   11026: #
                   11027: #  Actually, in the beginning was the Jerq, and the Jerq was white with a
                   11028: #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
                   11029: #  was good.  But lo, upon the horizon loomed a mighty management-type person
                   11030: #  (known now only by the initials VP) who said, the mighty Jerq must stay
                   11031: #  alone, and could not go forth into the world. So Locanthi and Pike put the
                   11032: #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
                   11033: #  world. And the Jerq lived the rest of its days in research, but never
                   11034: #  strayed from those paths.
                   11035: #
                   11036: #  In all seriousness, the Blit was originally known as the Jerq, but when
                   11037: #  it started to be shown outside of the halls of the Bell Labs Research
                   11038: #  organization, the management powers that be decided that the name could
                   11039: #  not remain. So it was renamed to be Blit. This was in late 1981.
                   11040: #
                   11041: # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
                   11042: # 730, and 730+.)
                   11043: #
                   11044:
                   11045: blit|jerq|blit running teletype rom,
                   11046:        am, eo, ul, xon,
                   11047:        cols#87, it#8, lines#72,
                   11048:        bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
                   11049:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
                   11050:        dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c,
                   11051:        dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!,
                   11052:        il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED,
                   11053:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez,
                   11054:
                   11055: # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
                   11056: cbblit|fixterm|blit running columbus code,
                   11057:        cols#88,
                   11058:        ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d,
                   11059:        rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!,
                   11060:        smul=\EU",
                   11061:        use=blit,
                   11062:
                   11063: oblit|ojerq|first version of blit rom,
                   11064:        am, da, db, eo, mir, ul, xon,
                   11065:        cols#88, it#8, lines#72,
                   11066:        bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
                   11067:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO,
                   11068:        dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G,
                   11069:        ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER,
                   11070:        smir=\EQ,
                   11071:
                   11072: #### Bolt, Beranek & Newman (bbn)
                   11073: #
                   11074: # The BitGraph was a product of the now-defunct BBN Computer Corporation.
                   11075: # The parent company, best known as the architects of the Internet, is
                   11076: # still around.
                   11077: #
                   11078:
                   11079: # Entries for the BitGraph terminals.  The problem
                   11080: # with scrolling in vi can only be fixed by getting BBN to put
                   11081: # smarter scroll logic in the terminal or changing vi or padding
                   11082: # scrolls with about 500 ms delay.
                   11083: #
                   11084: # I always thought the problem was related to the terminal
                   11085: # counting newlines in its input buffer before scrolling and
                   11086: # then moving the screen that much. Then vi comes along and
                   11087: # paints lines in on the bottom line of the screen, so you get
                   11088: # this big white gap.
                   11089:
                   11090: bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video),
                   11091:        flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
                   11092:        use=bg2.0,
                   11093: bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video),
                   11094:        flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
                   11095:        use=bg2.0,
                   11096: bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init),
                   11097:        xenl,
                   11098:        cols#85, lines#64,
                   11099:        bel=^G, clear=\E[H\E[J$<150>, cr=^M,
                   11100:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   11101:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>,
                   11102:        ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>,
                   11103:        ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   11104:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1,
                   11105:        lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7,
                   11106:        sgr0=\E[m, smkx=\E=, smso=\E[7m,
                   11107:
                   11108: bg1.25rv|bbn bitgraph 1.25 (reverse video),
                   11109:        flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg1.25,
                   11110: bg1.25nv|bbn bitgraph 1.25 (normal video),
                   11111:        flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, use=bg1.25,
                   11112: # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
                   11113: bg1.25|bbn bitgraph 1.25,
                   11114:        cols#85, lines#64,
                   11115:        bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B,
                   11116:        cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A,
                   11117:        dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I,
                   11118:        il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB,
                   11119:        kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES,
                   11120:        lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l,
                   11121:        rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=,
                   11122:        smso=\E[7m,
                   11123:
                   11124: #### Chromatics
                   11125: #
                   11126:
                   11127: # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window
                   11128: # that is smaller than the screen, and puts up a warning message
                   11129: # outside the window. Te erases the warning message, puts the
                   11130: # window back to be the whole screen, and puts the cursor at just
                   11131: # below the small window. I defined <cnorm> and <civis> to really turn
                   11132: # the cursor on and off, but I have taken this out since I don't
                   11133: # like the cursor being turned off when vi exits.
                   11134: cg7900|chromatics|chromatics 7900,
                   11135:        am,
                   11136:        cols#80, lines#40,
                   11137:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^],
1.4       tholo    11138:        cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2,
                   11139:        ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|,
                   11140:        rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,,
                   11141:        rmso=\001C1\,\001c2\,,
                   11142:        smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,,
                   11143:        smso=\001C4\,\001c7\,, uc=\001\001_\001\200,
1.1       tholo    11144:
                   11145: #### Computer Automation
                   11146: #
                   11147:
                   11148: ca22851|computer automation 22851,
                   11149:        am,
                   11150:        cols#80, lines#24,
                   11151:        bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I,
                   11152:        cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J,
                   11153:        kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^,
                   11154:
                   11155: #### Cybernex
                   11156: #
                   11157:
                   11158: # This entry has correct padding and the undocumented "ri" capability
                   11159: cyb83|xl83|cybernex xl-83,
                   11160:        am,
                   11161:        cols#80, lines#24,
                   11162:        bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
                   11163:        cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N,
                   11164:        ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H,
                   11165:        kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N,
                   11166: # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
                   11167: cyb110|mdl110|cybernex mdl-110,
                   11168:        am,
                   11169:        cols#80, lines#24,
                   11170:        bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   11171:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   11172:        dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>,
                   11173:        ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y,
                   11174:        ht=\011$<43>, ich1=\016A\035$<3.5>,
                   11175:        il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF,
                   11176:
                   11177: #### Datapoint
                   11178: #
                   11179: # Datapoint is gone.  They used to be headquartered in Texas.
                   11180: # They created ARCnet, an Ethernet competitor that flourished for a while
                   11181: # in the early 1980s before 3COM got wise and cut its prices.  The service
                   11182: # side of Datapoint still lives (1995) in the form of Intelogic Trace.
                   11183: #
                   11184:
                   11185: dp3360|datapoint|datapoint 3360,
                   11186:        am,
                   11187:        cols#82, lines#25,
                   11188:        bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z,
                   11189:        ed=^_, el=^^, home=^], ind=^J,
                   11190:
                   11191: #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
                   11192: #
                   11193: # These entries are DEC's official terminfos for its older terminals.
                   11194: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   11195: # Engineering for more information.  Updated terminfos and termcaps
                   11196: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   11197: #
                   11198:
                   11199: gt40|dec gt40,
                   11200:        os,
                   11201:        cols#72, lines#30,
                   11202:        bel=^G, cr=^M, cub1=^H, cud1=^J,
                   11203: gt42|dec gt42,
                   11204:        os,
                   11205:        cols#72, lines#40,
                   11206:        bel=^G, cr=^M, cub1=^H, cud1=^J,
                   11207: vt50|dec vt50,
                   11208:        cols#80, lines#12,
                   11209:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   11210:        cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J,
                   11211: vt50h|dec vt50h,
                   11212:        cols#80, lines#12,
                   11213:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   11214:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   11215:        el=\EK, ht=^I, ind=^J, ri=\EI,
                   11216: # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
                   11217: vt61|vt-61|vt61.5|dec vt61,
                   11218:        cols#80, lines#24,
                   11219:        bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J,
                   11220:        cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>,
                   11221:        cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I,
                   11222:        ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   11223:        ri=\E$<20>I,
                   11224:
                   11225: # The gigi does standout with red!
                   11226: # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
                   11227: gigi|vk100|dec gigi graphics terminal,
                   11228:        am, xenl,
                   11229:        cols#84, lines#24,
                   11230:        bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   11231:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   11232:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
                   11233:        el=\E[K, ht=^I, ind=^J,
                   11234:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h,
                   11235:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   11236:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
                   11237:        rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   11238:        sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m,
                   11239:        smul=\E[4m,
                   11240:
                   11241: # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
                   11242: # a PC differentiated from the IBM clones.  It was a total, ludicrous,
                   11243: # grossly-overpriced failure (among other things, DEC's OS didn't include
                   11244: # a format program, so you had to buy pre-formatted floppies from DEC at
                   11245: # a hefty premium!).
                   11246: pro350|decpro|dec pro console,
                   11247:        cols#80, it#8, lines#24,
                   11248:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   11249:        clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC,
                   11250:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   11251:        el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   11252:        kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI,
                   11253:        kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG,
                   11254:        rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D,
                   11255:
                   11256: dw1|decwriter I,
                   11257:        hc, os,
                   11258:        cols#72,
                   11259:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   11260: dw2|decwriter|dw|decwriter II,
                   11261:        hc, os,
                   11262:        cols#132,
                   11263:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
                   11264: # \E(B         Use U.S. character set (otherwise # => british pound !)
                   11265: # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
                   11266: # \E[w         10 char/in pitch
                   11267: # \E[1;132     full width horizontal margins
                   11268: # \E[2g                clear all tab stops
                   11269: # \E[z         6 lines/in
                   11270: # \E[66t       66 lines/page (for \f)
                   11271: # \E[1;66r     full vertical page can be printed
                   11272: # \E[4g                clear vertical tab stops
                   11273: # \E>          disable alternate keypad mode (so it transmits numbers!)
                   11274: # \E[%i%p1%du  set tab stop at column %d (origin == 1)
                   11275: #              (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
                   11276: #              a tab stop)
                   11277: #
                   11278: #       The dw3 does standout with wide characters.
                   11279: #
                   11280: dw3|la120|decwriter III,
                   11281:        hc, os,
                   11282:        cols#132,
                   11283:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J,
                   11284:        is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>,
                   11285:        is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r,
                   11286:        kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w,
                   11287: dw4|decwriter IV,
                   11288:        am, hc, os,
                   11289:        cols#132,
                   11290:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H,
                   11291:        kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
                   11292:
                   11293: # These aren't official
                   11294: ln03|dec ln03 laser printer,
                   11295:        hc,
                   11296:        cols#80, lines#66,
                   11297:        bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J,
                   11298:        rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m,
                   11299:        smul=\E[4m,
                   11300: ln03-w|dec ln03 laser printer 132 cols,
                   11301:        cols#132,
                   11302:        bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
                   11303:        kcud1=^J, nel=^M^J,
                   11304:        use=ln03,
                   11305:
                   11306: #### Delta Data (dd)
                   11307: #
                   11308:
                   11309: # Untested. The cup sequence is hairy enough that it probably needs work.
                   11310: # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
                   11311: # There are BSD-derived termcap entries floating around for this puppy
                   11312: # that are *certainly* wrong.
                   11313: delta|dd5000|delta data 5000,
                   11314:        am,
                   11315:        cols#80, lines#27,
                   11316:        bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y,
                   11317:        cup=\017%p1%p1%{16}%m%{2}%*%-%'9'%+%c%p2%p2%{16}%m%{2}%*%-%'9'%+%c,
                   11318:        cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J,
                   11319:
                   11320: #### Digital Data Research (ddr)
                   11321: #
                   11322:
                   11323: # (ddr: I added <rmam>/<smam> based on the init string -- esr)
                   11324: ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator,
                   11325:        am, xenl,
                   11326:        cols#80, it#8, lines#24, vt#3,
                   11327:        blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   11328:        clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H,
                   11329:        cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
                   11330:        cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
                   11331:        ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H,
                   11332:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   11333:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
                   11334:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l,
                   11335:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>,
                   11336:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   11337:        sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m,
                   11338:        smul=\E[4m$<2/>,
                   11339:
                   11340: #### Evans & Sutherland
                   11341: #
                   11342:
                   11343: # Jon Leech <leech@cs.unc.edu> tells us:
                   11344: # The ps300 was the Evans & Sutherland Picture System 300, a high
                   11345: # performance 3D vector graphics system with a bunch of specialized hardware.
                   11346: # Approximate date of release was 1982 (early 80s, anyway), and it had several
                   11347: # evolutions including (limited) color versions such as the PS330C. PS300s
                   11348: # were effectively obsolete by the late 80s, replaced by raster graphics
                   11349: # systems, although specialized applications like molecular modelling
                   11350: # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
                   11351: # are out of production, though of course E&S is very much alive (in 1996).
                   11352: # (ps300: changed ":pt@:" to "it@" -- esr)
                   11353: #
                   11354: ps300|Picture System 300,
                   11355:        xt,
                   11356:        it@,
                   11357:        rmso@, rmul@, smso@, smul@, use=vt100,
                   11358:
                   11359: #### General Electric (ge)
                   11360: #
                   11361:
                   11362: terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200,
                   11363:        hc, os,
                   11364:        cols#120,
                   11365:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   11366:
                   11367: #### Heathkit/Zenith
                   11368: #
                   11369:
                   11370: # Here is a description of the H19 DIP switches:
                   11371: #
                   11372: # S401
                   11373: # 0-3 = baud rate as follows:
                   11374: #
                   11375: #         3       2       1       0
                   11376: #      ---     ---     ---     ---
                   11377: #         0       0       1       1       300 baud
                   11378: #         0       1       0       1       1200 baud
                   11379: #         1       0       0       0       2400 baud
                   11380: #         1       0       1       0       4800 baud
                   11381: #         1       1       0       0       9600 baud
                   11382: #         1       1       0       1       19.2K baud
                   11383: #
                   11384: # 4 = parity (0 = no parity)
                   11385: # 5 = even parity (0 = odd parity)
                   11386: # 6 = stick parity (0 = normal parity)
                   11387: # 7 = full duplex (0 = half duplex)
                   11388: #
                   11389: # S402
                   11390: # 0 = block cursor (0 = underscore cursor)
                   11391: # 1 = no key click (0 = keyclick)
                   11392: # 2 = wrap at end of line (0 = no wrap)
                   11393: # 3 = auto LF on CR (0 = no LF on CR)
                   11394: # 4 = auto CR on LF (0 = no CR on LF)
                   11395: # 5 = ANSI mode (0 = VT52 mode)
                   11396: # 6 = keypad shifted (0 = keypad unshifted)
                   11397: # 7 = 50Hz refresh (1 = 60Hz refresh)
                   11398: #
                   11399: # Factory Default settings are as follows:
                   11400: #          7 6 5 4 3 2 1 0
                   11401: # S401     1 0 0 0 1 1 0 0
                   11402: # S402     0 0 0 0 0 0 0 0
                   11403: # (h19: I added <rmam>/<smam> based on the init string;
                   11404: # also added empty <acsc> to suppress a tic warning -- esr)
                   11405: h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode,
                   11406:        am, mir, msgr,
                   11407:        cols#80, it#8, lines#24,
                   11408:        acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H,
                   11409:        cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH,
                   11410:        cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>,
                   11411:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J,
                   11412:        is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h,
                   11413:        kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A,
                   11414:        kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP,
                   11415:        kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white,
                   11416:        ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m,
                   11417:        smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
                   11418: h19-bs|heathkit w/keypad shifted,
                   11419:        rmkx=\Eu, smkx=\Et, use=h19-b,
                   11420: h19-smul|heathkit w/keypad shifted/underscore cursor,
                   11421:        rmkx=\Eu, smkx=\Et,
                   11422:        use=h19-u,
                   11423: # (h19: merged in <ip> from BSDI hp19-e entry>;
                   11424: # also added empty <acsc> to suppress a tic warning --esr)
                   11425: h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
                   11426:        am, eslok, hs, mir, msgr,
                   11427:        cols#80, it#8, lines#24,
                   11428:        acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB,
                   11429:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   11430:        cvvis=\Ex4, dch1=\EN, dl1=\EM$<1*>, ed=\EJ, el=\EK,
                   11431:        fsl=\Ek\Ey5, home=\EH, ht=^I, il1=\EL$<1*>, ind=^J,
                   11432:        ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   11433:        kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW,
                   11434:        kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, lf7=red,
                   11435:        lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,
                   11436:        smir=\E@, smso=\Ep, tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo,
                   11437: h19-u|heathkit with underscore cursor,
                   11438:        cnorm@, cvvis@, use=h19-b,
                   11439: h19-us|h19us|heathkit w/keypad shifted/underscore cursor,
                   11440:        rmkx=\Eu, smkx=\Et,
                   11441:        use=h19-u,
                   11442: h19-g|h19g|heathkit w/block cursor,
                   11443:        cnorm=\Ex4, use=h19-b,
                   11444: alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,
                   11445:        lines#60,
                   11446:        dl1=\EM, il1=\EL, use=h19,
                   11447:
                   11448: # The major problem with the Z29 is that it requires more padding than the Z19.
                   11449: #
                   11450: # The problem with declaring an H19 to be synonymous with a Z29 is that
                   11451: # it needs more padding. It especially loses if a program attempts
                   11452: # to put the Z29 into insert mode and insert text at 9600 baud. It
                   11453: # even loses worse if the program attempts to insert tabs at 9600
                   11454: # baud. Adding padding to text that is inserted loses because in
                   11455: # order to make the Z29 not die, one must add so much padding that
                   11456: # whenever the program tries to use insert mode, the effective
                   11457: # rate is about 110 baud.
                   11458: #
                   11459: # What program would want to put the terminal into insert mode
                   11460: # and shove stuff at it at 9600 baud you ask?
                   11461: #
                   11462: # Emacs. Emacs seems to want to do the mathematically optimal
                   11463: # thing in doing a redisplay rather than the practical thing.
                   11464: # When it is about to output a line on top of a line that is
                   11465: # already on the screen, instead of just killing to the end of
                   11466: # the line and outputting the new line, it compares the old line
                   11467: # and the new line and if there are any similarities, it
                   11468: # constructs the new line by deleting the text on the old line
                   11469: # on the terminal that is already there and then inserting new
                   11470: # text into the line to transform it into the new line that is
                   11471: # to be displayed. The Z29 does not react kindly to this.
                   11472: #
                   11473: # But don't cry for too long.... There is a solution. You can make
                   11474: # a termcap entry for the Z29 that says the Z29 has no insert mode.
                   11475: # Then Emacs cannot use it. "Oh, no, but now inserting into a
                   11476: # line will be really slow", you say. Well there is a sort of a
                   11477: # solution to that too. There is an insert character option on
                   11478: # the Z29 that will insert one character. Unfortunately, it
                   11479: # involves putting the terminal into ansi mode, inserting the
                   11480: # character, and changing it back to H19 mode. All this takes 12
                   11481: # characters. Pretty expensive to insert one character, but it
                   11482: # works. Either Emacs doesn't try to use its inserting hack when
                   11483: # it's only given an insert character ability or the Z29 doesn't
                   11484: # require padding with this (the former is probably more likely,
                   11485: # but I haven't checked it out).
1.4       tholo    11486: # (z29: added empty <acsc> to suppress a tic warning, merged in
                   11487: # status line capabilities from BRL entry --esr)
1.1       tholo    11488: z29|zenith29|z29b|zenith z29b,
1.4       tholo    11489:        am, eslok, hs, mir, msgr,
1.1       tholo    11490:        cols#80, lines#24,
                   11491:        acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4, cr=^M,
                   11492:        cub1=^H, cud1=\EB, cuf1=\EC,
                   11493:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A,
1.4       tholo    11494:        cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1,
                   11495:        ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I,
                   11496:        ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>,
                   11497:        is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   11498:        kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
                   11499:        kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
                   11500:        lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq,
                   11501:        rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8,
                   11502:        tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
1.1       tholo    11503: # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
                   11504: # the world is stable. <rs1> causes the terminal to be reset to the state
                   11505: # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
                   11506: # cursor, bc -> block cursor.
                   11507: # From: Mike Meyers
                   11508: # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
                   11509: # looks vt100-compatible -- esr)
                   11510: z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode,
1.4       tholo    11511:        am, eslok, hs, mir, msgr,
1.1       tholo    11512:        cols#80, it#8, lines#24,
                   11513:        bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J, cr=^M,
                   11514:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   11515:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   11516:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   11517:        dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
                   11518:        dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H,
                   11519:        ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL,
                   11520:        ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB,
                   11521:        kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS,
                   11522:        kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
                   11523:        kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7,
                   11524:        nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h,
                   11525:        rmso=\E[m, rmul=\E[m,
                   11526:        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,
                   11527:        sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m,
                   11528:        tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K,
                   11529: z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor,
                   11530:        rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m,
                   11531:        use=z29a,
                   11532: z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick,
                   11533:        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,
                   11534:        use=z29a,
                   11535: z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick,
                   11536:        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,
                   11537:        use=z29a,
                   11538: # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
                   11539: z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,
                   11540:        am, eslok, hs, mc5i, mir, msgr, xon,
                   11541:        cols#80, lines#24,
                   11542:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~0a, bel=^G,
                   11543:        blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h,
                   11544:        clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M,
                   11545:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   11546:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   11547:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   11548:        dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
                   11549:        dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K,
                   11550:        fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L,
                   11551:        ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw,
                   11552:        ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D,
                   11553:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS,
                   11554:        kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
                   11555:        kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H,
                   11556:        mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m,
                   11557:        rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m,
                   11558:        rmul=\E[0m, rs2=\E<\Ec\200, sc=\E[s, sgr0=\E[0m,
                   11559:        smacs=\E(0, smir=\E[4h, smkx=\E[>7h, smso=\E[7m,
                   11560:        smul=\E[4m, tbc=\E[3g, tsl=\E[s\E[>1h\E[25;%i%p1%dH,
                   11561:
                   11562: # From: Brad Brahms <Brahms@USC-ECLC>
                   11563: z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor,
                   11564:        cnorm=\Ey4\Em70, cvvis=\Ex4\Em71,
                   11565:        use=z100bw,
                   11566: # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
                   11567: z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc,
                   11568:        mir, msgr,
                   11569:        cols#80, it#8, lines#24,
                   11570:        acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB,
                   11571:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>,
                   11572:        cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>,
                   11573:        ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H,
                   11574:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES,
                   11575:        kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
                   11576:        kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq,
                   11577:        smacs=\EF, smir=\E@, smso=\Ep,
                   11578: p19|h19-b with il1/dl1,
                   11579:        dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b,
                   11580: # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
                   11581: # (ztx: removed duplicate :sr: -- esr)
                   11582: ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11,
                   11583:        am, eslok, hs,
                   11584:        cols#80, it#8, lines#24,
                   11585:        clear=\EE, cub1=^H, cud1=^J, cuf1=\EC,
                   11586:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   11587:        dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I,
                   11588:        il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>,
                   11589:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES,
                   11590:        kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER,
                   11591:        ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2,
                   11592:        tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
                   11593:
                   11594: #### IMS International (ims)
                   11595: #
                   11596: # There was a company called IMS International located in Carson City,
                   11597: # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
                   11598: # bus/Z80 hardware and a line of terminals called Ultimas.
1.4       tholo    11599: #
1.1       tholo    11600:
                   11601: # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
                   11602: ims950-b|bare ims950 no init string,
                   11603:        is2@, use=ims950,
                   11604: # (ims950: removed obsolete ":ko@:" -- esr)
                   11605: ims950|ims televideo 950 emulation,
                   11606:        xenl@,
                   11607:        flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
                   11608:        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@,
                   11609:        use=tvi950,
                   11610: # (ims950-rv: removed obsolete ":ko@:" -- esr)
                   11611: ims950-rv|ims tvi950 rev video,
                   11612:        xenl@,
                   11613:        flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
                   11614:        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@,
                   11615:        use=tvi950-rv,
                   11616: ims-ansi|ultima2|ultimaII|IMS Ultima II,
                   11617:        am,
                   11618:        cols#80, it#8, lines#24,
                   11619:        clear=\E[H\E[2J, cub1=^H, cud1=\ED,
                   11620:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K,
                   11621:        ht=^I, if=/usr/share/tabset/vt100,
                   11622:        is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D,
                   11623:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM,
                   11624:        rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m,
                   11625:        smul=\E[4m,
                   11626:
                   11627: #### Intertec Data Systems
                   11628: #
                   11629: # I think this company is long dead as of 1995.  They made an early CP/M
                   11630: # micro called the "Intertec Superbrain" that was moderately popular,
                   11631: # then sank out of sight.
                   11632: #
                   11633:
                   11634: superbrain|intertec superbrain,
                   11635:        am, bw,
                   11636:        cols#80, lines#24,
                   11637:        bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   11638:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K,
                   11639:        ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U,
                   11640:        kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L,
1.4       tholo    11641: # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
                   11642: # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
                   11643: # and the reverse is actually true.  Try it. -- esr)
1.1       tholo    11644: intertube|intertec|Intertec InterTube,
                   11645:        am,
                   11646:        cols#80, lines#25,
                   11647:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   11648:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A,
                   11649:        ind=^J, rmso=\E0@, smso=\E0P,
                   11650: # The intertube 2 has the "full duplex" problem like the tek 4025: if you
                   11651: # are typing and a command comes in, the keystrokes you type get interspersed
                   11652: # with the command and it messes up
                   11653: intertube2|intertec data systems intertube 2,
                   11654:        cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
                   11655:        el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c,
                   11656:        ll=^K^X\r, vpa=\013%p1%c,
                   11657:        use=intertube,
                   11658:
                   11659: #### Ithaca Intersystems
                   11660: #
                   11661: # This company made S100-bus personal computers long ago in the pre-IBM-PC
                   11662: # past.  They used to be reachable at:
                   11663: #
                   11664: #      Ithaca Intersystems
                   11665: #      1650 Hanshaw Road
                   11666: #      Ithaca, New York 14850
                   11667: #
                   11668: # However, the outfit went bankrupt years ago.
                   11669: #
                   11670:
1.4       tholo    11671: # The Graphos III was a color graphics terminal from Ithaca Intersystems.
1.1       tholo    11672: # These entries were written (originally in termcap syntax) by Brian Yandell
                   11673: # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
                   11674: # University of Wisconsin.
                   11675:
                   11676: # (graphos: removed obsolete and syntactically incorrect :kn=4:,
                   11677: # removed <if=/usr/share/tabset/init.graphos> and
                   11678: # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
                   11679: graphos|graphos III,
                   11680:        am, mir,
                   11681:        cols#80, it#8, lines#24,
                   11682:        clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z,
                   11683:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   11684:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   11685:        cuu=\E[%p1%dA, cuu1=\E[A,
                   11686:        cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM,
                   11687:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
                   11688:        il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   11689:        kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   11690:        kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l,
                   11691:        rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h,
                   11692:        smir=\E[4h, smso=\E[7m,
                   11693: graphos-30|graphos III with 30 lines,
                   11694:        lines#30,
                   11695:        cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos,
                   11696:
                   11697: #### Modgraph
                   11698: #
                   11699: # These people used to be reachable at:
                   11700: #
                   11701: #      Modgraph, Inc
                   11702: #      1393 Main Street,
                   11703: #      Waltham, MA 02154
                   11704: #      Vox: (617)-890-5796.
                   11705: #
                   11706: # However, if you call that number today you'll get an insurance company.
                   11707: # I think Modgraph is long gone.
                   11708: #
                   11709:
1.4       tholo    11710: modgraph|mod24|modgraph terminal emulating vt100,
1.1       tholo    11711:        xenl@,
                   11712:        cols#80, lines#24,
                   11713:        cvvis=\E\^9;0s\E\^7;1s,
                   11714:        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,
                   11715:        rf@, ri=\EM\E[K$<5/>,
                   11716:        use=vt100,
                   11717: # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
                   11718: modgraph2|modgraph gx-1000 80x24 with keypad not enabled,
                   11719:        am, da, db,
                   11720:        cols#80, it#8, lines#24,
                   11721:        clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>,
                   11722:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>,
                   11723:        ed=\EJ$<50/>, el=\EK$<3/>, ht=^I,
                   11724:        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,
                   11725:        ri=\EI$<5/>,
1.4       tholo    11726: #
                   11727: # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
                   11728: # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
                   11729: # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
                   11730: # mark and using delete-to-killbuffer work correctly.  However, we would
                   11731: # like normal mode of operation to be using a Modgraph with 48 line setting.
                   11732: # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
                   11733: # the setting mark and delete-to-killbuffer results in the deletion of only
                   11734: # the line the mark is set on.
                   11735: # We've discovered that the delete-to-killbuffer works correctly
                   11736: # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
                   11737: # the first line disappears but a ctrl-l shows that it did work
                   11738: # correctly.
                   11739: modgraph48|mod|Modgraph w/48 lines,
                   11740:        am, xenl,
                   11741:        cols#80, it#8, lines#48, vt#3,
                   11742:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M,
                   11743:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   11744:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   11745:        flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q,
                   11746:        home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h,
                   11747:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   11748:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m,
                   11749:        ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   11750:        rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=,
                   11751:        smso=\E[7m, smul=\E[4m,
1.1       tholo    11752:
                   11753: #### Morrow Designs
                   11754: #
                   11755: # This was George Morrow's company.  They started in the late 1970s making
                   11756: # S100-bus machines.  They used to be reachable at:
                   11757: #
                   11758: #        Morrow
                   11759: #        600 McCormick St.
                   11760: #        San Leandro, CA 94577
                   11761: #
                   11762: # but they're long gone now (1995).
                   11763: #
                   11764:
                   11765: # The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
                   11766: # Jeff's specimen was dated June 1984.
                   11767: # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
                   11768: mt70|mt-70|Morrow MD-70; native Morrow mode,
                   11769:        am, mir, msgr, xon,
                   11770:        cols#80, it#8, lines#24,
1.4       tholo    11771:        acsc=+z\,{.yOi-x`|jGkFlEmDnHtLuKvNwMxIqJ, bel=^G,
1.1       tholo    11772:        cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H,
                   11773:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>,
                   11774:        cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>,
                   11775:        flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE,
                   11776:        ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r,
                   11777:        kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r,
                   11778:        kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r,
                   11779:        kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r,
                   11780:        kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r,
                   11781:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   11782:        kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_,
1.4       tholo    11783:        rmacs=\E%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E], smul=\EG1,
1.1       tholo    11784:        tbc=\E0,
                   11785:        use=adm+sgr,
                   11786:
1.4       tholo    11787: #### Motorola
                   11788: #
                   11789:
                   11790: # Motorola EXORterm 155        from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
                   11791: # (Seth H Zirin)
                   11792: ex155|Motorola Exorterm 155,
                   11793:        am, bw,
                   11794:        cols#80, lines#24,
                   11795:        cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED,
                   11796:        cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU,
                   11797:        home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H,
                   11798:        kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@,
                   11799:        rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED,
                   11800:
1.1       tholo    11801: #### Omron
                   11802: #
                   11803: # This company is still around in 1995, manufacturing point-of-sale systems.
                   11804:
                   11805: omron|Omron 8025AG,
                   11806:        am, da, db,
                   11807:        cols#80, lines#24,
                   11808:        bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA,
                   11809:        cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH,
                   11810:        il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef,
                   11811:
                   11812: #### Ramtek
                   11813: #
                   11814: # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
                   11815: # were competition for things like the Tektronics 4025.
                   11816: #
                   11817:
                   11818: # Ramtek 6221 from BRL, probably by Doug Gwyn
                   11819: # The following SET-UP modes are assumed for normal operation:
                   11820: #      UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
                   11821: #      NEWLINE_OFF             80_COLUMNS
                   11822: # Other SET-UP modes may be set for operator convenience or communication
                   11823: # requirements; I recommend
                   11824: #      SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
                   11825: # Hardware tabs are assumed to be every 8 columns; they can be set up by the
                   11826: # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
                   11827: # Note that the Control-E key is useless on this brain-damaged terminal.  No
                   11828: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   11829: rt6221|Ramtek 6221, 80x24,
                   11830:        msgr, xon,
                   11831:        cols#80, it#8, lines#24, vt#3,
                   11832:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l,
                   11833:        clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M,
                   11834:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   11835:        cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
                   11836:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   11837:        cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I,
                   11838:        hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   11839:        kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR,
                   11840:        kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H,
                   11841:        nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>,
                   11842:        rmso=\E[m, rmul=\E[m,
                   11843:        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>,
                   11844:        sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m,
                   11845:        smul=\E[4m, tbc=\E[3g,
                   11846: # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
                   11847: rt6221-w|Ramtek 6221, 160x48,
                   11848:        cols#160, lines#48,
1.4       tholo    11849:        ll=\E[48;1H, use=rt6221,
                   11850:
                   11851: #### RCA
                   11852: #
                   11853:
                   11854: # RCA VP3301 or VP3501
                   11855: rca|rca vp3301/vp3501,
                   11856:        cols#40, lines#24,
                   11857:        clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   11858:        cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1,
                   11859:
1.1       tholo    11860:
                   11861: #### Selanar
                   11862: #
                   11863:
                   11864: # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
                   11865: # The following SET-UP modes are assumed for normal operation:
                   11866: #      SET_DEFAULT_TABS        48_LINES                80_COLUMNS
                   11867: #      ONLINE                  ANSI                    CURSOR_VISIBLE
                   11868: #      VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
                   11869: #      LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
                   11870: #      CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
                   11871: # For use with graphics software, all graphics modes should be set to factory
                   11872: # default.  Other SET-UP modes may be set for operator convenience or
                   11873: # communication requirements.  No delays are specified; use "stty ixon -ixany"
                   11874: # to enable DC3/DC1 flow control!
                   11875: # I commented out the scrolling capabilities since they are too slow.
                   11876: hirez100|Selanar HiREZ-100,
                   11877:        mir, msgr, xon,
                   11878:        cols#80, it#8, lines#48, vt#3,
                   11879:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   11880:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   11881:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   11882:        cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
                   11883:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
1.4       tholo    11884:        hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H,
1.1       tholo    11885:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP,
                   11886:        kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3,
                   11887:        lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i,
                   11888:        mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O,
                   11889:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   11890:        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>,
                   11891:        sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m,
                   11892:        smul=\E[4m, tbc=\E[3g,
                   11893: hirez100-w|Selanar HiREZ-100 in 132-column mode,
1.4       tholo    11894:        cols#132, use=hirez100,
1.1       tholo    11895:
                   11896: #### Signetics
                   11897: #
                   11898:
                   11899: # From University of Wisconsin
                   11900: vsc|Signetics Vsc Video driver by RMC,
                   11901:        am, msgr,
                   11902:        cols#80, it#8, lines#26,
                   11903:        clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   11904:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
1.4       tholo    11905:        ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s,
                   11906:        rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_",
1.1       tholo    11907:
                   11908: #### Soroc
                   11909: #
                   11910: # Alan Frisbie <frisbie@flying-disk.com> writes:
                   11911: #
                   11912: # As you may recall, the Soroc logo consisted of their name,
                   11913: # with the letter "S" superimposed over an odd design.   This
                   11914: # consisted of a circle with a slightly smaller 15 degree (approx.)
                   11915: # wedge with rounded corners inside it.   The color was sort of
                   11916: # a metallic gold/yellow.
                   11917: #
                   11918: # If I had been more of a beer drinker it might have been obvious
                   11919: # to me, but it took a clue from their service department to make
                   11920: # me exclaim, "Of course!"   The circular object was the top of
                   11921: # a beer can (the old removable pop-top style) and "Soroc" was an
                   11922: # anagram for "Coors".
                   11923: #
                   11924: # I can just imagine the founders of the company sitting around
                   11925: # one evening, tossing back a few and trying to decide what to
                   11926: # call their new company and what to use for a logo.
                   11927: #
                   11928:
                   11929: # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
                   11930: soroc120|iq120|soroc|soroc iq120,
                   11931:        clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J,
                   11932:        kcuf1=^L, kcuu1=^K,
                   11933:        use=adm3a,
                   11934: soroc140|iq140|soroc iq140,
                   11935:        am, mir,
                   11936:        cols#80, lines#24,
                   11937:        bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   11938:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew,
                   11939:        dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J,
                   11940:        kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r,
                   11941:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   11942:        kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8,
                   11943:        rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A,
                   11944:
                   11945: #### Southwest Technical Products
                   11946: #
                   11947: # These guys made an early personal micro called the M6800.
                   11948: # The ct82 was probably its console terminal.
                   11949: #
                   11950:
                   11951: # (swtp: removed obsolete ":bc=^D:" -- esr)
                   11952: swtp|ct82|southwest technical products ct82,
                   11953:        am,
                   11954:        cols#82, lines#20,
                   11955:        bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S,
                   11956:        cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F,
                   11957:        home=^P, ich1=^\^X, il1=^\^Y, ind=^N,
                   11958:        is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011,
                   11959:        ll=^C, ri=^O, rmso=^^^F, smso=^^^V,
                   11960:
                   11961: #### Synertek
                   11962: #
                   11963: # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
                   11964: #
                   11965: # Synertek used to make ICs, various 6502-based single-board process
                   11966: # control and hobbyist computers, and assorted peripherals including a
                   11967: # series of small inexpensive terminals (I think they were one of the
                   11968: # first to have a "terminal-on-a-keyboard", where the terminal itself
                   11969: # was only slightly larger than the keyboard).
                   11970: #
                   11971: # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
                   11972: # was a 40x24 terminal that could connect to a standard TV through a
                   11973: # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
                   11974: # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
                   11975: # I have a KTM-2/80 still in working order.  The KTM-2s had fully
                   11976: # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
                   11977: # ROM and 2 ROMs as character generators. They were incredibly simple,
                   11978: # and I've never had any problems with mine (witness the fact that mine
                   11979: # was made in 1981 and is still working great... I've blown the video
                   11980: # output transistor a couple of times, but it's a 2N2222 :-)
                   11981: #
                   11982: # The KTM-3 (which is what is listed in the terminfo file) was their
                   11983: # attempt at putting a KTM-2 in a box (and some models came with a
                   11984: # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
                   11985: # control and escape sequences are very different. The KTM-3 was always
                   11986: # real broken, at least according to the folks I've talked to about it.
                   11987: #
                   11988: # The padding in the entry is probably off--these terminals were very
                   11989: # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
                   11990: # anyone with any sanity replaced the ROMs with something that provided
                   11991: # a reasonable subset of VT100 functionality, since the usual ROMs were
                   11992: # obviously very primitive... oh, you could get an upgraded ROM from
                   11993: # Synertek for some incredible amount of money, but what hacker with an
                   11994: # EPROM burner would do that? :)
                   11995: #
                   11996: # Sorry I don't have any contact info; I believe they were located in
                   11997: # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
                   11998: # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
                   11999: # business these days.
                   12000: #
                   12001:
                   12002: # Tested, seems to work fine with vi.
                   12003: synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal,
                   12004:        am,
                   12005:        cols#80, lines#24,
                   12006:        clear=^Z, cub1=^H, cuf1=^L,
                   12007:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
                   12008:
                   12009: #### Tab Office Products
                   12010: #
                   12011: #      TAB Products Co. - Palo Alto, California
                   12012: #      Electronic Office Products,
                   12013: #      1451 California Avenue 94304
                   12014: #
                   12015: # I think they're out of business.
                   12016: #
                   12017:
                   12018: # The tab 132 uses xon/xoff, so no padding needed.
                   12019: # <smkx>/<rmkx> have nothing to do with arrow keys.
                   12020: # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
                   12021: # Seems to be no way to get rid of status line.
                   12022: # The manual for this puppy was dated June 1981.  It claims to be VT52-
                   12023: # compatible but looks more vt100-like.
                   12024: tab132|tab|tab132-15|tab 132/15,
                   12025:        da, db,
                   12026:        cols#80, lines#24, lm#96,
                   12027:        cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M,
                   12028:        il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B,
                   12029:        kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@,
                   12030:        use=vt100,
                   12031: tab132-w|tab132 in wide mode,
                   12032:        cols#132,
                   12033:        is2=\E[?7h\E[?3h\E[?5l, use=tab132,
                   12034: tab132-rv|tab132 in reverse-video mode,
                   12035:        is2=\E[?7h\E[?3l\E[?5h, use=tab132,
                   12036: tab132-w-rv|tab132 in reverse-video/wide mode,
                   12037:        is2=\E[?7h\E[?3h\E[?5h,
                   12038:        use=tab132-w,
                   12039:
                   12040:
                   12041: #### Teleray
                   12042: #
                   12043: #      Research Incorporated
                   12044: #      6425 Flying Cloud Drive
                   12045: #      Eden Prairie, MN 55344
                   12046: #      Vox: (612)-941-3300
                   12047: #
                   12048: # The Teleray terminals were all discontinued in 1992-93.  RI still services
                   12049: # and repairs these beasts, but no longer manufactures them.  The Teleray
                   12050: # people believe that all the types listed below are very rare now (1995).
                   12051: # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
                   12052: # Model 100) that were ANSI-compatible.
                   12053: #
                   12054: # Note two things called "teleray".  Reorder should move the common one
                   12055: # to the front if you have either.  A dumb teleray with the cursor stuck
                   12056: # on the bottom and no obvious model number is probably a 3700.
                   12057: #
                   12058:
                   12059: t3700|dumb teleray 3700,
                   12060:        cols#80, lines#24,
                   12061:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   12062: t3800|teleray 3800 series,
                   12063:        cols#80, it#8, lines#24,
                   12064:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   12065:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
1.4       tholo    12066:        home=\EH, ht=^I, ind=^J, ll=\EY7\s,
1.1       tholo    12067: t1061|teleray|teleray 1061,
                   12068:        am, km, xhp, xt,
                   12069:        cols#80, it#8, lines#24, xmc#1,
                   12070:        bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   12071:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   12072:        dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF,
                   12073:        ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>,
                   12074:        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,
                   12075:        kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7,
1.4       tholo    12076:        kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH,
1.1       tholo    12077:        tbc=\EG,
                   12078: t1061f|teleray 1061 with fast PROMs,
                   12079:        dl1=\EM, il1=\EL, ip@, use=t1061,
                   12080: # "Teleray Arpa Special", officially designated as
                   12081: # "Teleray Arpa network model 10" with "Special feature 720".
                   12082: # This is the new (1981) fast microcode updating the older "arpa" proms
                   12083: # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
                   12084: # converts the keypad to programmable function keys, and has other goodies.
                   12085: # Standout mode is still broken (magic cookie, etc) so is suppressed as no
                   12086: # programs handle such lossage properly.
                   12087: # Note: this is NOT the old termcap's "t1061f with fast proms."
                   12088: # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
                   12089: # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
                   12090: t10|teleray 10 special,
                   12091:        km, xhp, xt,
                   12092:        cols#80, it#8, lines#24, xmc#2,
                   12093:        clear=\Ej$<30/>, cub1=^H, cuf1=\EC,
                   12094:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   12095:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
                   12096:        ind=\Eq, pad=\200, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD,
                   12097:        smul=\ERH,
                   12098: # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
                   12099: # back/forth words. Put the function keys (f1-f10) where they can be
                   12100: # found, and turn off the other magic keys along the top row, except
                   12101: # for line/local. Do the magic appropriate to make the page shifts work.
                   12102: # Also toggle ^S/^Q for those of us who use Emacs.
                   12103: t16|teleray 16,
                   12104:        am, da, db, mir, xhp, xt,
                   12105:        cols#80, lines#24,
                   12106:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
                   12107:        cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P,
                   12108:        dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L,
                   12109:        ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5,
                   12110:        kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T,
                   12111:        rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m,
                   12112:        rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h,
                   12113:        smso=\E[7m, smul=\E[4m,
                   12114:
                   12115: #### Texas Instruments (ti)
                   12116: #
                   12117:
                   12118: # The Silent 700 was so called because it was built around a quiet thermal
                   12119: # printer.  It was portable, equipped with an acoustic coupler, and pretty
                   12120: # neat for its day.
                   12121: ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800,
                   12122:        hc, os,
                   12123:        cols#80,
                   12124:        bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J,
                   12125:
1.4       tholo    12126: #
                   12127: # Texas Instruments 916 VDT 7 bit control mode
                   12128: #
                   12129: ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL,
                   12130:        da, db, in, msgr,
                   12131:        cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>,
                   12132:        cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB,
                   12133:        cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   12134:        cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P,
                   12135:        dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K,
                   12136:        el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>,
                   12137:        hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>,
                   12138:        il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H,
                   12139:        kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~,
                   12140:        kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~,
                   12141:        kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
                   12142:        kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T,
                   12143:        kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p,
                   12144:        smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, use=vt220,
                   12145: #
                   12146: # Texas Instruments 916 VDT 8 bit control mode
                   12147: #
                   12148: ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL,
                   12149:        kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
                   12150:        kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~,
                   12151:        kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~,
                   12152:        kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
                   12153:        kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H,
                   12154:        kich1=\233@, knp=\233S, kpp=\233T, kprt=^X,
                   12155:        use=ti916,
                   12156: #
                   12157: # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
                   12158: #
                   12159: ti916-132|Texas Instruments 916 VDT vt220 132 column,
                   12160:        cols#132, use=ti916,
                   12161: #
                   12162: # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
                   12163: #
                   12164: ti916-8-132|Texas Instruments 916 VDT vt220 132 column,
                   12165:        cols#132, use=ti916-8,
1.1       tholo    12166: ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL,
                   12167:        am, xon,
                   12168:        cols#80, it#8, lines#24,
                   12169:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   12170:        clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
                   12171:        csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   12172:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
                   12173:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   12174:        il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   12175:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ,
                   12176:        kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~,
                   12177:        kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m,
                   12178:        ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
                   12179:        smul=\E[4m, tbc=\E[3g,
                   12180: ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL,
                   12181:        am, xon,
                   12182:        cols#80, it#8, lines#24,
                   12183:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   12184:        clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
                   12185:        csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   12186:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
                   12187:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   12188:        il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   12189:        kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>,
                   12190:        kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>,
                   12191:        kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>,
                   12192:        kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM,
                   12193:        rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
                   12194:        smul=\E[4m, tbc=\E[3g,
                   12195: ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode,
                   12196:        cols#132, use=ti924,
                   12197: ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode,
                   12198:        cols#132, use=ti924-8,
                   12199: ti931|Texas Instruments 931 VDT,
                   12200:        am, xon,
                   12201:        cols#80, lines#24,
                   12202:        bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED,
                   12203:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   12204:        cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH,
                   12205:        ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H,
                   12206:        is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   12207:        kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3,
                   12208:        kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9,
                   12209:        kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@,
                   12210:        sgr0=\E4@, smso=\E4A, smul=\E4D,
                   12211: ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL,
                   12212:        csr@, ind=\E[1S, ri=\E[1T,
                   12213:        use=ti924,
                   12214: # (ti926-8: I corrected this from the broken SCO entry -- esr)
                   12215: ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL,
                   12216:        csr@, ind=\2331S, ri=\2331T,
                   12217:        use=ti924-8,
                   12218: ti_ansi|basic entry for ti928,
                   12219:        am, bce, eo, xenl, xon,
                   12220:        colors#8, cols#80, it#8, lines#25, pairs#64,
                   12221:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H,
                   12222:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B,
                   12223:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   12224:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   12225:        il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   12226:        kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M,
                   12227:        kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,
                   12228:        kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
                   12229:        op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m,
                   12230:        setb=\E[4%p1%dm, setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m,
                   12231:        smul=\E[4m,
                   12232: #
                   12233: #       928 VDT 7 bit control mode
                   12234: #
                   12235: ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL,
                   12236:        kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~,
                   12237:        kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~,
                   12238:        kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~,
                   12239:        kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
                   12240:        kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~,
                   12241:        use=ti_ansi,
                   12242: #
                   12243: #       928 VDT 8 bit control mode
                   12244: #
                   12245: ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL,
                   12246:        kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~,
                   12247:        kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~,
                   12248:        kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~,
                   12249:        kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~,
                   12250:        kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S,
                   12251:        kpp=\233T, kprt=\23335~,
                   12252:        use=ti_ansi,
                   12253:
                   12254: #### Zentec (zen)
                   12255: #
                   12256:
                   12257: # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
                   12258: # had just <smso>=\EG6 which I think means standout was supposed to be
                   12259: # dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
                   12260: # <invis> might work-- esr)
                   12261: zen30|z30|zentec 30,
                   12262:        am, mir, ul,
                   12263:        cols#80, lines#24,
                   12264:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   12265:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   12266:        dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^,
                   12267:        il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6,
                   12268:        smul@,
                   12269:        use=adm+sgr,
                   12270: # (zen50: this had extension capabilities
                   12271: #      :BS=^U:CL=^V:CR=^B:
                   12272: # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
                   12273: # which were also in the original entry -- esr)
                   12274: # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
                   12275: zen50|z50|zentec zephyr,
                   12276:        am,
                   12277:        cols#80, lines#24, xmc#1,
                   12278:        clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   12279:        cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE,
                   12280:        invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   12281:        rmul@, smul@,
                   12282:        use=adm+sgr,
                   12283:
1.4       tholo    12284: # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
                   12285: cci|cci1|z8001|zen8001|CCI Custom Zentec 8001,
                   12286:        am, bw,
                   12287:        cols#80, lines#24,
                   12288:        blink=\EM", clear=\EH\EJ, cnorm=\EP,
                   12289:        csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J,
                   12290:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   12291:        cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH,
                   12292:        invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED,
                   12293:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R,
                   12294:        rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s,
                   12295:        smso=\EM$, smul=\EM0,
                   12296:
1.1       tholo    12297: ######## OBSOLETE UNIX CONSOLES
                   12298: #
                   12299:
                   12300: #### Apollo consoles
                   12301: #
                   12302: # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
                   12303: # labeled HP700s now.
                   12304: #
                   12305:
                   12306: # From: Gary Darland <goodmanc@garnet.berkeley.edu>
                   12307: apollo|apollo console,
                   12308:        am, mir,
                   12309:        cols#88, lines#53,
                   12310:        clear=^L, cub1=^H, cud1=\EB, cuf1=\EC,
                   12311:        cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL,
                   12312:        ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED,
                   12313:        rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ,
1.4       tholo    12314:        smso=\ES, smul=\EU, vpa=\EO+\s,
1.1       tholo    12315:
                   12316: # We don't know whether or not the apollo guys replicated DEC's firmware bug
                   12317: # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
                   12318: # both these capabilities.
                   12319: apollo_15P|apollo 15 inch display,
                   12320:        rmir@, smir@, use=vt132,
                   12321: apollo_19L|apollo 19 inch display,
                   12322:        rmir@, smir@, use=vt132,
                   12323: apollo_color|apollo color display,
                   12324:        rmir@, smir@, use=vt132,
                   12325:
1.4       tholo    12326: #### Convergent Technology
                   12327: #
                   12328: # Burroughs bought Convergent shortly before it merged with Univac.
                   12329: # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
                   12330: # from 1991 or earlier).
                   12331: #
                   12332:
                   12333: # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
                   12334: # (aws: removed unknown :dn=^K: -- esr)
                   12335: aws|Convergent Technologies AWS workstation under UTX,Xenix,
                   12336:        am,
                   12337:        cols#80, lines#28, xmc#0,
                   12338:        acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c,
                   12339:        cuu1=^A, dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c,
                   12340:        ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K,
                   12341:        kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF,
                   12342:        rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN,
                   12343:        vpa=\EV%p1%c,
                   12344: awsc|Convergent Technologies AWS workstation under CTOS,
                   12345:        am,
                   12346:        cols#80, lines#24, xmc#0,
                   12347:        acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c,
                   12348:        cuu1=^A, ed=\EEF, el=\EEL, kbs=^H, kcub1=^N, kcud1=^K,
                   12349:        kcuf1=^R, kcuu1=^A, rmacs=\EAAF, rmso=\EAA, rmul=\EAA,
                   12350:        smacs=\EAAN, smso=\EAE, smul=\EAC,
                   12351:
                   12352: #### DEC consoles
                   12353: #
                   12354:
                   12355: # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
                   12356: # The digital uVax II's had a graphic display called a qdss.  It was
                   12357: # supposed to be a high performance graphic accelerator, but it was
                   12358: # late to market and barely appeared before faster dumb frame buffers
                   12359: # appeared.  I have only used this display while running X11.  However,
                   12360: # during bootup, it was in text mode, and probably had a terminal emulator
                   12361: # within it.  And that is what your termcap entry is for.  In graphics
                   12362: # mode the screen size is 1024x864 pixels.
                   12363: qdss|qdcons|qdss glass tty,
                   12364:        am,
                   12365:        cols#128, lines#57,
                   12366:        clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L,
                   12367:        cup=\E=%p1%c%p2%c, cuu1=^K,
                   12368:
1.1       tholo    12369: #### Fortune Systems consoles
                   12370: #
                   12371: # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
                   12372: # in their day; I (esr) used one myself for a year or so around 1984.
                   12373: # They had no graphics, though, and couldn't compete against Suns and
                   12374: # the like.  R.I.P.
                   12375: #
                   12376:
                   12377: # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
                   12378: # (This had extension capabilities
                   12379: #      :rv=\EH:re=\EI:rg=0:GG=0:\
                   12380: #      :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
                   12381: #      :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
                   12382: #      :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
                   12383: # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
                   12384: # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
                   12385: # to force both magic cookie glitches off.  Once upon a time, I
                   12386: # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
                   12387: # function keys; thus the "Al" value for HM was certainly an error.  I renamed
                   12388: # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
                   12389: # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
                   12390: # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
                   12391: # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
                   12392: fos|fortune|Fortune system,
                   12393:        am, bw,
                   12394:        cols#80, lines#25,
                   12395:        acsc=l m"k(j*v%w#q&x-, bel=^G, blink=\EN, civis=\E],
                   12396:        clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>,
                   12397:        cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>,
1.4       tholo    12398:        cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>,
1.1       tholo    12399:        ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z,
                   12400:        ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H,
                   12401:        kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r,
                   12402:        kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r,
                   12403:        kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r,
                   12404:        khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH,
                   12405:        rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo,
                   12406:        smso=^\H`, smul=^\HP,
                   12407:
                   12408: #### Masscomp consoles
                   12409: #
                   12410: # Masscomp has gone out of business.  Their product line was purchased by
                   12411: # comany in Georgia (US) called "XS International", parts and service may
                   12412: # still be available through them.
                   12413: #
                   12414:
                   12415: # (masscomp: ":MT:" changed to ":km:";  -- esr)
                   12416: masscomp|masscomp workstation console,
                   12417:        km, mir,
                   12418:        cols#80, it#8, lines#24,
                   12419:        clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   12420:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   12421:        ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H,
                   12422:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l,
                   12423:        rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu,
                   12424: masscomp1|masscomp large screen version 1,
                   12425:        cols#104, lines#36, use=masscomp,
                   12426: masscomp2|masscomp large screen version 2,
                   12427:        cols#64, lines#21, use=masscomp,
                   12428:
                   12429: ######## OTHER OBSOLETE TYPES
                   12430: #
                   12431: # These terminals are *long* dead -- these entries are retained for
                   12432: # historical interest only.
                   12433: #
                   12434:
                   12435: #### Obsolete non-ANSI software emulations
                   12436: #
                   12437:
                   12438: # CTRM terminal emulator
                   12439: # 1. underlining is not allowed with colors: first, is is simulated by
                   12440: # black on white, second, it disables background color manipulations.
                   12441: # 2. BLINKING, REVERSE and BOLD are allowed with colors,
                   12442: # so we have to save their status in the static registers A, B and H
                   12443: # respectively, to be able to restore them when color changes
                   12444: # (because any color change turns off ALL attributes)
                   12445: # 3. <bold> and <rev> sequences alternate modes,
                   12446: # rather then simply  entering them.  Thus we have to check the
                   12447: # static register B and H to determine the status, before sending the
                   12448: # escape sequence.
                   12449: # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
                   12450: # and then reset colors
                   12451: # 5. implementation of the protect mode would badly penalize the performance.
                   12452: # we would have to use \E&bn sequence to turn off colors (as well as all
                   12453: # other attributes), and keep the status of protect mode in yet another
                   12454: # static variable.  If someone really needs this mode, they would have to
                   12455: # create another terminfo entry.
                   12456: # 6. original color-pair is white on black.
                   12457: # store the information about colors into static registers
                   12458: # 7. set foreground color.  it performs the following steps.
                   12459: #   1) turn off all attributes
                   12460: #   2) turn on the background and video attributes that have been turned
                   12461: #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
                   12462: #   3) turn on foreground attributes
                   12463: #   4) store information about foreground into U,V,W static registers
                   12464: # 8. turn on background: similar to turn on foreground above
                   12465: ctrm|C terminal emulator,
                   12466:        am, bce, xon,
                   12467:        colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0,
                   12468:        pairs#63, pb#19200, vt#6,
                   12469:        bel=^G, blink=\E&dA%{1}%PA,
                   12470:        bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei,
                   12471:        clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   12472:        cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM,
                   12473:        ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1,
                   12474:        il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r,
                   12475:        kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r,
                   12476:        kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,
                   12477:        kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r,
                   12478:        op=\E&bn\E&bB\E&bG\E&bR\n%{0}%PX%{0}%PY%{0}%PZ\n%{1}%PW%{1}%PV%{1}%PU,
                   12479:        rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA,
                   12480:        setb=\E&bn\n%?%gA%t\E&dA%;\n%?%gB%t\E&dB%;\n%?%gH%t\E&dH%;\n%?%gU%t\E&bR%;\n%?%gV%t\E&bG%;\n%?%gW%t\E&bB%;\n\n%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ\n%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY\n%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX,
                   12481:        setf=\E&bn\n%?%gA%t\E&dA%;\n%?%gB%t\E&dB%;\n%?%gH%t\E&dH%;\n%?%gX%t\E&br%;\n%?%gY%t\E&bg%;\n%?%gZ%t\E&bb%;\n\n%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW\n%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV\n%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU,
                   12482:        sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH\n%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;\n%?%p4%t\E&dA%{1}%PA%;\n%?%p6%t\E&dH%{1}%PH%;\n%?%p2%t\E&dD%;,
                   12483:        sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB,
                   12484:        smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   12485:
                   12486: # gs6300 - can't use blue foreground, it clashes with underline;
                   12487: # it's simulated with cyan
                   12488: # Bug: The <op> capability probably resets attributes.
                   12489: # (gs6300: commented out <rmln> (no <smln>) --esr)
                   12490: gs6300|emots|AT&T PC6300 with EMOTS terminal emulator,
                   12491:        am, bce, msgr, xon,
                   12492:        colors#8, cols#80, it#8, lines#24, pairs#63,
1.4       tholo    12493:        acsc=\,\,..--++``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       tholo    12494:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   12495:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   12496:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   12497:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   12498:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   12499:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   12500:        is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B,
                   12501:        kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s,
                   12502:        kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s,
                   12503:        khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m,
                   12504:        ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm,
                   12505:        setf=\E[?%?%p1%{0}%=%t0\n%e%p1%{1}%=%t2\n%e%p1%{1}%-%d%;m,
                   12506:        sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m,
                   12507:
                   12508: # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
                   12509: # MS-Kermit with Heath-19 emulation mode enabled
                   12510: # (h19k: changed ":pt@:" to ":it@"
                   12511: h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin),
                   12512:        am@, da, db, xt,
                   12513:        it@,
                   12514:        ht@, use=h19-u,
                   12515:
                   12516: # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
                   12517: # Software (formerly Peripherals Computers & Supplies, Inc) of
                   12518: # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
                   12519: # also be reached at support@synergy.com.
                   12520: versaterm|versaterm vt100 emulator for the macintosh,
                   12521:        am, xenl,
                   12522:        cols#80, it#8, lines#24,
                   12523:        bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   12524:        clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   12525:        cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   12526:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
                   12527:        dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>,
                   12528:        el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>,
                   12529:        il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD,
                   12530:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
                   12531:        kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>,
                   12532:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
                   12533:        rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>,
                   12534:        sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>,
                   12535:        smul=\E[4m$<2/>,
                   12536:
                   12537: # From: Rick Thomas <ihnp4!btlunix!rbt>
                   12538: # (xtalk: I added <rmam>/<smam> based on the init string.
                   12539: # I also removed <xmc#1> and the trailing \s characters from the highlight
                   12540: # changers, I don't believe these on a VT100-emulating PC display -- esr)
                   12541: xtalk|IBM PC with xtalk communication program (versions up to 3.4),
                   12542:        am, mir, msgr, xon,
                   12543:        cols#80, it#8, lines#24, vt#3,
                   12544:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   12545:        bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   12546:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   12547:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   12548:        cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>,
                   12549:        el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH,
                   12550:        il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H,
                   12551:        kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   12552:        kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx,
                   12553:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv,
                   12554:        kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   12555:        rmkx=\E[?1l\E>, rmso=\E[m,
                   12556:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m,
                   12557:        smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
                   12558:        tbc=\E[3g,
                   12559:
                   12560: # The official PC terminal emulator program of the AT&T Product Centers.
                   12561: # Note - insert mode commented out - doesn't seem to work on AT&T PC.
                   12562: simterm|attpc running simterm,
                   12563:        am,
                   12564:        cols#80, lines#24,
                   12565:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   12566:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER,
                   12567:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE,
1.4       tholo    12568:        rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB,
1.1       tholo    12569:
                   12570: #### Daisy wheel printers
                   12571: #
                   12572: # This section collects Diablo, DTC, Xerox, Qume, and other daisy
                   12573: # wheel terminals.  These are now largely obsolete.
                   12574: #
                   12575:
                   12576: # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
                   12577: diablo1620|diablo1720|diablo450|ipsi|diablo 1620,
                   12578:        hc, os,
                   12579:        cols#132, it#8,
                   12580:        cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c,
                   12581:        ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2,
                   12582: diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin,
                   12583:        cols#124,
                   12584:        is2=\r        \E9, use=diablo1620,
                   12585: # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
                   12586: diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640,
                   12587:        bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE,
                   12588:        use=diablo1620,
                   12589: # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such
                   12590: # file -- esr)
                   12591: diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin,
                   12592:        cols#124,
                   12593:        rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620,
                   12594: diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer,
                   12595:        use=diablo1640-lm,
                   12596: # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
                   12597: # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\200>.
                   12598: # The terminal has tabs, but I'm getting tired of fighting the braindamage.
                   12599: # If no tab is set or the terminal's in a bad mood, it glitches the screen
                   12600: # around all of memory.  Note that return puts a blank ("a return character")
                   12601: # in the space the cursor was at, so we use ^P return (and thus ^P newline for
                   12602: # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
                   12603: # curses won't work (some old BSD versions) because it doesn't clear this bit,
                   12604: # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
                   12605: # I have been unable to get tabs set in all 96 lines - it always leaves at
                   12606: # least one line with no tabs in it, and once you tab through that line,
                   12607: # it completely weirds out.
                   12608: # (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
                   12609: dtc382|DTC 382,
                   12610:        am, da, db, xhp,
                   12611:        cols#80, lines#24, lm#96,
                   12612:        bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H,
                   12613:        cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB,
                   12614:        dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U,
1.4       tholo    12615:        home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi,
1.1       tholo    12616:        rmul=^P \200, smcup=\020\035$<20>, smir=^PI, smul=^P ^P,
                   12617: dtc300s|DTC 300s,
                   12618:        hc, os,
                   12619:        cols#132,
                   12620:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
                   12621:        hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
                   12622: gsi|mystery gsi terminal,
                   12623:        hc, os,
                   12624:        cols#132,
                   12625:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH,
                   12626:        ind=^J,
                   12627: aj830|aj832|aj|anderson jacobson,
                   12628:        hc, os,
                   12629:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
                   12630:        ind=^J,
                   12631: # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
                   12632: aj510|Anderson-Jacobson model 510,
                   12633:        am, mir,
                   12634:        cols#80, lines#24,
                   12635:        clear=^L, cub1=^H, cuf1=\EX,
                   12636:        cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY,
                   12637:        dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=,
                   12638:        il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ,
                   12639:        kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J,
                   12640:        rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I,
                   12641:        smul=\E"U,
                   12642: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   12643: # This is incomplete, but it's a start.
                   12644: nec5520|nec|spinwriter|nec 5520,
                   12645:        hc, os,
                   12646:        cols#132, it#8,
                   12647:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L,
                   12648:        hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J,
                   12649:        kbs=^H, tbc=\E3,
                   12650: qume5|qume|Qume Sprint 5,
                   12651:        hc, os,
                   12652:        cols#80, it#8,
                   12653:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
                   12654:        hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
                   12655: # I suspect the xerox 1720 is the same as the diablo 1620.
                   12656: xerox1720|x1720|x1750|xerox 1720,
                   12657:        hc, os,
                   12658:        cols#132, it#8,
                   12659:        bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J,
                   12660:        tbc=\E2,
                   12661:
                   12662: #### Miscellaneous obsolete terminals, manufacturers unknown
                   12663: #
                   12664: # If you have any information about these (like, a manufacturer's name,
                   12665: # and a date on the serial-number plate) please send it!
                   12666:
                   12667: cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars,
                   12668:        am,
                   12669:        cols#73, lines#36,
                   12670:        clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^,
                   12671: cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars,
                   12672:        am,
                   12673:        cols#85, lines#39,
                   12674:        clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3,
                   12675:        kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7,
                   12676:        kf4=\E8, rmso=\Em^C, smso=\Em^L,
                   12677: cops10|cops|cops-10|cops 10,
                   12678:        am, bw,
                   12679:        cols#80, lines#24,
                   12680:        bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   12681:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V,
                   12682:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   12683:        khome=^Y,
1.4       tholo    12684: # (d132: removed duplicate :ic=\E5:,
                   12685: # merged in capabilities from a BRL entry -- esr)
1.1       tholo    12686: d132|datagraphix|datagraphix 132a,
                   12687:        da, db, in,
                   12688:        cols#80, lines#30,
1.4       tholo    12689:        bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J,
                   12690:        cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex,
                   12691:        dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H,
                   12692:        kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew,
1.1       tholo    12693: # The d800 was an early portable terminal from c.1984-85 that looked a lot
                   12694: # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
                   12695: # mode (which is what this entry looks like) and several other lesser-known
                   12696: # emulations.
                   12697: d800|Direct 800/A,
                   12698:        am, da, db, msgr, xhp,
                   12699:        cols#80, it#8, lines#24,
                   12700:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                   12701:        bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H,
                   12702:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   12703:        cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D,
                   12704:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
                   12705:        kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
                   12706:        ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   12707:        smacs=\E[1m, smso=\E[7m, smul=\E[4m,
                   12708: digilog|digilog 333,
                   12709:        cols#80, lines#16,
                   12710:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X,
                   12711:        home=^N, ind=^J,
                   12712: # The DWK was a terminal manufactured in the Soviet Union c.1986
                   12713: dwk|dwk-vt|dwk terminal,
                   12714:        am,
                   12715:        cols#80, it#8, lines#24,
1.4       tholo    12716:        acsc=lJmFkCjXtEuPv\\wKqUxWnNo~s_`+a\:f'g#~_\\\,Q+\^.M-Sh#I#0\177,
1.1       tholo    12717:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   12718:        cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, dch1=\EP,
                   12719:        ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177,
                   12720:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee,
                   12721:        kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5,
                   12722:        kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh,
                   12723:        kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX,
                   12724:        sgr0=\EX, smacs=\EF, smso=\ET,
                   12725: env230|envision230|envision 230 graphics terminal,
                   12726:        xenl@,
                   12727:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   12728:        sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, use=vt100,
                   12729: # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
                   12730: # coupler attached, the whole rig fitting in a suitcase and more or less
                   12731: # portable.  Hot stuff for c.1977 :-) -- esr
                   12732: ep48|ep4080|execuport 4080,
                   12733:        am, os,
                   12734:        cols#80,
                   12735:        bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J,
                   12736: ep40|ep4000|execuport 4000,
                   12737:        cols#136, use=ep4080,
                   12738: # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
                   12739: # Informer series - these are all portable units, resembling older
                   12740: # automatic bread-baking machines.  The terminal looks like a `clamshell'
                   12741: # design, but isn't.  The structure is similar to the Direct terminals,
                   12742: # but only half the width.  The entire unit is only about 10" wide.
                   12743: # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
                   12744: # keyboard.  All the keys are crammed together, much like some laptop
                   12745: # PCs today, but perhaps less well organized...all these units have a
                   12746: # bewildering array of plugs on the back, including a built-in modem.
                   12747: # The 305 was a color version of the 304; the 306 and 307 were mono and
                   12748: # color terminals built for IBM bisync protocols.
                   12749: # From: Paul Leondis <unllab@amber.berkeley.edu>
                   12750: ifmr|Informer D304,
                   12751:        am,
                   12752:        cols#80, lines#24,
                   12753:        clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC,
                   12754:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\,
                   12755:        ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK,
                   12756:        smso=\EJ,
                   12757: # Entry largely based on wy60 and has the features of wy60ak.
                   12758: opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys,
                   12759:        am, bw, hs, km, mir, msgr, ul, xon,
                   12760:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80,
                   12761:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
                   12762:        cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M,
                   12763:        cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K,
                   12764:        dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r,
                   12765:        ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>,
                   12766:        hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J,
                   12767:        ip=$<3>,
1.4       tholo    12768:        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,
1.1       tholo    12769:        kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B,
                   12770:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY,
                   12771:        kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   12772:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   12773:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   12774:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   12775:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   12776:        mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>,
                   12777:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   12778:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   12779:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
1.4       tholo    12780:        rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11,
                   12781:        rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>,
                   12782:        rs3=\EwG\Ee($<150>,
1.1       tholo    12783:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
                   12784:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/,
                   12785:        smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177,
                   12786:        smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(,
                   12787:        uc=\EG8%p1%c\EG0,
                   12788:        use=adm+sgr,
                   12789: teletec|Teletec Datascreen,
                   12790:        am,
                   12791:        cols#80, lines#24,
                   12792:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K,
                   12793:        home=^^, ind=^J,
                   12794: # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
                   12795: #              This termcap is for the LANPAR Technologies VISION 3220
                   12796: #      terminal.  The function key definitions k0-k5 represent the
                   12797: #      edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
                   12798: #      NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
                   12799: #      PF4 keys.
                   12800: # (v3220: removed obsolete ":kn#10:",
                   12801: # I added <rmam>/<smam> based on the init string -- esr)
                   12802: v3220|LANPAR Vision II model 3220/3221/3222,
                   12803:        am, mir, xenl,
                   12804:        cols#80, it#8, lines#24,
                   12805:        clear=\E[H\E[J, cub1=^H, cuf1=\E[C,
                   12806:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   12807:        ed=\E[J, el=\E[K, ht=^I, il1=\E[L,
                   12808:        is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B,
                   12809:        kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~,
                   12810:        kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ,
                   12811:        kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l,
                   12812:        rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   12813:        smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
1.5       downsj   12814: # From: iang@cs.berkeley.edu
                   12815: pilot|tgtelnet,
                   12816:        am, xenl,
                   12817:        cols#39, lines#16,
                   12818:        bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J,
                   12819:        cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em  , ht=^I,
                   12820:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K,
                   12821:        nel=\Em~ , rmso=\EB, smso=\Eb,
1.1       tholo    12822: ######## ICH/ICH1 VERSUS RMIR/SMIR
                   12823: #
                   12824: # Some non-curses applications get confused if both ich/ich1 and rmir/smir
                   12825: # are present; the symptom is doubled characters in an update using insert.
                   12826: # These applications are technically correct; in both 4.3BSD termcap and
                   12827: # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
                   12828: # unless the terminal needs both.  This requirement is now rare; most ich
                   12829: # sequences do not require previous smir, and most smir insert modes do not
                   12830: # require ich1 before each character.
                   12831: #
                   12832: # For ncurses-based applications this is not a problem, as ncurses uses
                   12833: # one or the other as appropriate but never mixes the two.  Therefore we
                   12834: # have not corrected entries like `linux' and `xterm' that specify both.
                   12835: # If you see doubled characters from these, use the linux-nic and xterm-nic
                   12836: # entries that suppress ich/ich1.  And upgrade to ncurses!
                   12837: #
                   12838:
                   12839: ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
                   12840: #
                   12841: # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
                   12842: # ECMA-48 standards are said to be almost identical, but are not the same
                   12843: # as X3.64 (though for practical purposes they are close supersets of it).
                   12844: #
                   12845: # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
                   12846: # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
                   12847: # Coded Character Sets"), include your snail-mail address, and you should
                   12848: # receive the document in due course.  Don't expect an email acknowledgement.
                   12849: #
                   12850: # Related standards include "X3.4-1977: American National Standard Code for
                   12851: # Information Interchange" (the ASCII standard) and "X3.41.1974:
                   12852: # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
                   12853: # American National Standard for Information Interchange."  I believe (but
                   12854: # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
                   12855: # respectively.
                   12856: #
                   12857:
                   12858: #### VT100/ANSI/ECMA-48
                   12859: #
                   12860: # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
                   12861: # and ECMA-48 Control Functions for Coded Character Sets.
                   12862: #
                   12863: # Much of the content of this comment is adapted from a table prepared by
                   12864: # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
                   12865: # discussion of some terminfo-related issues, and updates to capture ECMA-48
                   12866: # have been added.  Control functions described in ECMA-48 only are tagged
                   12867: # with * after their names.
                   12868: #
                   12869: # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
                   12870: # sequences.  In the main table, \E stands for an escape (\033) character,
                   12871: # SPC for space.  Pn stands for a single numeric parameter to be inserted
                   12872: # in decimal ASCII.  Ps stands for a list of such parameters separated by
                   12873: # semicolons.  Parameter meanings for most parametrized sequences are
                   12874: # decribed in the notes.
                   12875: #
                   12876: # Sequence     Sequence                             Parameter   or
                   12877: # Mnemonic     Name              Sequence           Value      Mode   terminfo
                   12878: # -----------------------------------------------------------------------------
                   12879: # APC  Applicatn Program Command \E _                -         Delim  -
                   12880: # BEL  Bell *                    ^G                  -         -      bel
                   12881: # BPH  Break Permitted Here *    \E B                -         *      -
                   12882: # BS   Backpace *                ^H                  -         EF     -
                   12883: # CAN  Cancel *                  ^X                  -         -      -   (A)
                   12884: # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
                   12885: # CCH  Cancel Previous Character \E T                -         -      -
                   12886: # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
                   12887: # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
                   12888: # CMD  Coding Method Delimiter * \E
                   12889: # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
                   12890: # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
                   12891: # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
                   12892: # CSI  Control Sequence Intro    \E [                -         Intro  -
                   12893: # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
                   12894: # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
                   12895: # CUD  Cursor Down               \E [ Pn B           1         eF     cud
                   12896: # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
                   12897: # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
                   12898: # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
                   12899: # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
                   12900: # DA   Device Attributes         \E [ Pn c           0         -      -
                   12901: # DAQ  Define Area Qualification \E [ Ps o           0         -      -
                   12902: # DCH  Delete Character          \E [ Pn P           1         eF     dch
                   12903: # DCS  Device Control String     \E P                -         Delim  -
                   12904: # DL   Delete Line               \E [ Pn M           1         eF     dl
                   12905: # DLE  Data Link Escape *        ^P                  -         -      -
                   12906: # DMI  Disable Manual Input      \E \                -         Fs     -
                   12907: # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
                   12908: # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
                   12909: # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
                   12910: # ECH  Erase Character           \E [ Pn X           1         eF     ech
                   12911: # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
                   12912: # EF   Erase in Field            \E [ Ps N           0         eF     -
                   12913: # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
1.4       tholo    12914: # EM   End of Medium *           ^Y                  -         -      -
1.1       tholo    12915: # EMI  Enable Manual Input       \E b                          Fs     -
                   12916: # ENQ  Enquire                   ^E                  -         -      -
                   12917: # EOT  End Of Transmission       ^D                  -         *      -
                   12918: # EPA  End of Protected Area     \E W                -         -      -   (K)
                   12919: # ESA  End of Selected Area      \E G                -         -      -
                   12920: # ESC  Escape                    ^[                  -         -      -
                   12921: # ETB  End Transmission Block    ^W                  -         -      -
                   12922: # ETX  End of Text               ^C                  -         -      -
                   12923: # FF   Form Feed                 ^L                  -         -      -
                   12924: # FNK  Function Key *            \E [ Pn SPC W       -         -      -
                   12925: # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
                   12926: # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
                   12927: # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
                   12928: # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
                   12929: # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
                   12930: # HPB  Char Position Backward    \E [ j              1         FE     -
                   12931: # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
                   12932: # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
                   12933: # HTJ  Horz Tab w/Justification  \E I                -         FE     -
                   12934: # HTS  Horizontal Tab Set        \E H                -         FE     hts
                   12935: # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
                   12936: # ICH  Insert Character          \E [ Pn @           1         eF     ich
                   12937: # IDCS ID Device Control String  \E [ SPC O          -         *      -
                   12938: # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
                   12939: # IL   Insert Line               \E [ Pn L           1         eF     il
                   12940: # IND  Index                     \E D                -         FE     -
                   12941: # INT  Interrupt                 \E a                -         Fs     -
                   12942: # JFY  Justify                   \E [ Ps SPC F       0         FE     -
                   12943: # IS1  Info Separator #1 *       ^_                  -         *      -
                   12944: # IS2  Info Separator #1 *       ^^                  -         *      -
                   12945: # IS3  Info Separator #1 *       ^]                  -         *      -
                   12946: # IS4  Info Separator #1 *       ^\                  -         *      -
                   12947: # LF   Line Feed                 ^J                  -         -      -
                   12948: # LS1R Locking Shift Right 1 *   \E ~                -         -      -
                   12949: # LS2  Locking Shift 2 *         \E n                -         -      -
                   12950: # LS2R Locking Shift Right 2 *   \E }                -         -      -
                   12951: # LS3  Locking Shift 3 *         \E o                -         -      -
                   12952: # LS3R Locking Shift Right 3 *   \E |                -         -      -
                   12953: # MC   Media Copy                \E [ Ps i           0         -      -   (S)
                   12954: # MW   Message Waiting           \E U                -         -      -
                   12955: # NAK  Negative Acknowledge *    ^U                  -         *      -
                   12956: # NBH  No Break Here *           \E C                -         -      -
                   12957: # NEL  Next Line                 \E E                -         FE     nel (D)
                   12958: # NP   Next Page                 \E [ Pn U           1         eF     -
                   12959: # NUL  Null *                    ^@                  -         -      -
                   12960: # OSC  Operating System Command  \E ]                -         Delim  -
                   12961: # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
                   12962: # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
                   12963: # PLD  Partial Line Down         \E K                -         FE     -   (T)
                   12964: # PLU  Partial Line Up           \E L                -         FE     -   (U)
                   12965: # PM   Privacy Message           \E ^                -         Delim  -
                   12966: # PP   Preceding Page            \E [ Pn V           1         eF     -
                   12967: # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
                   12968: # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
                   12969: # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
                   12970: # PTX  Parallel Texts *          \E [ \              -         -      -
                   12971: # PU1  Private Use 1             \E Q                -         -      -
                   12972: # PU2  Private Use 2             \E R                -         -      -
                   12973: # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
                   12974: # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
                   12975: # RI   Reverse Index             \E M                -         FE     -   (V)
                   12976: # RIS  Reset to Initial State    \E c                -         Fs     -
                   12977: # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
                   12978: # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
                   12979: # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
                   12980: # SCI  Single-Char Introducer    \E Z                -         -      -
                   12981: # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
                   12982: # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
                   12983: # SD   Scroll Down               \E [ Pn T           1         eF     rin
                   12984: # SDS  Start Directed String *   \E [ Pn ]           1         -      -
                   12985: # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
                   12986: # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
                   12987: # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
                   12988: # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
                   12989: # SI   Shift In                  ^O                  -         -      -   (P)
                   12990: # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
                   12991: # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
                   12992: # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
                   12993: # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
                   12994: # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
                   12995: # SM   Select Mode               \E [ Ps h           none      -      -   (W)
                   12996: # SO   Shift Out                 ^N                  -         -      -   (Q)
                   12997: # SOH  Start Of Heading *        ^A                  -         -      -
                   12998: # SOS  Start of String *         \E X                -         -      -
                   12999: # SPA  Start of Protected Area   \E V                -         -      -   (Z)
                   13000: # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
                   13001: # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
                   13002: # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
                   13003: # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
                   13004: # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
                   13005: # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
                   13006: # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
                   13007: # SRS  Start Reversed String *   \E [ Ps [           0         -      -
                   13008: # SSA  Start of Selected Area    \E F                -         -      -
                   13009: # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
                   13010: # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
                   13011: # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
                   13012: # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
                   13013: # ST   String Terminator         \E \                -         Delim  -
                   13014: # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
                   13015: # STS  Set Transmit State        \E S                -         -      -
                   13016: # STX  Start pf Text *           ^B                  -         -      -
                   13017: # SU   Scroll Up                 \E [ Pn S           1         eF     indn
                   13018: # SUB  Substitute *              ^Z                  -         -      -
                   13019: # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
                   13020: # SYN  Synchronous Idle *        ^F                  -         -      -
                   13021: # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
                   13022: # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
                   13023: # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
                   13024: # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
                   13025: # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
                   13026: # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
                   13027: # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
                   13028: # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
                   13029: # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
                   13030: # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
                   13031: # VT   Vertical Tabulation *     ^K                  -         FE     -
                   13032: # VTS  Vertical Tabulation Set   \E J                -         FE     -
                   13033: #
                   13034: # ---------------------------------------------------------------------------
                   13035: #
                   13036: # Notes:
                   13037: #
                   13038: # Some control characters are listed in the ECMA-48 standard without
                   13039: # being assigned functions relevant to terminal control there (they
                   13040: # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
                   13041: # here anyway for completeness.
                   13042: #
                   13043: # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
                   13044: #
                   13045: # (B) There seems to be some confusion abroad between CHA and HPA.  Most
                   13046: # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
                   13047: # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
                   13048: # preserved the CHA abbreviation.
                   13049: #
                   13050: # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
                   13051: # Occasionally (as on, for example, certain HP terminals) this has the HTJ
                   13052: # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
                   13053: # CHT abbreviation.
                   13054: #
                   13055: # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
                   13056: #
1.4       tholo    13057: # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
1.1       tholo    13058: # abbreviation.
                   13059: #
                   13060: # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
                   13061: # char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
                   13062: # 5 = clear all char tabs, 6 = clear all line tabs.
                   13063: #
                   13064: # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
                   13065: # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
                   13066: # Position Absolute" but retains the HVP abbreviation.
                   13067: #
                   13068: # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
                   13069: # abbreviation.
                   13070: #
                   13071: # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
                   13072: # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
                   13073: # DSR, 6 = request CPR response.
                   13074: #
                   13075: # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
                   13076: # 1 = clear from beginning, 2 = clear.
                   13077: #
                   13078: # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
                   13079: #
                   13080: # (L) The GSM parameters are vertical and horizontal parameters to scale by.
                   13081: #
                   13082: # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
                   13083: # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
                   13084: # Position Relative" but retains the HPR abbreviation.
                   13085: #
                   13086: # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
                   13087: # abbreviation.
                   13088: #
                   13089: # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
                   13090: # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
                   13091: # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
                   13092: # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
                   13093: # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
                   13094: # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
                   13095: # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
                   13096: # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
                   13097: # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
                   13098: # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
                   13099: # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
                   13100: # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
                   13101: # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
                   13102: # 61-65 = variable highlights for ideograms.
                   13103: #
                   13104: # (P) SI is also called LSO, Locking Shift Zero.
                   13105: #
                   13106: # (Q) SI is also called LS1, Locking Shift One.
                   13107: #
                   13108: # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
                   13109: # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
1.4       tholo    13110: # Absolute' but retains the VPA abbreviation.
1.1       tholo    13111: #
                   13112: # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
                   13113: # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
                   13114: # from secondary aux device, 4 = stop relay to primary aux device, 5 =
                   13115: # start relay to primary aux device, 6 = stop relay to secondary aux device,
                   13116: # 7 = start relay to secondary aux device.
                   13117: #
                   13118: # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
                   13119: # abbreviation.
                   13120: #
                   13121: # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
                   13122: # abbreviation.
                   13123: #
                   13124: # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
                   13125: #
                   13126: # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM),
                   13127: # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
                   13128: # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
                   13129: # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
                   13130: # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
                   13131: # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
                   13132: # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
                   13133: # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
                   13134: # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
                   13135: # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
                   13136: # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
                   13137: # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
                   13138: # from ECMA-48's 5th edition but are listed here for reference.
                   13139: #
                   13140: # (X) Select Alternate Presentation Variants is used only for non-Latin
                   13141: # alphabets.
                   13142: #
                   13143: # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
                   13144: #
                   13145: # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
                   13146: # abbreviation.
                   13147: #
                   13148: # ---------------------------------------------------------------------------
                   13149: #
                   13150: # Abbreviations:
                   13151: #
                   13152: # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
                   13153: #        X3.64 Control Sequence Introducer is the two characters "Escape ["
                   13154: #
                   13155: # Delim  a Delimiter
                   13156: #
                   13157: # x/y    identifies a character by position in the ASCII table (column/row)
                   13158: #
                   13159: # eF     editor function (see explanation)
                   13160: #
                   13161: # FE     format effector (see explanation)
                   13162: #
                   13163: # F      is a Final character in
                   13164: #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
                   13165: #             a control sequence (F from 4/0 to 7/14)
                   13166: #
                   13167: # Gs     is a graphic character appearing in strings (Gs ranges from
                   13168: #        2/0 to 7/14) in the ASCII table
                   13169: #
                   13170: # Ce     is a control represented as a single bit combination in the C1 set
                   13171: #        of controls in an 8-bit character set
                   13172: #
                   13173: # C0     the familiar set of 7-bit ASCII control characters
                   13174: #
                   13175: # C1     roughly, the set of control chars available only in 8-bit systems.
                   13176: #        This is too complicated to explain fully here, so read Jim Fleming's
                   13177: #        article in the February 1983 BYTE, especially pages 214 through 224.
                   13178: #
                   13179: # Fe     is a Final character of a 2-character Escape sequence that has an
                   13180: #        equivalent representation in an 8-bit environment as a Ce-type
                   13181: #        (Fe ranges from 4/0 to 5/15)
                   13182: #
                   13183: # Fs     is a Final character of a 2-character Escape sequence that is
                   13184: #        standardized internationally with identical representation in 7-bit
                   13185: #        and 8-bit environments and is independent of the currently
                   13186: #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
                   13187: #
                   13188: # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
                   13189: #        ASCII table
                   13190: #
                   13191: # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
                   13192: #        table
                   13193: #
                   13194: # Pn     is a numeric parameter in a control sequence, a string of zero or
                   13195: #        more characters ranging from 3/0 to 3/9 in the ASCII table
                   13196: #
                   13197: # Ps     is a variable number of selective parameters in a control sequence
                   13198: #        with each selective parameter separated from the other by the code
                   13199: #        3/11 (which usually represents a semicolon); Ps ranges from
                   13200: #        3/0 to 3/9 and includes 3/11
                   13201: #
                   13202: # *      Not relevant to terminal control, listed for completeness only.
                   13203: #
                   13204: # Format Effectors versus Editor Functions
                   13205: #
                   13206: # A format effector specifies how following output is to be displayed.
                   13207: # An editor function allows you to modify the display.  Informally
                   13208: # format effectors may be destructive; format effectors should not be.
                   13209: #
                   13210: # For instance, a format effector that moves the "active position" (the
                   13211: # cursor or equivalent) one space to the left would be useful when you want to
                   13212: # create an overstrike, a compound character made of two standard characters
                   13213: # overlaid. Control-H, the Backspace character, is actually supposed to be a
                   13214: # format effector, so you can do this. But many systems use it in a
                   13215: # nonstandard fashion, as an editor function, deleting the character to the
                   13216: # left of the cursor and moving the cursor left. When Control-H is assumed to
                   13217: # be an editor function, you cannot predict whether its use will create an
                   13218: # overstrike unless you also know whether the output device is in an "insert
                   13219: # mode" or an "overwrite mode". When Control-H is used as a format effector,
                   13220: # its effect can always be predicted. The familiar characters carriage
                   13221: # return, linefeed, formfeed, etc., are defined as format effectors.
                   13222: #
                   13223: # NOTES ON THE DEC VT100 IMPLEMENTATION
                   13224: #
                   13225: # Control sequences implemented in the VT100 are as follows:
                   13226: #
                   13227: #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
                   13228: #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
                   13229: #
                   13230: # plus several private DEC commands.
                   13231: #
                   13232: # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
                   13233: #
                   13234: #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
                   13235: #      Erase from beginning of line to cursor     Esc [ 1 K
                   13236: #      Erase line containing cursor               Esc [ 2 K
                   13237: #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
                   13238: #      Erase from beginning of screen to cursor   Esc [ 1 J
                   13239: #      Erase entire screen                        Esc [ 2 J
                   13240: #
                   13241: # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
                   13242: # Esc [ 2 J, but this is wrong; the default is 0.
                   13243: #
                   13244: # The VT100 responds to receiving the DA (Device Attributes) control
                   13245: #
                   13246: #      Esc [ c    (or Esc [ 0 c)
                   13247: #
                   13248: # by transmitting the sequence
                   13249: #
                   13250: #      Esc [ ? l ; Ps c
                   13251: #
                   13252: # where Ps is a character that describes installed options.
                   13253: #
                   13254: # The VT100's cursor location can be read with the DSR (Device Status
                   13255: # Report) control
                   13256: #
                   13257: #      Esc [ 6 n
                   13258: #
                   13259: # The VT100 reports by transmitting the CPR sequence
                   13260: #
                   13261: #      Esc [ Pl ; Pc R
                   13262: #
                   13263: # where Pl is the line number and Pc is the column number (in decimal).
                   13264: #
                   13265: # The specification for the DEC VT100 is document EK-VT100-UG-003.
                   13266:
                   13267: #### ANSI.SYS
                   13268: #
                   13269: # Here is a description of the color and attribute controls supported in the
                   13270: # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
1.4       tholo    13271: # terminal emulators for Intel boxes obey these.  They are a proper subset
                   13272: # of the ECMA-48 escapes.
1.1       tholo    13273: #
                   13274: # 0    all attributes off
                   13275: # 1    foreground bright
                   13276: # 4    underscore on
                   13277: # 5    blink on/background bright (not reliable with brown)
                   13278: # 7    reverse-video
                   13279: # 8    set blank (non-display)
                   13280: # 10   set primary font
                   13281: # 11   set first alternate font (on PCs, display ROM characters 1-31)
                   13282: # 12   set second alternate font (on PCs, display IBM high-half chars)
                   13283: #
                   13284: #                      Color attribute sets
                   13285: # 3n   set foreground color       / 0=black, 1=red,     2=green, 3=brown,
                   13286: # 4n   set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
                   13287: # Bright black becomes gray.  Bright brown becomes yellow,
                   13288: # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
                   13289: #
                   13290: # * If the 5 attribute is on and you set a background color (40-47) it is
                   13291: #   supposed to enable bright background.
                   13292: #
                   13293: # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
                   13294: #   when you try to set a "bright brown" (yellow) background with attribute
                   13295: #   5 (you get a blinking yellow foreground instead).  A few displays
                   13296: #   (including the System V console) support an attribute 6 that undoes this
                   13297: #   braindamage (this is required by iBCS2).
                   13298: #
                   13299: # * Some older versions of ANSI.SYS have a bug that causes thems to require
1.4       tholo    13300: #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
                   13301: #   compatible.)
1.1       tholo    13302:
                   13303: #### Intel Binary Compatibility Standard
                   13304: #
                   13305: # For comparison, here are the capabilities implied by the Intel Binary
                   13306: # Compatibility Standard for UNIX systems (Intel order number 468366-001).
                   13307: # These recommendations are optional.  IBCS2 allows the leading escape to
                   13308: # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
                   13309: # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
                   13310: # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
                   13311: # terminfo entry are followed with the corresponding capability in parens:
                   13312: #
                   13313: #      CSI <n>k                disable (n=0) or enable (n=1) keyclick
                   13314: #      CSI 2h                  lock keyboard
                   13315: #      CSI 2i                  send screen as input
                   13316: #      CSI 2l                  unlock keyboard
                   13317: #      CSI 6m                  enable background color intensity
                   13318: #      CSI <0-2>c              reserved
                   13319: #      CSI <0-59>m             select graphic rendition
                   13320: #      CSI <n>;<m>H    (cup)   cursor to line n and column m
                   13321: #      CSI <n>;<m>f            cursor to line n and column m
                   13322: #      CSI <n>@        (ich)   insert characters
                   13323: #      CSI <n>A        (cuu)   cursor up n lines
                   13324: #      CSI <n>B        (cud)   cursor down n lines
                   13325: #      CSI <n>C        (cuu)   cursor right n characters
                   13326: #      CSI <n>D        (cud)   cursor left n characters
                   13327: #      CSI <n>E                cursor down n lines and in first column
                   13328: #      CSI <n>F                cursor up n lines and in first column
                   13329: #      CSI <n>G        (hpa)   position cursor at column n-1
                   13330: #      CSI <n>J        (ed)    erase in display
                   13331: #      CSI <n>K        (el)    erase in line
                   13332: #      CSI <n>L        (il)    insert line(s)
                   13333: #      CSI <n>P        (dch)   delete characters
                   13334: #      CSI <n>S        (indn)  scroll up n lines
                   13335: #      CSI <n>T        (rin)   scroll down n lines
                   13336: #      CSI <n>X        (ech)   erase characters
                   13337: #      CSI <n>Z        (cbt)   back up n tab stops
                   13338: #      CSI <n>`                cursor to column n on line
                   13339: #      CSI <n>a        (cuu)   cursor right n characters
                   13340: #      CSI <n>d        (vpa)   cursor to line n
                   13341: #      CSI <n>e                cursor down n lines and in first column
                   13342: #      CSI <n>g        (cbt)   clear all tabs
                   13343: #      CSI <n>z                make virtual terminal n active
                   13344: #      CSI ?7h         (smam)  turn automargin on
                   13345: #      CSI ?7l         (rmam)  turn automargin off
                   13346: #      CSI s                   save cursor position
                   13347: #      CSI u                   restore cursor position to saved value
                   13348: #      CSI =<c>A               set overscan color
                   13349: #      CSI =<c>F               set normal foreground color
                   13350: #      CSI =<c>G               set normal background color
                   13351: #      CSI =<c>H               set reverse foreground color
                   13352: #      CSI =<c>I               set reverse foreground color
                   13353: #      CSI =<c>J               set graphic foreground color
                   13354: #      CSI =<c>K               set graphic foreground color
                   13355: #      CSI =<n>g       (dispc) display n from alternate graphics character set
                   13356: #      CSI =<p>;<d>B           set bell parameters
                   13357: #      CSI =<s>;<e>C           set cursor parameters
                   13358: #      CSI =<x>D               enable/disable intensity of background color
                   13359: #      CSI =<x>E               set/clear blink vs. bold background
                   13360: #      CSI 7           (sc)    (sc) save cursor position
                   13361: #      CSI 8           (rc)    (rc) restore cursor position to saved value
                   13362: #      CSI H           (hts)   (hts) set tab stop
                   13363: #      CSI Q<n><string>        define function key string
                   13364: #                              (string must begin and end with delimiter char)
                   13365: #      CSI c           (clear) clear screen
                   13366: #
                   13367: # The lack of any specification for attributes in SGR (among other things)
                   13368: # makes this a wretchedly weak standard. The table above is literally
                   13369: # everything iBSC2 has to say about terminal escape sequences; there is
                   13370: # no further discussion of their meaning or how to set the parameters
                   13371: # in these sequences at all.
                   13372: #
                   13373:
                   13374: ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
                   13375: #
                   13376: # The historical termcap file entries were written primarily in 4.4BSD termcap.
                   13377: # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
                   13378: # with the extension names chosen for compatibility with the termcap names
                   13379: # assigned in System V terminfo.  There are some variant extension sets out
                   13380: # there.  We try to describe them here.
                   13381: #
                   13382: # XENIX extensions:
                   13383: #
                   13384: # The XENIX extensions include a set of function-key capabilities as follows:
                   13385: #
                   13386: #       code   XENIX variable name     terminfo name   name clashes?
                   13387: #      ----    -------------------     -------------   -----------------------
                   13388: #      CL      key_char_left
                   13389: #      CR      key_char_right
                   13390: #      CW      key_change_window                       create_window
                   13391: #      EN      key_end                 kend
                   13392: #      HM      key_home                khome
                   13393: #      HP      ??
                   13394: #      LD      key_delete_line         kdl1
                   13395: #      LF      key_linefeed                            label_off
                   13396: #      NU      key_next_unlocked_cell
                   13397: #      PD      key_page_down           knp
                   13398: #      PL      ??
                   13399: #      PN      start_print             mc5
                   13400: #      PR      ??
                   13401: #      PS      stop_print              mc4
                   13402: #      PU      key_page_up             kpp             pulse
                   13403: #      RC      key_recalc                              remove_clock
                   13404: #      RF      key_toggle_ref                          req_for_input
                   13405: #      RT      key_return              kent
                   13406: #      UP      key_up_arrow            kcuu1           parm_up_cursor
                   13407: #      WL      key_word_left
                   13408: #      WR      key_word_right
                   13409: #
                   13410: # The XENIX extensions also include the following character-set and highlight
                   13411: # capabilities:
                   13412: #
                   13413: #      XENIX   terminfo        function
                   13414: #      -----   --------        ------------------------------
                   13415: #      GS      smacs           start alternate character set
                   13416: #      GE      rmacs           end alternate character set
                   13417: #      GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
                   13418: #      bo      blink           begin blink (not used in /etc/termcap)
                   13419: #      be                      end blink (not used in /etc/termcap)
                   13420: #      bb                      blink glitch  (not used in /etc/termcap)
                   13421: #      it      dim             begin dim (not used in /etc/termcap)
                   13422: #      ie                      end dim (not used in /etc/termcap)
                   13423: #      ig                      dim glitch  (not used in /etc/termcap)
                   13424: #
                   13425: # Finally, XENIX also used the following forms-drawing capabilities:
                   13426: #
                   13427: #      single  double  type             ASCII approximation
                   13428: #      ------  ------  -------------    -------------------
                   13429: #      GV      Gv      vertical line             |
                   13430: #      GH      Gv      horizontal line       -   _
                   13431: #      G1      G5      top right corner       _   |
                   13432: #      G2      G6      top left corner       |
                   13433: #      G3      G7      bottom left corner         |_
                   13434: #      G4      G8      bottom right corner   _|
                   13435: #      GD      Gd      down-tick character        T
                   13436: #      GL      Gl      left-tick character   -|
                   13437: #      GR      Gr      right-tick character       |-
                   13438: #      GC      Gc      middle intersection   -|-
                   13439: #      GU      Gu      up-tick character          _|_
                   13440: #
                   13441: # These were invented to take advantage of the IBM PC ROM character set.  One
                   13442: # can compose an acsc string from the single-width characters as follows
                   13443: #      "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
1.4       tholo    13444: # When translating a termcap file, ncurses tic will do this automatically.
1.1       tholo    13445: # The double forms characters don't fit the SVr4 terminfo model.
                   13446: #
                   13447: # AT&T Extensions:
                   13448: #
                   13449: # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
                   13450: # nonstandard capabilities.  Its signature is the KM capability, used to name
                   13451: # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
                   13452: # set.  Comments in the original, and a little cross-checking with other AT&T
                   13453: # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
                   13454: # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
                   13455: # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
                   13456: # cursor invisible), and CV=:ve: (make cursor normal).
                   13457: #
                   13458: # HP Extensions
                   13459: #
                   13460: # The HP library (as of mid-1995, their term.h file version 70.1) appears to
                   13461: # have the System V capabilities up to SVr1 level.  After that, it supports
                   13462: # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
                   13463: # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
                   13464: # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
                   13465: # HP binary format incompatible with SVr4's.
                   13466: #
                   13467: # IBM Extensions
                   13468: #
                   13469: # There is a set of nonstandard terminfos used by IBM's AIX operating system.
                   13470: # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
                   13471: # capabilities following prtr_non with the following special capabilties:
                   13472: # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
                   13473: # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
                   13474: # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
                   13475: # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
                   13476: # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
                   13477: # renamed (to kcbt and kslt).  The places in the box[12] capabilities
                   13478: # correspond to acsc chars, here is the mapping:
                   13479: #
                   13480: #      box1[0]  = ACS_ULCORNER
                   13481: #      box1[1]  = ACS_HLINE
                   13482: #      box1[2]  = ACS_URCORNER
                   13483: #      box1[3]  = ACS_VLINE
                   13484: #      box1[4]  = ACS_LRCORNER
                   13485: #      box1[5]  = ACS_LLCORNER
                   13486: #      box1[6]  = ACS_TTEE
                   13487: #      box1[7]  = ACS_RTEE
                   13488: #      box1[8]  = ACS_BTEE
                   13489: #      box1[9]  = ACS_LTEE
                   13490: #      box1[10] = ACS_PLUS
                   13491: #
                   13492: # The box2 characters are the double-line versions of these forms graphics.
                   13493: # The AIX binary terminfo format is incompatible with SVr4's.
                   13494: #
                   13495: # Iris console extensions:
                   13496: #
                   13497: # HS is half-intensity start; HE is half-intensity end
                   13498: # CT is color terminal type (for Curses & rogue)
                   13499: # CP is color change escape sequence
                   13500: # CZ are color names (for Curses & rogue)
                   13501: #
                   13502: # The ncurses tic utility recognizes HS as an alias for mh <dim>.
                   13503: #
                   13504: # TC Extensions:
                   13505: #
                   13506: # There is a set of extended termcaps associated with something
                   13507: # called the "Terminal Control" or TC package created by MainStream Systems,
                   13508: # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
                   13509: # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
                   13510: # that flags color terminals.
                   13511: #
                   13512: ######## CHANGE HISTORY
                   13513: #
                   13514: # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
                   13515: # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
                   13516: # project.
                   13517: #
                   13518: # This file contains all the capability information present in John Kunze's
                   13519: # last version of the termcap master file, except as noted in the change
                   13520: # comments at end of file.  Some information about very ancient obsolete
                   13521: # capabilities has been moved to comments.  Some all-numeric names of older
                   13522: # terminals have been retired.
                   13523: #
                   13524: # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
                   13525: # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
                   13526: # used by BSD curses.
                   13527: #
                   13528: # The 9.1.0 version of this file was translated from my lightly-edited copy of
                   13529: # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
                   13530: # the purpose.  Unless the ncurses tic implementation and the Lisp code were
                   13531: # making perfectly synchronized mistakes which I then failed to catch by
                   13532: # eyeball, the translation was correct and perfectly information-preserving.
                   13533: #
1.4       tholo    13534: # Major version number bumps correspond to major version changes in ncurses.
                   13535: #
1.1       tholo    13536: # Here is a log of the changes since then:
                   13537: #
                   13538: # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
                   13539: #      * First terminfo master translated from 8.3.
                   13540: # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
                   13541: #      * Replaced Wyse entries with updated entries supplied by vendor.
                   13542: #
                   13543: # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
                   13544: #      * Added contact & status info from G. Clark Brown <clark@sssi.com>.
                   13545: # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
                   13546: #      * Better XENIX keycap translation.  Describe TC termcaps.
                   13547: #      * Contact and history info supplied by Qume.
                   13548: # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
                   13549: #      * Raided the Shuford FTP site for recent termcaps/terminfos.
                   13550: #      * Added information on X3.64 and VT100 standard escape sequences.
                   13551: # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
                   13552: #      * Added a correct X11R6 xterm entry.
                   13553: #      * Fixed terminfo translations of padding.
                   13554: # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
                   13555: #      * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
                   13556: #      * Added u6/u7/u8/u9 capabilities.
                   13557: #      * Added PCVT entry.
                   13558: # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
                   13559: #      * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
                   13560: #        to use reverse-video standout so Emacs will look right.
                   13561: #      * Added el1 capability to ansi.
                   13562: #      * Added smacs/rmacs to ansi.sys.
                   13563: #
                   13564: # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
                   13565: #      * New mt70 entry.
                   13566: #      * Added COPYRIGHTS AND OTHER DELUSIONS.
                   13567: #      * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
                   13568: #        smartvid & smarterm, ampex 175 & 219 & 232,
                   13569: #        env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
                   13570: #        ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
                   13571: #        screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
                   13572: #        adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
                   13573: #      * Replaced the Perkin-Elmer entries with vendor's official ones.
                   13574: #      * Restored the old minimal-ansi entry, luna needs it.
                   13575: #      * Fixed some incorrect ip and proportional-padding translations.
                   13576: # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
                   13577: #      * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
                   13578: #      * Make the xterm entry 65 lines again; create xterm25 and xterm24
                   13579: #        to force a particular height.
                   13580: #      * Added beehive4 and reorganized other Harris entries.
                   13581: # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
                   13582: #      * Merged in DEC's official entries for its terminals.  The only old
                   13583: #        entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
                   13584: #      * Replaced the translated BBN Bitgraph entries with purpose-built
                   13585: #        ones from AT&T's SVr3.
                   13586: #      * Replaced the AT&T entries with AT&T's official terminfos.
                   13587: #      * Added teleray 16, vc415, cops10.
                   13588: #      * Merged in many individual capabilities from SCO terminfo files.
                   13589: # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
                   13590: #      * Typo fixes.
                   13591: #      * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
                   13592: # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
                   13593: #      * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
                   13594: #        pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
                   13595: #        simterm, citoh and variants.
                   13596: #      * Replaced sol entry with sol1 and sol2.
                   13597: #      * Replaced Qume QVT and Freedom-series entries with purpose-built
                   13598: #        terminfo entries.
                   13599: #      * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
                   13600: #        and dg200 entries using caps from from SCO.
                   13601: #      * Added the usual set of function-key mappings to ANSI entry.
                   13602: #      * Corrected xterm's function-key capabilities.
                   13603: # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
                   13604: #      * Fix in xterm entry, cub and cud are not reliable under X11R6.
                   13605: # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
                   13606: #      * Fix in xterm entry, get the arrow keys right.
                   13607: #      * Change some \0 escapes to \200.
                   13608: # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
                   13609: #      * Added apple (Videx card), adm1a, oadm31.
                   13610: #      * Fixed malformed ampex csr.
                   13611: #      * Fixed act4, cyb110; they had old-style prefix padding left in.
                   13612: #      * Changed mandatory to advisory padding in many entries.
                   13613: #      * Replaced HP entries up to hpsub with purpose-built ones.
                   13614: #      * Blank rmir/smir/rmdc/smdc capabilities removed.
                   13615: #      * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
                   13616: # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
                   13617: #      * Replaced the Ann Arbor entries with SCO's, the init strings are
                   13618: #        more efficient (but the entries otherwise identical).
                   13619: #      * Added dg211 from Shuford archive.
                   13620: #      * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
                   13621: #        adm42-nl, pc52, gs6300, xerox820, uts30.
                   13622: #      * Pull SCO's padding into vi200 entry.
                   13623: #      * Improved capabilities for tvi4107 and other Televideo and Viewpoint
                   13624: #        entries merged in from SCO's descriptions.
                   13625: #      * Fixed old-style prefix padding on zen50, h1500.
                   13626: #      * Moved old superbee entry to superbee-xsb, pulled in new superbee
                   13627: #        entry from SCO's description.
                   13628: #      * Reorganized the special entries.
                   13629: #      * Added lm#0 to cbunix and virtual entries.
                   13630: #
                   13631: # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
                   13632: #      * Restored cdc456tst.
                   13633: #      * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
                   13634: #      * Added megatek, beacon, microkit.
                   13635: #      * Freeze for ncurses-1.9 release.
                   13636: # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
                   13637: #      * Added historical data for TAB.
                   13638: #      * Comment fixes from David MacKenzie.
                   13639: #      * Added the new BSDI pc3 entry.
                   13640: # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
                   13641: #      * A change in the tic -C logic now ensures that all entries in
                   13642: #        the termcap translation will fit in < 1024 bytes.
                   13643: #      * Added `bobcat' and `gator' HP consoles and the Nu machine entries
                   13644: #        from GNU termcap file.  This merges in all their local information.
                   13645: # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
                   13646: #      * Changed tic -C logic to dump all capabilities used by GNU termcap.
                   13647: #      * Added warnings about entries with long translations (restoring
                   13648: #        all the GNU termcaps pushes a few over the edge).
                   13649: # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
                   13650: #      * Yet another tic change, and a couple of entry tweaks, to reduce the
                   13651: #        number of long (> 1024) termcap translations back to 0.
                   13652: #
                   13653: # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
                   13654: #      * Added kf13-kf20 to Linux entry.
                   13655: #      * Regularize Prime terminal names.
                   13656: #      * Historical data on Synertek.
                   13657: #      * Freeze for ncurses-1.9.1.
                   13658: # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
                   13659: #      * Added true xterm-color entry, renamed djm's pseudo-color entry.
                   13660: #      * Eliminate whitespace in short name fields, this tanks some scripts.
                   13661: #      * Name field changes to shorten some long entries.
                   13662: #      * Termcap translation now automatically generates empty rmir/smir
                   13663: #        when ich1/ich is present (copes with an ancient vi bug).
                   13664: #      * Added `screen' entries from FSF's screen-3.6.2.
                   13665: #      * Added linux-nic and xterm-nic entries.
                   13666: # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
                   13667: #      * Change linux entry to use smacs=\E[11m and have an explicit acsc,
                   13668: #        eliminating some special-case code in ncurses.
                   13669: #
                   13670: # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
                   13671: #      * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
                   13672: #        that captures everything unique from it.
                   13673: #      * Added reorder script generator.
                   13674: #      * Freeze for ncurses 1.9.2 release.
                   13675: # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
                   13676: #      * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
                   13677: #      * Added Olaf Siebert's corrections for adm12.
                   13678: #      * ansi-pc-color now includes the colors and pairs caps, so that
                   13679: #        entries which use it will inherit them automatically.
                   13680: #      * The linux entry can now recognize the center (keypad 5) key.
                   13681: #      * Removed some junk that found its way into Linux acsc.
                   13682: #
                   13683: # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
                   13684: #      * Add 50% cut mark as a desperate hack to reduce tic's core usage.
                   13685: #      * xterm doesn't try to use application keypad mode any more.
                   13686: #      * Freeze for ncurses-1.9.3 release.
                   13687: # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
                   13688: #      * Added corrected sun entry from vendor.
                   13689: #      * Added csr capability to linux entry.
                   13690: #      * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
                   13691: #      * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
                   13692: #      * Some commented-out caps in long entries come back in, my code
                   13693: #        for computing string-table lengths had a bug in it.
                   13694: #      * pcansi series modified to fit comm-program reality better.
                   13695: # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
                   13696: #      * BSD/OS actually ships the ibmpc3 bold entry as its console.
                   13697: #      * Correct some bad aliases in the pcansi series
                   13698: #      * Added entry for QNX console.
                   13699: #      * Clean up duplicate long names for use with 4.4 library.
                   13700: #      * Change vt100 standout to be normal reverse vide, not bright reverse;
                   13701: #        this makes the Emacs status line look better.
                   13702: # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
                   13703: #      * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
                   13704: #      * Minor surgery, mostly on name strings, to shorten termcap version.
                   13705: #
                   13706: # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
                   13707: #      * Added dec-vt100 for use with the EWAN emulator.
                   13708: #      * Added kmous to xterm for use with xterm's mouse-tracking facility.
                   13709: #      * Freeze for 1.9.5 alpha release.
                   13710: # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
                   13711: #      * Changed xterm lines to 24, the X11R6 default.
                   13712: # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
                   13713: #      * Added 7 newly discovered, undocumented acsc characters to linux
                   13714: #        entry (the pryz{|} characters).
                   13715: #      * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
                   13716: #      * Correct two typos in the xterm entries introduced in 9.9.1.
                   13717: #      * I finally figured out how to translate ko capabilities.  Done.
                   13718: #      * Added tvi921 entries from Tim Theisen.
                   13719: #      * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
                   13720: #      * Removed mystery tec entry, it was neither interesting nor useful.
                   13721: #      * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
                   13722: #        vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
                   13723: #        trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
                   13724: #        by making them relative to use capabilities
                   13725: #      * Added cuf1=^L to tvi925 from deleted variant tvi925a.
                   13726: #      * fixed cup in adm22 entry and parametrized strings in vt320-k3.
                   13727: #      * added it#8 to entries that used to have :pt: -- tvi912, vi200,
                   13728: #        ampex80,
                   13729: #      * Translate all home=\E[;H capabilities to home=\E[H, they're
                   13730: #        equivalent.
                   13731: #      * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
                   13732: #        vt100 and ANSI-like terminals.
                   13733: # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
                   13734: #      * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
                   13735: #        does this now, too.
                   13736: #      * fviewpoint is gone, it duplicated screwpoint.
                   13737: #      * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
                   13738: #        ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
                   13739: #        versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
                   13740: #        The UW vi50 replaces the old one, which becomes vi50adm,
                   13741: #      * No more embedded commas in name fields.
                   13742: #
                   13743: # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
                   13744: #      * XENIX forms characters in fos, trs16, scoansi become acsc strings,
                   13745: #      * Introduced klone+* entries for describing Intel-console behavior.
                   13746: #      * Linux kbs is default-mapped to delete for some brain-dead reason.
                   13747: #      * -nsl -> -ns.  The -pp syntax is obsolete.
                   13748: #      * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
                   13749: #      * Make xterm entry do application-keypad mode again.  I got complaints
                   13750: #        that it was messing up someone's 3270 emulator.
                   13751: #      * Added some longname fields in order to avoid warning messages from
                   13752: #        older tic implementations.
                   13753: #      * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
                   13754: #        it! (This gives us pi, greater than, less than, and a few more.)
                   13755: #      * Freeze for ncurses-1.9.6 release.
                   13756: # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
                   13757: #      * Add xon to a number of console entries, they're memory-mapped and
                   13758: #        don't need padding.
                   13759: #      * Correct the use dependencies in the ansi series.
                   13760: #      * Hand-translate more XENIX capabilities.
                   13761: #      * Added hpterm entry for HP's X terminal emulator.
                   13762: #      * Added aixterm entries.
                   13763: #      * Shortened four names so everything fits in 14 chars.
                   13764: #
                   13765: # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
                   13766: #      * Added ibcs2 entry and info on iBCS2 standard.
                   13767: #      * Corrected hpa/vpa in linux entry.  They still fail the worm test.
                   13768: #      * We can handle the HP meml/memu capability now.
                   13769: #      * Added smacs to klone entries, just as documentation.
                   13770: #      * Carrected ansi.sys and cit-500 entries.
                   13771: #      * Added z39, vt320-k311, v220c, and avatar entries.
                   13772: #      * Make pcansi use the ansi.sys invis capability.
                   13773: #      * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
                   13774: #        tvi925, tvi950, dt80, ncr7900i, h19.
                   13775: #      * X3.64 has been withdrawn, change some references.
                   13776: #      * Removed function keys from ansi-m entry.
                   13777: #      * Corrected ansi.sys entry.
                   13778: #      * Freeze for ncurses-1.9.7 release.
                   13779: # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
                   13780: #      * Added rmam/smam capabilities to many entries based on init strings.
                   13781: #      * Added correct hpa/vpa to linux.
                   13782: #      * Reduced several entries relative to vt52.
                   13783: # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
                   13784: #      * Exiled some utterly unidentifiable custom and homebrew types to the
                   13785: #        UFO file; also, obsolete small-screen hardware; also, entries which
                   13786: #        look flat-out incorrect, garbled, or redundant.  These include the
                   13787: #        following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
                   13788: #        tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
                   13789: #        apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
                   13790: #        fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
                   13791: #        yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
                   13792: #        vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
                   13793: #        trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
                   13794: #        att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
                   13795: #        tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
                   13796: #        c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
                   13797: #        regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
                   13798: #        vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
                   13799: #        vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
                   13800: #      * Corrected pcvt25h as suggested by Brian C. Grayson
                   13801: #        <bgrayson@pine.ece.utexas.edu>.
                   13802: # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
                   13803: #      * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
                   13804: #      * Added kent=\EOM to xterm entry.
                   13805: #
                   13806: # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
                   13807: #      * Corrected gigi entry.
                   13808: #      * Restored cuf/cud1 to xterm, their apparent bugginess was due to
                   13809: #        bad hpa/vpa capabilities.
                   13810: #      * Corrected flash strings to have a uniform delay of .2 sec.  No
                   13811: #        more speed-dependent NUL-padding!
                   13812: #      * terminfo capabilities in comments bracketed with <>.
                   13813: # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
                   13814: #      * Replaced pcvt with the 3.31 pcvt entries.
                   13815: #      * Freeze for 1.9.7a.
                   13816: # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
                   13817: #      * Added emu entry from the X11R6 contrib tape sources.
                   13818: #
                   13819: # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
                   13820: #      * Improved iris-ansi and sun entries.
                   13821: #      * More flash string improvements.
                   13822: #      * Corrected wy160 & wy160 as suggested by Robert Dunn
                   13823: #      * Added dim to at386.
                   13824: #      * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
                   13825: #        he's ready to start using the termcap generated from this one.
                   13826: #      * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
                   13827: #        ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
                   13828: #      * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
                   13829: #        att610, att620, att630,
                   13830: #      * Changed hazeltine name prefix from h to hz.
                   13831: #      * Sent t500 to the UFI file.
                   13832: #      * I think we've sucked all the juice out of BSDI's termcap file now.
                   13833: #      * Freeze for ncurses 1.9.8 release
                   13834: # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
                   13835: #      * Unfreeze, linux kbs needed to be fixed.
                   13836: #      * Tim Theisen pinned down a bug in the DMD firmware.
                   13837: # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
                   13838: #      * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
                   13839: #        (The broken ones had been shadowed by sgr.)
                   13840: # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
                   13841: #      * Added documentation on ECMA-48 standard.
                   13842: #      * New Amiga entry.
                   13843: # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
                   13844: #      * More ECMA-48 stuff
                   13845: #      * Corrected typo in minix entry, added pc-minix.
                   13846: #      * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
                   13847: #      * Added rxvt entry.
                   13848: #      * Added 1.3.x color-change capabilities to linux entry.
                   13849: # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
                   13850: #      * Corrected rxvt entry khome/kend.
                   13851: #      * Corrected linux color change capabilities.
                   13852: #      * NeXT entries from Dave Wetzel.
                   13853: #      * Cleaned up if and rf file names (all in /usr/share now).
                   13854: #      * Changed linux op capability to avoid screwing up a background color
                   13855: #        pair set by setterm.
                   13856: # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
                   13857: #      * Added xterm-sun.
                   13858: # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
                   13859: #      * Added visa50.
                   13860: #
                   13861: # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
                   13862: #      * Another sweep through the Shuford archive looking for new info.
                   13863: #      * Added dg100 alias to dg6053 based on a comp.terminals posting.
                   13864: #      * Added st52 from Per Persson.
                   13865: #      * Added eterm from the GNU Emacs 19.30 distribution.
                   13866: #      * Freeze for 1.9.9.
                   13867: # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
                   13868: #      * FreeBSD console entries from Andrew Chernov.
                   13869: #      * Removed duplicate Atari st52 name.
                   13870: # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
                   13871: #      * xterm doesn't actually have ACS_BLOCK.
                   13872: #      * Change klone+color setf/setb to simpler forms that can be
                   13873: #        translated into termcap.
                   13874: #      * Added xterm1.
                   13875: #      * Removed mechanically-generated junk capabilities from cons* entries.
                   13876: #      * Added color support to bsdos.
                   13877: # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
                   13878: #      * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
                   13879: #      * Created ecma+color, linux can use it.  Also added ech to linux.
                   13880: #      * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
                   13881: #      * Add descriptions to FreeBSD console entries.  Also shorten
                   13882: #        some aliases to <= 14 chars for portability.
                   13883: #      * Added x68k console
                   13884: #      * Added OTbs to several VT-series entries.
                   13885: # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
                   13886: #      * screen entry update for 3.7.1 from Michael Alan Dorfman.
                   13887: # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
                   13888: #      * kterm correction due to Kenji Rikitake.
                   13889: #      * ACS correction in vt320-kll due to Phillippe De Muyter.
                   13890: # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
                   13891: #      * Sun console entry correction from J.T. Conklin.
                   13892: #      * Changed all DEC VT300 and up terminals to use VT300 tab set
                   13893: # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
                   13894: #      * Added smul to linux entry (we never noticed it was missing
                   13895: #        because of sgr!).
                   13896: #      * Added rmln to hp+labels (deduced from other HP entries).
                   13897: #      * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
                   13898: #        pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
                   13899: #      * Corrected vt220 acsc.
                   13900: #      * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
                   13901: #        this corresponds to reality and helps prevent some tic warnings.
                   13902: #      * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
                   13903: #        hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
                   13904: #        adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
                   13905: #        qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
                   13906: #        wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
                   13907: #        adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
                   13908: #        f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
                   13909: #        owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
                   13910: #        lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
                   13911: #        dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
                   13912: #        ifmr, v3220, wy100q, tandem653, ibmaed.
                   13913: #      * Added DWK terminal description.
1.4       tholo    13914: # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
1.1       tholo    13915: #      * Many entries now have highlights inherited from adm+sgr.
                   13916: #      * xterm entry now corresponds to XFree86 3.1.2E, with color.
                   13917: #      * xtitle and xtitle-twm enable access to the X status line.
                   13918: #      * Added linux-1.3.6 color palette caps in conventional format.
                   13919: #      * Added adm1178 terminal.
                   13920: #      * Move fos and apollo terminals to obsolete category.
                   13921: #      * Aha! The BRL terminals file told us what the Iris extensions mean.
                   13922: #      * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
                   13923: #        commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
1.4       tholo    13924: #        cit500, adm11.
                   13925: # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
                   13926: #      * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
                   13927: #        aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
                   13928: #      * Corrected, from BRL termcap file: vi50.
                   13929: #      * Better rxvt entry & corrected xterm entries from Thomas Dickey.
                   13930: # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
                   13931: #      * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
                   13932: #        att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
                   13933: #        (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
                   13934: #        tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
                   13935: #        apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
                   13936: #      * Paired-attribute fixes to various terminals.
                   13937: #      * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
                   13938: #      * xterm entry corrections from Thomas Dickey.
                   13939: # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
                   13940: #      * Added t916 entry, translated from a termcap in SCO's support area.
                   13941: #      * New qnx entry from Michael Hunter.
                   13942: # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
                   13943: #      * Added hpex2 from Ville Sulko.
                   13944: #      * Fixed a bug that ran the qnx and pcvtXX together.
                   13945: # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
                   13946: #      * Added dtterm entry from Solaris CDE.
                   13947: # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
                   13948: #      * corrected pairs#8 typo in dtterm entry.
                   13949: #      * added tvi9065.
                   13950: # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
                   13951: #      * updated xterm entry to cover 3.1.2E's new features.
                   13952: # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
                   13953: #      * Added new minix entry
                   13954: #      * Removed aliases of the form ^[0-9]* for obsolete terminals.
                   13955: #      * Commented out linux-old, nobody's using pre-1.2 kernels now.
                   13956: # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
                   13957: #      * Added Prism entries and kt7ix.
                   13958: #      * Caution notes about EWAN and tabset files.
                   13959: #      * Changed /usr/lib/tabset -> /usr/share/tabset.
                   13960: #      * Added acsc/rmacs/smacs to vt52.
                   13961: # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
                   13962: #      * Merged in Thomas Dickey's reorganization of the xterm entries;
                   13963: #        added technical corrections to avoid warning messages.
                   13964: # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
                   13965: #      * Added rmso=\E[27m in Linux entry.
                   13966: #      * Added koi8-r support for Linux console.
                   13967: #      * Replace xterm entries with canonical ones from XFree86 3.2.
                   13968: # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
                   13969: #      * Added color_xterm from Jacob Mandelson
                   13970: # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
                   13971: #      * Back off the xterm entry to use r6 as a base.
                   13972: # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
                   13973: #      * Added dec-vt220 at Adrian Garside's request.
                   13974: # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
                   13975: #      * Replaced minitel-2 entry.
                   13976: #      * Added MGR, ansi-nt.
                   13977: #      * Minor corrections to xterm entries.
                   13978: #      * Replaced EWAN telnet entry.
                   13979: #      * Dropped the reorder script generator.  It was a fossil.
                   13980: # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
                   13981: #      * Thorsten Lockert added termcap `bs' to a lot of types, working from
                   13982: #        the 4.4BSD Lite2 file.
1.1       tholo    13983: #
                   13984: # The following sets edit modes for GNU EMACS
                   13985: # Local Variables:
                   13986: # fill-prefix:"\t"
                   13987: # fill-column:75
                   13988: # End:
                   13989: ######## SHANTIH!  SHANTIH!  SHANTIH!