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

Annotation of src/share/termcap/termcap.src, Revision 1.6

1.6     ! etheisen    1: #      $OpenBSD: termcap.src,v 1.5 1996/07/14 08:33:27 tholo Exp $
1.2       deraadt     2: ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
1.1       deraadt     3: #
1.5       tholo       4: #      Version 9.13.8
1.1       deraadt     5: #      termcap syntax
                      6: #
                      7: #      Eric S. Raymond         (current maintainer)
                      8: #      John Kunze, Berkeley
                      9: #      Craig Leres, Berkeley
                     10: #
                     11: # Please e-mail changes to terminfo@ccil.org.  The old termcap@berkeley.edu
                     12: # address is no longer valid.
                     13: #
                     14: # PURPOSE OF THIS FILE:
                     15: #
                     16: # This file describes the capabilities of various character-cell terminals,
                     17: # as needed by software such as screen-oriented editors.
                     18: #
1.2       deraadt    19: # Other terminfo and termcap files exist, supported by various OS vendors
                     20: # or as relics of various older versions of UNIX.  This one is the longest
                     21: # and most comprehensive one in existence.  It subsumes not only the entirety
                     22: # of the historical 4.4BSD, GNU, System V and SCO termcap files, but also large
                     23: # numbers of vendor-maintained termcap and terminfo entries more complete
                     24: # and carefully tested than those in historical termcap/terminfo versions.
                     25: #
1.1       deraadt    26: # Pointers to related resources (including the ncurses distribution) may
1.5       tholo      27: # be found at <http://www.ccil.org/terminfo>.
1.1       deraadt    28: #
1.2       deraadt    29: # INTERNATIONALIZATION:
                     30: #
                     31: # This file assumes a US-ASCII character set. If you need to fix this, start
                     32: # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
                     33: # for your character set.  \E(A and \E)A enables the British character set
1.5       tholo      34: # with the pound sign at position 2/3.
                     35: #
                     36: # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
                     37: # C1 characters are considered the first-byte set of the Japanese encodings,
                     38: # so \E)0 should be avoided in <enacs> and initialization strings.
1.2       deraadt    39: #
1.1       deraadt    40: # FILE FORMAT:
                     41: #
                     42: # The version you are looking at may be in any of three formats: master
                     43: # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
                     44: # which by the format given in the header above.
                     45: #
                     46: # The master format is accepted and generated by the terminfo tools in the
                     47: # ncurses suite; it differs from stock (System V-compatible) terminfo only
                     48: # in that it admits a group of capabilities (prefixed `OT') equivalent to
                     49: # various obsolete termcap capabilities.  You can, thus, convert from master
                     50: # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
1.5       tholo      51: # you have ncurses `tic -I' is nicer (among other things, it automatically
                     52: # outputs entries in a canonical form).
1.1       deraadt    53: #
                     54: # The termcap version is generated automatically from the master version
                     55: # using tic -C.  This filtering leaves in the OT capabilities under their
1.5       tholo      56: # original termcap names.  All translated entries fit within the 1023-byte
                     57: # string-table limit of archaic termcap libraries except where explicitly
                     58: # noted below.  Note that the termcap translation assumes that your termcap
                     59: # library can handle multiple tc capabilities in an entry. 4.4BSD has this
                     60: # capability.  Older versions of GNU termcap, through 1.3, do not.
1.1       deraadt    61: #
                     62: # For details on these formats, see terminfo(5) in the ncurses distribution,
                     63: # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
                     64: # curses has been declared obsolete by the caretakers of the 4.4BSD sources
                     65: # as of June 1995; they are encouraging everyone to migrate to ncurses.
                     66: #
                     67: # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
                     68: # no entry in this file has embedded comments.  This is so source translation
                     69: # to termcap only has to carry over leading comments.  Also, no name field
                     70: # contains embedded whitespace (such whitespace confuses rdist).
                     71: #
                     72: # Further note: older versions of this file were often installed with an editor
                     73: # script (reorder) that moved the most common terminal types to the front of
                     74: # the file.  This should no longer be necessary, as the file is now ordered
                     75: # roughly by type frequency with ANSI/VT100 and other common types up front.
                     76: #
                     77: # Some information has been merged in from terminfo files distributed by
                     78: # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
                     79: # comes from vendors who maintain official terminfos for their hardware
                     80: # (notably DEC and Wyse).
                     81: #
                     82: # A detailed change history is included at the end of this file.
                     83: #
                     84: # FILE ORGANIZATION:
                     85: #
                     86: # Comments in this file begin with # - they cannot appear in the middle
                     87: # of a terminfo/termcap entry.  Individual capabilities are commented out by
                     88: # placing a period between the colon and the capability name.
                     89: #
1.2       deraadt    90: # The file is divided up into major sections (headed by lines beginning with
                     91: # the string "########") and minor sections (beginning with "####"); do
1.1       deraadt    92: #
                     93: #      grep "^####" <file> | more
                     94: #
                     95: # to see a listing of section headings.  The intent of the divisions is
                     96: # (a) to make it easier to find things, and (b) to order the database so
                     97: # that important and frequently-encountered terminal types are near the
                     98: # front (so that you'll get reasonable search efficiency even if you don't
                     99: # use reorder).  Minor sections usually correspond to manufacturers or
                    100: # standard terminal classes.  Parenthesized words following manufacturer
                    101: # names are type prefixes or product line names used by that manufacturers.
                    102: #
                    103: # HOW TO READ THE ENTRIES:
                    104: #
                    105: # The first name in an entry is the canonical name for the model or
                    106: # type, last entry is a verbose description.  Others are mnemonic synonyms for
                    107: # the terminal.
                    108: #
                    109: # Terminal names look like <manufacturer> <model> - <modes/options>
                    110: # The part to the left of the dash, if a dash is present, describes the
                    111: # particular hardware of the terminal.  The part to the right may be used
                    112: # for flags indicating special ROMs, extra memory, particular terminal modes,
                    113: # or user preferences.
                    114: #
                    115: # All names should be in lower case, for consistency in typing.
                    116: #
                    117: # The following are conventionally used suffixes:
1.2       deraadt   118: #      -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
                    119: #      -am     Enable auto-margin.
                    120: #      -m      Monochrome.  Suppress color support
                    121: #      -mc     Magic-cookie.  Some terminals (notably older Wyses) can
1.1       deraadt   122: #              only support one attribute without magic-cookie lossage.
                    123: #              Their base entry is usually paired with another that
                    124: #              uses magic cookies to support multiple attributes.
1.2       deraadt   125: #      -na     No arrow keys - termcap ignores arrow keys which are
                    126: #              actually there on the terminal, so the user can use
                    127: #              the arrow keys locally.
1.5       tholo     128: #      -nam    No auto-margin - suppress :am: capability
1.2       deraadt   129: #      -nl     No labels - suppress soft labels
                    130: #      -ns     No status line - suppress status line
                    131: #      -rv     Terminal in reverse video mode (black on white)
                    132: #      -s      Enable status line.
1.5       tholo     133: #      -vb     Use visible bell (:vb:) rather than :bl:.
1.2       deraadt   134: #      -w      Wide - in 132 column mode.
                    135: # If a name has multiple suffixes and one is a line height, that one should
                    136: # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv'.
                    137: #
                    138: # Entries with embedded plus signs are designed to be included through use/tc
                    139: # capabilities, not used as standalone entries.
1.1       deraadt   140: #
                    141: # To avoid search clashes, some older all-numeric names for terminals have
                    142: # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
                    143: # All primary names of terminals now have alphanumeric prefixes.
                    144: #
                    145: # Comments marked "esr" are mostly results of applying the termcap-compiler
                    146: # code packaged with ncurses and contemplating the resulting error messages.
                    147: # In many cases, these indicated obvious fixes to syntax garbled by the
                    148: # composers.  In a few cases, I was able to deduce corrected forms for garbled
                    149: # capabilities by looking at context.  All the information in the original
                    150: # entries is preserved in the comments.
                    151: #
1.2       deraadt   152: # In the comments, terminfo capability names are bracketed with <> (angle
                    153: # brackets).  Termcap capability names are bracketed with :: (colons).
1.1       deraadt   154: #
                    155: # INTERPRETATION OF USER CAPABILITIES
                    156: #
                    157: # The System V Release 4 and XPG4 terminfo format defines ten string
1.2       deraadt   158: # capabilities for use by applications, <u0>...<u9>.   In this file, we use
1.1       deraadt   159: # certain of these capabilities to describe functions which are not covered
                    160: # by terminfo.  The mapping is as follows:
                    161: #
1.3       deraadt   162: #      u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
1.1       deraadt   163: #      u8      terminal answerback description
1.3       deraadt   164: #      u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
                    165: #      u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
1.1       deraadt   166: #
1.2       deraadt   167: # The terminal enquire string <u9> should elicit an answerback response
                    168: # from the terminal.  Common values for <u9> will be ^E (on older ASCII
1.3       deraadt   169: # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
1.1       deraadt   170: #
1.2       deraadt   171: # The cursor position request (<u7>) string should elicit a cursor position
1.3       deraadt   172: # report.  A typical value (for VT100 terminals) is \E[6n.
1.1       deraadt   173: #
                    174: # The terminal answerback description (u8) must consist of an expected
                    175: # answerback string.  The string may contain the following scanf(3)-like
                    176: # escapes:
                    177: #
                    178: #      %c      Accept any character
                    179: #      %[...]  Accept any number of characters in the given set
                    180: #
1.2       deraadt   181: # The cursor position report (<u6>) string must contain two scanf(3)-style
1.1       deraadt   182: # %d format elements.  The first of these must correspond to the Y coordinate
1.2       deraadt   183: # and the second to the %d.  If the string contains the sequence %i, it is
                    184: # taken as an instruction to decrement each value after reading it (this is
                    185: # the inverse sense from the cup string).  The typical CPR value is
1.3       deraadt   186: # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
1.1       deraadt   187: #
                    188: # These capabilities are used by tac(1m), the terminfo action checker soon
                    189: # to be distributed with ncurses.
                    190: #
                    191: # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:
                    192: #
1.3       deraadt   193: # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
                    194: # character-cell terminals are increasingly replaced by X displays, much of
                    195: # this file is becoming a historical document (this is part of the reason for
                    196: # the new organization, which puts ANSI types, xterm, and vt100 up front in
1.1       deraadt   197: # confidence that this will catch 95% of new hardware).
                    198: #
                    199: # For the terminal types still alive, I'd like to have manufacturer's
                    200: # contact data (Internet address and/or snail-mail + phone).
                    201: #
                    202: # I'm also interested in enriching the comments so that the latter portions of
                    203: # the file do in fact become a potted history of VDT technology as seen by
                    204: # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
                    205: # include its live/dead/out-of-the-business status, and for as many
                    206: # terminal types as possible to be tagged with information like years
                    207: # of heaviest use, popularity, and interesting features.
                    208: #
                    209: # I'm especially interested in identifying the obscure entries listed under
1.5       tholo     210: # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
                    211: # wisdom about them gets lost.  If you know a lot about obscure old terminals,
                    212: # please go to the terminfo resource page, grab the file ufo.ti, and eyeball
                    213: # it for things you can identify.
1.1       deraadt   214: #
                    215: # If you have been around long enough to contribute, please read the file
                    216: # with this in mind and send me your annotations.
                    217: #
                    218: # COPYRIGHTS AND OTHER DELUSIONS
                    219: #
                    220: # The BSD ancestor of this file had a standard Regents of the University of
                    221: # California copyright with dates from 1980 to 1993.
                    222: #
                    223: # Some information has been merged in from a terminfo file SCO distributes.
                    224: # It has an obnoxious boilerplate copyright which I'm ignoring because they
                    225: # took so much of the content from the ancestral BSD versions of this file
                    226: # and didn't attribute it, thereby violating the BSD Regents' copyright.
                    227: #
                    228: # Not that anyone should care.  However many valid functions copyrights may
                    229: # serve, putting one on a termcap/terminfo file with hundreds of anonymous
                    230: # contributors makes about as much sense as copyrighting a wall-full of
                    231: # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
                    232: #
                    233: # This file deliberately has no copyright.  It belongs to no one and everyone.
                    234: # If you claim you own it, you will merely succeed in looking like a fool.
                    235: # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
                    236: # There are no guarantees anywhere.  Svaha!
                    237:
                    238: ######## STANDARD AND SPECIAL TYPES
                    239: #
                    240: # This section describes terminal classes and maker brands that are still
                    241: # quite common.
                    242: #
                    243:
                    244: #### Specials
                    245: #
                    246: # Special "terminals".  These are used to label tty lines when you don't
                    247: # know what kind of terminal is on it.  The characteristics of an unknown
                    248: # terminal are the lowest common denominator - they look about like a ti 700.
                    249: #
                    250:
1.2       deraadt   251: dumb|80-column dumb tty:\
1.1       deraadt   252:        :am:\
                    253:        :co#80:\
                    254:        :bl=^G:cr=^M:do=^J:sf=^J:
1.2       deraadt   255: unknown|unknown terminal type:\
1.3       deraadt   256:        :gn:tc=dumb:
1.2       deraadt   257: lpr|printer|line printer:\
1.1       deraadt   258:        :hc:os:\
                    259:        :co#132:li#66:\
                    260:        :bl=^G:cr=^M:do=^J:ff=^L:le=^H:sf=^J:
1.5       tholo     261: glasstty|classic glass tty interpreting ASCII control characters:\
                    262:        :am:\
                    263:        :co#80:\
                    264:        :bl=^G:cl=^L:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:\
                    265:        :ta=^I:
1.1       deraadt   266:
1.3       deraadt   267: #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
1.2       deraadt   268: #
                    269: # See the end-of-file comment for more on these.
                    270: #
                    271:
                    272: # The IBM PC alternate character set.  Plug this into any Intel console entry.
                    273: # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
                    274: # ROM graphics for control characters such as the diamond, up- and down-arrow.
                    275: # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
                    276: # will work with any Intel console, they all seem to have inherited \E[11m
                    277: # from the ANSI.SYS de-facto standard.
                    278: klone+acs|alternate character set for ansi.sys displays:\
1.3       deraadt   279:        :ac=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\054\021+^P0\333p\304r\304y\363z\362{\343|\330}\234:\
1.2       deraadt   280:        :ae=\E[10m:as=\E[11m:
                    281:
                    282: # Highlight controls corresponding to the ANSI.SYS standard.  Most
                    283: # console drivers for Intel boxes obey these.  Makes the same assumption
1.5       tholo     284: # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have :se=\E[27m:,
                    285: # :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.
1.2       deraadt   286: klone+sgr|attribute control for ansi.sys displays:\
1.5       tholo     287:        :S2=\E[11m:S3=\E[10m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
                    288:        :mk=\E[8m:mr=\E[7m:\
1.2       deraadt   289:        :..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
1.5       tholo     290:        :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
                    291:        :tc=klone+acs:
1.2       deraadt   292:
                    293: # Highlight controls corresponding to the ANSI.SYS standard.  *All*
                    294: # console drivers for Intel boxes obey these.  Does not assume \E[11m will
                    295: # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
                    296: # diamond and arrow characters under curses.
                    297: klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m):\
1.5       tholo     298:        :as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
                    299:        :mr=\E[7m:\
1.2       deraadt   300:        :..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
1.5       tholo     301:        :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
                    302:        :tc=klone+acs:
1.2       deraadt   303:
                    304: # ANSI.SYS color control.  The setb/setf caps depend on the coincidence
                    305: # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
                    306: # but equivalent strings that don't rely on that coincidence:
                    307: # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    308: # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    309: # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
1.5       tholo     310: # They match a subset of ECMA-48.
1.2       deraadt   311: klone+color|color control for ansi.sys and ISO6429-compatible displays:\
1.3       deraadt   312:        :Co#8:NC#3:pa#64:\
1.5       tholo     313:        :Sb=\E[4%dm:Sf=\E[3%dm:op=\E[37;40m:
                    314:
                    315: # This is better than klone+color, it doesn't assume white-on-black as the
                    316: # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
                    317: ecma+color|color control for ECMA-48-compatible terminals:\
                    318:        :Co#8:NC#3:pa#64:\
                    319:        :Sb=\E[4%dm:Sf=\E[3%dm:op=\E[39;49m:
                    320:
                    321: # Attribute control for ECMA-48-compatible terminals
                    322: ecma+sgr|attribute capabilities for true ECMA-48 terminals:\
                    323:        :se=\E[27m:ue=\E[24m:\
                    324:        :tc=klone+sgr:
1.2       deraadt   325:
                    326: # For comparison, here are all the capabilities implied by the Intel
                    327: # Binary Compatibility Standard (level 2) that fit within terminfo.
                    328: # For more detail on this rather pathetic standard, see the comments
                    329: # near the end of this file.
                    330: ibcs2|Intel Binary Compatibility Standard prescriptions:\
                    331:        :AL=\E[%dL:DC=\E[%dP:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.5       tholo     332:        :RA=\E[?7l:RI=\E[%dC:S1=\E=%p1%dg:SA=\E[?7h:SF=\E[%dS:\
                    333:        :SR=\E[%dT:UP=\E[%dA:bt=\E[Z:ch=\E[%i%dG:cl=\Ec:\
                    334:        :cm=\E[%i%d;%dH:ct=\E[g:cv=\E[%i%dd:ec=\E[%dX:ei=:im=:\
                    335:        :rc=\E7:sc=\E7:st=\EH:
1.2       deraadt   336:
1.3       deraadt   337: #### ANSI/ECMA-48 terminals and terminal emulators
1.1       deraadt   338: #
                    339: # See near the end of this file for details on ANSI conformance.
                    340: # Don't mess with these entries!  Lots of other entries depend on them!
                    341: #
                    342: # This section lists entries in a least-capable to most-capable order.
                    343: # if you're in doubt about what `ANSI' matches yours, try them in that
                    344: # order and back off from the first that breaks.
                    345:
                    346: ansi-mini|any ansi terminal with pessimistic assumptions:\
                    347:        :am:bs:\
                    348:        :co#80:it#8:li#24:\
1.2       deraadt   349:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
                    350:        :le=\E[D:nd=\E[C:ta=^I:up=\E[A:
1.1       deraadt   351:
                    352: # Procomm and some other ANSI emulations don't recognize all of the ANSI-
1.5       tholo     353: # standard capabilities.  This entry deletes :UP:, :RI:, :DO:, :LE:, and
                    354: # <vpa>/<hpa> capabilities, forcing curses to use repetitions of :up:,
                    355: # :nd:, :do: and :le:.  Also deleted :IC: and :ic:, as QModem up to
                    356: # 5.03 doesn't recognize these.  Finally, we delete :rp: and :sr:, which seem
                    357: # to confuse many emulators.  On the other hand, we can count on these programs
                    358: # doing :ae:/:as:/:sa:.  # Older versions of this entry featured
                    359: # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
1.2       deraadt   360: # ANSI.SYS influence.
                    361: # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
                    362: pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
                    363:        :am:bs:mi:ms:\
1.1       deraadt   364:        :co#80:it#8:li#24:\
1.2       deraadt   365:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1.5       tholo     366:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:dl=\E[M:do=\E[B:\
                    367:        :ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                    368:        :le=\E[D:nd=\E[C:sf=^J:st=\EH:ta=^I:up=\E[A:\
                    369:        :tc=klone+sgr-dumb:
1.2       deraadt   370: pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\
1.3       deraadt   371:        :li#25:tc=pcansi-m:
1.2       deraadt   372: pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\
1.3       deraadt   373:        :li#33:tc=pcansi-m:
1.2       deraadt   374: pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\
1.3       deraadt   375:        :li#43:tc=pcansi-m:
1.1       deraadt   376: # The color versions.  All PC emulators do color...
                    377: pcansi|ibm-pc terminal programs claiming to be ansi:\
1.2       deraadt   378:        :tc=klone+color:tc=pcansi-m:
1.1       deraadt   379: pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
1.3       deraadt   380:        :li#25:tc=pcansi:
1.1       deraadt   381: pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
1.3       deraadt   382:        :li#33:tc=pcansi:
1.1       deraadt   383: pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
1.3       deraadt   384:        :li#43:tc=pcansi:
1.1       deraadt   385:
1.2       deraadt   386: # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
1.1       deraadt   387: # If you want pound signs rather than dollars, replace `B' with `A'
1.2       deraadt   388: # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
                    389: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
                    390: ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
1.3       deraadt   391:        :5i:\
1.1       deraadt   392:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                    393:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
1.5       tholo     394:        :cb=\E[1K:ch=\E[%i%dG:ct=\E[2g:cv=\E[%i%dd:ec=\E[%dX:ei=:\
                    395:        :im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
                    396:        :nw=\r\E[S:pf=\E[4i:po=\E[5i:..rp=%p1%c\E[%p2%{1}%-%db:\
                    397:        :s0=\E(B:s1=\E)B:s2=\E*B:s3=\E+B:ta=\E[I:\
                    398:        :tc=pcansi-m:
1.1       deraadt   399:
                    400: # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
1.5       tholo     401: # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
1.2       deraadt   402: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
1.1       deraadt   403: ansi|ansi/pc-term compatible with color:\
1.3       deraadt   404:        :u6=\E[%i%d;%dR:u7=\E[6n:..u8=\E[?%[;0123456789]c:\
1.5       tholo     405:        :u9=\E[c:\
                    406:        :tc=ecma+color:tc=klone+sgr:tc=ansi-m:
1.1       deraadt   407:
                    408: #
                    409: # ANSI.SYS entries
                    410: #
1.2       deraadt   411: # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
                    412: # documentation (except for the keyboard key reassignment feature, which
                    413: # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
                    414: # though undocumented.  The <pfkey> capability is untested but should work for
                    415: # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
                    416: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
                    417: ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
                    418:        :am:mi:ms:xo:\
1.1       deraadt   419:        :co#80:li#25:\
1.3       deraadt   420:        :RA=\E[?7l:SA=\E[?7h:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
1.5       tholo     421:        :do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
                    422:        :ku=^K:le=^H:nd=\E[C:pk=\E[0;%+:;"%s":rc=\E[u:sc=\E[s:\
                    423:        :u6=\E[%i%d;%dR:u7=\E[6n:up=\E[A:\
                    424:        :tc=klone+color:tc=klone+sgr:
1.2       deraadt   425: ansi.sys|ANSI.SYS 3.1 and later versions:\
                    426:        :ce=\E[K:tc=ansi.sys-old:
                    427:
1.1       deraadt   428: #
                    429: # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
                    430: # This should only be used when the terminal emulator cannot redefine the keys.
                    431: # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
                    432: # definitions must be restored.  If the terminal emulator is quit while in vi
1.5       tholo     433: # or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
1.1       deraadt   434: # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
                    435: # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
                    436: # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
1.5       tholo     437: # Note that :kl: is always BS, because PC-dos can tolerate this change.
1.1       deraadt   438: # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
                    439: # Consequently the End keypad key could not be set (it is relatively safe and
                    440: # actually useful because it sends ^@ O, which beeps and opens a line above).
                    441: ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
                    442:        :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
                    443:        :ke=\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:\
1.5       tholo     444:        :ks=\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:\
                    445:        :tc=ansi.sys:
1.1       deraadt   446: #
                    447: # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
                    448: nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
                    449:        :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
                    450:        :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:tc=ansi.sys:
                    451: #
                    452: # See ansi.sysk and nansi.sys above.
                    453: nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
                    454:        :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
                    455:        :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:tc=ansi.sysk:
                    456:
                    457: #### ANSI console types
                    458: #
                    459:
1.5       tholo     460: # This entry is good for the 1.2.13 version of the Linux console driver.
1.1       deraadt   461: #
                    462: # Note: there are numerous broken linux entries out there, which didn't screw
                    463: # up BSD termcap but hose ncurses's smarter cursor-movement optimization.
1.2       deraadt   464: # One common pathology is an incorrect tab length of 4.
1.1       deraadt   465: #
1.2       deraadt   466: # ***************************************************************************
                    467: # *                                                                         *
                    468: # *                           WARNING:                                      *
1.3       deraadt   469: # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
                    470: # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
                    471: # * character. Here are the keymap replacement lines that will set this up: *
1.2       deraadt   472: # *                                                                         *
                    473: #      keycode  15 = Tab             Tab
                    474: #              alt     keycode  15 = Meta_Tab
                    475: #              shift   keycode  15 = F26
                    476: #      string F26 ="\033[Z"
                    477: # *                                                                         *
1.3       deraadt   478: # * This has to use a key slot which is unfortunate (any unused one will    *
                    479: # # do, F26 is the higher-numbered one).  The change ought to be built      *
1.2       deraadt   480: # * into the kernel tables.                                                 *
                    481: # *                                                                         *
                    482: # ***************************************************************************
                    483: #
1.5       tholo     484: # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
                    485: # and it matters, turn off <ccc>.  The %02x escape used to implement this is
                    486: # not back-portable to SV curses and not supported in ncurses versions before
                    487: # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
                    488: # themselves; this entry assumes that capability.
                    489: #
                    490: # From: Eric S. Raymond <esr@snark.thyrsus.com> 15 Dec 1995
1.1       deraadt   491: linux|linux console:\
1.3       deraadt   492:        :am:eo:mi:ms:ut:xn:xo:\
1.5       tholo     493:        :it#8:\
                    494:        :&7=^Z:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:F1=\E[23~:\
                    495:        :F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
                    496:        :F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:\
                    497:        :K2=\E[G:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
1.3       deraadt   498:        :ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                    499:        :cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
1.5       tholo     500:        :do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
                    501:        :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
                    502:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
                    503:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
                    504:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                    505:        :nw=^M^J:r1=\Ec:rc=\E8:\
                    506:        :..sa=\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:\
                    507:        :sc=\E7:sf=^J:sr=\EM:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:\
                    508:        :u8=\E[?6c:u9=\E[c:ue=\E[24m:up=\E[A:us=\E[4m:\
                    509:        :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
                    510:        :tc=klone+sgr:tc=ecma+color:
1.2       deraadt   511: linux-m|Linux console no color:\
1.3       deraadt   512:        :Co@:pa@:\
                    513:        :AB@:AF@:Sb@:Sf@:tc=linux:
1.5       tholo     514: linux-c-nc|linux console 1.3.x hack for ncurses only:\
                    515:        :cc:\
                    516:        :..Ic=\E]P%p1%x%p2%02x%p3%02x%p4%02x:oc=\E]R:tc=linux:
                    517: # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
                    518: linux-c|linux console 1.3.6+, with private palette for each virtual console:\
                    519:        :cc:\
                    520:        :Co#8:pa#64:\
                    521:        :..Ic=\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%;:\
                    522:        :oc=\E]R:\
                    523:        :tc=linux:
1.1       deraadt   524:
                    525: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                    526: linux-nic|linux with ich/ich1 suppressed for non-curses programs:\
1.5       tholo     527:        :IC@:ei=:ic@:im=:\
                    528:        :tc=linux:
                    529:
                    530: linux-old|linux console with hardwired screen size:\
                    531:        :co#80:li#25:tc=linux:
1.1       deraadt   532:
                    533: # SCO console and SOS-Syscons console for 386bsd
                    534: # (scoansi: had unknown capabilities
                    535: #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
1.2       deraadt   536: #      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
1.1       deraadt   537: #      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
                    538: #      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
                    539: #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
1.5       tholo     540: # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
                    541: # on the :as:=\E[12m  -- esr)
1.1       deraadt   542: scoansi|SCO Extended ANSI standard crt:\
1.2       deraadt   543:        :am:bs:eo:xo:\
1.1       deraadt   544:        :co#80:it#8:li#25:\
1.5       tholo     545:        :@7=\E[F:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                    546:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                    547:        :ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\
                    548:        :k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:kN=\E[G:kP=\E[I:\
                    549:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
                    550:        :mb=\E[5m:md=\E[1m:nd=\E[C:sf=\E[S:sr=\E[T:ta=^I:up=\E[A:\
                    551:        :tc=klone+sgr-dumb:
1.1       deraadt   552:
1.3       deraadt   553: # This actually describes the generic SVr4 display driver for Intel boxes.
1.5       tholo     554: # The :mh=\E[2m: isn't documented and therefore may not be reliable.
1.3       deraadt   555: # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
1.2       deraadt   556: att6386|at386|386at|AT&T WGS 6386 console:\
1.1       deraadt   557:        :am:bw:eo:xo:\
                    558:        :co#80:it#8:li#25:\
1.5       tholo     559:        :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
                    560:        :F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
                    561:        :SR=\E[%dT:UP=\E[%dA:\
1.3       deraadt   562:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
1.1       deraadt   563:        :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
1.5       tholo     564:        :ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
                    565:        :ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[1M:do=\E[B:ec=\E[%dX:\
                    566:        :ei=:ho=\E[H:ic=\E[1@:im=:is=\E[0;10;39m:k1=\EOP:k2=\EOQ:\
                    567:        :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
                    568:        :k;=\EOY:kB=^]:kD=\E[P:kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:\
                    569:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
                    570:        :md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:\
                    571:        :nw=\r\E[S:rc=\E8:\
1.3       deraadt   572:        :..sa=\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:\
1.5       tholo     573:        :sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\
                    574:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:\
                    575:        :tc=klone+color:
1.2       deraadt   576: # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
                    577: pc6300plus|AT&T 6300 plus:\
                    578:        :am:xo:\
1.1       deraadt   579:        :co#80:li#24:\
                    580:        :al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
1.5       tholo     581:        :cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
                    582:        :ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\
                    583:        :k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\
                    584:        :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
                    585:        :me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:\
                    586:        :se=\E[m:sf=^J:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\
                    587:        :ve=\E[=1C:vi=\E[=C:
1.1       deraadt   588:
                    589: #
                    590: #      Terminfo entry for the AT&T Unix PC 7300
                    591: #      from escape(7) in Unix PC 7300 Manual.
                    592: #      Somewhat similar to a vt100-am (but different enough
                    593: #      to redo this from scratch.)
                    594: #
                    595: #      /***************************************************************
                    596: #      *
                    597: #      *           FONT LOADING PROGRAM FOR THE UNIX PC
                    598: #      *
                    599: #      *     This routine loads a font defined in the file ALTFONT
                    600: #      *     into font memory slot #1.  Once the font has been loaded,
                    601: #      *     it can be used as an alternative character set.
                    602: #      *
                    603: #      *     The call to ioctl with the argument WIOCLFONT is the key
                    604: #      *     to this routine.  For more information, see window(7) in
                    605: #      *     the PC 7300 documentation.
                    606: #      ***************************************************************/
                    607: #      #include <string.h>             /* needed for strcpy call */
                    608: #      #include <sys/window.h>         /* needed for ioctl call */
                    609: #      #define FNSIZE  60              /* font name size */
                    610: #      #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
                    611: #      /*
                    612: #      *     The file /usr/lib/wfont/special.8.ft comes with the
                    613: #      *     standard PC software.  It defines a graphics character set
                    614: #      *     similar to that of the Teletype 5425 terminal.  To view
                    615: #      *     this or other fonts in /usr/lib/wfont, use the command
                    616: #      *     cfont <filename>.  For further information on fonts see
                    617: #      *     cfont(1) in the PC 7300 documentation.
                    618: #      */
                    619: #
                    620: #      struct altfdata         /* structure for alt font data */
                    621: #      {
                    622: #      short   altf_slot;              /* memory slot number */
                    623: #      char    altf_name[FNSIZE];      /* font name (file name) */
                    624: #      };
                    625: #      ldfont()
                    626: #      {
                    627: #              int wd;         /* window in which altfont will be */
                    628: #              struct altfdata altf;
                    629: #              altf.altf_slot=1;
                    630: #              strcpy(altf.altf_name,ALTFONT);
                    631: #              for (wd =1; wd < 12; wd++) {
                    632: #                   ioctl(wd, WIOCLFONT,&altf);
                    633: #              }
                    634: #      }
                    635: #
1.5       tholo     636: # (att7300: added :vi:/:ve:/:ic:/<invis> from the BSDI entry,
1.3       deraadt   637: # they're confirmed by the man page for the System V display---esr)
                    638: #
                    639: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                    640: # (sgr removed to fit entry within 1023 bytes)
                    641: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt   642: att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
                    643:        :am:xn:xo:\
                    644:        :co#80:it#8:li#24:\
                    645:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                    646:        :UP=\E[%dA:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:bt=\E^I:\
                    647:        :cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
1.5       tholo     648:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:i1=^O:ic=\E[@:im=:\
                    649:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E5:k6=\E6:k7=\E7:\
                    650:        :k8=\E8:kD=\Edc:kI=\Eim:kN=\Epg:kP=\EPG:kb=^H:kd=\E[B:\
                    651:        :kh=\Ehm:kl=\E[D:kr=\E[C:ku=\E[A:md=\E[7m:me=\E[0;10m:\
                    652:        :mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:sf=^J:so=\E[7m:\
                    653:        :sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:
1.1       deraadt   654:
1.3       deraadt   655: # From: davis@unidata.ucar.edu
1.2       deraadt   656: # (iris-ansi: added rmam/smam based on init string -- esr)
1.1       deraadt   657: iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal:\
                    658:        :am:\
                    659:        :co#80:it#8:li#40:\
1.5       tholo     660:        :!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:%f=\E[210q:\
                    661:        :%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:@7=\E[146q:\
                    662:        :@8=^M:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\EOR:F2=\EOS:\
                    663:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
                    664:        :al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                    665:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:ho=\E[H:\
1.3       deraadt   666:        :is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:k1=\E[001q:\
1.5       tholo     667:        :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
                    668:        :k7=\E[007q:k8=\E[008q:k9=\EOP:k;=\EOQ:kB=\E[Z:kD=\177:\
                    669:        :kI=\E[139q:kM=\E[146q:kN=\E[154q:kP=\E[150q:kb=^H:\
                    670:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:md=\E[1m:\
                    671:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:pk=\EP101;%d.y%s\E\\:\
                    672:        :rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:\
                    673:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[9/y\E[12/y\E[=6l:\
1.2       deraadt   674:        :vs=\E[10/y\E[=1h\E[=2l\E[=6h:
1.1       deraadt   675:
                    676: # The following is a version of the ibm-pc entry distributed with PC/IX,
                    677: # (Interactive Systems' System 3 for the Big Blue), modified by Richard
                    678: # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
                    679: # (the former is untrue, and the latter failed under UCB/man); standout and
                    680: # underline modes have been added.  Note: this entry describes the "native"
                    681: # capabilities of the PC monochrome display, without ANY emulation; most
                    682: # communications packages (but NOT PC/IX connect) do some kind of emulation.
                    683: pcix|PC/IX console:\
1.2       deraadt   684:        :am:bw:eo:\
1.1       deraadt   685:        :co#80:li#24:\
1.5       tholo     686:        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
                    687:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:\
                    688:        :us=\E[4m:
1.1       deraadt   689:
1.3       deraadt   690: # (ibmpcx: this entry used to be known as ibmx.
                    691: # It formerly included the following extension capabilities:
1.1       deraadt   692: #      :GC=b:GL=v:GR=t:RT=^J:\
                    693: #      :GH=\E[196g:GV=\E[179g:\
                    694: #      :GU=\E[193g:GD=\E[194g:\
                    695: #      :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
                    696: #      :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
                    697: #      :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
                    698: # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
1.2       deraadt   699: # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
                    700: # what was there before. -- esr)
1.1       deraadt   701: ibmpcx|xenix|ibmx|IBM PC xenix console display:\
1.2       deraadt   702:        :am:ms:\
1.1       deraadt   703:        :co#80:li#25:\
1.3       deraadt   704:        :@7=\E[d:al=\E[L:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:\
1.5       tholo     705:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[K:\
                    706:        :k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:kP=\E[Z:kb=^H:kd=\E[B:\
                    707:        :kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:up=\E[A:\
                    708:        :tc=klone+acs:tc=klone+sgr:
1.1       deraadt   709:
                    710:
1.2       deraadt   711: # QNX 4.0 Console
1.5       tholo     712: # Michael's original version of this entry had <am@>, :ti=\Ei:,
                    713: # :te=\Eh\ER:; this was so terminfo applications could write the lower
1.2       deraadt   714: # right corner without triggering a scroll.  The ncurses terminfo library can
1.5       tholo     715: # handle this case with the :ic: capability, and prefers :am: for better
                    716: # optimization.  Bug: The <op> capability resets attributes.
1.1       deraadt   717: # From: Michael Hunter <mphunter@qnx.com> 25 Aug 1995
1.3       deraadt   718: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                    719: # (sgr removed to fit entry within 1023 bytes)
                    720: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt   721: qnx|qnx4|qnx console:\
1.2       deraadt   722:        :am:km:mi:ms:xt:\
1.1       deraadt   723:        :co#80:it#4:li#25:\
1.5       tholo     724:        :al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
                    725:        :dc=\Ef:dl=\EF:do=^J:ei=:ho=\EH:ic=\Ee:im=:k1=\377\201:\
                    726:        :k2=\377\202:k3=\377\203:k4=\377\204:k5=\377\205:\
                    727:        :k6=\377\206:k7=\377\207:k8=\377\210:k9=\377\211:\
                    728:        :kD=\377\254:kI=\377\253:kN=\377\252:kP=\377\242:\
                    729:        :kd=\377\251:kh=\377\240:kl=\377\244:kr=\377\246:\
                    730:        :ku=\377\241:le=^H:mb=\E{:md=\E<:me=\E}\E]\E>\E):mr=\E(:\
                    731:        :nd=\EC:rp=\Eg%r%+ %.:se=\E):sf=^J:so=\E(:sr=\EI:ta=^I:\
                    732:        :te=\ER:ti=:ue=\E]:up=\EA:us=\E[:ve=\Ey1:vi=\Ey0:vs=\Ey2:
1.2       deraadt   733:
1.5       tholo     734: #### NetBSD consoles
1.2       deraadt   735: #
                    736: # pcvt termcap database entries (corresponding to release 3.31)
                    737: # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
                    738: #
                    739: # (For the terminfo master file, I translated these into terminfo syntax.
                    740: # Then I dropped all the pseudo-HP entries. we don't want and can't use
1.5       tholo     741: # the :Xs: flag. Then I split :is: into a size-independent :i1: and a
                    742: # size-dependent :is:.  Finally, I added <rmam>/<smam> -- esr)
1.2       deraadt   743:
                    744: # NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if
1.5       tholo     745: # both :ic: and :im: are specified (an original VT220
                    746: # shows the same buggy behaviour!), :ic: has been taken
                    747: # out of this entry. for reference, it should be <ich1=\E[@>.
                    748: pcvtXX|pcvt vt200 emulator (DEC VT220):\
                    749:        :am:km:mi:ms:xn:\
                    750:        :it#8:vt#3:\
                    751:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                    752:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
                    753:        :SR=\E[%dT:UP=\E[%dA:\
                    754:        :ac=llmmkkjjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++\054\054hhII00yyzz:\
                    755:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
                    756:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                    757:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
                    758:        :i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
                    759:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
                    760:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:kI=\E[2~:\
                    761:        :kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
                    762:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
                    763:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
                    764:        :r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
                    765:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
                    766:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
1.2       deraadt   767:
                    768: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    769: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1.5       tholo     770: #      50 lines entries; 80 columns
                    771: pcvt25|dec vt220 emulation with 25 lines:\
                    772:        :co#80:li#25:\
                    773:        :is=\E[1;25r\E[25;1H:tc=pcvtXX:
                    774: pcvt28|dec vt220 emulation with 28 lines:\
                    775:        :co#80:li#28:\
                    776:        :is=\E[1;28r\E[28;1H:tc=pcvtXX:
                    777: pcvt35|dec vt220 emulation with 35 lines:\
                    778:        :co#80:li#35:\
                    779:        :is=\E[1;35r\E[35;1H:tc=pcvtXX:
                    780: pcvt40|dec vt220 emulation with 40 lines:\
                    781:        :co#80:li#40:\
                    782:        :is=\E[1;40r\E[40;1H:tc=pcvtXX:
                    783: pcvt43|dec vt220 emulation with 43 lines:\
                    784:        :co#80:li#43:\
                    785:        :is=\E[1;43r\E[43;1H:tc=pcvtXX:
                    786: pcvt50|dec vt220 emulation with 50 lines:\
                    787:        :co#80:li#50:\
                    788:        :is=\E[1;50r\E[50;1H:tc=pcvtXX:
1.2       deraadt   789:
                    790: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    791: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1.5       tholo     792: #      50 lines entries; 132 columns
                    793: pcvt25w|dec vt220 emulation with 25 lines and 132 cols:\
                    794:        :co#132:li#25:\
                    795:        :is=\E[1;25r\E[25;1H:tc=pcvtXX:
                    796: pcvt28w|dec vt220 emulation with 28 lines and 132 cols:\
                    797:        :co#132:li#28:\
                    798:        :is=\E[1;28r\E[28;1H:tc=pcvtXX:
                    799: pcvt35w|dec vt220 emulation with 35 lines and 132 cols:\
                    800:        :co#132:li#35:\
                    801:        :is=\E[1;35r\E[35;1H:tc=pcvtXX:
                    802: pcvt40w|dec vt220 emulation with 40 lines and 132 cols:\
                    803:        :co#132:li#40:\
                    804:        :is=\E[1;40r\E[40;1H:tc=pcvtXX:
                    805: pcvt43w|dec vt220 emulation with 43 lines and 132 cols:\
                    806:        :co#132:li#43:\
                    807:        :is=\E[1;43r\E[43;1H:tc=pcvtXX:
                    808: pcvt50w|dec vt220 emulation with 50 lines and 132 cols:\
                    809:        :co#132:li#50:\
                    810:        :is=\E[1;50r\E[50;1H:tc=pcvtXX:
                    811:
                    812: # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
                    813: # manufactured by Sharp for the Japenese market.
                    814: # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
                    815: x68k|x68k-ite|NetBSD/x68k ITE:\
                    816:        :co#96:li#32:\
                    817:        :%1=\E[28~:kC=\E[9~:tc=vt220:
                    818:
                    819: #### FreeBSD console entries
                    820: #
                    821: # From: Andrew Chernov <ache@astral.msk.su> 29 Mar 1996
                    822: # Andew Chernov maintains the FreeBSD termcap distributions.
                    823: #
                    824: # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
                    825: # or comment out the <el1> capability in the console entry.
                    826: #
                    827:
                    828: # for syscons
                    829: # common entry without semigraphics
                    830: # Bug: The <op> capability resets attributes.
                    831: cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode):\
                    832:        :NP:am:bw:eo:ms:ut:\
                    833:        :Co#8:co#80:it#8:li#25:pa#64:\
                    834:        :@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
                    835:        :F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
                    836:        :SR=\E[%dT:Sb=\E[4%dm:Sf=\E[3%dm:UP=\E[%dA:al=\E[L:bl=^G:\
                    837:        :bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
                    838:        :cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
                    839:        :ec=\E[%dX:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:\
                    840:        :k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:\
                    841:        :kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:\
                    842:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
                    843:        :me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:op=\E[x:\
                    844:        :r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
                    845:        :up=\E[A:
                    846: cons25|ansis|ansi80x25|freebsd console (25-line ansi mode):\
                    847:        :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`\004a\260f\370g\361~\371.\031-\030h\261I^U0\333y\363z\362:\
                    848:        :tc=cons25w:
                    849: cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode):\
                    850:        :Co@:pa@:\
                    851:        :Sb@:Sf@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25:
                    852: cons30|ansi80x30|freebsd console (30-line ansi mode):\
                    853:        :li#30:tc=cons25:
                    854: cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode):\
                    855:        :li#30:tc=cons25-m:
                    856: cons43|ansi80x43|freebsd console (43-line ansi mode):\
                    857:        :li#43:tc=cons25:
                    858: cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode):\
                    859:        :li#43:tc=cons25-m:
                    860: cons50|ansil|ansi80x50|freebsd console (50-line ansi mode):\
                    861:        :li#50:tc=cons25:
                    862: cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode):\
                    863:        :li#50:tc=cons25-m:
                    864: cons60|ansi80x60|freebsd console (60-line ansi mode):\
                    865:        :li#60:tc=cons25:
                    866: cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode):\
                    867:        :li#60:tc=cons25-m:
                    868: cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic:\
                    869:        :ac=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\221`\004.\031-\030I^U0\215:\
                    870:        :tc=cons25w:
                    871: cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono):\
                    872:        :Co@:pa@:\
                    873:        :Sb@:Sf@:op@:ue=\E[m:us=\E[4m:tc=cons25r:
                    874: cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines):\
                    875:        :li#50:tc=cons25r:
                    876: cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono):\
                    877:        :li#50:tc=cons25r-m:
                    878: cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines):\
                    879:        :li#60:tc=cons25r:
                    880: cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono):\
                    881:        :li#60:tc=cons25r-m:
                    882: # ISO 8859-1 FreeBSD console
                    883: cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars:\
                    884:        :ac=l\215m\216k\214j\213u\226t\225v\227w\230q\222x\231n\217o\220s\224p\221r\223`\201a\202f\207g\210~\237.\031-\030+\253\054\273I\247y\232z\233:\
                    885:        :tc=cons25w:
                    886: cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono):\
                    887:        :Co@:pa@:\
                    888:        :Sb@:Sf@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25l1:
                    889: cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines):\
                    890:        :li#50:tc=cons25l1:
                    891: cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono):\
                    892:        :li#50:tc=cons25l1-m:
                    893: cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines):\
                    894:        :li#60:tc=cons25l1:
                    895: cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono):\
                    896:        :li#60:tc=cons25l1-m:
1.2       deraadt   897:
1.3       deraadt   898: #### 386BSD and BSD/OS Consoles
                    899: #
                    900:
                    901: # This was the original 386BSD console entry (I think).
                    902: # Some places it's named oldpc3|oldibmpc3.
                    903: # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
                    904: origpc3|origibmpc3|IBM PC 386BSD Console:\
                    905:        :am:bw:eo:xo:\
                    906:        :co#80:li#25:\
                    907:        :ac=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305:\
1.5       tholo     908:        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
                    909:        :kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[7m:\
                    910:        :me=\E[m\E[1;0x\E[2;7x:nd=\E[C:se=\E[1;0x\E[2;7x:\
                    911:        :sf=\E[S:so=\E[1;7x\E[2;0x:sr=\E[T:ue=\E[1;0x\E[2;7x:\
                    912:        :up=\E[A:us=\E[1;7x\E[2;0x:
1.3       deraadt   913:
                    914: # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
                    915: oldpc3|oldibmpc3|old IBM PC BSD/386 Console:\
                    916:        :km:\
                    917:        :li#25:\
1.5       tholo     918:        :al=\E[L:bl=^G:cr=^M:dl=\E[M:do=^J:kH=\E[F:kI=\E[L:kN=\E[G:\
                    919:        :kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                    920:        :md=\E[=15F:me=\E[=R:mh=\E[=8F:nw=^M^J:sf=^J:ta=^I:
1.3       deraadt   921:
                    922: # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
                    923: # Note, the emulator supports many of the additional console features
1.5       tholo     924: # listed in the iBCS2 (e.g. character-set selection) though not all
                    925: # are described here.  This entry really ought to be upgraded.
1.3       deraadt   926: # Also note, the console will also work with fewer lines after doing
                    927: # "stty rows NN", e.g. to use 24 lines.
1.5       tholo     928: # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
                    929: # Bug: The <op> capability resets attributes.
1.3       deraadt   930: bsdos|BSD/OS console:\
                    931:        :am:bw:eo:km:xo:\
1.5       tholo     932:        :Co#8:co#80:it#8:li#25:pa#64:\
1.3       deraadt   933:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
1.5       tholo     934:        :Sb=\E[4%dm:Sf=\E[3%dm:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:\
                    935:        :ce=\E[K:cl=\Ec:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:\
                    936:        :kH=\E[F:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:\
                    937:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
                    938:        :mh=\E[=8F:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[x:rc=\E8:sc=\E7:\
                    939:        :se=\E[0m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
1.3       deraadt   940: bsdos-bold|IBM PC BSD/386 Console with bold instead of underline:\
1.5       tholo     941:        :ue=\E[0m:us=\E[1m:\
                    942:        :tc=bsdos:
1.3       deraadt   943:
                    944: # If you are BSDI, you want the following entries, for the moment.
                    945: # In release 2.0 they will probably phase out the pc3 and ibmpc3 names
                    946: pc3|IBM PC BSD/386 Console:\
                    947:        :tc=bsdos:
                    948: ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline:\
1.5       tholo     949:        :us=\E[1m:\
                    950:        :tc=bsdos-bold:
1.1       deraadt   951:
                    952: #### DEC VT100 and compatibles
1.2       deraadt   953: #
                    954: # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
                    955: # the basis of some emulations) are collected here. Older DEC terminals and
                    956: # micro consoles can be found in the `obsolete' section.  More details on
                    957: # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
                    958: # found near the end of this file.
1.1       deraadt   959: #
                    960: # Except where noted, these entries are DEC's official terminfos.
                    961: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                    962: # Engineering for more information.  Updated terminfos and termcaps
                    963: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                    964: #
1.5       tholo     965: # In October 1995 DEC sold its terminals business, including the VT and Dorio
                    966: # line and trademark, to SunRiver Data Systems.
                    967: #
1.1       deraadt   968:
1.2       deraadt   969: vt52|dec vt52:\
                    970:        :co#80:it#8:li#24:\
1.5       tholo     971:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=\EB:\
                    972:        :ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:\
                    973:        :nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
1.2       deraadt   974:
                    975: # NOTE:  Any VT100 emulation, whether in hardware or software, almost
                    976: # certainly includes what DEC called the `Level 1 editing extension' codes;
                    977: # only the very oldest VT100s lacked these and there probably aren't any of
                    978: # those left alive.  To capture these, use one of the VT102 entries.
                    979: #
1.5       tholo     980: # Note that the :xn: glitch in vt100 is not quite the same as on the Concept,
1.1       deraadt   981: # since the cursor is left in a different position while in the
                    982: # weird state (concept at beginning of next line, vt100 at end
                    983: # of this line) so all versions of vi before 3.7 don't handle
1.5       tholo     984: # :xn: right on vt100. The correct way to handle :xn: is when
1.1       deraadt   985: # you output the char in column 80, immediately output CR LF
1.5       tholo     986: # and then assume you are in column 1 of the next line. If :xn:
1.1       deraadt   987: # is on, am should be on too.
                    988: #
                    989: # I assume you have smooth scroll off or are at a slow enough baud
                    990: # rate that it doesn't matter (1200? or less). Also this assumes
                    991: # that you set auto-nl to "on", if you set it off use vt100-nam
                    992: # below.
                    993: #
                    994: # The padding requirements listed here are guesses. It is strongly
                    995: # recommended that xon/xoff be enabled, as this is assumed here.
                    996: #
1.5       tholo     997: # The vt100 uses <rs2> and <rf> rather than :is:/:ct:/:st: because the
1.1       deraadt   998: # tab settings are in non-volatile memory and don't need to be
                    999: # reset upon login. Also setting the number of columns glitches
                   1000: # the screen annoyingly. You can type "reset" to get them set.
                   1001: #
                   1002: # This is how the keypad gets assigned in Application Keypad mode.
                   1003: #      PF1 = kf1         PF2 = kf2         PF3   = kf3       PF4 = kf4
                   1004: #      7   = kf9         8   = kf10        9     = kf0       -
                   1005: #      4   = kf5         5   = kf6         6     = kf7       ,   = kf8
                   1006: #      1   = ka1         2   = kb2         3     = ka3
                   1007: #      0   = kc1         .   = kc3         ENTER = kent
                   1008: #
1.2       deraadt  1009: # And here, for those of you with orphaned VT100s lacking documentation, is
                   1010: # a description of the soft switches invoked when you do `Set Up'.
                   1011: #
                   1012: #  Scroll 0-Jump               Shifted 3   0-#
                   1013: #  |      1-Smooth             |           1-British pound sign
                   1014: #  | Autorepeat 0-Off          | Wrap Around 0-Off
                   1015: #  | |          1-On           | |           1-On
                   1016: #  | | Screen 0-Dark Bkg       | | New Line 0-Off
                   1017: #  | | |      1-Light Bkg      | | |        1-On
                   1018: #  | | | Cursor 0-Underline    | | | Interlace 0-Off
                   1019: #  | | | |      1-Block        | | | |         1-On
                   1020: #  | | | |                     | | | |
                   1021: #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
                   1022: #                | | | |                     | | | |
                   1023: #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
                   1024: #                | | |               1-On    | | |       1-50 Hz
                   1025: #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
                   1026: #                | |           1-ANSI        | |                1-8 Bits
                   1027: #                | Keyclick 0-Off            | Parity 0-Off
                   1028: #                |          1-On             |        1-On
                   1029: #                Margin Bell 0-Off           Parity Sense 0-Odd
                   1030: #                            1-On                         1-Even
                   1031: #
                   1032: # The following SET-UP modes are assumed for normal operation:
                   1033: #      ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
                   1034: #      WRAP_AROUND_ON  JUMP_SCROLL_OFF
                   1035: # Other SET-UP modes may be set for operator convenience or communication
                   1036: # requirements; I recommend
                   1037: #      AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
                   1038: # Unless you have a graphics add-on such as Digital Engineering's VT640
                   1039: # (and even then, whenever it can be arranged!) you should set
                   1040: #      INTERLACE_OFF
                   1041: #
1.5       tholo    1042: # (I added <rmam>/<smam> based on the init string, also :bs: -- esr)
1.1       deraadt  1043: vt100|vt100-am|dec vt100 (w/advanced video):\
1.5       tholo    1044:        :am:bs:ms:xn:xo:\
1.1       deraadt  1045:        :co#80:it#8:li#24:vt#3:\
1.5       tholo    1046:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   1047:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  1048:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.5       tholo    1049:        :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   1050:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
                   1051:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   1052:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   1053:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   1054:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                   1055:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  1056:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
1.5       tholo    1057:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
                   1058:        :up=\E[A:us=\E[4m:
1.2       deraadt  1059: vt100nam|vt100-nam|vt100 no automargins:\
1.3       deraadt  1060:        :am@:xn@:tc=vt100-am:
1.1       deraadt  1061:
                   1062: # Ordinary vt100 in 132 column ("wide") mode.
                   1063: vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
1.3       deraadt  1064:        :co#132:li#24:\
                   1065:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
1.1       deraadt  1066: vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin):\
1.3       deraadt  1067:        :co#132:li#14:vt@:\
                   1068:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-nam:
1.1       deraadt  1069:
                   1070: # vt100 with no advanced video.
                   1071: vt100-nav|vt100 without advanced video option:\
                   1072:        :sg#1:\
1.5       tholo    1073:        :mb@:md@:me=:mr@:sa@:se=\E[m:so=\E[7m:ue@:us@:tc=vt100:
1.1       deraadt  1074: vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option):\
1.3       deraadt  1075:        :co#132:li#14:tc=vt100-nav:
1.1       deraadt  1076:
                   1077: # vt100 with one of the 24 lines used as a status line.
                   1078: # We put the status line on the top.
                   1079: vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline:\
                   1080:        :es:hs:\
                   1081:        :li#23:\
                   1082:        :cl=\E[2;1H\E[J:cm=\E[%i%+^A;%dH:cs=\E[%i%i%d;%dr:\
1.5       tholo    1083:        :ds=\E7\E[1;24r\E8:fs=\E8:ho=\E[2;1H:is=\E7\E[2;24r\E8:\
                   1084:        :ts=\E7\E[1;%p1%dH\E[1K:\
                   1085:        :tc=vt100-am:
1.1       deraadt  1086:
                   1087: # Status line at bottom.
                   1088: # Clearing the screen will clobber status line.
                   1089: vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline:\
                   1090:        :es:hs:\
                   1091:        :li#23:\
                   1092:        :ds=\E7\E[1;24r\E8:fs=\E8:is=\E[1;23r\E[23;1H:\
1.5       tholo    1093:        :ts=\E7\E[24;%p1%dH\E[1K:\
                   1094:        :tc=vt100-am:
1.1       deraadt  1095:
                   1096: # Most of the `vt100' emulators out there actually emulate a vt102
                   1097: # This entry (or vt102-nsgr) is probably the right thing to use for
                   1098: # these.
                   1099: vt102|dec vt102:\
                   1100:        :mi:\
                   1101:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:tc=vt100:
1.3       deraadt  1102: vt102-w|dec vt102 in wide mode:\
                   1103:        :li#132:\
                   1104:        :r3=\E[?3h:tc=vt102:
1.1       deraadt  1105:
                   1106: # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1.5       tholo    1107: # fail to interpret the ^O and ^N escapes properly.  Symptom: the :me:
1.1       deraadt  1108: # string in the canonical vt100 entry above leaves the screen littered
                   1109: # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
                   1110: # after highlight turnoffs.  This entry should fix that, and even leave
                   1111: # ACS support working, at the cost of making multiple-highlight changes
                   1112: # slightly more expensive.
                   1113: # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1.2       deraadt  1114: vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes):\
1.5       tholo    1115:        :me=\E[m:sa@:\
                   1116:        :tc=vt102:
1.1       deraadt  1117:
                   1118: # VT125 Graphics CRT.  Clear screen also erases graphics
                   1119: vt125|vt125 graphics terminal:\
1.2       deraadt  1120:        :cl=\E[H\E[2J\EPpS(E)\E\\:tc=vt100:
                   1121:
                   1122: # This isn't a DEC entry, it came from University of Wisconsin.
1.5       tholo    1123: # (vt131: I added <rmam>/<smam> based on the init string, also :bs: -- esr)
1.2       deraadt  1124: vt131|dec vt131:\
1.5       tholo    1125:        :am:bs:xn:\
1.2       deraadt  1126:        :co#80:it#8:li#24:vt#3:\
1.3       deraadt  1127:        :RA=\E[?7h:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
1.2       deraadt  1128:        :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
                   1129:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.5       tholo    1130:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   1131:        :ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
                   1132:        :nd=2\E[C:nw=^M^J:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1133:        :rc=\E8:sc=\E7:se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:\
                   1134:        :up=2\E[A:us=2\E[4m:
1.1       deraadt  1135:
                   1136: # vt132 - like vt100 but slower and has ins/del line and such.
1.5       tholo    1137: # I'm told that :im:/:ei: are backwards in the terminal from the
1.1       deraadt  1138: # manual and from the ANSI standard, this describes the actual
                   1139: # terminal. I've never actually used a vt132 myself, so this
                   1140: # is untested.
                   1141: #
                   1142: vt132|DEC vt132:\
                   1143:        :xn:\
                   1144:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4h:im=\E[4l:ip=:sf=\n:tc=vt100:
                   1145:
                   1146: # vt220:
                   1147: # This vt220 description maps F5--F9 to the second block of function keys
                   1148: # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
                   1149: # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
                   1150: # PF1--PF4 are used as F1--F4.
                   1151: #
1.3       deraadt  1152: vt220|vt200|DEC VT220 in vt100 emulation mode:\
1.1       deraadt  1153:        :am:mi:xn:xo:\
                   1154:        :co#80:li#24:vt#3:\
1.5       tholo    1155:        :@7=\E[4~:RA=\E[?7l:SA=\E[?7h:ac=kkllmmjjnnwwqquuttvvxx:\
                   1156:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
                   1157:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   1158:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
                   1159:        :if=/usr/share/tabset/vt100:im=\E[4h:\
1.1       deraadt  1160:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   1161:        :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
1.3       deraadt  1162:        :k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
1.5       tholo    1163:        :kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                   1164:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1.3       deraadt  1165:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.5       tholo    1166:        :rf=/usr/share/tabset/vt100:\
1.1       deraadt  1167:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
1.3       deraadt  1168:        :sc=\E7:se=\E[27m:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:\
                   1169:        :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
                   1170: vt220-w|vt200-w|DEC vt220 in wide mode:\
                   1171:        :co#132:\
                   1172:        :r3=\E[?3h:tc=vt220:
                   1173:
1.1       deraadt  1174: #
                   1175: # vt220d:
                   1176: # This vt220 description regards F6--F10 as the second block of function keys
                   1177: # at the top of the keyboard.  This mapping follows the description given
                   1178: # in the VT220 Programmer Reference Manual and agrees with the labeling
                   1179: # on some terminals that emulate the vt220.  There is no support for an F5.
                   1180: # See vt220 for an alternate mapping.
                   1181: #
                   1182: vt220d|DEC VT220 in vt100 mode with DEC function key labeling:\
1.3       deraadt  1183:        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
1.5       tholo    1184:        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:k5@:\
                   1185:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
                   1186:        :tc=vt220:
1.1       deraadt  1187:
1.3       deraadt  1188: vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins:\
                   1189:        :am@:\
                   1190:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1.1       deraadt  1191:
1.3       deraadt  1192: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1193: # (sgr removed to fit entry within 1023 bytes)
                   1194: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  1195: vt220-8|dec vt220 8 bit terminal:\
1.5       tholo    1196:        :am:bs:mi:ms:xn:xo:\
1.1       deraadt  1197:        :co#80:it#8:li#24:\
                   1198:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    1199:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   1200:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   1201:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
                   1202:        :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
                   1203:        :is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   1204:        :k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:\
                   1205:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
                   1206:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   1207:        :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
                   1208:        :st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
1.1       deraadt  1209:
                   1210: # This was DEC's vt320.  Use the purpose-built one below instead
                   1211: #vt320|DEC VT320 in vt100 emulation mode,
                   1212: #      use=vt220,
                   1213:
                   1214: #
                   1215: # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
                   1216: #
1.2       deraadt  1217: vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode:\
1.3       deraadt  1218:        :am@:\
                   1219:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1.1       deraadt  1220:
                   1221: # These entries are not DEC's official ones, they were purpose-built for the
                   1222: # VT320.  Here are the designer's notes:
1.2       deraadt  1223: # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
                   1224: # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1.1       deraadt  1225: # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
1.2       deraadt  1226: # Things that use <knxt> usually use tab anyways... and things that don't use
                   1227: # tab usually use <knxt> instead...
1.1       deraadt  1228: # kprv is same as tab - Backtab is useless...
1.5       tholo    1229: # I left out :sa: because of its RIDICULOUS complexity,
1.1       deraadt  1230: # and the resulting fact that it causes the termcap translation of the entry
                   1231: # to SMASH the 1k-barrier...
                   1232: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1.5       tholo    1233: # (vt320: uncommented :fs: --esr)
1.3       deraadt  1234: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1235: # (sgr removed to fit entry within 1023 bytes)
                   1236: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  1237: vt320|vt300|dec vt320 7 bit terminal:\
                   1238:        :am:es:hs:mi:ms:xn:\
                   1239:        :co#80:li#24:ws#80:\
                   1240:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   1241:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5       tholo    1242:        :RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
                   1243:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   1244:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
                   1245:        :ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
1.1       deraadt  1246:        :is=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1247:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    1248:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1249:        :kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
                   1250:        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   1251:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:\
                   1252:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[1$}\E[H\E[K:ue=\E[m:\
                   1253:        :up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  1254: vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy:\
                   1255:        :am@:\
1.3       deraadt  1256:        :is=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1.5       tholo    1257:        :r2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
                   1258:        :tc=vt320:
1.1       deraadt  1259: # We have to init 132-col mode, not 80-col mode.
                   1260: vt320-w|vt300-w|dec vt320 wide 7 bit terminal:\
                   1261:        :co#132:ws#132:\
1.3       deraadt  1262:        :is=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1.5       tholo    1263:        :r2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1264:        :tc=vt320:
1.1       deraadt  1265: vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am:\
                   1266:        :am@:\
1.3       deraadt  1267:        :is=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1.5       tholo    1268:        :r2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
                   1269:        :tc=vt320-w:
1.1       deraadt  1270:
1.2       deraadt  1271: # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
                   1272: #   which are pretty much a superset of the VT320.  They have the
                   1273: #   host writable status line, yet another different DRCS matrix size,
                   1274: #   and such, but they add the DEC Technical character set, Multiple text
                   1275: #   pages, selectable length pages, and the like.  The difference between
                   1276: #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
                   1277: #   monitor, the former has 4 planes and a color monitor.  These terminals
                   1278: #   support VT131 and ANSI block mode, but as with much of these things,
                   1279: #   termcap/terminfo doesn't deal with these features.
                   1280: #
                   1281: # Note that this entry is are set up in what was the standard way for GNU
                   1282: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1283: # keys were switched into application mode at the same time the numeric pad
                   1284: # is switched into application mode.  This changes the definitions of the
                   1285: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1286: # your termcap entry,
                   1287: #
                   1288: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1289: # (vt340: string capability "sb=\E[M" corrected to "sr";
                   1290: # also, added <rmam>/<smam> based on the init string -- esr)
                   1291: vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page:\
                   1292:        :am:es:hs:mi:ms:xn:xo:\
                   1293:        :co#80:it#8:li#24:vt#3:\
                   1294:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  1295:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5       tholo    1296:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.3       deraadt  1297:        :ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1.5       tholo    1298:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   1299:        :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
                   1300:        :fs=\E[$}:ho=\E[H:im=\E[4h:\
1.2       deraadt  1301:        :is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1302:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    1303:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   1304:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
                   1305:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
                   1306:        :r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:\
                   1307:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.3       deraadt  1308:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
                   1309:        :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  1310:
                   1311: # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
                   1312: # (originally written with vt420 as its primary name, and usable for it).
                   1313: #
                   1314: # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
                   1315: #    text pages and long text pages with selectable length of the vt340, along
                   1316: #    with left and right margins, rectangular area text copy, fill, and erase
                   1317: #    operations, selected region character attribute change operations,
                   1318: #    page memory and rectangle checksums, insert/delete column, reception
                   1319: #    macros, and other features too numerous to remember right now.  TERMCAP
                   1320: #    can only take advantage of a few of these added features.
                   1321: #
                   1322: # Note that this entry is are set up in what was the standard way for GNU
                   1323: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1324: # keys were switched into application mode at the same time the numeric pad
                   1325: # is switched into application mode.  This changes the definitions of the
                   1326: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1327: # your termcap entry,
                   1328: #
                   1329: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1330: # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
                   1331: # also, added <rmam>/<smam> based on the init string -- esr)
                   1332: vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap:\
                   1333:        :am:es:hs:mi:ms:xn:xo:\
                   1334:        :co#80:it#8:li#24:vt#3:\
                   1335:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  1336:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5       tholo    1337:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   1338:        :ae=^O:al=\E[L:as=^N:cd=10\E[J:ce=4\E[K:cl=10\E[H\E[J:\
                   1339:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   1340:        :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
                   1341:        :fs=\E[$}:ho=\E[H:ic=\E[@:im=\E[4h:\
1.2       deraadt  1342:        :is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1343:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    1344:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   1345:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
                   1346:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
                   1347:        :r1=\E<\E[?3l\E[!p\E[?7h:rc=\E8:\
                   1348:        :rf=/usr/share/tabset/vt300:sc=\E7:se=\E[27m:sf=\ED:\
                   1349:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[2$~\E[1$}\E[1;%dH:\
                   1350:        :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
                   1351:        :ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  1352:
1.5       tholo    1353: # (vt420: I removed :k0:, it collided with <kf10> -- esr)
1.1       deraadt  1354: vt420|DEC VT420:\
                   1355:        :am:mi:xn:xo:\
                   1356:        :co#80:li#24:vt#3:\
1.3       deraadt  1357:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
                   1358:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1359:        :SA=\E[?7h:\
                   1360:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1361:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1362:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1363:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.5       tholo    1364:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
                   1365:        :im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   1366:        :k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
                   1367:        :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1368:        :kb=^H:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
                   1369:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   1370:        :r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
1.1       deraadt  1371:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
1.5       tholo    1372:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
                   1373:        :us=\E[4m:
1.1       deraadt  1374:
                   1375: #
                   1376: #  DECUDK
                   1377: #               if (key < 16) then  value = key;
                   1378: #               else if (key < 21) then value = key + 1;
                   1379: #               else if (key < 25) then value = key + 2;
                   1380: #               else if (key < 27) then value = key + 3;
                   1381: #               else if (key < 30) then value = key + 4;
                   1382: #               else value = key + 5;
                   1383: #
                   1384: vt420pc|DEC VT420 w/PC keyboard:\
1.5       tholo    1385:        :@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[11;2~:F4=\E[12;2~:\
                   1386:        :F5=\E[13;2~:F6=\E[14;2~:F7=\E[15;2~:F8=\E[17;2~:\
                   1387:        :F9=\E[18;2~:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:\
                   1388:        :FD=\E[23;2~:FE=\E[24;2~:FF=\E[23~:FG=\E[24~:FH=\E[25~:\
                   1389:        :FI=\E[26~:FJ=\E[28~:FK=\E[29~:FL=\E[31~:FM=\E[32~:\
                   1390:        :FN=\E[33~:FO=\E[34~:FP=\E[35~:FQ=\E[36~:FR=\E[23;2~:\
                   1391:        :FS=\E[24;2~:FT=\E[25;2~:FU=\E[26;2~:FV=\E[28;2~:\
                   1392:        :FW=\E[29;2~:FX=\E[31;2~:FY=\E[32;2~:FZ=\E[33;2~:\
                   1393:        :Fa=\E[34;2~:Fb=\E[35;2~:Fc=\E[36;2~:\
                   1394:        :S6=USR_TERM\072vt420pcdos\072:k1=\E[11~:k2=\E[12~:\
                   1395:        :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
                   1396:        :k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:kh=\E[H:\
1.3       deraadt  1397:        :..px=\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\\:tc=vt420:
1.1       deraadt  1398:
                   1399: vt420pcdos|DEC VT420 w/PC for DOS Merge:\
                   1400:        :li#25:\
1.3       deraadt  1401:        :S1=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;:\
                   1402:        :S4=\E[?1;2r\E[34h:\
                   1403:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:S6@:\
1.5       tholo    1404:        :me=\E[m:sa@:\
                   1405:        :tc=vt420pc:
1.1       deraadt  1406:
                   1407: vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys:\
1.3       deraadt  1408:        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
                   1409:        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
1.1       deraadt  1410:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1.3       deraadt  1411:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1.5       tholo    1412:        :kD=\177:kh=\E[H:l1=\EOP:l2=\EOQ:l3=\EOR:l4=\EOS:\
                   1413:        :tc=vt420:
1.1       deraadt  1414:
                   1415: vt510|DEC VT510:\
                   1416:        :tc=vt420:
                   1417: vt510pc|DEC VT510 w/PC keyboard:\
                   1418:        :tc=vt420pc:
                   1419: vt510pcdos|DEC VT510 w/PC for DOS Merge:\
                   1420:        :tc=vt420pcdos:
1.6     ! etheisen 1421:
        !          1422: #
        !          1423: ######
        !          1424: #       CDE Terminal Emulator
        !          1425: #
        !          1426: ######
        !          1427:
        !          1428: #       Reconstructed via infocmp from file: /usr/share/lib/terminfo/d/dtterm
        !          1429: dtterm:\
        !          1430:         :am:mi:ms:xn:xo:bs:pt:\
        !          1431:         :co#80:li#24:kn#2:\
        !          1432:         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          1433:         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\
        !          1434:         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          1435:         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:ei=\E[4l:\
        !          1436:         :ho=\E[H:im=\E[4h:is=\E F\E>\E[?1l\E[?7h\E[?45l:\
        !          1437:         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
        !          1438:         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kb=\b:\
        !          1439:         :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:nd=\E[C:rc=\E8:\
        !          1440:         :sc=\E7:se=\E[22;27m:so=\E[2;7m:sr=\EM:st=\EH:\
        !          1441:         :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
        !          1442:         :ve=\E[?25h:vi=\E[?25l:ko=nd,up:
1.1       deraadt  1443:
                   1444: # VT520/VT525
                   1445: #
                   1446: # The VT520 is a monochrome text terminal capable of managing up to
                   1447: # four independent sessions in the terminal.  It has multiple ANSI
                   1448: # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
                   1449: # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
                   1450: # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
                   1451: #
                   1452: # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
                   1453: # [Alt]/[Print Screen] depending upon which keyboard and which
                   1454: # terminal mode is being used.  If Set-Up has been disabled or
                   1455: # assigned to an unknown key, Set-Up may be entered by pressing
                   1456: # [F3] as the first key after power up, regardless of keyboard type.
1.5       tholo    1457: # (vt520: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  1458: vt520|DEC VT520:\
                   1459:        :am:mi:xn:xo:\
                   1460:        :co#80:li#24:vt#3:\
1.3       deraadt  1461:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
                   1462:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1463:        :SA=\E[?7h:\
                   1464:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1465:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1466:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1467:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.5       tholo    1468:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
                   1469:        :im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
                   1470:        :k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
                   1471:        :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1472:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                   1473:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1.3       deraadt  1474:        :..px=\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\\:\
1.5       tholo    1475:        :r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
1.1       deraadt  1476:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
1.5       tholo    1477:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
                   1478:        :us=\E[4m:
1.1       deraadt  1479:
1.5       tholo    1480: # (vt525: I added <rmam>/<smam> based on the init string;
                   1481: # removed :se:=\E[m, :ue:=\E[m, -- esr)
1.1       deraadt  1482: vt525|DEC VT525:\
                   1483:        :am:mi:xn:xo:\
                   1484:        :co#80:li#24:vt#3:\
1.3       deraadt  1485:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
                   1486:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1487:        :SA=\E[?7h:\
                   1488:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1489:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1490:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1491:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.5       tholo    1492:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
                   1493:        :im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
                   1494:        :k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
                   1495:        :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1496:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                   1497:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1.3       deraadt  1498:        :..px=\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\\:\
1.5       tholo    1499:        :r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
1.1       deraadt  1500:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
1.5       tholo    1501:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
                   1502:        :us=\E[4m:
1.1       deraadt  1503:
                   1504: #### VT100 emulations
                   1505: #
                   1506:
1.2       deraadt  1507: # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
                   1508: # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
                   1509: # to telnetd.  We'll guess that it's vt102-like but doesn't grok ^N/^O.
                   1510: dec-vt100|EWAN telnet's vt100 emulation:\
                   1511:        :tc=vt102-nsgr:
                   1512:
1.1       deraadt  1513: # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
                   1514: # anyone who needs PC VT340 emulation. (or anything below that level, for
                   1515: # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
                   1516: # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
                   1517: # I can send the address if requested.
1.2       deraadt  1518: # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
1.1       deraadt  1519: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   1520: z340|zstem vt340 terminal emulator 132col 42line:\
                   1521:        :li#42:\
1.3       deraadt  1522:        :is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
1.5       tholo    1523:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
                   1524:        :tc=vt320-w:
1.1       deraadt  1525: z340-nam|zstem vt340 terminal emulator 132col 42line:\
                   1526:        :am@:\
1.3       deraadt  1527:        :is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
1.5       tholo    1528:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
                   1529:        :tc=z340:
1.1       deraadt  1530:
1.3       deraadt  1531: #### X terminal emulators
1.1       deraadt  1532: #
1.5       tholo    1533: # You can add the following line to your .Xdefaults to change the terminal type
                   1534: # set by the xterms you start up to my-xterm:
                   1535: #
                   1536: # *termName:  my-xterm
                   1537: #
                   1538: # System administrators can change the default entry for xterm instances
                   1539: # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
                   1540: # case, xterm will detect and reject an invalid terminal type, falling back
                   1541: # to the default of xterm.
                   1542: #
1.1       deraadt  1543:
                   1544: # X10/6.6      11/7/86, minus alternate screen, plus (csr)
1.2       deraadt  1545: # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
1.1       deraadt  1546: # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
                   1547: # as these seem not to work -- esr)
                   1548: x10term|vs100-x10|xterm terminal emulator (X10 window system):\
1.2       deraadt  1549:        :am:km:mi:ms:xn:xo:\
1.1       deraadt  1550:        :co#80:it#8:li#65:\
1.3       deraadt  1551:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
                   1552:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
1.5       tholo    1553:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
                   1554:        :im=\E[4h:is=\E\E[m\E[?7h\E[?1;4l:k1=\EOP:k2=\EOQ:\
                   1555:        :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   1556:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:\
                   1557:        :mr=\E[7m:nd=\E[C:\
1.1       deraadt  1558:        :rs=\E[r\E<\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l:se=\E[m:\
1.5       tholo    1559:        :sf=^J:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
                   1560: # This entry is designed for XFree86 version 3.1.2E.
                   1561: # It is *way* more featureful than the stock X consortium entry (has <acsc>,
                   1562: # for starters -- note that this only works for some fonts, including the
                   1563: # `fixed' series).  The <kmous> key is actually the \E[M prefix returned by
                   1564: # xterm's internal mouse-tracking facility; ncurses will interpret the
                   1565: # following three bytes of mouse status information.
                   1566: # From: Eric S. Raymond <esr@snark.thyrsus.com> 14 Dec 1995
                   1567: # Updated: T.Dickey <dickey@clark.net> 12 May 1996, for XFree86 3.1.2E
1.3       deraadt  1568: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1569: # (sgr removed to fit entry within 1023 bytes)
                   1570: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.5       tholo    1571: xterm-color|xterm terminal emulator (XFree86 3.1.2E and above):\
1.2       deraadt  1572:        :am:km:mi:ms:xn:xo:\
1.3       deraadt  1573:        :co#80:it#8:li#65:\
1.2       deraadt  1574:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    1575:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   1576:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   1577:        :cs=\E[%i%d;%dr:ct=\E[3k:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
                   1578:        :ho=\E[H:ic=\E[@:im=\E[4h:\
                   1579:        :is=\E[r\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l\E[4l:\
1.1       deraadt  1580:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1.5       tholo    1581:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\177:kI=\E[2~:\
                   1582:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:\
                   1583:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
                   1584:        :me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
                   1585:        :so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
                   1586:        :ue=\E[m:up=\E[A:us=\E[4m:
                   1587: # Use this version if you have stock X consortium xterm,
                   1588: # or an XFree86 xterm at version 3.1.2D or older.
                   1589: # Note that due to an array indexing error in the xterm code, even these
                   1590: # correct versions of <kend>/:kh: will probably fail in versions
                   1591: # earlier than XFree86's 3.1.2C.
                   1592: xterm-x11r6|vs100-x11r6|xterm for XFree86 versions previous to 3.1.2E:\
                   1593:        :ut@:\
                   1594:        :Co@:pa@:\
                   1595:        :@7=\EOe:ch@:cv@:kh=\EO\200:op@:tc=xterm:
                   1596:
                   1597: # Here's another way to choose the xterm version for your stock xterm.
                   1598: # The xterm-color choice is unabashedly biased towards up-to-date free-UNIX
                   1599: # systems (Linux, netBSD, freeBSD) running XFree86 3.1.2E or later. If you
                   1600: # have an older version of xterm, you probably want to use use xterm-x11r6
                   1601: # instead.  If you need to use x10term you'll be all too painfully aware of it.
                   1602: xterm|vs100|xterm terminal emulator (X11R6 Window System):\
                   1603:        :tc=xterm-color:
                   1604:
                   1605: # These entries allow access to the X titlebar and icon name as a status line.
                   1606: # Note that twm (and possibly window managers descended from it such as tvtwm,
                   1607: # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
                   1608: # with it.
                   1609: xterm-sl|access X title line and icon name:\
                   1610:        :hs:\
                   1611:        :ws#40:\
                   1612:        :ds=\E]0;\007:fs=^G:ts=\E]0;:
                   1613: xterm-sl-twm|access X title line (pacify twm-descended window managers):\
                   1614:        :hs:\
                   1615:        :ws#40:\
                   1616:        :ds=\E]2;\007:fs=^G:ts=\E]2;:
                   1617:
                   1618: #
                   1619: # The following xterm varients don't depend on your base version
                   1620: #
1.3       deraadt  1621: xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
1.5       tholo    1622:        :so=\E[1m:\
                   1623:        :tc=xterm:
1.3       deraadt  1624: xterms|vs100s|xterm terminal emulator (small screen 24x80):\
                   1625:        :co#80:li#24:tc=xterm:
1.2       deraadt  1626: # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
1.5       tholo    1627: # (kterm should not invoke DEC Graphics as the alternate character set
                   1628: #  -- Kenji Rikitake)
1.1       deraadt  1629: kterm|kterm kanji terminal emulator (X window system):\
                   1630:        :es:hs:\
1.5       tholo    1631:        :cs=\E[%i%d;%dr:ds=\E[?H:eA=\E(B:fs=\E[?F:rc=\E8:sc=\E7:\
                   1632:        :ts=\E[?E\E[?%i%dT:\
                   1633:        :tc=xterm:
1.1       deraadt  1634: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                   1635: xterm-nic|xterm with ich/ich1 suppressed for non-curses programs:\
1.5       tholo    1636:        :IC@:ei=:ic@:im=:\
                   1637:        :tc=xterm:
                   1638: # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
                   1639: xterm1|xterm terminal emulator ignoring the alternate screen buffer:\
                   1640:        :te@:ti@:\
                   1641:        :tc=xterm:
                   1642:
                   1643: # Sigh...this ought to grok ecma+color, but it doesn't.
                   1644: # From: Thomas Dickey <dickey@clark.net> 13 Dec 1995
                   1645: rxvt|rxvt terminal emulator:\
                   1646:        :@7=\EOw:Km@:kh=\E[H:tc=xterm-x11r6:tc=klone+color:
1.1       deraadt  1647:
                   1648: # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
                   1649: # Here's a termcap entry I've been using for xterm_color, which comes
                   1650: # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
                   1651: # color stuff, I also have a status line defined as the window manager
                   1652: # title bar. [I have translated it to terminfo -- ESR]
                   1653: xterm-pcolor|xterm with color used for highlights and status line:\
1.5       tholo    1654:        :md=\E[1m\E[43m:mr=\E[7m\E[34m:so=\E[7m\E[31m:\
                   1655:        :us=\E[4m\E[42m:\
                   1656:        :tc=xterm-sl:tc=xterm:
1.1       deraadt  1657:
1.3       deraadt  1658: # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
1.5       tholo    1659: # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
1.2       deraadt  1660: hpterm|X-hpterm|hp X11 terminal emulator:\
                   1661:        :am:da:db:mi:xs:\
1.3       deraadt  1662:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#9600:sg#0:\
1.5       tholo    1663:        :LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
                   1664:        :cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:\
                   1665:        :cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
                   1666:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
                   1667:        :kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
                   1668:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
                   1669:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
                   1670:        :ku=\EA:le=^H:md=\E&dB:me=\E&d@:mh=\E&dH:ml=\El:mr=\E&dB:\
                   1671:        :mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
1.3       deraadt  1672:        :..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
                   1673:        :..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
                   1674:        :..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
1.2       deraadt  1675:        :..sa=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
1.5       tholo    1676:        :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
                   1677:        :up=\EA:us=\E&dD:
                   1678:
                   1679: # This entry describes an xterm with Sun-style function keys enabled
                   1680: # via the X resource setting "xterm*sunFunctionKeys:true"
                   1681: # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
                   1682: # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
                   1683: # because we want it to be seen as <kcpy>.
                   1684: # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
                   1685: # with their Sun keyboard labels instead.
                   1686: # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
                   1687: xterm-sun|xterm with sunFunctionKeys true:\
                   1688:        :%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\
                   1689:        :F1=\E[192z:F2=\E[193z:F3=\E[194z:F4=\E[195z:F5=\E[196z:\
                   1690:        :F7=\E[198z:F8=\E[199z:F9=\E[200z:FA=\E[201z:FL=\E[208z:\
                   1691:        :FM=\E[209z:FN=\E[210z:FO=\E[211z:FP=\E[212z:FQ=\E[213z:\
                   1692:        :FS=\E[215z:FU=\E[217z:FW=\E[219z:FY=\E[221z:K2=\E[218z:\
                   1693:        :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
                   1694:        :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
                   1695:        :kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:\
                   1696:        :tc=xterm:
                   1697: xterms-sun|small (80x24) xterm with sunFunctionKeys true:\
                   1698:        :co#80:li#24:tc=xterm-sun:
1.2       deraadt  1699:
1.3       deraadt  1700: # This is for the extensible terminal emulator on the X11R6 contrib tape.
1.5       tholo    1701: # (emu: I changed <setab>/<setaf> to <setb>/<setf> -- esr)
1.3       deraadt  1702: emu|emu native mode:\
                   1703:        :mi:ms:xo:\
                   1704:        :Co#15:co#80:it#8:li#24:pa#64:vt#200:\
1.5       tholo    1705:        :*6=\Esel:@0=\Efind:@8=^M:AL=\EQ%d;:DC=\EI%d;:DL=\ER%d;:\
                   1706:        :DO=\Ep%d;:F1=\EF11:F2=\EF12:F3=\EF13:F4=\EF14:F5=\EF15:\
                   1707:        :F6=\EF16:F7=\EF17:F8=\EF18:F9=\EF19:FA=\EF20:LE=\Eq-%d;:\
                   1708:        :RI=\Eq%d;:Sb=\Es%i%d; setf=\Er%i%d;:UP=\Ep-%d;:\
1.3       deraadt  1709:        :ac=a\202f\260g261j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244:\
1.5       tholo    1710:        :ae=\200:al=\EQ1;:as=\200:bl=^G:cb=\EL:cd=\EN:ce=\EK:\
                   1711:        :cl=\EP\EE0;0;:cm=\EE%d;%d;:cr=^M:cs=\Ek%d;%d;:ct=\Ej:\
                   1712:        :dc=\EI1;:dl=\ER1;:do=\EB:eA=\200:ec=\Ej%d;:ei=\EX:\
                   1713:        :ho=\EE0;0;:im=\EY:is=\ES\Er0;\Es0;:k0=\EF00:k1=\EF01:\
                   1714:        :k2=\EF02:k3=\EF03:k4=\EF04:k5=\EF05:k6=\EF06:k7=\EF07:\
                   1715:        :k8=\EF08:k9=\EF09:k;=\EF10:kD=\177:kI=\Eins:kN=\Enext:\
                   1716:        :kP=\Eprior:kb=^H:kd=\EB:kl=\EC:kr=\ED:ku=\EA:le=^H:\
                   1717:        :mb=\ES\EW:md=\ES\EU:me=\ES:mr=\ES\ET:nd=\ED:\
                   1718:        :oc=\Es0;\Er0;:r2=\ES\Es0;\Er0;:se=\ES:sf=\EG:so=\ES\ET:\
                   1719:        :sr=\EF:st=\Eh:ta=^I:ue=\ES:up=\EA:us=\ES\EV:ve=\Ea:vi=\EZ:\
                   1720:        :vs=\Ea:
1.3       deraadt  1721:
1.1       deraadt  1722: ######## UNIX VIRTUAL TERMINALS AND VIRTUAL CONSOLES
                   1723: #
                   1724:
                   1725: # Columbus UNIX virtual terminal. This terminal also appears in
                   1726: # UNIX 4.0 and successors as line discipline 1 (?), but is
                   1727: # undocumented and does not really work quite right.
                   1728: cbunix|cb unix virtual terminal:\
1.2       deraadt  1729:        :am:da:db:\
1.1       deraadt  1730:        :co#80:li#24:lm#0:\
1.5       tholo    1731:        :al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:cr=^M:\
                   1732:        :dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
                   1733:        :kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:sf=^J:so=\Ea^D:\
                   1734:        :ue=\Eb^A:up=\EA:us=\Ea^A:
1.1       deraadt  1735: # (vremote: removed obsolete ":nl@:" -- esr)
                   1736: vremote|virtual remote terminal:\
                   1737:        :am@:\
1.3       deraadt  1738:        :co#79:tc=cbunix:
1.1       deraadt  1739: pty|4bsd pseudo teletype:\
                   1740:        :cm=\EG%+ %+ :se=\Eb$:so=\Ea$:ue=\Eb!:us=\Ea!:tc=cbunix:
                   1741:
1.5       tholo    1742: # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
                   1743: eterm|gnu emacs term.el terminal emulation:\
                   1744:        :am:mi:xn:\
                   1745:        :co#80:li#24:\
                   1746:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   1747:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:\
                   1748:        :cd=\\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   1749:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
                   1750:        :im=\E[4h:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:se=\E[m:\
                   1751:        :sf=^J:so=\E[7m:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
                   1752:        :ue=\E[m:up=\E[A:us=\E[4m:
                   1753:
1.2       deraadt  1754: # Entries for use by the FSF's `screen' program.  The screen and
1.5       tholo    1755: # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
1.2       deraadt  1756: # come from University of Wisconsin and may be older.
                   1757:
1.1       deraadt  1758: screen|VT 100/ANSI X3.64 virtual terminal:\
                   1759:        :am:km:mi:ms:xn:\
1.5       tholo    1760:        :Co#8:co#80:it#8:li#24:pa#64:\
1.3       deraadt  1761:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
                   1762:        :F2=\E[24~:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
                   1763:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00:\
                   1764:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   1765:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.5       tholo    1766:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
                   1767:        :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.3       deraadt  1768:        :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1.5       tholo    1769:        :k;=\E[21~:kD=\E[3~:kH=\E[4~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1770:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
                   1771:        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   1772:        :mr=\E[7m:nd=\E[C:nw=\EE:r2=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
                   1773:        :sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\EM:\
                   1774:        :us=\E[4m:vb=\Eg:vi=\E[?25l:vs=\E[34l:\
                   1775:        :tc=ecma+color:
                   1776:
1.1       deraadt  1777: screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
1.3       deraadt  1778:        :co#132:tc=screen:
1.2       deraadt  1779:
                   1780: screen2|VT 100/ANSI X3.64 virtual terminal:\
                   1781:        :co#80:it#8:li#24:\
                   1782:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    1783:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bt=\E[Z:cd=\E[J:\
                   1784:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   1785:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ic=:im=\E[4h:k0=\E~:\
                   1786:        :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
                   1787:        :k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
                   1788:        :me=\E[m:nd=\E[C:nw=^M^J:r1=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
                   1789:        :sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:\
                   1790:        :us=\E[4m:
1.2       deraadt  1791: # (screen3: removed unknown ":xv:LP:G0:" -- esr)
                   1792: screen3|VT 100/ANSI X3.64 virtual terminal:\
                   1793:        :km:mi:ms:\
                   1794:        :co#80:it#8:li#24:\
1.1       deraadt  1795:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.2       deraadt  1796:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
                   1797:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
1.5       tholo    1798:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
                   1799:        :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   1800:        :kb=^H:kd=\EOB:ke=\E>:kl=\EOD:kr=\EOC:ks=\E=:ku=\EOA:le=^H:\
                   1801:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:r1=\Ec:\
                   1802:        :rc=\E8:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
1.1       deraadt  1803:        :ue=\E[24m:up=\EM:us=\E[4m:
                   1804:
                   1805: ######## WORKSTATION CONSOLES
                   1806: #
                   1807:
                   1808: #### Sun consoles
                   1809: #
                   1810:
1.3       deraadt  1811: # :is1: resets scrolling region in case a previous user had used "tset vt100"
1.1       deraadt  1812: oldsun|Sun Microsystems Workstation console:\
1.2       deraadt  1813:        :am:km:mi:ms:\
1.1       deraadt  1814:        :co#80:it#8:li#34:\
1.5       tholo    1815:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
                   1816:        :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
                   1817:        :dl=\E[M:do=\E[B:ei=:i1=\E[1r:ic=\E[@:im=:k1=\EOP:k2=\EOQ:\
                   1818:        :k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   1819:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
1.3       deraadt  1820: # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
1.5       tholo    1821: # lines capability later corrected by J.T. Conklin <jtc@cygnus.com>
1.3       deraadt  1822: sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
1.1       deraadt  1823:        :am:km:ms:\
1.5       tholo    1824:        :co#80:li#34:\
                   1825:        :%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
                   1826:        :DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
                   1827:        :K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
                   1828:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
                   1829:        :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
                   1830:        :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
                   1831:        :kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
                   1832:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:\
                   1833:        :nd=\E[C:r2=\E[s:\
1.1       deraadt  1834:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
1.5       tholo    1835:        :se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  1836: # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
1.3       deraadt  1837: # (sun-s: I added lines#34 because the Lukyanov entry for sun has 35 -- esr)
1.1       deraadt  1838: sun-s|Sun Microsystems Workstation window with status line:\
                   1839:        :hs:\
1.3       deraadt  1840:        :li#34:\
1.1       deraadt  1841:        :ds=\E]l\E\\:fs=\E\\:ts=\E]l:tc=sun:
                   1842: sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
                   1843:        :hs:\
                   1844:        :ds=\E]l\E\\:fs=\E\\:ts=\E]l:tc=sun-e:
                   1845: sun-48|Sun 48-line window:\
1.3       deraadt  1846:        :co#80:li#48:tc=sun:
1.1       deraadt  1847: sun-34|Sun 34-line window:\
1.3       deraadt  1848:        :co#80:li#34:tc=sun:
1.1       deraadt  1849: sun-24|Sun 24-line window:\
1.3       deraadt  1850:        :co#80:li#24:tc=sun:
1.1       deraadt  1851: sun-17|Sun 17-line window:\
1.3       deraadt  1852:        :co#80:li#17:tc=sun:
1.1       deraadt  1853: sun-12|Sun 12-line window:\
1.3       deraadt  1854:        :co#80:li#12:tc=sun:
1.1       deraadt  1855: sun-1|Sun 1-line window for sysline:\
                   1856:        :es:hs:\
                   1857:        :co#80:li#1:\
                   1858:        :ds=^L:fs=\E[K:ts=^M:tc=sun:
                   1859: sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
1.5       tholo    1860:        :ei@:ic@:im@:\
                   1861:        :tc=sun:
1.1       deraadt  1862: sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
1.5       tholo    1863:        :te=\E[>4h:ti=\E[>4l:\
                   1864:        :tc=sun:
1.1       deraadt  1865:
                   1866: #### Iris consoles
                   1867: #
                   1868:
1.2       deraadt  1869: # (wsiris: this had extension capabilities
1.1       deraadt  1870: #      :HS=\E7F2:HE=\E7F7:\
                   1871: #      :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
1.5       tholo    1872: # See the note on Iris extensions near the end of this file.
                   1873: # Finally, removed suboptimal :cl:=\EH\EJ and added :do: &
                   1874: # :vb: from BRL -- esr)
1.1       deraadt  1875: wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
1.2       deraadt  1876:        :am:\
1.1       deraadt  1877:        :co#80:it#8:li#40:\
1.5       tholo    1878:        :al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:do=\EB:\
1.1       deraadt  1879:        :ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:k2=\E2:\
1.5       tholo    1880:        :k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:kd=\EB:\
                   1881:        :kl=\ED:kr=\EC:ku=\EA:le=^H:mh=\E7F2:nd=\EC:se=\E0@:so=\E9P:\
                   1882:        :sr=\EI:ta=^I:ue=\E7R3\E0@:up=\EA:us=\E7R2\E9P:\
                   1883:        :vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:vs=\E;:
1.1       deraadt  1884:
                   1885: #### NeWS consoles
                   1886: #
                   1887: # Console terminal windows under the NeWS (Sun's Display Postscript windowing
                   1888: # environment).   Note: these have nothing to do with Sony's News workstation
                   1889: # line.
                   1890: #
                   1891:
                   1892: # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
1.2       deraadt  1893: # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
                   1894: psterm|psterm-basic|NeWS psterm-80x34:\
                   1895:        :am:bs:hs:km:ul:\
1.1       deraadt  1896:        :co#80:it#8:li#34:\
                   1897:        :al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
1.2       deraadt  1898:        :dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
1.5       tholo    1899:        :im=\EOi:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\ET:ll=\EU:\
                   1900:        :mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:rc=^\:sc=^]:se=\ENo:\
                   1901:        :sf=\EW:so=\EOo:sr=\EX:ta=^I:te=\ENt:ti=\EOt:ts=\EOl:\
                   1902:        :ue=\ENu:up=\EY:us=\EOu:vb=\EZ:
1.2       deraadt  1903: psterm-96x48|NeWS psterm 96x48:\
1.3       deraadt  1904:        :co#96:li#48:tc=psterm:
1.2       deraadt  1905: psterm-90x28|NeWS psterm 90x28:\
1.3       deraadt  1906:        :co#90:li#28:tc=psterm:
1.2       deraadt  1907: psterm-80x24|NeWS psterm 80x24:\
1.3       deraadt  1908:        :co#80:li#24:tc=psterm:
1.1       deraadt  1909: # This is a faster termcap for psterm.  Warning:  if you use this termcap,
                   1910: # some control characters you type will do strange things to the screen.
1.2       deraadt  1911: # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
                   1912: psterm-fast|NeWS psterm fast version (flaky ctrl chars):\
                   1913:        :am:bs:hs:km:ul:\
1.1       deraadt  1914:        :co#80:it#8:li#34:\
1.5       tholo    1915:        :al=^A:cd=^B:ce=^C:cl=^L:cm=\004%d;%d;:cs=\005%d;%d;:dc=^F:\
                   1916:        :dl=^K:do=^P:ei=^Ni:fs=^Nl:ho=^R:i1=^N*:im=^Oi:kd=\E[B:\
                   1917:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^T:ll=^U:mb=^Ob:md=^Od:me=^N*:\
                   1918:        :mr=^Or:nd=^V:rc=^\:sc=^]:se=^No:sf=^W:so=^Oo:sr=^X:ta=^I:\
                   1919:        :te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:up=^Y:us=^Ou:vb=^Z:
1.1       deraadt  1920:
1.5       tholo    1921: #### NeXT Consoles
1.1       deraadt  1922: #
1.5       tholo    1923: # Use `glasstty' for the Workspace application
1.1       deraadt  1924: #
                   1925:
1.5       tholo    1926: # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
                   1927: next|NeXT console:\
                   1928:        :am:xt:\
                   1929:        :co#80:it#8:li#24:\
                   1930:        :bl=^G:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:do=^J:ho=\E[H:\
                   1931:        :kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:nd=\E[C:nw=^M^J:se=\E[4;1m:\
                   1932:        :sf=^J:so=\E[4;2m:ta=^I:up=\E[A:
                   1933: nextshell|NeXT Shell application:\
                   1934:        :am:\
                   1935:        :co#80:\
                   1936:        :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
1.1       deraadt  1937:
                   1938: ######## COMMON TERMINAL TYPES
                   1939: #
                   1940: # This section describes terminal classes and maker brands that are still
                   1941: # quite common, but have proprietary command sets not blessed by ANSI.
                   1942:
                   1943: #### Altos
                   1944: #
1.5       tholo    1945: # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
                   1946: # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
                   1947: # Acer has a web site at http://www.acer.com.
                   1948: #
1.1       deraadt  1949: # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
                   1950: # His comments suggest they were shipped with the system.
                   1951: #
                   1952:
1.2       deraadt  1953: # (altos2: had extension capabilities
1.1       deraadt  1954: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   1955: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   1956: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   1957: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   1958: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   1959: #      :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
                   1960: #      :HL=^AP\r:SP=\E[i:\
                   1961: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   1962: #      :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
                   1963: # Comparison with the k* capabilities makes it obvious that the c* things are
                   1964: # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
                   1965: # :sr: was given as a boolean-- esr)
                   1966: altos2|alt2|altos-2|altos II:\
                   1967:        :co#80:it#8:li#24:sg#0:\
1.5       tholo    1968:        :*5=^Am\r:*8=^An\r:DL=\E[M:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
                   1969:        :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
                   1970:        :FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:RA=\E[?7l:SA=\E[?7h:al=\E[L:\
                   1971:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   1972:        :dc=\E[P:do=\E[1B:ei=:ho=\E[H:ic=\E[@:\
                   1973:        :if=/usr/share/tabset/vt100:im=:\
                   1974:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=^AI\r:\
                   1975:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   1976:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
                   1977:        :kD=^AM\r:kE=^AN\r:kF=^AO\r:kb=^H:kd=\E[B:kh=\E[f:kl=\E[D:\
                   1978:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[1C:nw=^M^J:se=\E[m:\
                   1979:        :sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[1A:us=\E[4m:
1.2       deraadt  1980: # (altos3: had extension capabilities
1.1       deraadt  1981: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   1982: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   1983: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   1984: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   1985: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   1986: #      :HL=^AP\r:SP=\E[i:\
                   1987: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
1.2       deraadt  1988: altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V:\
1.5       tholo    1989:        :mb=\E[5p:me=\E[p:sr=\EM:\
                   1990:        :tc=altos2:
1.1       deraadt  1991: altos4|alt4|altos-4|altos IV:\
                   1992:        :tc=wy50:
1.2       deraadt  1993: # (altos7: had extension capabilities:
                   1994: #      :GG#0:GI=\EH8:GF=\EH7:\
1.1       deraadt  1995: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   1996: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   1997: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   1998: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   1999: # Comparison with the k* capabilities makes it obvious that the c* things are
1.5       tholo    2000: # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
                   2001: # also masde this entry relative to adm12 in order to give it an :sa:. The
                   2002: # <invis> imported by use=adm+sgr may work, let me know. -- esr)
1.1       deraadt  2003: altos7|alt7|altos VII:\
                   2004:        :am:mi:\
                   2005:        :co#80:li#24:sg#0:\
1.3       deraadt  2006:        :*5=^Am\r:*8=^An\r:DL=\ER:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
1.5       tholo    2007:        :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
                   2008:        :FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:\
                   2009:        :ac=l2m1k3j5t4u9v=w0q\072x6n8:al=\EE:cd=\EY:ce=\ET:\
                   2010:        :cl=\E+^^:cm=\E=%+ %+ :cr=^M:dc=\EW:do=^J:ei=\Er:ho=^^:\
                   2011:        :im=\Eq:is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2:\
                   2012:        :k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
                   2013:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:\
                   2014:        :kC=^AL\r:kD=^AM\r:kE=^AN\r:kF=^AO\r:kN=\EK:kP=\EJ:kb=^H:\
                   2015:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:md=\EGt:mh=\EGp:\
                   2016:        :mk=\EG1:nd=^L:nw=^M^J:pf=\EJ:po=\Ed#:sf=^J:sr=\Ej:ta=^I:\
                   2017:        :up=^K:\
                   2018:        :tc=adm+sgr:
1.1       deraadt  2019: altos7pc|alt7pc|altos PC VII:\
1.3       deraadt  2020:        :@7=\ET:tc=altos7:
1.1       deraadt  2021:
                   2022: #### Hewlett-Packard (hp)
                   2023: #
                   2024: #      Hewlett-Packard
                   2025: #      8000 Foothills Blvd
                   2026: #      Roseville, CA 95747
                   2027: #      Vox: 1-(916)-785-4363   (Technical response line for VDTs)
                   2028: #           1-(800)-633-3600   (General customer support)
                   2029: #
                   2030:
                   2031: # Generic HP terminal - this should (hopefully) work on any HP terminal.
1.2       deraadt  2032: hpgeneric|hp|hewlett-packard generic terminal:\
1.1       deraadt  2033:        :am:da:db:mi:xs:\
                   2034:        :co#80:li#24:lm#0:vt#6:\
1.3       deraadt  2035:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
1.5       tholo    2036:        :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
                   2037:        :do=^J:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:\
                   2038:        :se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
                   2039:        :us=\E&dD:
1.1       deraadt  2040:
                   2041: hp110|hewlett-packard model 110 portable:\
1.3       deraadt  2042:        :li#16:tc=hpgeneric:
1.1       deraadt  2043:
                   2044: hp+pfk+cr|hp function keys with CR:\
1.5       tholo    2045:        :k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
                   2046:        :k7=\Ev\r:k8=\Ew\r:
1.1       deraadt  2047:
                   2048: hp+pfk-cr|hp function keys w/o CR:\
1.5       tholo    2049:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
1.1       deraadt  2050:
                   2051: # The 2621s use the same keys for the arrows and function keys,
                   2052: # but not separate escape sequences. These definitions allow the
                   2053: # user to use those keys as arrow keys rather than as function
                   2054: # keys.
                   2055: hp+pfk+arrows|hp alternate arrow definitions:\
1.5       tholo    2056:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:kF=\Er\r:kH=\Eq\r:kR=\Es\r:\
                   2057:        :kd=\Ew\r:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:ku=\Et\r:
1.1       deraadt  2058:
                   2059: hp+arrows|hp arrow definitions:\
1.5       tholo    2060:        :kF=\ES:kH=\EF:kR=\ET:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:ku=\EA:
1.1       deraadt  2061:
                   2062: # Generic stuff from the HP 262x series
                   2063: #
                   2064: hp262x|HP 262x terminals:\
                   2065:        :xs:\
1.5       tholo    2066:        :cd=\EJ:dc=\EP:ip=:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:\
                   2067:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kd=\EB:ke=\E&s0A:kh=\Eh:\
                   2068:        :kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:mb=\E&dA:me=\E&d@:mk=\E&dS:\
                   2069:        :mr=\E&dB:\
1.1       deraadt  2070:        :..sa=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c:\
                   2071:        :se=\E&d@:sf=\ES:so=\E&dB:ta=\011:ue=\E&d@:us=\E&dD:
1.2       deraadt  2072:
1.5       tholo    2073: # Note: no :ho: on HP's since that homes to top of memory, not screen.
1.1       deraadt  2074: # Due to severe 2621 braindamage, the only way to get the arrow keys to
                   2075: # transmit anything at all is to turn on the function key labels
1.5       tholo    2076: # with :ks:, and even then the user has to hold down shift!
1.1       deraadt  2077: # The default 2621 turns off the labels except when it has to to
                   2078: # enable the function keys. If your installation prefers labels
                   2079: # on all the time, or off all the time (at the "expense" of the
                   2080: # function keys) move the # 2621-nl or 2621-wl labels to the
                   2081: # front using reorder.
                   2082: # Note: there are newer ROMs for 2621's that allow you to set
                   2083: # strap A so the regular arrow keys xmit \EA, etc, as with the
                   2084: # 2645. However, even with this strap set, the terminal stops
                   2085: # xmitting if you reset it, until you unset and reset the strap!
                   2086: # Since there is no way to set/unset the strap with an escape
                   2087: # sequence, we don't use it in the default.
1.3       deraadt  2088: # If you like, you can use 2621-ba (brain-damaged arrow keys).
1.1       deraadt  2089: hp2621-ba|2621-ba|2621 w/new rom and strap A set:\
1.5       tholo    2090:        :ke@:ks@:\
                   2091:        :tc=hp+arrows:tc=hp2621:
1.1       deraadt  2092:
1.2       deraadt  2093: # hp2621 with function labels. Most of the time they are off,
1.1       deraadt  2094: # but inside vi, the function key labels appear. You have to
                   2095: # hold down shift to get them to xmit.
                   2096: hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels:\
1.5       tholo    2097:        :is=\E&jA\r:ke=\E&jA:\
                   2098:        :tc=hp2621-fl:
1.1       deraadt  2099: hp2621-fl|2621-fl|hp 2621:\
                   2100:        :xo:xs@:\
                   2101:        :pb#19200:\
1.5       tholo    2102:        :bt=\Ei:cm=\E&a%r%dc%dY:dc=\EP:ip=:is=\E&j@\r:ke=\E&j@:\
                   2103:        :ks=\E&jB:me=\E&d@:se=\E&d@:so=\E&dD:ta=\011:ue=\E&d@:\
                   2104:        :us=\E&dD:\
                   2105:        :tc=hp+pfk+cr:tc=hpgeneric:
1.1       deraadt  2106:
                   2107: # To use 2621p printer, setenv TERM=2621p, PRINTER=2612p
                   2108: hp2621p|2621p|2621P|hp 2621 with printer:\
1.3       deraadt  2109:        :pf=\E&p13C:po=\E&p11C:tc=hp2621:
1.1       deraadt  2110:
                   2111: hp2621p-a|2621p-a|hp2621p with fn as arrows:\
                   2112:        :tc=hp+pfk+arrows:tc=hp2621p:
                   2113:
                   2114: # hp2621 with k45 keyboard
                   2115: hp2621-k45|hp2621k45|2621k45|k45|hp 2621 with 45 keyboard:\
1.5       tholo    2116:        :kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
                   2117:        :ku=\EA:\
                   2118:        :tc=hp2621:
1.1       deraadt  2119:
1.2       deraadt  2120: # 2621 using all 48 lines of memory, only 24 visible at any time.
                   2121: hp2621-48|48 line 2621:\
                   2122:        :li#48:\
1.3       deraadt  2123:        :cm=\E&a%r%dc%dR:cv=\E&a%dR:ho=\EH:tc=hp2621:
1.2       deraadt  2124:
                   2125: # 2621 with no labels ever. Also prevents vi delays on escape.
                   2126: hp2621-nl|hp 2621 with no labels:\
                   2127:        :kd@:ke@:kh@:kl@:kr@:ks@:ku@:tc=hp2621-fl:
                   2128:
                   2129: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
                   2130: # (wrong).
                   2131: #
                   2132: hp2621-nt|hp 2621 w/no tabs:\
                   2133:        :ta@:tc=hp2621:
1.1       deraadt  2134:
                   2135: # Hp 2624 B with 4 or 10 pages of memory.
                   2136: #
                   2137: # Some assumptions are made with this entry. These settings are
                   2138: # NOT set up by the initialization strings.
                   2139: #
                   2140: # Port Configuration
                   2141: #      RecvPace=Xon/Xoff
                   2142: #      XmitPace=Xon/Xoff
                   2143: #      StripNulDel=Yes
                   2144: #
                   2145: # Terminal Configuration
                   2146: #      InhHndShk=Yes
                   2147: #      InhDC2=Yes
                   2148: #      XmitFnctn(A)=No
                   2149: #      InhEolWrp=No
                   2150: #
1.5       tholo    2151: # Note: the 2624 DOES have a true :ho:, believe it or not!
1.1       deraadt  2152: #
                   2153: # The 2624 has an "error line" to which messages can be sent.
                   2154: # This is CLOSE to what is expected for a "status line". However,
                   2155: # after a message is sent to the "error line", the next carriage
                   2156: # return is EATEN and the "error line" is turned back off again!
1.5       tholo    2157: # So I guess we can't define :hs:, :es:, :ws:, :ds:, :fs:, :ts:.
1.1       deraadt  2158: #
                   2159: # This entry supports emacs (and any other program that uses raw
                   2160: # mode) at 4800 baud and less. I couldn't get the padding right
1.5       tholo    2161: # for 9600.
1.1       deraadt  2162: #
1.3       deraadt  2163: # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
1.1       deraadt  2164: hp2624|hp2624a|hp2624b|hp2624b-4p|2624-4p|2624|2624a|2624b|Hewlett Packard 2624 B:\
                   2165:        :da:db:\
                   2166:        :lm#96:\
1.3       deraadt  2167:        :vb=\E&w13F\E&w12F\E&w13F\E&w12F:tc=hp+labels:tc=scrhp:
1.1       deraadt  2168:
                   2169: # This hp2626 entry does not use any of the fancy windowing stuff
                   2170: # of the 2626.
                   2171: #
                   2172: # Indeed, terminfo does not yet handle such stuff. Since changing
                   2173: # any window clears memory, it is probably not possible to use
                   2174: # this for screen opt.
                   2175: #
                   2176: # ed is incredibly slow most of the time - I am guessing at the
                   2177: # exact padding. Since the terminal uses xoff/xon this is intended
                   2178: # only for cost computation, so that the terminal will prefer el
                   2179: # or even dl1 which is probably faster!
                   2180: #
                   2181: # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
                   2182: # extra slow on the last line of the window.
                   2183: #
                   2184: # The padding probably should be changed.
                   2185: #
                   2186: hp2626|hp2626a|hp2626p|2626|2626a|2626p|2626A|2626P|hp 2626:\
                   2187:        :da:db:\
                   2188:        :lm#0:pb#19200:\
                   2189:        :SF=\E&r%dD:SR=\E&r%dU:cd=\ED\EJ\EC:ip=:is=\E&j@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
                   2190:
                   2191: # This entry is for sysline. It allocates a 23 line window with
                   2192: # a 115 line workspace for regular use, and a 1 line window for
                   2193: # the status line.
                   2194: #
                   2195: # This assumes port 2 is being used.
                   2196: # Turn off horizontal line, Create ws #1 with 115 lines,
                   2197: # Create ws #2 with 1 line, Create window #1 lines 1-23,
                   2198: # Create window #2 lines 24-24, Attach cursor to workspace #1.
                   2199: # Note that this clears the tabs so it must be done by tset before
                   2200: # it sets the tabs.
                   2201: #
                   2202: hp2626-s|2626-s|hp 2626 using only 23 lines:\
                   2203:        :es:hs:\
                   2204:        :li#23:\
                   2205:        :fs=\E&d@\E&w7f2p1I\E&w4f1I:\
1.5       tholo    2206:        :i1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r:\
                   2207:        :ts=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC:\
                   2208:        :tc=hp2626:
1.1       deraadt  2209: # Force terminal back to 24 lines after being 23.
                   2210: hp2626-ns|2626-ns|hp 2626 using all 24 lines:\
1.5       tholo    2211:        :i1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r:tc=hp2626:
1.1       deraadt  2212: # Various entries useful for small windows on 2626.
1.2       deraadt  2213: hp2626-12|2626-12|hewlett-packard 2626 12 lines:\
1.3       deraadt  2214:        :li#12:tc=hp2626:
1.2       deraadt  2215: hp2626-12x40|2626-12x40|hewlett-packard 2626 12 lines 40 columns:\
1.3       deraadt  2216:        :co#40:li#12:tc=hp2626:
1.2       deraadt  2217: hp2626-x40|2626-x40|hewlett-packard 2626 40 columns:\
1.3       deraadt  2218:        :co#40:tc=hp2626:
1.2       deraadt  2219: hp2626-12-s|2626-12-s|hewlett-packard 2626 11 lines plus status:\
1.3       deraadt  2220:        :li#11:tc=hp2626-s:
1.2       deraadt  2221:
                   2222: #
                   2223: # hp2627 color tubes from University of Wisconsin
                   2224: #
                   2225: hp2627a-rev|hp 2627 with reverse video colors:\
                   2226:        :cr=^M:do=^J:\
                   2227:        :is=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r:\
1.5       tholo    2228:        :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&v0S\E&d@:\
                   2229:        :us=\E&dD\E&v1S:\
                   2230:        :tc=hp2621-nl:
1.2       deraadt  2231: hp2627a|2627|hp 2627 color terminal with no labels:\
                   2232:        :cr=^M:do=^J:\
                   2233:        :is=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r:\
1.5       tholo    2234:        :kb=^H:kd=^J:kl=^H:nw=^M^J:se=\E&v0S:sf=^J:so=\E&v2S:ta=^I:\
                   2235:        :ue=\E&v0S\E&d@:us=\E&dD\E&v1S:\
                   2236:        :tc=hp2621-nl:
1.2       deraadt  2237: hp2627c|hp 2627 color (cyan) terminal with no labels:\
                   2238:        :cr=^M:do=^J:\
                   2239:        :is=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r:\
1.5       tholo    2240:        :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
                   2241:        :tc=hp2627a:
1.1       deraadt  2242:
                   2243: # 2640a doesn't have the Y cursor addressing feature, and C is
                   2244: # memory relative instead of screen relative, as we need.
                   2245: #
                   2246: hp2640a|2640a|hp 2640a:\
                   2247:        :cm@:ke@:ks@:tc=hp2645:
                   2248:
                   2249: hp2640b|hp2644a|hp 264x series:\
                   2250:        :ke@:ks@:tc=hp2645:
                   2251:
1.2       deraadt  2252: # This terminal should be used at 4800 baud or less. It needs padding for
                   2253: # plain characters at 9600, I guessed at an appropriate cr delay.  It really
                   2254: # wants ^E/^F handshaking, but that doesn't work well even if you write
                   2255: # software to support it.
                   2256: hp2645|hp45|HP 2645 series:\
                   2257:        :pb#9600:\
1.5       tholo    2258:        :cr=\r:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:kM=\ER:\
                   2259:        :kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:kd=\EB:ke=\E&s0A:kh=\Eh:\
                   2260:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:mb=\E&dA:me=\E&d@:\
                   2261:        :mh=\E&dH:mr=\E&dB:\
1.2       deraadt  2262:        :..sa=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c:\
1.5       tholo    2263:        :us=\E&dD:\
                   2264:        :tc=hpgeneric:
1.2       deraadt  2265: # You should use this terminal at 4800 baud or less.
                   2266: hp2648|hp2648a|2648a|2648A|2648|HP 2648a graphics terminal:\
1.5       tholo    2267:        :cl=\EH\EJ:cm=\E&a%r%dc%dY:dc=\EP:ip=:\
                   2268:        :tc=hp2645:
1.1       deraadt  2269:
                   2270: # The HP 150 terminal is a fairly vanilla HP terminal, with the
                   2271: # clreol standout problem. It also has graphics capabilities and
                   2272: # a touch screen, which we don't describe here.
                   2273: hp150|hewlett packard Model 150:\
                   2274:        :tc=hp2622:
                   2275:
                   2276: # Hp 2382a terminals, "the little ones." They don't have any
                   2277: # alternate character set support and sending out ^N/^O will
                   2278: # leave the screen blank.
                   2279: hp2382a|hp2382|hewlett packard 2382a:\
                   2280:        :da:db:\
1.3       deraadt  2281:        :lh#1:lm#48:\
                   2282:        :ac@:ae@:as@:me=\E&d@:\
                   2283:        :..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:\
1.5       tholo    2284:        :..sa=\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:\
                   2285:        :tc=hp+labels:tc=scrhp:
1.1       deraadt  2286:
                   2287: hp2621-a|hp2621a-a|2621-a|hp2621 with fn as arrows:\
                   2288:        :tc=hp+pfk+arrows:tc=hp2621-fl:
                   2289:
                   2290: # newer hewlett packard terminals
                   2291:
                   2292: newhpkeyboard|generic entry for HP extended keyboard:\
1.5       tholo    2293:        :kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:\
                   2294:        :kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:\
                   2295:        :ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
                   2296:        :tc=hp+pfk-cr:
1.1       deraadt  2297:
                   2298: newhp|generic entry for new hewlett packard terminals:\
                   2299:        :am:bw:mi:xo:xs:\
                   2300:        :co#80:li#24:pb#4800:\
1.3       deraadt  2301:        :ac=T1R!U2S"W3O#V4P$t5u6w7v8\072'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\0724>q\\\054x.n/:\
1.5       tholo    2302:        :ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:cr=^M:ct=\E3:\
                   2303:        :dc=\EP:dl=\EM:do=^J:ei=\ER:i1=\E&jB:im=\EQ:ip=:le=^H:\
                   2304:        :mb=\E&dA:md=\E&dF:me=\E&d@\017:mh=\E&dH:mk=\E&dS:\
                   2305:        :mr=\E&dB:nd=\EC:nw=^M^J:\
1.3       deraadt  2306:        :..pk=\E&f0a%p1%dk0d%p2%l%dL%p2%s:\
                   2307:        :..pl=\E&f1a%p1%dk0d%p2%l%dL%p2%s:\
                   2308:        :..px=\E&f2a%p1%dk0d%p2%l%dL%p2%s:r1=\Eg:\
1.1       deraadt  2309:        :..sa=\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%;:\
1.5       tholo    2310:        :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=\011:ue=\E&d@:\
                   2311:        :up=\EA:us=\E&dD:\
                   2312:        :tc=newhpkeyboard:
1.1       deraadt  2313:
                   2314: memhp|memory relative addressing for new HP ttys:\
                   2315:        :vt#6:\
                   2316:        :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
1.3       deraadt  2317:        :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\EH\EJ:\
                   2318:        :cm=\E&a%dr%dC:cv=\E&a%dR:ho=\EH:ll=\E&a23R\r:tc=newhp:
1.1       deraadt  2319:
                   2320: scrhp|screen relative addressing for new HP ttys:\
                   2321:        :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
1.3       deraadt  2322:        :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\E&a0c0Y\EJ:\
1.5       tholo    2323:        :cm=\E&a%dy%dC:cv=\E&a%dY:ho=\E&a0y0C:ll=\E&a0y0C\EA:\
                   2324:        :tc=newhp:
1.1       deraadt  2325:
                   2326: hp+labels|"standard" label info for new HP ttys:\
1.3       deraadt  2327:        :Nl#8:lh#2:lw#8:\
1.5       tholo    2328:        :LF=\E&j@:LO=\E&jB:\
1.3       deraadt  2329:        :..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:
1.1       deraadt  2330:
1.2       deraadt  2331: hp+printer|"standard" printer info for HP ttys:\
1.3       deraadt  2332:        :ff=\E&p4u0C:pf=\E&p13C:po=\E&p11C:ps=\EH\E&p4dF:
1.1       deraadt  2333:
                   2334:
                   2335: # The new hp2621b is kind of a cross between the old 2621 and the
                   2336: # new 262x series of machines. It has dip-switched options.
                   2337: # The firmware has a bug in it such that if you give it a null
                   2338: # length label, the following character is eaten!
                   2339: hp2621b|2621b|hp 2621b with old style keyboard:\
1.3       deraadt  2340:        :Nl#8:lh#1:lm#48:lw#8:\
1.5       tholo    2341:        :LO=\E&jB:kF=\ET:kH=\EF:kR=\ES:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:\
                   2342:        :ku=\EA:\
1.3       deraadt  2343:        :..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%'o'%p1%+%c\r:tc=hp2621:
1.1       deraadt  2344:
                   2345: hp2621b-p|2621b-p|hp 2621b with printer:\
                   2346:        :tc=hp+printer:tc=hp2621b:
                   2347:
                   2348: # hp2621b - new 2621b with new extended keyboard
                   2349: # these are closer to the new 26xx series than the other 2621b
                   2350: hp2621b-kx|2621b-kx|hp 2621b with extended keyboard:\
                   2351:        :tc=newhpkeyboard:tc=hp2621b:
                   2352:
                   2353: hp2621b-kx-p|2621b-kx-p|hp 2621b with new keyboard & printer:\
                   2354:        :tc=hp+printer:tc=hp2621b-kx:
                   2355:
                   2356: # Some assumptions are made in the following entries.
                   2357: # These settings are NOT set up by the initialization strings.
                   2358: #
                   2359: #    Port Configuration
                   2360: # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff       StripNulDel=Yes
                   2361: #
                   2362: #    Terminal Configuration
                   2363: # InhHndShk(G)=Yes     InhDC2(H)=Yes
                   2364: # XmitFnctn(A)=No              InhEolWrp=No
                   2365: #
                   2366: #
                   2367: # Hp 2622a & hp2623a display and graphics terminals
                   2368: #
                   2369: hp2622|hp2622a|2622|2622a|hp 2622:\
                   2370:        :da:db:\
                   2371:        :lm#0:pb#19200:\
                   2372:        :is=\E&dj@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
                   2373:
                   2374: # The 2623 is a 2622 with extra graphics hardware.
                   2375: hp2623|hp2623a|2623|2623a|hp 2623:\
                   2376:        :tc=hp2622:
                   2377:
                   2378: hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer:\
                   2379:        :tc=hp+printer:tc=hp2624:
                   2380:
1.2       deraadt  2381: # The hewlett packard B can have an optional extra 6 pages of memory.
1.1       deraadt  2382: hp2624-10p|hp2624a-10p|hp2624b-10p|2624-10p|2624a-10p|2624b-10p|hewlett packard 2624 B w/ 10 pages of memory:\
1.3       deraadt  2383:        :lm#240:tc=hp2624:
1.1       deraadt  2384:
                   2385: hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer:\
1.3       deraadt  2386:        :lm#240:tc=hp2624b-p:
1.1       deraadt  2387:
                   2388: # Color manipulations for HP terminals
                   2389: hp+color|hp with colors:\
1.3       deraadt  2390:        :cc:\
                   2391:        :Co#16:NC#17:pa#7:\
                   2392:        :..Ip=\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:\
                   2393:        :oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I:\
                   2394:        :op=\E&v0S:sp=\E&v%dS:
1.1       deraadt  2395:
1.5       tholo    2396: # :is: sets the screen to be 80 columns wide
1.1       deraadt  2397: hp2397a|2397a|hp2397|2397|hewlett packard 2397A color terminal:\
1.5       tholo    2398:        :is=\E&w6f80X:\
                   2399:        :tc=memhp:tc=hp+labels:tc=hp+color:
1.1       deraadt  2400:
                   2401: #  HP 700/44 Setup parameters:
                   2402: # Terminal Mode                HP-PCterm
                   2403: # Inhibit Auto Wrap    NO
                   2404: # Status Line          Host Writable
                   2405: # PC Character Set     YES
                   2406: # Twenty-Five Line Mode        YES
                   2407: # XON/XOFF             @128 or 64 (sc)
                   2408: # Keycode Mode                 NO   or YES (sc)
                   2409: # Backspace Key                BS or BS/DEL
                   2410: #
1.5       tholo    2411: # :is:         sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
1.2       deraadt  2412: # \E\\? does not turn off keycode mode
                   2413: # <smsc>       sets alternate start/stop; keycode on
1.1       deraadt  2414: hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode:\
                   2415:        :am:eo:xn:xo:\
                   2416:        :co#80:li#25:\
1.3       deraadt  2417:        :@7=\E[4~:RA=\E[?7l:S4=\E[>11h\EPO**x0/65;1/67\E\\:\
1.5       tholo    2418:        :S5=\E[>11l\EP1**x0/11;1/13\E[m\E\\:SA=\E[?7h:XF=g:XN=e:\
1.3       deraadt  2419:        :ac=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263:\
1.1       deraadt  2420:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5       tholo    2421:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   2422:        :ic=\E[@:im=:\
1.1       deraadt  2423:        :is=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\:\
                   2424:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
1.3       deraadt  2425:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
1.5       tholo    2426:        :kB=\E[Z:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
                   2427:        :kr=\E[C:ku=\E[A:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
                   2428:        :so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
                   2429:        :vi=\E[?25l:
1.1       deraadt  2430: #
                   2431: hp2392|2392|2393|239x series:\
                   2432:        :co#80:\
1.5       tholo    2433:        :bt=\Ei:cm=\E&a%dy%dC:cv=\E&a%dY:im=\EQ:k1=\Ep\r:k2=\Eq\r:\
                   2434:        :k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
                   2435:        :kF=\EU:kN=\Eu:kP=\Ev:kR=\EV:kh=\Eh:ue=\E&d@:us=\E&dD:\
                   2436:        :tc=hpsub:
1.1       deraadt  2437:
                   2438: hpsub|hp terminals -- capability subset:\
                   2439:        :am:da:db:mi:xo:xs:\
                   2440:        :li#24:\
1.5       tholo    2441:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cr=^M:\
                   2442:        :dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
                   2443:        :is=\E&s1A\E<\E&k0\\:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:\
                   2444:        :kr=\EC:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
                   2445:        :sf=^J:so=\E&dB:ta=^I:up=\EA:
1.2       deraadt  2446:
                   2447: # hpex:
                   2448: #      May be used for most 24 x 80 hp terminals,
                   2449: # but has no padding added, so may allow runover in some terminals at high
                   2450: # baud rates.  Will not work for 2640a or 2640b terminals, 98x6 and 98x5
                   2451: # terminal emulators or 98x6 consoles.
                   2452: #      Adds xy-cursor addressing, vertical cursor addressing, home,
                   2453: # last line, and underline capabilities.
                   2454: #
                   2455: # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:" -- esr)
                   2456: hpex|hp extended capabilites:\
1.5       tholo    2457:        :cm=\E&a%dy%dC:cr=^M:cv=\E&a%dY:do=^J:im=\EQ:kb=^H:kd=^J:\
                   2458:        :kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&d@:us=\E&dD:\
                   2459:        :tc=hpsub:
1.1       deraadt  2460:
                   2461: # HP 236 console
                   2462: # From: <ddavis@ic.berkeley.edu>
                   2463: hp236|hp236 internal terminal emulator:\
1.2       deraadt  2464:        :am:\
1.1       deraadt  2465:        :co#80:li#24:\
1.5       tholo    2466:        :al=\EG:ce=\EK:cl=\EF:cm=\EE%+ %+ :dc=\EJ:dl=\EH:ei=:ic=\EI:\
                   2467:        :im=:le=^H:me=\ECI:se=\ECI:so=\EBI:up=^K:ve=\EDE:vs=\EDB:
1.1       deraadt  2468:
                   2469: # This works on a hp300 console running Utah 4.3 BSD
                   2470: # From: Craig Leres <leres@okeeffe.berkeley.edu>
                   2471: hp300h|HP Catseye console:\
1.2       deraadt  2472:        :am:da:db:mi:xs:\
1.1       deraadt  2473:        :co#128:li#51:lm#0:sg#0:\
1.3       deraadt  2474:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
1.5       tholo    2475:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
                   2476:        :dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
                   2477:        :im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
                   2478:        :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
                   2479:        :so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
1.1       deraadt  2480: # From: Greg Couch <gregc@ernie.berkeley.edu>
                   2481: hp9837|hp98720|hp98721|HP 9000/300 workstations:\
1.2       deraadt  2482:        :am:da:db:mi:xs:\
1.1       deraadt  2483:        :co#128:it#8:li#46:lm#0:\
1.3       deraadt  2484:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
1.5       tholo    2485:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:ct=\E3:cv=\E&a%dY:dc=\EP:\
                   2486:        :dl=\EM:do=\EB:ei=\ER:im=\EQ:is=\E&v0m1b0i&j@:kA=\EL:\
                   2487:        :kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kN=\EU:kP=\EV:kS=\EJ:kb=^H:\
                   2488:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
                   2489:        :le=^H:me=\E&d@:nd=\EC:se=\E&v0S:sf=^J:so=\E&v5S:st=\E1:\
                   2490:        :ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
1.1       deraadt  2491: # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
1.5       tholo    2492: # (hp98550: replaced /usr/share/tabset/9837 with std because :it#8:,:st=\E1:;
                   2493: # added empty <acsc> to avoid warnings re :as:/:ae: --esr)
1.1       deraadt  2494: hp98550|hp98550a|HP 9000 Series 300 color console:\
1.2       deraadt  2495:        :am:da:db:mi:xs:\
1.1       deraadt  2496:        :co#128:it#8:li#49:lm#0:\
1.5       tholo    2497:        :ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:\
1.3       deraadt  2498:        :ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
                   2499:        :cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:\
1.5       tholo    2500:        :if=/usr/share/tabset/std:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
                   2501:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
                   2502:        :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
                   2503:        :kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
                   2504:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
                   2505:        :md=\E&dJ:me=\E&d@:mh=\E&dH:mk=\E&ds:mr=\E&dJ:nd=\EC:\
                   2506:        :se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
1.3       deraadt  2507:        :us=\E&dD:ve=\E*dQ:vi=\E*dR:
1.1       deraadt  2508: # From: Victor Duchovni <vic@fine.princeton.edu>
1.5       tholo    2509: # (hp700-wy: removed obsolete ":nl=^J:";
                   2510: # replaced /usr/share/tabset/hp700-wy with std because :it#8:,:st=\E1: -- esr)
1.1       deraadt  2511: hp700-wy|HP700/41 emulating wyse30:\
1.2       deraadt  2512:        :am:bw:mi:ms:\
1.1       deraadt  2513:        :co#80:it#8:li#24:sg#1:ug#1:\
1.5       tholo    2514:        :al=0.7*\EE:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
                   2515:        :cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:\
                   2516:        :i1=\E~"\EC\Er\E(\EG0\003\E`9\E`1:\
                   2517:        :if=/usr/share/tabset/stdcrt:im=\Eq:kB=\EI:kC=^Z:kE=\ET:\
                   2518:        :kI=\Eq:kM=\Er:kS=\EY:kT=\EI:kb=\177:kd=^V:kh=^^:kl=^H:kr=^L:\
                   2519:        :ku=^K:le=^H:ll=^^^K:me=10\EG0:nd=^L:se=10\EG0:so=10\EG4:\
                   2520:        :sr=\Ej:st=\E1:ta=^I:ue=10\EG0:up=^K:us=10\EG8:
                   2521: # (hp70092: added empty <acsc> to avoid warnings re :as:/:ae: --esr)
1.2       deraadt  2522: hp70092|70092a|70092A|hp70092a|hp70092A|HP 700/92:\
1.1       deraadt  2523:        :am:da:db:xs:\
1.3       deraadt  2524:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:\
1.5       tholo    2525:        :LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
                   2526:        :ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:\
                   2527:        :ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
                   2528:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
                   2529:        :kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
                   2530:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
                   2531:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
                   2532:        :ku=\EA:le=^H:mb=\E&dA:md=\E&dB:me=\E&d@:mh=\E&dH:mr=\E&dB:\
                   2533:        :nd=\EC:se=\E&d@:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
1.3       deraadt  2534:        :up=\EA:us=\E&dD:
1.1       deraadt  2535:
                   2536: bobcat|sbobcat|HP 9000 model 300 console:\
                   2537:        :am:da:db:mi:xs:\
                   2538:        :co#128:it#8:li#47:sg#0:\
1.5       tholo    2539:        :al=10*\EL:bt=\Ei:cd=\EJ:ce=\EK:ch=6\E&a%dC:cl=\EH\EJ:\
                   2540:        :cm=6\E&a%dy%dC:cr=^M:cv=6\E&a%dY:dc=\EP:dl=10*\EM:do=\EB:\
                   2541:        :ei=\ER:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
                   2542:        :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:nw=^M^J:se=\E&d@:\
                   2543:        :sf=^J:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
1.1       deraadt  2544: gator-t|HP 9000 model 237 emulating extra-tall AAA:\
1.3       deraadt  2545:        :li#94:tc=gator:
1.1       deraadt  2546: gator|HP 9000 model 237 emulating AAA:\
                   2547:        :bw:km:mi:ul:\
                   2548:        :co#128:it#8:li#47:\
1.5       tholo    2549:        :AL=1*\E[%dL:DC=4\E[%dP:DL=1*\E[%dM:IC=4\E[%d@:al=\E[L:\
                   2550:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
                   2551:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
                   2552:        :ic=\E[@:im=:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:mr=\E[7m:\
                   2553:        :nd=\E[C:nw=^M^J:rp=1*%.\E[%db:se=\E[m:so=\E[7m:ta=^I:\
                   2554:        :ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  2555: gator-52|HP 9000 model 237 emulating VT52:\
1.3       deraadt  2556:        :co#128:li#47:tc=vt52:
1.1       deraadt  2557: gator-52t|HP 9000 model 237 emulating extra-tall VT52:\
1.3       deraadt  2558:        :li#94:tc=gator-52:
1.1       deraadt  2559:
                   2560: #### Honeywell-Bull
                   2561: #
                   2562: # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
                   2563: #
                   2564:
                   2565: # Honeywell Bull terminal.  Its cursor and function keys send single
                   2566: # control characters and it has standout/underline glitch.  Most programs
1.2       deraadt  2567: # do not like these features/bugs.  Visual bell is realized by flashing the
                   2568: # "keyboard locked" LED.
                   2569: dku7003-dumb|Honeywell Bull DKU 7003 dumb mode:\
1.1       deraadt  2570:        :co#80:li#25:\
1.5       tholo    2571:        :cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:do=^K:ho=^]:\
                   2572:        :kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:nd=^X:nw=^M^J:\
                   2573:        :sf=^J:ta=^I:up=^Z:vb=\E[2h\E[2l:
1.2       deraadt  2574: dku7003|Honeywell Bull DKU 7003 all features described:\
1.1       deraadt  2575:        :ms:\
1.2       deraadt  2576:        :sg#1:ug#1:\
                   2577:        :mb=\E[5m:md=\E[7m:me=\E[m:mh=\E[2m:mr=\E[7m:se=\E[m:\
1.5       tholo    2578:        :so=\E[7m:ue=\E[m:us=\E[4m:\
                   2579:        :tc=dku7003-dumb:
1.1       deraadt  2580:
                   2581: #### Lear-Siegler (adm)
                   2582: #
                   2583: # These guys are long since out of the terminals business, but
                   2584: # in 1995 many current terminals still have an adm type as one of their
1.3       deraadt  2585: # emulations (usually their stupidest, and usually labeled adm3, though
1.1       deraadt  2586: # these `adm3' emulations normally have adm3a+ capabilities).
                   2587: #
1.2       deraadt  2588: # WARNING: Some early ADM terminals (including the ADM3 and ADM5) are
                   2589: # reputed to have had the weird `feature' that sending them a ^G would trigger
                   2590: # a diagnostic dump to screen if one of the more obscure RS-232 pins
                   2591: # (variously reported as 22 or as `Ring Indicator') was being held high during
                   2592: # receipt of the ^G.  If you have a real ADM and think you've run into this,
                   2593: # check it out with a breakout box and tell us if this rumor is correct!
                   2594: # A quick fix might be to drop back to a cheesy 4-wire cable.
                   2595: #
1.1       deraadt  2596:
                   2597: adm1a|adm1|lsi adm1a:\
                   2598:        :am:\
                   2599:        :co#80:li#24:\
1.5       tholo    2600:        :bl=^G:cl=\E;:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:le=^H:nd=^L:\
                   2601:        :sf=^J:up=^K:
1.1       deraadt  2602: adm2|lsi adm2:\
1.2       deraadt  2603:        :am:\
1.1       deraadt  2604:        :co#80:li#24:\
1.5       tholo    2605:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
                   2606:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:\
                   2607:        :kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  2608: # (adm3: removed obsolete ":ma=^K^P:" -- esr)
                   2609: adm3|lsi adm3:\
1.2       deraadt  2610:        :am:\
1.1       deraadt  2611:        :co#80:li#24:\
                   2612:        :bl=^G:cl=^Z:cr=^M:do=^J:le=^H:sf=^J:
                   2613: # The following ADM-3A switch settings are assumed for normal operation:
                   2614: #      SPACE           U/L_DISP        CLR_SCRN        24_LINE
                   2615: #      CUR_CTL         LC_EN           AUTO_NL         FDX
                   2616: # Other switches may be set for operator convenience or communication
                   2617: # requirements.  I recommend
                   2618: #      DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
                   2619: #      ETX_OFF         EOT_OFF
1.2       deraadt  2620: # Most of these terminals required an option ROM to support lower case display.
                   2621: # Open the case and look at the motherboard; if you see an open 24-pin DIP
                   2622: # socket, you may be out of luck.
                   2623: #
1.1       deraadt  2624: # (adm3a: removed obsolete ":ma=^K^P:" -- esr)
                   2625: adm3a|lsi adm3a:\
1.2       deraadt  2626:        :am:\
1.1       deraadt  2627:        :co#80:li#24:\
1.5       tholo    2628:        :bl=^G:cl=\032:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:le=^H:nd=^L:\
                   2629:        :sf=^J:up=^K:
1.2       deraadt  2630: adm3a+|adm3a plus:\
1.1       deraadt  2631:        :kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
1.2       deraadt  2632: # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
1.1       deraadt  2633: adm5|lsi adm5:\
                   2634:        :sg#1:\
1.5       tholo    2635:        :bl=^G:cd=\EY:ce=\ET:cr=^M:do=^J:kb=^H:kh=^^:se=\EG:so=\EG:tc=adm3a+:
                   2636: # A lot of terminals other than adm12s use these.  Wherever you see
                   2637: # use=adm+sgr with some of its capabilities disabled, try the
                   2638: # disabled ones.  They may well work but not have been documented or
                   2639: # expressed in the using entry.  We'd like to cook up an :sa: but the
                   2640: # :ae:/:as: sequences of the using entries vary too much.
                   2641: adm+sgr|adm style highlight capabilities:\
                   2642:        :me=\EG0:mk=\EG1:mr=\EG4:se=\EG0:so=\EG4:ue=\EG0:us=\EG8:
                   2643: # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
                   2644: # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
                   2645: # :kh: from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  :cl: could also
                   2646: # be ^Z, according to his entry.
                   2647: # (adm11: :us:=\EG4 was obviously erroneous because it also said
                   2648: # :mr:=\EG4.  Looking at other ADMs confirms this -- esr)
                   2649: adm11|LSI ADM-11:\
1.2       deraadt  2650:        :am:hs:\
1.1       deraadt  2651:        :co#80:li#24:\
1.5       tholo    2652:        :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ds=\Eh:\
                   2653:        :fs=\E(\r:ho=^^:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   2654:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=^^:\
                   2655:        :kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:nd=^L:nw=^M^J:ta=^I:\
                   2656:        :ts=\EF\E):up=^K:\
                   2657:        :tc=adm+sgr:
1.1       deraadt  2658: # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
                   2659: # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
1.5       tholo    2660: # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
                   2661: # :is:=\Eq but that looked wrong; this :is: is from Dave Yost <esquire!yost>
                   2662: # -- esr)
1.1       deraadt  2663: adm12|lsi adm12:\
1.2       deraadt  2664:        :am:mi:\
1.1       deraadt  2665:        :co#80:li#24:\
1.5       tholo    2666:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:dc=\EW:\
                   2667:        :dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
                   2668:        :is=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1:\
                   2669:        :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
                   2670:        :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:\
                   2671:        :ku=^K:le=^H:nd=^L:up=^K:\
                   2672:        :tc=adm+sgr:
1.2       deraadt  2673: # (adm20: removed obsolete ":kn#7:" -- esr)
1.1       deraadt  2674: adm20|lear siegler adm20:\
1.2       deraadt  2675:        :am:\
1.1       deraadt  2676:        :co#80:it#8:li#24:\
                   2677:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
1.5       tholo    2678:        :cm=\E=%i%r%+^_%+^_:cr=^M:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:\
                   2679:        :im=:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6=^X:k7=^Z:le=^H:me=\E(:\
                   2680:        :nd=^L:se=\E(:so=\E):ta=^I:up=^K:
1.1       deraadt  2681: adm21|lear siegler adm21:\
1.5       tholo    2682:        :sg#1:\
                   2683:        :al=30*\EE:bl=^G:cd=\EY:ce=\ET:cr=^M:dc=\EW:dl=30*\ER:do=^J:\
                   2684:        :ei=:ic=\EQ:im=:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:mk@:sf=^J:\
                   2685:        :tc=adm+sgr:tc=adm3a:
1.1       deraadt  2686: # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
1.2       deraadt  2687: # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
1.5       tholo    2688: # removed bogus-looking \200 from before :cm:. -- esr)
1.1       deraadt  2689: adm22|lsi adm22:\
1.2       deraadt  2690:        :am:\
1.1       deraadt  2691:        :co#80:li#24:\
1.5       tholo    2692:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
                   2693:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
1.3       deraadt  2694:        :is=\E%\014\014\014\016\003\200\003\002\003\002\200\200\200\200\200\200\200\200\200\200\200:\
1.5       tholo    2695:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   2696:        :k7=^AF\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:l1=F1:l2=F2:\
                   2697:        :l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:le=^H:me=\E(:nd=^L:se=\E(:\
                   2698:        :so=\E):ta=\Ei:up=^K:
1.2       deraadt  2699: # ADM 31 DIP Switches
                   2700: #
                   2701: # This information comes from two versions of the manual for the
                   2702: # Lear-Siegler ADM 31.
                   2703: #
                   2704: # Main board:
                   2705: #                  rear of case
                   2706: #   +-||||-------------------------------------+
                   2707: #   + S1S2                              ||S    +
                   2708: #   +                                   ||3    +
                   2709: #   +                                          +
                   2710: #   +                                ||S       +
                   2711: #   +                                ||4       +
                   2712: #   +                                          +
                   2713: #   +                                          +
                   2714: #   +                                          +
                   2715: #   +                                          +
                   2716: #   +                                          +
                   2717: # +-+                                          +-+
                   2718: # +                                              +
                   2719: # +                               S5 S6 S7       +
                   2720: # +                               == == ==       +
                   2721: # +----------------------------------------------+
                   2722: #            front of case (keyboard)
                   2723: #
                   2724: #  S1 - Data Rate - Modem
                   2725: #  S2 - Data Rate - Printer
                   2726: # ------------------------
                   2727: # Data Rate   Setting
                   2728: # -------------------
                   2729: # 50          0 0 0 0
                   2730: # 75          1 0 0 0
                   2731: # 110         0 1 0 0
                   2732: # 134.5       1 1 0 0
                   2733: # 150         0 0 1 0
                   2734: # 300         1 0 1 0
                   2735: # 600         0 1 1 0
                   2736: # 1200        1 1 1 0
                   2737: # 1800        0 0 0 1
                   2738: # 2000        1 0 0 1
                   2739: # 2400        0 1 0 1
                   2740: # 3600        1 1 0 1
                   2741: # 4800        0 0 1 1
                   2742: # 7200        1 0 1 1
                   2743: # 9600        0 1 1 1
                   2744: # x           1 1 1 1
                   2745: #
                   2746: # S3 - Interface/Printer/Attributes
                   2747: # ---------------------------------
                   2748: # Printer Busy Control
                   2749: # sw1   sw2   sw3
                   2750: # ---------------
                   2751: # off   off   off   Busy not active, CD disabled
                   2752: # off   off   on    Busy not active, CD enabled
                   2753: # off   on    off   Busy active on J5-20, CD disabled
                   2754: # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
                   2755: # on    off   on    Busy active on J5-19, CD enabled
                   2756: #
                   2757: # sw4   Used in conjuction with S4 for comm interface control - Fact 0
                   2758: #
                   2759: # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
                   2760: #
                   2761: # sw6   ON enables printer BUSY active LOW - Factory Setting
                   2762: #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
                   2763: #
                   2764: # sw7   ON - steady cursor - Factory Setting
                   2765: #       OFF - blinking cursor
                   2766: #
                   2767: # sw8   ON causes selected attribute character to be displayed
                   2768: #       OFF causes SPACE to be displayed instead - Factory Setting
                   2769: #
                   2770: # S4 - Interface
                   2771: # --------------
                   2772: # Modem Interface
                   2773: # S3    S4    S4    S4    S4
                   2774: # sw4   sw1   sw2   sw3   sw4
                   2775: # ---------------------------
                   2776: # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
                   2777: #                               Current Loop disabled - Factory Setting
                   2778: # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
                   2779: #                               disabled
                   2780: # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
                   2781: #                               Current Loop Disabled
                   2782: #
                   2783: # sw5   ON disables dot stretching mode - Factory Setting
                   2784: #       OFF enables dot stretching mode
                   2785: # sw6   ON enables blanking function
                   2786: #       OFF enables underline function - Factory Setting
                   2787: # sw7   ON causes NULLS to be displayed as NULLS
                   2788: #       OFF causes NULLS to be displayed as SPACES - Factory Setting
                   2789: #
                   2790: # S5 - Word Structure
                   2791: # -------------------
                   2792: # sw1   ON enables BREAK key - Factory Setting
                   2793: #       OFF disables BREAK key
                   2794: # sw2   ON selects 50Hz monitor refresh rate
                   2795: #       OFF selects 60Hz monitor refresh rate - Factory Setting
                   2796: #
                   2797: # Modem Port Selection
                   2798: # sw3   sw4   sw5
                   2799: # ---------------
                   2800: # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
                   2801: # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
                   2802: # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
                   2803: # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
                   2804: # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
                   2805: # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
                   2806: # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
                   2807: # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
                   2808: #
                   2809: # sw6   ON  sends bit 8 a 1 (mark)
                   2810: #       OFF sends bit 8 as 0 (space) - Factory Setting
                   2811: # sw7   ON  selects Block Mode
                   2812: #       OFF selects Conversation Mode - Factory Setting
                   2813: # sw8   ON  selects Full Duplex operation
                   2814: #       OFF selects Half Duplex operation - Factory Setting
                   2815: #
                   2816: # S6 - Printer
                   2817: # ------------
                   2818: # sw1, sw2, sw6, sw7   Reserved - Factory 0
                   2819: #
                   2820: # Printer Port Selection
                   2821: # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
                   2822: #
                   2823: # sw8   ON   enables Printer Port
                   2824: #       OFF disables Printer Port - Factory Setting
                   2825: #
                   2826: # S7 - Polling Address
                   2827: # --------------------
                   2828: # sw1-7 Establish ASCII character which designates terminal polling address
                   2829: #       ON  = logic 0
                   2830: #       OFF = logic 1 - Factory Setting
                   2831: # sw8   ON   enables Polling Option
                   2832: #       OFF disables Polling Option - Factory Setting
                   2833: #
                   2834: #
                   2835: # On some older ADM 31s, S4 does not exist, and S5-sw6 is not defined.
                   2836: #
1.5       tholo    2837: # This adm31 entry uses underline as the standout mode.
1.1       deraadt  2838: # If the adm31 gives you trouble with standout mode, check the DIP switch in
                   2839: # position 6, bank @c11, 25% from back end of the circuit board.  Should be
                   2840: # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
                   2841: # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
1.5       tholo    2842: adm31|lsi adm31 with sw6 set for underline mode:\
1.2       deraadt  2843:        :am:mi:\
1.1       deraadt  2844:        :co#80:li#24:\
1.5       tholo    2845:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
                   2846:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E0:k0=^A0\r:\
                   2847:        :k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:k6=^A6\r:\
                   2848:        :k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
                   2849:        :me=\EG0:nd=^L:se=\EG0:sf=^J:so=\EG1:ue=\EG0:up=^K:us=\EG1:
1.2       deraadt  2850: adm31-old|o31|old adm31:\
1.1       deraadt  2851:        :so=\EG4:ue@:us@:tc=adm31:
                   2852: # ADM36 in native mode (not VT52 emulation mode)
1.2       deraadt  2853: # Hmmm...this looks a lot like an incomplete and slightly botched description
                   2854: # of a vt100 emulator.  Might be worth trying vt100 on this type and seeing
                   2855: # if it flies.  Assuming there are any of these left alive...
1.5       tholo    2856: # (adm36: I added <rmam>/<smam> based on the initialization string;
                   2857: # also added :me:=\E[m -- esr)
1.1       deraadt  2858: adm36|lsi adm36:\
                   2859:        :am:mi:\
                   2860:        :co#80:li#24:\
1.3       deraadt  2861:        :RA=\E[?7l:SA=\E[?7h:al=\E[1L:cd=\E[0J:ce=\E[0K:\
1.5       tholo    2862:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dl=\E[1M:ei=\E[4l:im=\E[4h:\
                   2863:        :is=\E[6;?7h\E[4;20;?1;?3;?6;?4l\E(B\E)B\E>:kd=\EB:\
                   2864:        :kl=\ED:kr=\EC:ku=\E[A:le=^H:me=\E[m:nd=\E[D:up=\E[A:
1.1       deraadt  2865: # (adm42: removed obsolete ":ma=^K^P:" -- esr)
                   2866: adm42|lsi adm42:\
1.2       deraadt  2867:        :am:\
1.1       deraadt  2868:        :co#80:li#24:\
1.5       tholo    2869:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :\
                   2870:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:ip=:kd=^J:kh=^^:\
                   2871:        :kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:pc=\177:sf=^J:ta=^I:ue@:\
                   2872:        :up=^K:us@:vs=\EC\E3 \E3(:\
                   2873:        :tc=adm+sgr:
1.1       deraadt  2874: # The following termcap for the Lear Siegler ADM-42 leaves the
                   2875: # "system line" at the bottom of the screen blank (for those who
                   2876: # find it distracting otherwise)
1.2       deraadt  2877: adm42-ns|lsi adm-42 with no system line:\
1.1       deraadt  2878:        :al=\EE\EF \011:bt=\EI\EF \011:cd=\EY\EF \011:\
                   2879:        :ce=\ET\EF \011:cl=\E;\EF \011:cm=\E=%+ %+ \EF \011:\
                   2880:        :dc=\EW\EF \011:dl=\ER\EF \011:ei=\Er\EF \011:\
                   2881:        :im=\Eq\EF \011:tc=adm42:
1.5       tholo    2882: # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
                   2883: # The insert mode of this terminal is commented out because it's broken for our
                   2884: # purposes in that it will shift the position of every character on the page,
                   2885: # not just the cursor line!
                   2886: # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
                   2887: adm1178|1178|lsi adm1178:\
                   2888:        :am:\
                   2889:        :co#80:li#24:sg#1:ug#1:\
                   2890:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
                   2891:        :cr=^M:dc=\EW:dl=\ER:do=^J:ho=^^:ip=6*:kb=^H:kd=^J:kl=^H:\
                   2892:        :le=^H:md=\E(:me=\E):mr=\EG4:nd=^L:nw=^M^J:pc=\177:se=\EG0:\
                   2893:        :sf=^J:so=\EG4:ta=^I:ue=\EG0:up=^K:us=\EG1:vs=\EC\E3 \E3(:
1.1       deraadt  2894:
                   2895: #### Prime
                   2896: #
                   2897: # Yes, Prime makes terminals.  These entries were posted by Kevin J. Cummings
                   2898: # <cummings@primerd.Prime.COM> on 14 Dec 1992 and lightly edited by esr.
1.5       tholo    2899: #
1.1       deraadt  2900:
1.5       tholo    2901: # Standout mode is dim reverse-video.
1.1       deraadt  2902: pt100|pt200|wren|fenix|prime pt100/pt200:\
                   2903:        :am:bw:mi:ms:\
                   2904:        :co#80:it#8:li#24:\
                   2905:        :DC=\E[%dP:DL=\E[M:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
1.5       tholo    2906:        :UP=\E[%dA:al=\E[L\E[t:bt=\E[Z:cd=\E[J\E[r:ce=\E[K\E[t:\
                   2907:        :cl=\E?:cm=\E0%+!%+!:cr=^M:dc=\E[P:do=\ED:ei=\E[4l:ho=\E$B:\
                   2908:        :im=\E[4h:kb=^H:kd=\E[B:ke=\E[>13l:kh=\E$A:kl=\E[D:kr=\E[C:\
                   2909:        :ks=\E[>13h:ku=\E[A:le=^H:me=\E[m:mh=\E[2m:nd=\E[C:nw=^M^J:\
                   2910:        :se=\E[m:sf=^J:so=\E[2;7m:ta=^I:\
1.1       deraadt  2911:        :ti=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q:\
1.2       deraadt  2912:        :ue=\E[m:up=\EM:us=\E[4m:vb=\E$\E$P:
1.1       deraadt  2913: pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode:\
                   2914:        :co#132:\
                   2915:        :cm=\E[%i%d;%dH:tc=pt100:
                   2916: pt250|Prime PT250:\
1.5       tholo    2917:        :se@:so@:tc=pt100:
1.1       deraadt  2918: pt250w|Prime PT250 in 132-column mode:\
1.5       tholo    2919:        :se@:so@:tc=pt100w:
1.1       deraadt  2920:
                   2921: #### Qume (qvt)
                   2922: #
                   2923: #      Qume, Inc.
                   2924: #      3475-A North 1st Street
                   2925: #      San Jose CA 95134
                   2926: #      Vox: (800)-457-4447
                   2927: #      Fax: (408)-473-1510
                   2928: #      Net: josed@techsupp.wyse.com (Jose D'Oliveira)
                   2929: #
                   2930: # Qume was bought by Wyse, but still (as of early 1995) has its own support
                   2931: # group and production division.
                   2932: #
                   2933: # Discontinued Qume models:
                   2934: #
                   2935: # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
                   2936: # built to replace them, and a qvt119+ which was a 101+ with available wide
                   2937: # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
                   2938: # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
                   2939: # ANSI-compatible terminals with the qvt323 and qvt61.
                   2940: #
                   2941: # Current Qume models (as of February 1995):
                   2942: #
                   2943: # All current Qume terminals have ANSI-compatible operation modes.
                   2944: # Qume is still producing the qvt62, which features emulations for other
                   2945: # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
                   2946: # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
1.3       deraadt  2947: # with many emulations including Wyse370, Wyse 325, etc.  Their newest
1.1       deraadt  2948: # model is the qvt520, which is vt420-compatible.
                   2949: #
                   2950: # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
                   2951:
                   2952: qvt101|qvt108|qume qvt 101 and QVT 108:\
1.5       tholo    2953:        :sg#1:tc=qvt101+:
1.3       deraadt  2954:
1.5       tholo    2955: # This used to have :vs=\E.2: but no :ve: or :vi:.  The BSD termcap
                   2956: # file had :vs=\EM4 \200\200\200:.  I've done the safe thing and yanked
                   2957: # both. The :mr: is from BSD, which also claimed bold=\E( and dim=\E).
1.3       deraadt  2958: # What seems to be going on here is that this entry was designed so that
                   2959: # the normal highlight is bold and standout is dim plus something else
1.5       tholo    2960: # (reverse-video maybe?  But then, are there two :mr: sequences?)
1.1       deraadt  2961: qvt101+|qvt101p|qume qvt 101 PLUS product:\
                   2962:        :am:bw:hs:ul:\
                   2963:        :co#80:li#24:sg#0:\
1.5       tholo    2964:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
                   2965:        :ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=:fs=^M:ho=^^:\
                   2966:        :ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
                   2967:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:\
                   2968:        :kB=\EI:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:\
                   2969:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\EA:po=\E@:se=\E(:sf=^J:\
                   2970:        :so=\E0P\E):st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:\
                   2971:        :tc=adm+sgr:
1.2       deraadt  2972: qvt102|qume qvt 102:\
1.1       deraadt  2973:        :ve=\E.:tc=qvt101:
1.2       deraadt  2974: # (qvt103: added <rmam>/<smam> based on init string -- esr)
1.1       deraadt  2975: qvt103|qume qvt 103:\
                   2976:        :am:xn:xo:\
                   2977:        :co#80:it#8:li#24:vt#3:\
1.3       deraadt  2978:        :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
                   2979:        :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   2980:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
1.5       tholo    2981:        :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
                   2982:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
                   2983:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   2984:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  2985:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5       tholo    2986:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
                   2987:        :up=\E[A:us=\E[4m:
1.1       deraadt  2988: qvt103-w|qume qvt103 132 cols:\
1.3       deraadt  2989:        :co#132:li#24:\
                   2990:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt103:
1.1       deraadt  2991: qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals:\
                   2992:        :am:hs:mi:ms:\
                   2993:        :co#80:li#24:sg#0:\
1.5       tholo    2994:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*1:cm=\E=%+ %+ :\
                   2995:        :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:\
                   2996:        :ho=^^:im=\Eq:is=\EDF\EC\EG0\Er\E(\E%EX:k0=^AI\r:\
                   2997:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   2998:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:\
                   2999:        :ku=^K:le=^H:nd=^L:pf=\EA:po=\E@:sf=^J:sr=\EJ:st=\E1:ta=^I:\
                   3000:        :ts=\Eg\Ef:up=^K:us=\EG8:vb=\En0\En1:ve=\E.4:vs=\E.2:\
                   3001:        :tc=adm+sgr:
1.1       deraadt  3002: qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines:\
1.3       deraadt  3003:        :li#25:tc=qvt119+:
1.1       deraadt  3004: qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode:\
                   3005:        :co#132:\
                   3006:        :is=\EDF\EC\EG0\Er\E(\E%\EX\En4:tc=qvt119+:
                   3007: qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25:\
1.3       deraadt  3008:        :li#25:tc=qvt119+:
1.1       deraadt  3009: qvt203|qvt203+|qume qvt 203 Plus:\
1.5       tholo    3010:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:ip=:k0=\E[29~:\
                   3011:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
                   3012:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[28~:sf=\n:\
                   3013:        :tc=qvt103:
1.1       deraadt  3014: qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video):\
1.3       deraadt  3015:        :co#132:li#24:\
                   3016:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt203:
1.1       deraadt  3017: #
                   3018: #      Since a command is present for enabling 25 data lines,
                   3019: #      a specific terminfo entry may be generated for the 203.
                   3020: #      If one is desired for the QVT 119 PLUS then 25 lines must
                   3021: #      be selected in the status line (setup line 9).
                   3022: #
                   3023: qvt203-25|QVT 203 PLUS with 25 by 80 column mode:\
                   3024:        :co#80:li#25:\
                   3025:        :is=\E[=40h\E[?3l:tc=qvt203:
                   3026: qvt203-25-w|QVT 203 PLUS with 25 by 132 columns:\
1.3       deraadt  3027:        :co#132:li#25:\
                   3028:        :r2=\E[?3h\E[=40h:tc=qvt203:
1.1       deraadt  3029:
                   3030: #### Televideo (tvi)
                   3031: #
                   3032: #      TeleVideo
                   3033: #      550 East Brokaw Road
                   3034: #      PO Box 49048    95161
                   3035: #      San Jose CA 95112
                   3036: #      Vox: (408)-954-8333
                   3037: #      Fax: (408)-954-0623
                   3038: #
                   3039: #
                   3040: # There are some tvi terminals that require incredible amounts of padding and
                   3041: # some that don't.  I'm assuming 912 and 920 are the old slow ones,
                   3042: # and 912b, 912c, 920b, 920c are the new ones that don't need padding.
                   3043: #
                   3044: # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
                   3045: # Televideo terminals are ANSI and PC-ANSI compatible.
                   3046:
                   3047: tvi803|televideo 803:\
                   3048:        :cl=\E*:tc=tvi950:
                   3049:
                   3050: # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
1.2       deraadt  3051: # Switch settings are:
                   3052: #
                   3053: # S1  1 2 3 4
                   3054: #     D D D D  9600
                   3055: #     D D D U    50
                   3056: #     D D U D    75
                   3057: #     D D U U   110
                   3058: #     D U D D   135
                   3059: #     D U D U   150
                   3060: #     D U U D   300
                   3061: #     D U U U   600
                   3062: #     U D D D  1200
                   3063: #     U D D U  1800
                   3064: #     U D U D  2400
                   3065: #     U D U U  3600
                   3066: #     U U D D  4800
                   3067: #     U U D U  7200
                   3068: #     U U U D  9600
                   3069: #     U U U U 19200
                   3070: #
                   3071: # S1  5 6 7 8
                   3072: #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
                   3073: #     U D X U  7N2
                   3074: #     U U D D  7O1
                   3075: #     U U D U  7O2
                   3076: #     U U U D  7E1
                   3077: #     U U U U  7E2
                   3078: #     D D X D  8N1
                   3079: #     D D X U  8N2
                   3080: #     D U D D  8O1
                   3081: #     D U U U  8E2
                   3082: #
                   3083: # S1  9  Autowrap
                   3084: #     U  on
                   3085: #     D  off
                   3086: #
                   3087: # S1 10  CR/LF
                   3088: #     U  do CR/LF when CR received
                   3089: #     D  do CR when CR received
                   3090: #
                   3091: # S2  1  Mode
                   3092: #     U  block
                   3093: #     D  conversational
                   3094: #
                   3095: # S2  2  Duplex
                   3096: #     U  half
                   3097: #     D  full
                   3098: #
                   3099: # S2  3  Hertz
                   3100: #     U  50
                   3101: #     D  60
                   3102: #
                   3103: # S2  4  Edit mode
                   3104: #     U  local
                   3105: #     D  duplex
                   3106: #
                   3107: # S2  5  Cursor type
                   3108: #     U  underline
                   3109: #     D  block
                   3110: #
                   3111: # S2  6  Cursor down key
                   3112: #     U  send ^J
                   3113: #     D  send ^V
                   3114: #
                   3115: # S2  7  Screen colour
                   3116: #     U  green on black
                   3117: #     D  black on green
                   3118: #
                   3119: # S2  8  DSR status (pin 6)
                   3120: #     U  disconnected
                   3121: #     D  connected
                   3122: #
                   3123: # S2  9  DCD status (pin 8)
                   3124: #     U  disconnected
                   3125: #     D  duplex
                   3126: #
                   3127: # S2 10  DTR status (pin 20)
                   3128: #     U  disconnected
                   3129: #     D  duplex
1.5       tholo    3130: # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added :kh:, :le:, :do:,
                   3131: # :sf:, <hpa>, <vpa>, :am:, :ms: from SCO entry -- esr)
1.1       deraadt  3132: tvi910|televideo model 910:\
1.2       deraadt  3133:        :am:ms:\
1.5       tholo    3134:        :co#80:it#8:li#24:sg#1:\
                   3135:        :bl=^G:bt=\EI:cd=\EY:ce=\ET:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :\
                   3136:        :cr=^M:cv=\E[%+ :do=^J:ho=\E=\001\001:\
                   3137:        :if=/usr/share/tabset/stdcrt:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
                   3138:        :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
                   3139:        :k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:\
                   3140:        :sf=^J:ta=^I:up=^K:\
                   3141:        :tc=adm+sgr:
1.1       deraadt  3142: # From: Alan R. Rogers <rogers%albany@csnet-relay>
                   3143: # as subsequently hacked over by someone at SCO
1.2       deraadt  3144: # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
                   3145: #
                   3146: # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
                   3147: #
                   3148: # S1  1 2 3 4:
                   3149: #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
                   3150: #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
                   3151: #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
                   3152: #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
                   3153: #
                   3154: # S1  5 6 7 8:
                   3155: #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
                   3156: #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
                   3157: #     D U D D  8O1     D U U U  8E2
                   3158: #
                   3159: # S1  9  Autowrap            (U = on, D = off)
                   3160: # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
                   3161: # S2  1  Mode                (U = block, D = conversational)
                   3162: # S2  2  Duplex              (U =  half, D = full)
                   3163: # S2  3  Hertz               (U = 50, D = 60)
                   3164: # S2  4  Edit mode           (U = local, D = duplex)
                   3165: # S2  5  Cursor type         (U = underline, D = block)
                   3166: # S2  6  Cursor down key     (U = send ^J, D = send ^V)
                   3167: # S2  7  Screen colour       (U = green on black, D = black on green)
                   3168: # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
                   3169: # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
                   3170: # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
                   3171: #
1.1       deraadt  3172: tvi910+|910+|televideo 910+:\
1.5       tholo    3173:        :al=\EE:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:im=:k0=^A@\r:k1=^AA\r:\
                   3174:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
                   3175:        :k8=^AH\r:k9=^AI\r:ll=\E=7 :\
                   3176:        :tc=tvi910:
1.2       deraadt  3177:
                   3178: # (tvi912: removed obsolete ":ma=^K^P^L :" -- esr)
                   3179: tvi912|tvi914|tvi920|old televideo 912/914/920:\
                   3180:        :am:\
                   3181:        :co#80:it#8:li#24:sg#1:ug#1:\
1.5       tholo    3182:        :al=\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
                   3183:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:\
1.1       deraadt  3184:        :if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
1.5       tholo    3185:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
                   3186:        :k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
                   3187:        :se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:
1.1       deraadt  3188: # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
                   3189: # The 920 has this plus real function keys that xmit different things.
                   3190: # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
                   3191: tvi912c|tvi912b|912c|912b|tvi|new televideo 912:\
                   3192:        :al=\EE:dl=\ER:tc=tvi912:
1.2       deraadt  3193: # set to page 1 when entering curses application (\E-17 )
                   3194: # reset to page 0 when exiting curses application (\E-07 )
1.1       deraadt  3195: tvi912-2p|tvi920-2p|912-2p|920-2p|tvi-2p|televideo w/2 pages:\
1.5       tholo    3196:        :te=\E-07 :ti=\E-17 :\
                   3197:        :tc=tvi912:
1.1       deraadt  3198: # We got some new tvi912c terminals that act really weird on the regular
                   3199: # termcap, so one of our gurus worked this up. Seems that cursor
                   3200: # addressing is broken.
                   3201: tvi912cc|tvi912 at cowell college:\
                   3202:        :cm@:tc=tvi912c:
                   3203:
1.2       deraadt  3204: # Here are the switch settings for the TVI 920c:
                   3205: #
                   3206: # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
                   3207: # 2: 9600      3: 4800         4: 2400         5: 1200
                   3208: # 6:  600      7:  300         8:  150         9:   75
                   3209: # 10: 110
                   3210: #
                   3211: # S2 UART/Terminal options:
                   3212: #              Up                      Down
                   3213: # 1:           Not used                Not allowed
                   3214: # 2:   Alternate character set   Standard character set
                   3215: # 3:       Full duplex             Half duplex
                   3216: # 4:       50 Hz refresh           60 Hz refresh
                   3217: # 5:         No parity              Send parity
                   3218: # 6:        2 stop bits             1 stop bit
                   3219: # 7:        8 data bits             7 data bits
                   3220: # 8:           Not used                Not allowed on Rev E or lower
                   3221: # 9:        Even parity             Odd parity
                   3222: # 10:      Steady cursor           Blinking cursor
                   3223: #      (On Rev E or lower, use W25 instead of switch 10.)
                   3224: #
                   3225: # S5 UART/Terminal options:
                   3226: #              Open                    Closed
                   3227: # 1:   P3-6 Not connected      DSR received on P3-6
                   3228: # 2:   P3-8 Not connected      DCD received on P3-8
                   3229: #
                   3230: # 3 Open, 4 Open:              P3-20 Not connected
                   3231: # 3 Open, 4 Closed:    DTR on when terminal is on
                   3232: # 3 Closed, 4 Open:    DTR is connected to RTS
                   3233: # 3 Closed, 4 Closed:  Not allowed
                   3234: #
                   3235: # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
                   3236: #              all data transmitted out of the modem port (P3) will also be
                   3237: #              transmitted out of the printer port (P4).
                   3238: #
                   3239: # 6 Open, 7 Open:              Not allowed
                   3240: # 6 Open, 7 Closed:    20ma current loop input
                   3241: # 6 Closed, 7 Open:    RS232 input
                   3242: # 6 Closed, 7 Closed:  Not allowed
                   3243: #
                   3244: # Jumper options:
                   3245: # If the jumper is installed, the effect will occur (the next time the terminal
                   3246: # is switched on).
                   3247: #
                   3248: # S4/W31:      Enables automatic LF upon receipt of CR from
                   3249: #              remote or keyboard.
                   3250: # S4/W32:      Enables transmission of EOT at the end of Send.  If not
                   3251: #              installed, a carriage return is sent.
                   3252: # S4/W33:      Disables automatic carriage return in column 80.
                   3253: # S4/W34:      Selects Page Print Mode as initial condition.  If not
                   3254: #              installed, Extension Mode is selected.
                   3255: #
1.1       deraadt  3256: tvi920b|tvi920c|new televideo 920:\
                   3257:        :al=\EE:dl=\ER:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
1.5       tholo    3258:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
                   3259:        :tc=tvi912:
1.1       deraadt  3260:
1.2       deraadt  3261: # Televideo 921 and variants
                   3262: # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
1.5       tholo    3263: # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
                   3264: # also added empty <acsc> to suppress tic warning -- esr)
1.2       deraadt  3265: tvi921|televideo model 921 with sysline same as page & real vi function:\
                   3266:        :am:hs:xn:xs:\
                   3267:        :co#80:li#24:sg#0:\
1.5       tholo    3268:        :ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
                   3269:        :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
                   3270:        :ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
                   3271:        :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
                   3272:        :kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
                   3273:        :mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:ve=\E.3:\
                   3274:        :vs=\E.2:\
                   3275:        :tc=adm+sgr:
1.2       deraadt  3276: # without the beeper
1.5       tholo    3277: # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
                   3278: # also added empty <acsc> to suppress tic warning -- esr)
1.2       deraadt  3279: tvi92B|televideo model 921 with sysline same as page & real vi function:\
                   3280:        :am:hs:xn:xs:\
                   3281:        :co#80:li#24:sg#0:\
1.5       tholo    3282:        :ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
                   3283:        :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
                   3284:        :ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
                   3285:        :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
                   3286:        :kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
                   3287:        :mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:vb=\Eb\Ed:\
                   3288:        :ve=\E.3:vs=\E.2:\
                   3289:        :tc=adm+sgr:
1.2       deraadt  3290: # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
                   3291: tvi92D|tvi92B with DTR instead of XON/XOFF & better padding:\
1.5       tholo    3292:        :al=2*\EE:dl=2*\ER:is=\El\E"\EF1\E.3\016\EA\E<:kA=2*\EE:\
                   3293:        :kL=2*\ER:\
                   3294:        :tc=tvi92B:
1.2       deraadt  3295:
1.5       tholo    3296: # (tvi924: This used to have :ds=\Es0:, :fs=\031:.  I put the new strings
1.3       deraadt  3297: # in from a BSD termcap file because it looks like they do something the
                   3298: # old ones skip -- esr)
1.1       deraadt  3299: tvi924|televideo tvi924:\
                   3300:        :am:bw:hs:in:mi:ms:xn:xo:\
                   3301:        :co#80:it#8:li#24:sg#0:ws#80:\
1.5       tholo    3302:        :F1=^AK\r:F2=^AL\r:F3=^AM\r:F4=^AN\r:F5=^AO\r:al=\EE:bl=^G:\
                   3303:        :bt=\EI:cd=\Ey:ce=\Et:cl=\E*0:cm=\E=%+ %+ :cr=^M:\
                   3304:        :cs=\E_%+ %+ :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Es0\Ef\031:\
                   3305:        :ei=:fs=\031\Es1:ho=^^:\
1.1       deraadt  3306:        :i1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0:ic=\EQ:\
                   3307:        :if=/usr/share/tabset/stdcrt:im=:k0=^A@\r:k1=^AA\r:\
1.5       tholo    3308:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
                   3309:        :k8=^AH\r:k9=^AI\r:k;=^AJ\r:kA=\EE:kC=\E*0:kD=\EW:kE=\Et:\
                   3310:        :kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:\
                   3311:        :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
                   3312:        :la=F11:le=^H:mb=\EG2:mk@:nd=^L:pk=\E|%+1%s\031:sf=^J:\
                   3313:        :sr=\Ej:st=\E1:ta=^I:ts=\Ef:up=^K:vb=\Eb\Ed:ve=\E.3:vi=\E.0:\
                   3314:        :vs=\E.1:\
                   3315:        :tc=adm+sgr:
1.2       deraadt  3316:
                   3317: # TVI925 DIP switches.  In each of these, D = Down and U = Up,
                   3318: #
                   3319: # Here are the settings for the external (baud) switches (S1):
                   3320: #
                   3321: #             Position         Baud
                   3322: # 7    8       9       10              [Printer]
                   3323: # 1    2       3       4               [Main RS232]
                   3324: # -----------------------------------------------------
                   3325: # D    D       D       D       9600
                   3326: # D    D       D       U         50
                   3327: # D    D       U       D         75
                   3328: # D    D       U       U        110
                   3329: # D    U       D       D        135
                   3330: # D    U       D       U        150
                   3331: # D    U       U       D        300
                   3332: # D    U       U       U        600
                   3333: # U    D       D       D       1200
                   3334: # U    D       D       U       1800
                   3335: # U    D       U       D       2400
                   3336: # U    D       U       U       3600
                   3337: # U    U       D       D       4800
                   3338: # U    U       D       U       7200
                   3339: # U    U       U       D       9600
                   3340: # U    U       U       U       19200
                   3341: #
                   3342: #
                   3343: # Settings for word length and stop-bits (S1)
                   3344: #
                   3345: #  Position    Description
                   3346: # 5    6
                   3347: # ---------------------------
                   3348: # U    -       7-bit word
                   3349: # D    -       8-bit word
                   3350: # -    U       2 stop bits
                   3351: # -    D       1 stop bit
                   3352: #
                   3353: #
                   3354: # S2 (external) settings
                   3355: #
                   3356: # Position     Up      Dn      Description
                   3357: # --------------------------------------------
                   3358: # 1            X               Local edit
                   3359: #                      X       Duplex edit (transmit editing keys)
                   3360: # --------------------------------------------
                   3361: # 2            X               912/920 emulation
                   3362: #                      X       925
                   3363: # --------------------------------------------
                   3364: # 3                    X
                   3365: # 4                    X       No parity
                   3366: # 5                    X
                   3367: # --------------------------------------------
                   3368: # 3                    X
                   3369: # 4                    X       Odd parity
                   3370: # 5            X
                   3371: # --------------------------------------------
                   3372: # 3                    X
                   3373: # 4            X               Even parity
                   3374: # 5            X
                   3375: # --------------------------------------------
                   3376: # 3            X
                   3377: # 4                    X       Mark parity
                   3378: # 5            X
                   3379: # --------------------------------------------
                   3380: # 3            X
                   3381: # 4            X               Space parity
                   3382: # 5            X
                   3383: # --------------------------------------------
                   3384: # 6            X               White on black display
                   3385: #                      X       Black on white display
                   3386: # --------------------------------------------
                   3387: # 7                    X       Half Duplex
                   3388: # 8                    X
                   3389: # --------------------------------------------
                   3390: # 7            X               Full Duplex
                   3391: # 8                    X
                   3392: # --------------------------------------------
                   3393: # 7                    X       Block mode
                   3394: # 8            X
                   3395: # --------------------------------------------
                   3396: # 9                    X       50 Hz
                   3397: #              X               60 Hz
                   3398: # --------------------------------------------
                   3399: # 10           X               CR/LF (Auto LF)
                   3400: #                      X       CR only
                   3401: #
                   3402: # S3 (internal switch) settings:
                   3403: #
                   3404: # Position     Up      Dn      Description
                   3405: # --------------------------------------------
                   3406: # 1            X               Keyclick off
                   3407: #                      X       Keyclick on
                   3408: # --------------------------------------------
                   3409: # 2                    X       English
                   3410: # 3                    X
                   3411: # --------------------------------------------
                   3412: # 2                    X       German
                   3413: # 3            X
                   3414: # --------------------------------------------
                   3415: # 2            X               French
                   3416: # 3                    X
                   3417: # --------------------------------------------
                   3418: # 2            X               Spanish
                   3419: # 3            X
                   3420: # --------------------------------------------
                   3421: # 4                    X       Blinking block cursor
                   3422: # 5                    X
                   3423: # --------------------------------------------
                   3424: # 4                    X       Blinking underline cursor
                   3425: # 5            X
                   3426: # --------------------------------------------
                   3427: # 4            X               Steady block cursor
                   3428: # 5                    X
                   3429: # --------------------------------------------
                   3430: # 4            X               Steady underline cursor
                   3431: # 5            X
                   3432: # --------------------------------------------
                   3433: # 6            X               Screen blanking timer (ON)
                   3434: #                      X       Screen blanking timer (OFF)
                   3435: # --------------------------------------------
                   3436: # 7            X               Page attributes
                   3437: #                      X       Line attributes
                   3438: # --------------------------------------------
                   3439: # 8            X               DCD disconnected
                   3440: #                      X       DCD connected
                   3441: # --------------------------------------------
                   3442: # 9            X               DSR disconnected
                   3443: #                      X       DSR connected
                   3444: # --------------------------------------------
                   3445: # 10           X               DTR Disconnected
                   3446: #                      X       DTR connected
                   3447: # --------------------------------------------
1.3       deraadt  3448: #
1.5       tholo    3449: # (tvi925: BSD has :cl=\E*:.  I got :is: and :sr: from there -- esr)
1.1       deraadt  3450: tvi925|925|televideo 925:\
                   3451:        :am:bw:hs:ul:\
1.5       tholo    3452:        :co#80:li#24:sg#1:\
                   3453:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
                   3454:        :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=:fs=^M\Eg:ho=^^:ic=\EQ:\
                   3455:        :im=:is=\El\E":k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
                   3456:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
                   3457:        :kA=\EE:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:\
                   3458:        :kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:sf=^J:sr=\Ej:st=\E1:\
                   3459:        :ta=^I:ts=\Eh\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:vs=\E.2:\
                   3460:        :tc=adm+sgr:
1.1       deraadt  3461:
                   3462: # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
                   3463: # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
                   3464: # for additional capabilities,
                   3465: # The following tvi descriptions from B:pjphar and virus!mike
                   3466: # is for all 950s.  It sets the following attributes:
                   3467: # full duplex (\EDF)           write protect off (\E()
                   3468: # conversation mode (\EC)      graphics mode off (\E%)
                   3469: # white on black (\Ed)         auto page flip off (\Ew)
                   3470: # turn off status line (\Eg)   clear status line (\Ef\r)
                   3471: # normal video (\E0)           monitor mode off (\EX or \Eu)
                   3472: # edit mode (\Er)              load blank char to space (\Ee\040)
                   3473: # line edit mode (\EO)         enable buffer control (^O)
                   3474: # protect mode off (\E\047)    duplex edit keys (\El)
                   3475: # program unshifted send key to send line all (\E016)
                   3476: # program shifted send key to send line unprotected (\E004)
                   3477: # set the following to nulls:
                   3478: #      field delimiter (\Ex0\200\200)
                   3479: #      line delimiter (\Ex1\200\200)
                   3480: #      start-protected field delimiter (\Ex2\200\200)
                   3481: #      end-protected field delimiter (\Ex3\200\200)
                   3482: # set end of text delimiter to carriage return/null (\Ex4\r\200)
1.2       deraadt  3483: #
                   3484: #                     TVI 950 Switch Setting Reference Charts
                   3485: #
                   3486: #                                     TABLE 1:
                   3487: #
                   3488: #      S1     1     2     3     4     5     6     7     8     9    10
                   3489: #          +-----------------------+-----+-----+-----------------------+
                   3490: #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
                   3491: #          |                       |Bits |Bits |                       |
                   3492: #   +------+-----------------------+-----+-----+-----------------------+
                   3493: #   |  Up  |        See            |  7  |  2  |        See            |
                   3494: #   +------+-----------------------+-----+-----+-----------------------+
                   3495: #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
                   3496: #   +------+-----------------------+-----+-----+-----------------------+
                   3497: #
                   3498: #
                   3499: #      S2     1     2     3     4     5     6     7     8     9    10
                   3500: #          +-----+-----+-----------------+-----+-----------+-----+-----+
                   3501: #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
                   3502: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3503: #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
                   3504: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3505: #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
                   3506: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3507: #
                   3508: #                                    TABLE 2:
                   3509: #
                   3510: #             +-----------+-----+-----+-----+-----+-----------+
                   3511: #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
                   3512: #             +-----------+-----+-----+-----+-----+           |
                   3513: #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
                   3514: #             +-----------+-----+-----+-----+-----+-----------+
                   3515: #                         |  D  |  D  |  D  |  D  |   9600    |
                   3516: #                         |  U  |  D  |  D  |  D  |     50    |
                   3517: #                         |  D  |  U  |  D  |  D  |     75    |
                   3518: #                         |  U  |  U  |  D  |  D  |    110    |
                   3519: #                         |  D  |  D  |  U  |  D  |    135    |
                   3520: #                         |  U  |  D  |  U  |  D  |    150    |
                   3521: #                         |  D  |  U  |  U  |  D  |    300    |
                   3522: #                         |  U  |  U  |  U  |  D  |    600    |
                   3523: #                         |  D  |  D  |  D  |  U  |   1200    |
                   3524: #                         |  U  |  D  |  D  |  U  |   1800    |
                   3525: #                         |  D  |  U  |  D  |  U  |   2400    |
                   3526: #                         |  U  |  U  |  D  |  U  |   3600    |
                   3527: #                         |  D  |  D  |  U  |  U  |   4800    |
                   3528: #                         |  U  |  D  |  U  |  U  |   7200    |
                   3529: #                         |  D  |  U  |  U  |  U  |   9600    |
                   3530: #                         |  U  |  U  |  U  |  U  |  19200    |
                   3531: #                         +-----+-----+-----+-----+-----------+
                   3532: #
                   3533: #                                    TABLE 3:
                   3534: #                         +-----+-----+-----+-----------+
                   3535: #                         |  3  |  4  |  5  |   Parity  |
                   3536: #                         +-----+-----+-----+-----------+
                   3537: #                         |  X  |  X  |  D  |    None   |
                   3538: #                         |  D  |  D  |  U  |     Odd   |
                   3539: #                         |  D  |  U  |  U  |    Even   |
                   3540: #                         |  U  |  D  |  U  |    Mark   |
                   3541: #                         |  U  |  U  |  U  |   Space   |
                   3542: #                         +-----+-----+-----+-----------+
                   3543: #                                 X = don't care
                   3544: #
                   3545: #                                     CHART:
                   3546: #                         +-----+-----+-----------------+
                   3547: #                         |  7  |  8  | Communication   |
                   3548: #                         +-----+-----+-----------------+
                   3549: #                         |  D  |  D  |  Half Duplex    |
                   3550: #                         |  D  |  U  |  Full Duplex    |
                   3551: #                         |  U  |  D  |     Block       |
                   3552: #                         |  U  |  U  |     Local       |
                   3553: #                         +-----+-----+-----------------+
                   3554: #
                   3555: # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
1.5       tholo    3556: # I also inserted :ic: and :kI:; the :ko: string indicated that :IC:
1.3       deraadt  3557: # should be present and all tvi native modes use the same string for this.
                   3558: # Finally, note that BSD has cud1=^V. -- esr)
1.2       deraadt  3559: tvi950|950|televideo 950:\
                   3560:        :am:hs:mi:ms:xn:xo:\
1.5       tholo    3561:        :co#80:it#8:li#24:sg#1:\
                   3562:        :ac=d\rc\014e\nb\011i\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
                   3563:        :cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
                   3564:        :dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
1.1       deraadt  3565:        :is=\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:\
1.5       tholo    3566:        :k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
                   3567:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
                   3568:        :kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:\
                   3569:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\Ea:po=\E`:sf=^J:sr=\Ej:\
                   3570:        :st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
                   3571:        :tc=adm+sgr:
1.1       deraadt  3572: #
                   3573: # is for 950 with two pages adds the following:
                   3574: #      set 48 line page (\E\\2)
                   3575: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   3576: #      set local (no send) edit keys (\Ek)
                   3577: #
                   3578: # two page 950 adds the following:
                   3579: #      when entering ex, set 24 line page (\E\\1)
                   3580: #      when exiting ex, reset 48 line page (\E\\2)
                   3581: #                       place cursor at 0,24,1 (\E-07 )
                   3582: #      set duplex (send) edit keys (\El) when entering vi
                   3583: #      set local (no send) edit keys (\Ek) when exiting vi
                   3584: #
                   3585: tvi950-2p|950-2p|televideo950 w/2 pages:\
                   3586:        :is=\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.5       tholo    3587:        :ke=\Ek:ks=\El:te=\E\\2\E-07 :ti=\E\\1\E-07 :\
                   3588:        :tc=tvi950:
1.1       deraadt  3589: #
                   3590: # is for 950 with four pages adds the following:
                   3591: #      set 96 line page (\E\\3)
                   3592: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   3593: #
                   3594: # four page 950 adds the following:
                   3595: #      when entering ex, set 24 line page (\E\\1)
                   3596: #      when exiting ex, reset 96 line page (\E\\3)
                   3597: #                       place cursor at 0,24,1 (\E-07 )
                   3598: #
                   3599: tvi950-4p|950-4p|televideo950 w/4 pages:\
                   3600:        :is=\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.5       tholo    3601:        :ke=\Ek:ks=\El:te=\E\\3\E-07 :ti=\E\\1\E-07 :\
                   3602:        :tc=tvi950:
1.1       deraadt  3603: #
1.5       tholo    3604: # :is: for reverse video 950 changes the following:
1.1       deraadt  3605: #      set reverse video (\Ed)
                   3606: #
1.2       deraadt  3607: # set vb accordingly (\Ed ...delay... \Eb)
1.1       deraadt  3608: #
                   3609: tvi950-rv|950-rv|televideo950 rev video:\
                   3610:        :is=\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:\
1.5       tholo    3611:        :vb=\Ed\Eb:\
                   3612:        :tc=tvi950:
1.2       deraadt  3613:
                   3614: # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
1.1       deraadt  3615: tvi950-rv-2p|950-rv-2p|televideo950 rev video w/2 pages:\
                   3616:        :is=\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 :\
1.5       tholo    3617:        :ke=\Ek:ks=\El:te=\E\\2\E-07 :ti=\E\\1\E-07 :vb=\Ed\Eb:\
                   3618:        :tc=tvi950:
1.2       deraadt  3619:
                   3620: # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
1.1       deraadt  3621: tvi950-rv-4p|950-rv-4p|televideo950 rev video w/4 pages:\
                   3622:        :is=\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 :\
1.5       tholo    3623:        :ke=\Ek:ks=\El:te=\E\\3\E-07 :ti=\E\\1\E-07 :vb=\Ed\Eb:\
                   3624:        :tc=tvi950:
1.1       deraadt  3625: # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
1.2       deraadt  3626: # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
                   3627: # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
1.5       tholo    3628: # the :rs: string, inserted the :IC: implied by the termcap :ko: string.  Note
1.2       deraadt  3629: # the :ko: string had :cl: in it, which means that one of the original
1.5       tholo    3630: # :cl=\E*:, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
1.2       deraadt  3631: # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
                   3632: # ko implies -- esr)
1.5       tholo    3633: # If the BSD termcap file was right, :cm=\E=%p1%{32}%+%c%p2%{32}%+%c: would
1.3       deraadt  3634: # also work.
1.2       deraadt  3635: tvi955|televideo 955:\
1.3       deraadt  3636:        :5i:ms@:\
1.2       deraadt  3637:        :it#8:sg@:\
1.3       deraadt  3638:        :RA=\E[=7l:RX=^N:SA=\E[=7h:SX=^O:\
                   3639:        :ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:ae=\E%:as=\E$:\
1.5       tholo    3640:        :cm=\E[%i%d;%dH:do=^V:is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\
                   3641:        :kM=\EQ:kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:mb=\EG2:\
                   3642:        :me=\EG0\E[=5l:mh=\E[=5h:mk=\EG1:ps=\EP:\
1.3       deraadt  3643:        :r1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\200\E0p\E4\200\Ef\r:\
1.5       tholo    3644:        :sf@:ve=\E.2:vi=\E.0:vs=\E.1:\
                   3645:        :tc=tvi950:
1.1       deraadt  3646: tvi955-w|955-w|televideo955 w/132 cols:\
                   3647:        :co#132:\
1.2       deraadt  3648:        :is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:tc=tvi955:
1.5       tholo    3649: # use half-intensity as normal mode, full intensity as :md:
1.1       deraadt  3650: tvi955-hb|955-hb|televideo955 half-bright:\
                   3651:        :is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:md=\E[=5l:\
                   3652:        :me=\EG0\E[=5h:mh@:tc=tvi955:
                   3653: # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
1.5       tholo    3654: # (tvi970: removed ":sg#0:"; removed :se:=\E[m, :ue:=\E[m;
                   3655: # also added empty <acsc> to suppress tic warning -- esr)
1.2       deraadt  3656: tvi970|televideo 970:\
                   3657:        :da:db:mi:ms:\
1.1       deraadt  3658:        :co#80:it#8:li#24:\
1.5       tholo    3659:        :ac=:ae=\E(B:al=\E[L:as=\E(B:bt=\E[Z:cd=\E[0J:ce=\E[0K:\
1.1       deraadt  3660:        :cl=\E[H\E[2J:cm=\E[%i%d;%df:dc=\E[P:dl=\E[M:do=\ED:\
1.3       deraadt  3661:        :ds=\Eg\Ef\r:ei=\E[4l:im=\E[4h:\
1.5       tholo    3662:        :is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:k1=\E?a:\
                   3663:        :k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\
                   3664:        :k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   3665:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:\
                   3666:        :ue=\E[m:up=\EM:us=\E[4m:vb=\E[5;m\E[0;m:vs=\E[1Q:
1.1       deraadt  3667: # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
                   3668: # per line (rather than 40), Esc K chooses the normal character set.  Not sure
1.5       tholo    3669: # padding is needed, but adapted from the tvi920c termcap.  The :so: and
                   3670: # :us: strings are klutzy, but at least use no screen space.
1.2       deraadt  3671: # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>. -- esr)
                   3672: # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
                   3673: tvipt|televideo personal terminal:\
                   3674:        :am:\
1.1       deraadt  3675:        :co#80:li#24:\
1.5       tholo    3676:        :SA=\Ev:al=\EE:bt=\EI:ce=\ET:cl=^Z:cm=\E=%+ %+ :dl=\ER:\
                   3677:        :ho=^^:if=/usr/share/tabset/stdcrt:is=\Ev\Eu\EK:kb=^H:\
                   3678:        :kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\EF:so=\EG1@A\EH:\
                   3679:        :ue=\EF:up=^K:us=\EG1B@\EH:
1.1       deraadt  3680:
                   3681: #### Visual (vi)
                   3682: #
1.5       tholo    3683: # In September 1993, Visual Technology of Westboro, Massachusetts,
                   3684: # merged with White Pine Software of Nashua, New Hampshire.
                   3685: #
                   3686: # White Pine Software may be contacted at +1 603/886-9050.
                   3687: # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
                   3688: #
1.1       deraadt  3689:
1.2       deraadt  3690: # vi50 is from University of Wisconsin
                   3691: # This is a provisional vi50 termcap entry.  It was copied from vi500
1.5       tholo    3692: # entry.  Note especially the :al: function.  :k4:-:k6: are really l4-l6 in
                   3693: # disguise; :k7:-:k9: are really l1-l3.  No highlighting enabled at present.
1.1       deraadt  3694: vi50|visual 50:\
1.2       deraadt  3695:        :am:ms:\
                   3696:        :co#80:it#8:li#24:\
1.5       tholo    3697:        :al=\EL:bt=4\Ez:cd=\Ek:ce=16\EK:cl=\Ev:cm=\EY%+ %+ :cr=^M:\
                   3698:        :dl=3*\EM:do=\EB:ho=\EH:k1=\EP:k2=\EQ:k3=\ER:k4=\EV:k5=\EE:\
                   3699:        :k6=\E]:k7=\EL:k8=\Ev:k9=\EM:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
                   3700:        :kr=\EC:ku=\EA:le=^H:nd=\EC:nw=^M^J:sf=^J:ta=^I:up=\EA:
1.2       deraadt  3701: # this one was BSD & SCO's vi50
                   3702: vi50adm|visual 50 in adm3a mode:\
                   3703:        :am:ms:\
                   3704:        :co#80:it#8:li#24:\
1.5       tholo    3705:        :al=\EL:bl=^G:cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+ %+ :cr=^M:dl=\EM:\
                   3706:        :do=^J:ho=\EH:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
                   3707:        :nd=^L:se=\ET:sf=^J:so=\EU:ta=^I:up=^K:
1.1       deraadt  3708: # From: Jeff Siegal <jbs@athena.mit.edu>
                   3709: vi55|Visual 55:\
1.2       deraadt  3710:        :am:mi:ms:\
1.1       deraadt  3711:        :co#80:it#8:li#24:\
1.5       tholo    3712:        :al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :cs=\E_%+A%+A:\
                   3713:        :dc=\Ew:dl=\EM:do=^J:ei=\Eb:ho=\EH:im=\Ea:\
                   3714:        :is=\Ev\E_AX\Eb\EW\E9P\ET:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
                   3715:        :ku=\EA:le=^H:nd=\EC:se=\ET:so=\EU:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  3716:
                   3717: # The Visual 200 beeps when you type a character in insert mode.
                   3718: # This is a horribly obnoxious misfeature, and some of the entries
                   3719: # below try to get around the problem by ignoring the feature or
                   3720: # turning it off when inputting a character.  They are said not to
                   3721: # work well at 300 baud.  (You could always cut the wire to the bell!)
1.2       deraadt  3722: # (vi200: this used to use ich1=\Ei\s\010\Ej but it's more effective to
1.5       tholo    3723: # use :im:/:ei: directly -- esr)
1.1       deraadt  3724: # From: <mike@brl-vgr> Mon Nov 14 08:34:29 1983
                   3725: vi200|vis200|visual 200 with function keys:\
1.2       deraadt  3726:        :am:\
                   3727:        :co#80:it#8:li#24:\
1.5       tholo    3728:        :al=\EL:bl=^G:cd=\Ey:ce=\Ex:cl=\Ev:cm=\EY%+ %+ :cr=^M:\
                   3729:        :dc=\EO:dl=\EM:do=^J:ei=\Ej:ho=\EH:im=\Ei:\
1.2       deraadt  3730:        :is=\E3\Eb\Ej\E\\\El\EG\Ec\Ek:k0=\EP:k1=\EQ:k2=\ER:\
1.5       tholo    3731:        :k3=\E :k4=\E!:k5=\E":k6=\E#:k7=\E$:k8=\E%:k9=\E&:kd=\EB:\
                   3732:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E3:sf=^J:\
                   3733:        :so=\E4:sr=\EI:ta=^I:up=\EA:ve=\Ec:vs=\Ed:
1.1       deraadt  3734: # The older Visuals didn't come with function keys. This entry uses
1.5       tholo    3735: # :ks: and :ke: so that the keypad keys can be used as function keys.
1.1       deraadt  3736: # If your version of vi doesn't support function keys you may want
                   3737: # to use vi200-f.
                   3738: vi200-f|visual|visual 200 no function keys:\
1.5       tholo    3739:        :is=\E3\Eb\Ej\E\\\El\EG\Ed\Ek:k0=\E?p:k1=\E?q:k2=\E?r:\
                   3740:        :k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:k7=\E?w:k8=\E?x:k9=\E?y:\
                   3741:        :ke=\E>:ks=\E=:se@:so@:\
                   3742:        :tc=vi200:
1.1       deraadt  3743: vi200-rv|visual 200 reverse video:\
                   3744:        :se=\E3:so=\E4:sr@:ve@:vs@:tc=vi200:
                   3745:
1.2       deraadt  3746: # the function keys are programmable but we don't reprogram them to their
1.5       tholo    3747: # default values with :is: because programming them is very verbose. maybe
1.2       deraadt  3748: # an initialization file should be made for the 300 and they could be stuck
                   3749: # in it.
                   3750: # (vi300: added <rmam>/<smam> based on init string -- esr)
1.1       deraadt  3751: vi300|visual 300 ansi x3.64:\
                   3752:        :am:bw:mi:xn:\
                   3753:        :co#80:li#24:\
1.5       tholo    3754:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   3755:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   3756:        :do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
1.1       deraadt  3757:        :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s:\
                   3758:        :k1=\E_A\E\\:k2=\E_B\E\\:k3=\E_C\E\\:k4=\E_D\E\\:\
                   3759:        :k5=\E_E\E\\:k6=\E_F\E\\:k7=\E_G\E\\:k8=\E_H\E\\:\
1.5       tholo    3760:        :k9=\E_I\E\\:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   3761:        :me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[1m:sr=\EM:ta=^I:\
1.1       deraadt  3762:        :ue=\E[m:up=\E[A:us=\E[4m:
                   3763: # some of the vi300s have older firmware that has the command
                   3764: # sequence for setting editing extent reversed.
1.2       deraadt  3765: vi300-old|visual 300 with old firmware (set edit extent reversed):\
1.5       tholo    3766:        :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s:\
                   3767:        :tc=vi300:
1.2       deraadt  3768:
                   3769: # Visual 500 prototype entry from University of Wisconsin.
                   3770: # The best place to look for the escape sequences is page A1-1 of the
                   3771: # Visual 500 manual.  The initialization sequence given here may be
                   3772: # overkill, but it does leave out some of the initializations which can
                   3773: # be done with the menus in set-up mode.
                   3774: # The :xp: line below is so that emacs can understand the padding requirements
                   3775: # of this slow terminal.  :xp: is 10 time the padding factor.
1.5       tholo    3776: # (vi500: removed unknown :xp#4: termcap;
                   3777: # also added empty <acsc> to suppress tic warning -- esr)
1.2       deraadt  3778: vi500|visual 500:\
                   3779:        :am:mi:ms:\
                   3780:        :co#80:it#8:li#33:\
1.5       tholo    3781:        :ac=:ae=^O:al=3*\EL\Ex:as=^N:bt=4\Ez:cd=3*\Ey:ce=16\Ex:\
1.2       deraadt  3782:        :cl=6*\Ev:cm=\EY%+ %+ :cr=^M:cs=\E(%+ %+ :dc=3*\EO:\
                   3783:        :dl=3*\EM:do=\EB:ei=\Ej:ho=\EH:im=\Ei:\
                   3784:        :is=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\:\
1.5       tholo    3785:        :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
                   3786:        :nw=^M^J:se=\E^G:sf=^J:so=\E^H:ta=8\011:ue=\E^C:up=\EA:\
                   3787:        :us=\E^D:
1.1       deraadt  3788:
1.2       deraadt  3789: # The visual 550 is a visual 300 with tektronix graphics,
1.1       deraadt  3790: # and with 33 lines. clear screen is modified here to
                   3791: # also clear the graphics.
                   3792: vi550|visual 550 ansi x3.64:\
                   3793:        :li#33:\
1.2       deraadt  3794:        :cl=\030\E[H\E[2J:tc=vi300:
1.1       deraadt  3795:
                   3796: vi603|visual603|visual 603:\
                   3797:        :hs:mi:\
1.5       tholo    3798:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   3799:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:ds=\EP2;1~\E\\:ei=\E[4l:\
                   3800:        :fs=\E\\:i1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r:\
                   3801:        :im=\E[4h:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1.2       deraadt  3802:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ts=\EP2~:ue=\E[24m:\
1.5       tholo    3803:        :up=\E[A:us=\E[4m:\
                   3804:        :tc=vt100:
1.1       deraadt  3805:
                   3806: #### Wyse (wy)
                   3807: #
                   3808: #      Wyse Technology
                   3809: #      3471 North First Street
                   3810: #      San Jose, CA 95134
                   3811: #      Vox: (408)-473-1200
                   3812: #      Fax: (408) 473-1222
1.5       tholo    3813: #      Web: http://www.wyse.com
1.1       deraadt  3814: #
                   3815: # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
1.5       tholo    3816: # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
                   3817: # obvious address, http://www.wyse.com.
1.1       deraadt  3818: #
1.5       tholo    3819: # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
                   3820: # They now own the Qume and Amdek brands, too.  So these are the people to
                   3821: # talk with about all Link, Qume, and Amdek terminals.
                   3822: #
                   3823: # Wyse has a BBS containing termcap and terminfo stuff for their terminals
                   3824: # (though this may not last long -- I expect the Web will kill it off by
                   3825: # mid-1997 or so).  According to their tech support, at 800-800-9973, it's
                   3826: # at 408-922-4400 thru 4405.  The 4400 modem is flaky as of 5/96, so
                   3827: # call 4401 etc.  Come in at 9600 hard; don't use autospeed sense.
                   3828: #
                   3829: # All the following entries until (but not including) wy520 are direct from
1.1       deraadt  3830: # Wyse technical support and represent their best knowledge as of January 1995.
1.2       deraadt  3831: # I canceled the bel capacities in the vb entries.
                   3832: # I made two trivial syntax fixes in the wyse30 entry.
1.5       tholo    3833: # I made some entries relative to adm+sgr.
                   3834: #
1.1       deraadt  3835: #
                   3836: # Note: The wyse75, wyse85, and wyse99 have been discontinued.
                   3837:
                   3838: #         Although the Wyse 30 can support more than one attribute
                   3839: #      it requires magic cookies to do so.  Many applications do not
                   3840: #      function well with magic cookies.  The following terminfo uses
                   3841: #      the protect mode to support one attribute (dim) without cookies.
                   3842: #      If more than one attribute is needed then the wy30-mc terminfo
                   3843: #      should be used.
                   3844: #
                   3845: wy30|wyse30|Wyse 30:\
1.3       deraadt  3846:        :5i:am:bw:hs:mi:ms:xo:\
                   3847:        :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
                   3848:        :#2=\E{:&3=\Er:@8=\E7:LF=\EA11:LO=\EA10:\
                   3849:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
1.5       tholo    3850:        :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
                   3851:        :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
                   3852:        :ho=^^:im=\Eq:ip=:is=\E'\E(\E^3\E`9\016\024:k1=^A@\r:\
                   3853:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
                   3854:        :k8=^AG\r:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:\
                   3855:        :kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
                   3856:        :ll=^^^K:me=\E(\EH\003:mh=\E`7\E):mp=\E`7\E):nd=^L:\
                   3857:        :nw=^M^J:pf=^T:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:\
1.1       deraadt  3858:        :..sa=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
1.5       tholo    3859:        :se=\E(:sf=\n:so=\E`7\E):sr=\Ej:st=\E1:ta=\011:ts=\EF:up=^K:\
                   3860:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
1.1       deraadt  3861: #
                   3862: #      This terminal description uses the non-hidden attribute mode
                   3863: #      (with magic cookie).
                   3864: #
1.5       tholo    3865: # (wy30-mc: added :ti: to suppress tic warning --esr)
1.1       deraadt  3866: wy30-mc|wyse30-mc|wyse 30 with magic cookies:\
                   3867:        :ms@:\
1.5       tholo    3868:        :ma@:sg#1:\
1.1       deraadt  3869:        :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
1.5       tholo    3870:        :me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):\
1.1       deraadt  3871:        :..sa=\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%;:\
1.5       tholo    3872:        :te=\EG0:ti=:\
                   3873:        :tc=wy30:tc=adm+sgr:
                   3874: #      The mandatory pause used by :vb: does not work with
1.1       deraadt  3875: #      older versions of terminfo.  If you see this effect then
                   3876: #      unset xon and delete the / from the delay.
                   3877: #      i.e. change $<100/> to $<100>
                   3878: wy30-vb|wyse30-vb|wyse 30 visible bell:\
1.2       deraadt  3879:        :bl@:tc=wy30:
1.1       deraadt  3880: #
                   3881: #         The Wyse 50 can support one attribute (e.g. Dim, Inverse,
                   3882: #      Normal) without magic cookies by using the protect mode.
                   3883: #      The following description uses this feature, but when more
                   3884: #      than one attribute is put on the screen at once, all attributes
                   3885: #      will be changed to be the same as the last attribute given.
                   3886: #         The Wyse 50 can support more attributes when used with magic
                   3887: #      cookies.  The wy50-mc terminal description uses magic cookies
                   3888: #      to correctly handle multiple attributes on a screen.
                   3889: #
                   3890: wy50|wyse50|Wyse 50:\
1.3       deraadt  3891:        :5i:am:bw:hs:mi:ms:xo:\
                   3892:        :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
1.5       tholo    3893:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
                   3894:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
                   3895:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
                   3896:        :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
                   3897:        :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
                   3898:        :ho=^^:i1=\E`\072\E`9:im=\Eq:ip=:is=\016\024\E'\E(:\
                   3899:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   3900:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
                   3901:        :kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
                   3902:        :kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:me=\E(\EH\003:mh=\E`7\E):\
                   3903:        :mp=\E`7\E):mr=\E`6\E):nd=^L:nw=^M^J:pf=^T:pn=\Ez%+/%s\r:\
                   3904:        :po=^X:ps=\EP:px=\Ez%+?%s\177:\
1.1       deraadt  3905:        :..sa=%?%p1%p3%|%t\E`6\E)\n%e%p5%p8%|%t\E`7\E)%e\E(%;\n%?%p9%t\EH\002%e\EH\003%;:\
1.5       tholo    3906:        :se=\E(:sf=\n:so=\E`6\E):sr=\Ej:st=\E1:ta=^I:ts=\EF:up=^K:\
                   3907:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
1.1       deraadt  3908: #
                   3909: #      This terminal description uses the non-hidden attribute mode
                   3910: #      (with magic cookie).
                   3911: #
1.2       deraadt  3912: #      The mandatory pause used by flash does not work with some
                   3913: #      older versions of terminfo.  If you see this effect then
1.5       tholo    3914: #      unset :xo: and delete the / from the delay.
1.2       deraadt  3915: #      i.e. change $<100/> to $<100>
1.5       tholo    3916: # (wy50-mc: added :ti: to suppress tic warning --esr)
1.1       deraadt  3917: wy50-mc|wyse50-mc|wyse 50 with magic cookies:\
                   3918:        :ms@:\
1.5       tholo    3919:        :ma@:sg#1:\
1.1       deraadt  3920:        :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
1.5       tholo    3921:        :me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):\
1.1       deraadt  3922:        :..sa=\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%;:\
1.5       tholo    3923:        :so=\EGt:te=\EG0:ti=:\
                   3924:        :tc=wy50:tc=adm+sgr:
1.1       deraadt  3925: wy50-vb|wyse50-vb|wyse 50 visible bell:\
1.2       deraadt  3926:        :bl@:tc=wy50:
1.1       deraadt  3927: wy50-w|wyse50-w|wyse 50 132-column:\
1.3       deraadt  3928:        :Nl#16:co#132:lw#7:ws#97:\
1.1       deraadt  3929:        :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy50:
                   3930: wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell:\
1.5       tholo    3931:        :bl@:\
                   3932:        :tc=wy50-w:
1.1       deraadt  3933: #
                   3934: #      The Wyse 350 is a Wyse 50 with color.
                   3935: #      Unfortunately this means that it has magic cookies.
                   3936: #      The color attributes are designed to overlap the reverse, dim and
                   3937: #      underline attributes.  This is nice for monochrome applications
                   3938: #      because you can make underline stuff green (or any other color)
                   3939: #      but for true color applications it's not so hot because you cannot
                   3940: #      mix color with reverse, dim or underline.
                   3941: #          To further complicate things one of the attributes must be
                   3942: #      black (either the foreground or the background).  In reverse video
                   3943: #      the background changes color with black letters.  In normal video
                   3944: #      the foreground changes colors on a black background.
                   3945: #          This terminfo uses some of the more advanced features of curses
                   3946: #      to display both color and blink.  In the final analysis I am not
                   3947: #      sure that the wy350 runs better with this terminfo than it does
                   3948: #      with the wy50 terminfo (with user adjusted colors).
                   3949: #
1.2       deraadt  3950: #      The mandatory pause used by flash does not work with
                   3951: #      older versions of terminfo.  If you see this effect then
                   3952: #      unset xon and delete the / from the delay.
                   3953: #      i.e. change $<100/> to $<100>
                   3954: #
1.5       tholo    3955: # Bug: The <op> capability resets attributes.
1.3       deraadt  3956: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  3957: wy350|wyse350|Wyse 350:\
1.3       deraadt  3958:        :5i:am:bw:hs:mi:xo:\
1.5       tholo    3959:        :Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#8:sg#1:ws#45:\
                   3960:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
                   3961:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:Sb=:\
                   3962:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EG0\EH\003:al=\EE:\
                   3963:        :as=\EG0\EH\002:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   3964:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   3965:        :ei=\Er:fs=^M:ho=^^:i1=\E`\072\E`9:i2=\E%?:im=\Eq:ip=:\
                   3966:        :is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   3967:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
                   3968:        :kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
                   3969:        :kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
                   3970:        :mb=\EG2:me=\EG0\E(\EH\003%{0}%PA%{0}%PC:mh=\EGp:\
                   3971:        :mp=\EG0\E):nd=^L:nw=^M^J:oc=\E%?:op=\EG0:pf=^T:\
                   3972:        :pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:sf=\n:sr=\Ej:\
                   3973:        :st=\E1:ta=^I:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   3974:        :tc=adm+sgr:
1.1       deraadt  3975: wy350-vb|wyse350-vb|wyse 350 visible bell:\
1.2       deraadt  3976:        :bl@:tc=wy350:
1.1       deraadt  3977: wy350-w|wyse350-w|wyse 350 132-column:\
1.3       deraadt  3978:        :Nl#16:co#132:lw#7:ws#97:\
1.1       deraadt  3979:        :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy350:
                   3980: wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell:\
1.5       tholo    3981:        :bl@:\
                   3982:        :tc=wy350-w:
1.1       deraadt  3983: #
                   3984: #      This terminfo description is untested.
                   3985: #
                   3986: wy100|wyse 100:\
                   3987:        :hs:mi:\
1.5       tholo    3988:        :co#80:li#24:sg#1:\
                   3989:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
                   3990:        :dc=\EW:dl=\ER:do=^J:ds=\EA31:ei=\Er:fs=^M:im=\Eq:is=\Eu\E0:\
                   3991:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   3992:        :k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=\E{:kl=^H:kr=^L:ku=^K:\
                   3993:        :le=^H:mk@:nd=^L:sf=^J:ts=\EF:up=^K:\
                   3994:        :tc=adm+sgr:
1.1       deraadt  3995: #
                   3996: #      The Wyse 120/150 has most of the features of the Wyse 60.
                   3997: #      This terminal does not need padding up to 9600 baud!
1.5       tholo    3998: #      :ms: should be set but the clear screen fails when in
1.2       deraadt  3999: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
1.5       tholo    4000: #      then set :ms:.
1.1       deraadt  4001: #
1.3       deraadt  4002: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4003: # (sgr removed to fit entry within 1023 bytes)
                   4004: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4005: wy120|wyse120|wy150|wyse150|Wyse 120/150:\
1.2       deraadt  4006:        :am:bw:hs:km:mi:ms:xo:\
1.1       deraadt  4007:        :co#80:it#8:li#24:pb#9601:ws#45:\
1.5       tholo    4008:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4009:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:\
                   4010:        :fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
1.1       deraadt  4011:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5       tholo    4012:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4013:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   4014:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
                   4015:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
                   4016:        :so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
                   4017:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   4018:        :tc=adm+sgr:
1.1       deraadt  4019: #
                   4020: wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
1.3       deraadt  4021:        :Nl#16:co#132:lw#7:ws#97:\
                   4022:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy120:
1.1       deraadt  4023: #
                   4024: wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
1.3       deraadt  4025:        :Nl@:lh@:li#25:lw@:\
                   4026:        :pn@:r3=\EwG\Ee):tc=wy120:
1.1       deraadt  4027: #
                   4028: wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
1.3       deraadt  4029:        :Nl@:lh@:li#25:lw@:\
                   4030:        :pn@:r3=\EwG\Ee):tc=wy120-w:
1.1       deraadt  4031: #
                   4032: wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\
1.5       tholo    4033:        :bl@:\
                   4034:        :tc=wy120:
1.1       deraadt  4035: #
                   4036: wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\
1.5       tholo    4037:        :bl@:\
                   4038:        :tc=wy120-w:
1.1       deraadt  4039: #
                   4040: #      The Wyse 60 is like the Wyse 50 but with more padding.
                   4041: #      The reset strings are slow and the pad times very depending
                   4042: #      on other parameters such as font loading.  I have tried
                   4043: #      to follow the following outline:
1.2       deraadt  4044: #
                   4045: #              <rs1> -> set personality
                   4046: #              <rs2> -> set number of columns
                   4047: #              <rs3> -> set number of lines
1.5       tholo    4048: #              :i1: -> select the proper font
                   4049: #              :is: -> do the initialization
                   4050: #              :i3: -> set up display memory (2 pages)
1.1       deraadt  4051: #
                   4052: #      The Wyse 60's that have vt100 emulation are slower than the
                   4053: #      older Wyse 60's.  This change happened mid-1987.
1.5       tholo    4054: #      The capabilities effected are :dc: :dl: :al: :sf: :sr:
1.1       deraadt  4055: #
                   4056: #      The meta key is only half right.  This terminal will return the
                   4057: #      high order bit set when you hit CTRL-function_key
                   4058: #
                   4059: #      It may be useful to assign two function keys with the
                   4060: #      values  \E=(\s  look at old data in page 1
1.3       deraadt  4061: #              \E=W,   look at bottom of page 1
1.1       deraadt  4062: #      where \s is a space ( ).
                   4063: #
                   4064: #      Note:
                   4065: #         The Wyse 60 runs faster when the XON/XOFF
                   4066: #         handshake is turned off.
                   4067: #
1.3       deraadt  4068: # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4069: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4070: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4071: # (sgr removed to fit entry within 1023 bytes)
                   4072: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4073: wy60|wyse60|Wyse 60:\
1.2       deraadt  4074:        :am:bw:hs:km:mi:ms:\
1.1       deraadt  4075:        :co#80:li#24:ws#45:\
1.5       tholo    4076:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4077:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   4078:        :ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
1.1       deraadt  4079:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5       tholo    4080:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4081:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   4082:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
                   4083:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
                   4084:        :so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
                   4085:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   4086:        :tc=adm+sgr:
1.1       deraadt  4087: #
                   4088: wy60-w|wyse60-w|wyse 60 132-column:\
1.3       deraadt  4089:        :Nl#16:co#132:lw#7:ws#97:\
                   4090:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy60:
1.1       deraadt  4091: #
                   4092: wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
1.3       deraadt  4093:        :Nl@:lh@:li#25:lw@:\
                   4094:        :pn@:r3=\EwG\Ee):tc=wy60:
1.1       deraadt  4095: wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
1.3       deraadt  4096:        :Nl@:lh@:li#25:lw@:\
                   4097:        :pn@:r3=\EwG\Ee):tc=wy60-w:
1.1       deraadt  4098: #
                   4099: wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
                   4100:        :li#42:\
                   4101:        :al=\EE:cd=\Ey:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:\
1.3       deraadt  4102:        :i1=\EcB2\EcC3:ip=:nw=\r\n:r3=\Ee*:sf=\n:sr=\Ej:tc=wy60:
1.1       deraadt  4103: wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
1.3       deraadt  4104:        :Nl#16:co#132:lw#7:ws#97:\
1.5       tholo    4105:        :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ho=\036:ip=:nw=\r\n:\
                   4106:        :r2=\EeF\E`;:\
                   4107:        :tc=wy60-42:
1.1       deraadt  4108: #
                   4109: wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
1.3       deraadt  4110:        :Nl@:lh@:li#43:lw@:\
                   4111:        :pn@:r3=\Ee+:tc=wy60-42:
1.1       deraadt  4112: wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
1.3       deraadt  4113:        :Nl@:lh@:li#43:lw@:\
                   4114:        :pn@:r3=\Ee+:tc=wy60-42-w:
1.1       deraadt  4115: #
                   4116: wy60-vb|wyse60-vb|Wyse 60 visible bell:\
1.2       deraadt  4117:        :bl@:tc=wy60:
1.1       deraadt  4118: wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell:\
1.5       tholo    4119:        :bl@:\
                   4120:        :tc=wy60-w:
1.1       deraadt  4121:
                   4122: #      The Wyse-99GT looks at lot like the Wyse 60 except that it
                   4123: #      does not have the 42/43 line mode.  In the Wyse-60 the "lines"
                   4124: #      setup parameter controls the number of lines on the screen.
                   4125: #      For the Wyse 99GT the "lines" setup parameter controls the
                   4126: #      number of lines in a page.  The screen can display 25 lines max.
                   4127: #          The Wyse-99GT also has personalities for the VT220 and
                   4128: #      Tektronix 4014.  But this has no bearing on the native mode.
                   4129: #
                   4130: #      (msgr) should be set but the clear screen fails when in
1.2       deraadt  4131: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
1.1       deraadt  4132: #      then set msgr, else use msgr@.
                   4133: #
                   4134: #      u0 -> enter Tektronix mode
                   4135: #      u1 -> exit Tektronix mode
                   4136: #
                   4137: wy99gt|wyse99gt|Wyse 99gt:\
                   4138:        :ms@:\
1.5       tholo    4139:        :al=\EE:cd=\Ey:ce=\Et:cl=\E+:dc=\EW:dl=\ER:i2=\Ew0:ip=:nw@:\
                   4140:        :r2=\E`\072:sf=\n:sr=\Ej:ta=\011:te=\Ew0:ti=\Ew1:\
                   4141:        :u0=\E~>\E8:u1=\E[42h:vb=\E`8\E`9:tc=wy60:
1.1       deraadt  4142: #
                   4143: wy99gt-w|wyse99gt-w|wyse 99gt 132-column:\
1.3       deraadt  4144:        :Nl#16:co#132:lw#7:ws#97:\
                   4145:        :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy99gt:
1.1       deraadt  4146: #
                   4147: wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines:\
1.3       deraadt  4148:        :Nl@:lh@:li#25:lw@:\
                   4149:        :pn@:r2=\E`\072:r3=\EwG\Ee):tc=wy99gt:
1.1       deraadt  4150: #
                   4151: wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines:\
1.3       deraadt  4152:        :Nl@:lh@:li#25:lw@:\
                   4153:        :pn@:r2=\E`;:tc=wy99gt-w:
1.1       deraadt  4154: #
                   4155: wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell:\
1.2       deraadt  4156:        :bl@:tc=wy99gt:
1.1       deraadt  4157: #
                   4158: wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell:\
1.5       tholo    4159:        :bl@:\
                   4160:        :tc=wy99gt-w:
1.1       deraadt  4161: #
                   4162: #      The Wyse 160 is combination of the WY-60 and the WY-99gt.
                   4163: #      The reset strings are slow and the pad times very depending
                   4164: #      on other parameters such as font loading.  I have tried
                   4165: #      to follow the following outline:
1.2       deraadt  4166: #
                   4167: #              <rs1> -> set personality
                   4168: #              <rs2> -> set number of columns
                   4169: #              <rs3> -> set number of lines
1.5       tholo    4170: #              :i1: -> select the proper font
                   4171: #              :is: -> do the initialization
                   4172: #              :i3: -> set up display memory (2 pages)
1.1       deraadt  4173: #
                   4174: #      The display memory may be used for either text or graphics.
                   4175: #      When "Display Memory = Shared" the terminal will have more pages
                   4176: #      but garbage may be left on the screen when you switch from
                   4177: #      graphics to text.  If "Display Memory = Unshared" then the
                   4178: #      text area will be only one page long.
                   4179: #
1.3       deraadt  4180: # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4181: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4182: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4183: # (sgr removed to fit entry within 1023 bytes)
                   4184: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4185: wy160|wyse160|Wyse 160:\
1.2       deraadt  4186:        :am:bw:hs:km:mi:ms:\
1.1       deraadt  4187:        :co#80:li#24:ws#38:\
1.5       tholo    4188:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4189:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   4190:        :ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
1.1       deraadt  4191:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5       tholo    4192:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4193:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   4194:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
                   4195:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
                   4196:        :so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:ti=\Ew1:ts=\EF:up=^K:\
                   4197:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   4198:        :tc=adm+sgr:
1.1       deraadt  4199: #
                   4200: wy160-w|wyse160-w|wyse 160 132-column:\
1.3       deraadt  4201:        :Nl#16:co#132:lw#7:ws#90:\
                   4202:        :cm=\Ea%i%dR%dC:dc=\EW:r2=\EeF\E`;:tc=wy160:
1.1       deraadt  4203: #
                   4204: wy160-25|wyse160-25|wyse 160 80-column 25-lines:\
1.3       deraadt  4205:        :Nl@:lh@:li#25:lw@:\
                   4206:        :pn@:r3=\EwG\Ee):tc=wy160:
1.1       deraadt  4207: wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines:\
1.3       deraadt  4208:        :Nl@:lh@:li#25:lw@:\
                   4209:        :pn@:r3=\EwG\Ee):tc=wy160-w:
1.1       deraadt  4210: #
                   4211: wy160-42|wyse160-42|wyse 160 80-column 42-lines:\
                   4212:        :li#42:\
1.5       tholo    4213:        :al=\EE:cd=\Ey:cl=\E+:dl=\ER:i1=\EcB2\EcC3:nw=\r\n:r3=\Ee*:\
                   4214:        :sf=\n:sr=\Ej:\
                   4215:        :tc=wy160:
1.1       deraadt  4216: wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines:\
1.3       deraadt  4217:        :Nl#16:co#132:lw#7:ws#90:\
                   4218:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy160-42:
1.1       deraadt  4219: #
                   4220: wy160-43|wyse160-43|wyse 160 80-column 43-lines:\
1.3       deraadt  4221:        :Nl@:lh@:li#43:lw@:\
                   4222:        :pn@:r3=\Ee+:tc=wy160-42:
1.1       deraadt  4223: wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines:\
1.3       deraadt  4224:        :Nl@:lh@:li#43:lw@:\
                   4225:        :pn@:r3=\Ee+:tc=wy160-42-w:
1.1       deraadt  4226: #
                   4227: wy160-vb|wyse160-vb|Wyse 160 visible bell:\
1.2       deraadt  4228:        :bl@:tc=wy160:
1.1       deraadt  4229: wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell:\
1.5       tholo    4230:        :bl@:\
                   4231:        :tc=wy160-w:
1.1       deraadt  4232: #
                   4233: #      The Wyse 75 is a vt100 lookalike without advanced video.
                   4234: #
                   4235: #         The Wyse 75 can support one attribute (e.g. Dim, Inverse,
                   4236: #      Underline) without magic cookies.  The following description
                   4237: #      uses this capability, but when more than one attribute is
                   4238: #      put on the screen at once, all attributes will be changed
                   4239: #      to be the same as the last attribute given.
                   4240: #         The Wyse 75 can support more attributes when used with magic
                   4241: #      cookies.  The wy75-mc terminal description uses magic cookies
                   4242: #      to correctly handle multiple attributes on a screen.
                   4243: #
                   4244: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  4245: # (sgr removed to fit entry within 1023 bytes)
                   4246: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4247: wy75|wyse75|wyse 75:\
1.2       deraadt  4248:        :am:hs:mi:ms:xn:xo:\
                   4249:        :co#80:li#24:ma#1:pb#1201:ws#78:\
1.1       deraadt  4250:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4251:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5       tholo    4252:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   4253:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4254:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
                   4255:        :ds=\E[>\\\054\001\001\E[>-\001\001:ec=\E[%dX:ei=\E[4l:\
                   4256:        :fs=^A:ho=\E[H:\
1.1       deraadt  4257:        :i1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h:i2=\E[m:\
                   4258:        :im=\E[4h:ip=:is=\E>\E(B\E)0\017:k1=\E[?5i:k2=\E[?3i:\
1.5       tholo    4259:        :k3=\E[2i:k4=\E[@:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
                   4260:        :k9=\E[20~:kI=\E[@:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
                   4261:        :kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[?1l\E[?7h\E=:ku=\E[A:le=^H:\
                   4262:        :me=\E[m\017:mh=\E[0t\E[2m:mr=\E[1t\E[7m:nd=\E[C:rc=\E8:\
                   4263:        :sc=\E7:se=\E[m:sf=\n:so=\E[1t\E[7m:sr=\EM:st=\EH:ta=^I:\
1.1       deraadt  4264:        :ts=\E[>\\\054\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
1.2       deraadt  4265:        :vb=\E[30h\E\\\054\E[30l:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  4266: #
                   4267: #      This terminal description uses the non-hidden attribute mode
                   4268: #      (with magic cookie).
                   4269: #
                   4270: wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
                   4271:        :ms@:\
                   4272:        :ma@:sg#1:ug#1:\
                   4273:        :ae=\E[0p\017:as=\E[0p\016:i2=\E[m\E[p:mb=\E[2p:\
1.3       deraadt  4274:        :me=\E[0p\017:mh=\E[1p:mk=\E[4p:mr=\E[16p:\
1.1       deraadt  4275:        :..sa=\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%;:\
1.5       tholo    4276:        :se=\E[0p:so=\E[17p:ue=\E[0p:us=\E[8p:\
                   4277:        :tc=wy75:
1.1       deraadt  4278: wy75-vb|wyse75-vb|wyse 75 with visible bell:\
                   4279:        :pb@:\
1.2       deraadt  4280:        :bl@:tc=wy75:
1.1       deraadt  4281: wy75-w|wyse75-w|wyse 75 in 132 column mode:\
1.3       deraadt  4282:        :co#132:ws#130:\
                   4283:        :r2=\E[35h\E[?3h:tc=wy75:
1.1       deraadt  4284: wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns:\
                   4285:        :pb@:\
1.2       deraadt  4286:        :bl@:tc=wy75-w:
1.1       deraadt  4287: #
                   4288: #      Wyse 85 emulating a vt220 7 bit mode.
                   4289: #              24 line screen with status line.
                   4290: #
                   4291: #      The vt220 mode permits more function keys but it wipes out
1.3       deraadt  4292: #      the escape key.  I strongly recommend that <f11> be set to
1.1       deraadt  4293: #      escape (esc).
                   4294: #      The terminal may have to be set for 8 data bits and 2 stop
                   4295: #      bits for the arrow keys to work.
                   4296: #      The Wyse 85 runs faster with XON/XOFF enabled.  Also the
1.5       tholo    4297: #      :DC: and :IC: work best when XON/XOFF is set.  :IC: and
                   4298: #      :DC: leave trash on the screen when used without XON/XOFF.
1.1       deraadt  4299: #
1.2       deraadt  4300: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  4301: # (sgr removed to fit entry within 1023 bytes)
                   4302: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4303: wy85|wyse85|wyse 85:\
1.2       deraadt  4304:        :am:hs:mi:ms:xn:xo:\
1.1       deraadt  4305:        :co#80:it#8:li#24:ws#80:\
                   4306:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4307:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5       tholo    4308:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   4309:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4310:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
                   4311:        :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
                   4312:        :i1=\E[62;1"p\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
                   4313:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
1.1       deraadt  4314:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    4315:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   4316:        :kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
                   4317:        :ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
                   4318:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\n:\
                   4319:        :so=\E[7m:sr=\EM:st=\EH:ta=\011:\
                   4320:        :ts=\E[40h\E7\E[25;%i%p1%dH:ue=\E[m:up=\E[A:us=\E[4m:\
                   4321:        :vb=\E[30h\E\\\054\E[30l:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  4322: #
                   4323: #      Wyse 85 with visual bell.
                   4324: wy85-vb|wyse85-vb|wyse 85 with visible bell:\
1.2       deraadt  4325:        :bl@:vb=\E[30h\E\\\054\E[30l:tc=wy85:
1.1       deraadt  4326: #
                   4327: #      Wyse 85 in 132-column mode.
                   4328: wy85-w|wyse85-w|wyse 85 in 132-column mode:\
1.3       deraadt  4329:        :co#132:ws#132:\
                   4330:        :r2=\E[35h\E[?3h:tc=wy85:
1.1       deraadt  4331: #
                   4332: #      Wyse 85 in 132-column mode with visual bell.
                   4333: wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns:\
1.5       tholo    4334:        :bl@:\
                   4335:        :tc=wy85-w:
1.1       deraadt  4336: #
                   4337: #      Wyse 185 emulating a vt320 7 bit mode.
                   4338: #
                   4339: #      This terminal always displays 25 lines.  These lines may be used
                   4340: #      as 24 data lines and a terminal status line (top or bottom) or
                   4341: #      25 data lines.  The 48 and 50 line modes change the page size
                   4342: #      and not the number of lines on the screen.
                   4343: #
                   4344: #      The Compose Character key can be used as a meta key if changed
                   4345: #      by set-up.
                   4346: #
                   4347: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  4348: # (sgr removed to fit entry within 1023 bytes)
                   4349: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4350: wy185|wyse185|wyse 185:\
1.2       deraadt  4351:        :am:hs:km:mi:ms:xn:xo:\
1.1       deraadt  4352:        :co#80:it#8:li#24:ws#80:\
                   4353:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4354:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5       tholo    4355:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   4356:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4357:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1.1       deraadt  4358:        :ds=\E7\E[99;0H\E[K\E8:ec=\E[%dX:ei=\E[4l:\
                   4359:        :fs=\E[1;24r\E8:ho=\E[H:i1=\E[?5W:\
                   4360:        :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
                   4361:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
                   4362:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    4363:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   4364:        :kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
                   4365:        :ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
                   4366:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
                   4367:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:ti=\E[ Q:\
                   4368:        :ts=\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
                   4369:        :vb=\E[30h\E\\\054\E[30l:ve=\E[34h\E[?25h:vi=\E[?25l:\
                   4370:        :vs=\E[?25h\E[34l:
1.1       deraadt  4371: #
                   4372: #      Wyse 185 with 24 data lines and top status (terminal status)
                   4373: wy185-24|wyse185-24|wyse 185 with 24 data lines:\
                   4374:        :hs@:\
1.3       deraadt  4375:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy185:
1.1       deraadt  4376: #
                   4377: #      Wyse 185 with visual bell.
                   4378: wy185-vb|wyse185-vb|wyse 185+flash:\
1.2       deraadt  4379:        :bl@:tc=wy185:
1.1       deraadt  4380: #
                   4381: #      Wyse 185 in 132-column mode.
                   4382: wy185-w|wyse185-w|wyse 185 in 132-column mode:\
                   4383:        :co#132:ws#132:\
1.5       tholo    4384:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy185:
1.1       deraadt  4385: #
                   4386: #      Wyse 185 in 132-column mode with visual bell.
                   4387: wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols:\
1.2       deraadt  4388:        :bl@:tc=wy185-w:
1.1       deraadt  4389:
                   4390: # wy325 terminfo entries
                   4391: # Done by Joe H. Davis        3-9-92
                   4392:
                   4393: # lines 25  columns 80
                   4394: #
1.3       deraadt  4395: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.2       deraadt  4396: wy325|wyse325|Wyse epc:\
1.5       tholo    4397:        :5i:am:bw:hs:mi:\
                   4398:        :Nl#8:co#80:lh#1:li#24:lw#8:pb#9601:ws#45:\
                   4399:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
                   4400:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:RA=\Ed.:\
                   4401:        :SA=\Ed/:\
                   4402:        :ac=+/\\\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
                   4403:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4404:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   4405:        :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
1.1       deraadt  4406:        :is=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5       tholo    4407:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4408:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
                   4409:        :kE=\ET:kI=\Eq:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
                   4410:        :kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
                   4411:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:pf=^T:\
                   4412:        :pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
                   4413:        :px=\EZ1%+?%s\177:r1=\E~!\E~4:r2=\EeF\E`\072:\
                   4414:        :r3=\EwG\Ee(:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:\
                   4415:        :ti=\Ew1:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   4416:        :tc=adm+sgr:
1.1       deraadt  4417:
                   4418: #
                   4419: # lines 24  columns 80  vb
                   4420: #
1.2       deraadt  4421: wy325-vb|wyse325-vb|wyse-325 with visual bell:\
                   4422:        :bl@:tc=wy325:
1.1       deraadt  4423:
                   4424: #
                   4425: # lines 24  columns 132
                   4426: #
1.2       deraadt  4427: wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode:\
1.3       deraadt  4428:        :Nl#16:co#132:lw#7:ws#97:\
                   4429:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy325:
1.1       deraadt  4430: #
                   4431: # lines 25  columns 80
                   4432: #
1.2       deraadt  4433: wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines:\
1.3       deraadt  4434:        :Nl@:lh@:li#25:lw@:\
                   4435:        :pn@:r3=\EwG\Ee):tc=wy325:
1.1       deraadt  4436: #
                   4437: # lines 25  columns 132
                   4438: #
                   4439: wy325-25w|wyse325-25w|wy325 132 columns:\
1.3       deraadt  4440:        :Nl@:lh@:li#25:lw@:\
                   4441:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4442: #
                   4443: # lines 25  columns 132  vb
                   4444: #
1.2       deraadt  4445: wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video:\
1.5       tholo    4446:        :bl@:\
                   4447:        :tc=wy325-w:
1.1       deraadt  4448:
                   4449: #
                   4450: # lines 42  columns 80
                   4451: #
1.2       deraadt  4452: wy325-42|wyse325-42|wyse-325 42 lines:\
1.3       deraadt  4453:        :Nl@:lh@:li#42:lw@:\
                   4454:        :pn@:r3=\EwG\Ee):tc=wy325:
1.1       deraadt  4455: #
                   4456: # lines 42  columns 132
                   4457: #
1.2       deraadt  4458: wy325-42w|wyse325-42w|wyse-325 42 lines wide mode:\
1.3       deraadt  4459:        :Nl@:lh@:li#42:lw@:\
                   4460:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4461: #
                   4462: # lines 42  columns 132  vb
                   4463: #
1.2       deraadt  4464: wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell:\
1.5       tholo    4465:        :bl@:\
                   4466:        :tc=wy325-w:
1.1       deraadt  4467: #
                   4468: # lines 43  columns 80
                   4469: #
1.2       deraadt  4470: wy325-43|wyse325-43|wyse-325 43 lines:\
1.3       deraadt  4471:        :Nl@:lh@:li#43:lw@:\
                   4472:        :pn@:tc=wy325:
1.1       deraadt  4473: #
                   4474: # lines 43  columns 132
                   4475: #
1.2       deraadt  4476: wy325-43w|wyse325-43w|wyse-325 43 lines wide mode:\
1.3       deraadt  4477:        :Nl@:lh@:li#43:lw@:\
                   4478:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4479: #
                   4480: # lines 43  columns 132  vb
                   4481: #
1.2       deraadt  4482: wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell:\
1.5       tholo    4483:        :bl@:\
                   4484:        :tc=wy325-w:
1.2       deraadt  4485:
                   4486: #      Wyse 370 -- 24 line screen with status line.
1.1       deraadt  4487: #
                   4488: #      The terminal may have to be set for 8 data bits and 2 stop
                   4489: #      bits for the arrow keys to work.
                   4490: #
                   4491: #      If you change keyboards the terminal will send different
                   4492: #      escape sequences.
                   4493: #      The following definition is for the basic terminal without
                   4494: #      function keys.
                   4495: #
1.2       deraadt  4496: #      <u0> -> enter Tektronix 4010/4014 mode
                   4497: #      <u1> -> exit  Tektronix 4010/4014 mode
                   4498: #      <u2> -> enter ASCII mode (from any ANSI mode)
                   4499: #      <u3> -> exit  ASCII mode (goto native ANSI mode)
                   4500: #      <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
                   4501: #      <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
1.1       deraadt  4502: #
1.5       tholo    4503: # Bug: The <op> capability resets attributes.
1.3       deraadt  4504: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4505: # (sgr removed to fit entry within 1023 bytes)
                   4506: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4507: wy370-nk|wyse 370 without function keys:\
1.2       deraadt  4508:        :am:hs:mi:ms:xn:xo:\
1.1       deraadt  4509:        :co#80:it#8:li#24:ws#80:\
                   4510:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    4511:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   4512:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4513:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
                   4514:        :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
                   4515:        :i1=\E[90;1"p\E[?5W:i2=\E>\017\E)0\E(B\E[63;0w\E[m:\
                   4516:        :im=\E[4h:ip=:\
1.1       deraadt  4517:        :is=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h:\
1.5       tholo    4518:        :ke=\E>:ks=\E[?1l\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
                   4519:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
                   4520:        :so=\E[7m:sr=\EM:st=\EH:ta=\011:te=\E[ R:ti=\E[ Q:\
                   4521:        :ts=\E[40l\E[40h\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:\
                   4522:        :us=\E[4m:vb=\E[30h\E\\\054\E[30l:ve=\E[34h\E[?25h:\
                   4523:        :vi=\E[?25l:vs=\E[?25h\E[34l:
1.1       deraadt  4524: #
1.2       deraadt  4525: #      Function key set for the ASCII (wy-50 compatible) keyboard
                   4526: #      This is the default 370.
1.1       deraadt  4527: #
1.2       deraadt  4528: wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard:\
1.3       deraadt  4529:        :@8=\EOM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
1.5       tholo    4530:        :F5=\E[28~:F6=\E[29~:k1=\E[?4i:k2=\E[?3i:k3=\E[2i:k4=\E[@:\
                   4531:        :k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
                   4532:        :k;=\E[21~:kA=\EOP:kB=\E[Z:kD=\EOQ:kI=\EOP:kL=\EOQ:kN=\E[U:\
                   4533:        :kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   4534:        :tc=wy370-nk:
1.1       deraadt  4535: #
1.2       deraadt  4536: #      Function key set for the VT-320 (and wy85) compatible keyboard
1.1       deraadt  4537: #
                   4538: wy370-105k|Wyse 370 with 105 key keyboard:\
1.5       tholo    4539:        :%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:\
                   4540:        :F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
                   4541:        :F8=\E[32~:F9=\E[33~:FA=\E[34~:K1=\EOw:K2=\EOu:K3=\EOy:\
                   4542:        :K4=\EOq:K5=\EOs:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:\
                   4543:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
                   4544:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:\
                   4545:        :kl=\E[D:kr=\E[C:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:\
                   4546:        :tc=wy370-nk:
1.1       deraadt  4547: #
1.2       deraadt  4548: #      Function key set for the PC compatible keyboard
1.1       deraadt  4549: #
                   4550: wy370-EPC|Wyse 370 with 102 key keyboard:\
1.5       tholo    4551:        :@7=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:k1=\EOP:k2=\EOQ:\
                   4552:        :k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
                   4553:        :k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:kN=\E[U:kP=\E[V:\
                   4554:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   4555:        :tc=wy370-nk:
1.1       deraadt  4556: #
                   4557: #      Wyse 370 with visual bell.
                   4558: wy370-vb|Wyse 370 with visible bell:\
1.2       deraadt  4559:        :bl@:tc=wy370:
1.1       deraadt  4560: #
                   4561: #      Wyse 370 in 132-column mode.
                   4562: wy370-w|Wyse 370 in 132-column mode:\
1.3       deraadt  4563:        :co#132:ws#132:\
                   4564:        :r2=\E[35h\E[?3h:tc=wy370:
1.1       deraadt  4565: #
                   4566: #      Wyse 370 in 132-column mode with visual bell.
                   4567: wy370-wvb|Wyse 370 with visible bell 132-columns:\
                   4568:        :vb=\E[30h\E\\\054\E[30l:tc=wy370-w:
                   4569: wy370-rv|Wyse 370 reverse video:\
1.3       deraadt  4570:        :r3=\E[32h\E[?5h:tc=wy370:
1.1       deraadt  4571: #
                   4572: #      Wyse 99gt Tektronix 4010/4014 emulator,
                   4573: #
                   4574: wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator:\
1.2       deraadt  4575:        :am:os:\
1.1       deraadt  4576:        :co#74:li#35:\
                   4577:        :bl=^G:cl=\E^L:\
                   4578:        :..cm=\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:\
                   4579:        :cr=^M:do=^J:ff=^L:\
                   4580:        :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
                   4581:        :ho=^]7`x @\037:\
                   4582:        :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
1.5       tholo    4583:        :is=\E8:le=^H:nd= :nw=^M^J:u0=\E~>\E8:u1=\E[42h:up=^K:
1.1       deraadt  4584: #
                   4585: #      Wyse 160 Tektronix 4010/4014 emulator,
                   4586: #
                   4587: wy160-tek|Wyse 160 Tektronix 4010/4014 emulator:\
                   4588:        :..cm=\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:\
1.5       tholo    4589:        :ho=^]8`g @\037:\
                   4590:        :tc=wy99gt-tek:
1.1       deraadt  4591: #
                   4592: #      Wyse 370 Tektronix 4010/4014 emulator,
                   4593: #
                   4594: wy370-tek|Wyse 370 Tektronix 4010/4014 emulator:\
1.2       deraadt  4595:        :am:os:\
1.1       deraadt  4596:        :co#80:li#36:\
                   4597:        :bl=^G:cl=\E^L:\
                   4598:        :..cm=\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:\
                   4599:        :cr=^M:do=^J:ff=^L:\
                   4600:        :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
                   4601:        :ho=^]8g @\037:\
                   4602:        :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
1.5       tholo    4603:        :is=\E8:kb=^H:kd=^J:kl=^H:kr=^I:ku=^K:le=^H:nd= :nw=^M^J:\
                   4604:        :u0=\E[?38h\E8:u1=\E[?38l\E)0:up=^K:
1.1       deraadt  4605:
                   4606: # Vendor-supplied Wyse entries end here.
                   4607:
1.5       tholo    4608: #
                   4609: #TITLE:  TERMINFO ENTRY WY520
                   4610: #DATE:   8/5/93
                   4611: # The WY520 terminfo is based on the WY285 entry published on the WYSE
                   4612: # BBS with the addition of more function keys and special keys.
                   4613: #
                   4614: #               rs1 -> set personality
                   4615: #               rs2 -> set number of columns
                   4616: #               rs3 -> set number of lines
                   4617: #               is1 -> select the proper font
                   4618: #               is2 -> do the initialization
                   4619: #               is3 -> If this string is empty then rs3 gets sent.
                   4620: #
                   4621: #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
                   4622: #       - The BS key is programmed to generate BS in smcup since
                   4623: #         is2 doesn't seem to work.
                   4624: #       - Remove and shift/Remove: delete a character
                   4625: #       - Insert : enter insert mode
                   4626: #       - Find   : delete to end of file
                   4627: #       - Select : clear a line
                   4628: #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
                   4629: #       - F14 : Home key
                   4630: #       - Bottom status line (host writable line) is used.
                   4631: #       - smkx,rmkx are removed because this would put the numeric
                   4632: #         keypad in Dec application mode which doesn't seem to work
                   4633: #         with SCO applications.
                   4634: #
                   4635: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4636: # (sgr removed to fit entry within 1023 bytes)
                   4637: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   4638: wy520|wyse520|wyse 520:\
                   4639:        :am:hs:km:mi:xn:xo:\
                   4640:        :co#80:it#8:li#24:ws#80:\
                   4641:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4642:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   4643:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   4644:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4645:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[0$~:\
                   4646:        :ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:i1=\E[?5W:\
                   4647:        :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
                   4648:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
                   4649:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
                   4650:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   4651:        :kb=^H:kd=\E[B:kh=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   4652:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                   4653:        :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   4654:        :te=\E[ R:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%p1%d`:\
                   4655:        :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[34h\E[?25h:vi=\E[?25l:\
                   4656:        :vs=\E[?25h\E[34l:
                   4657: #
                   4658: #       Wyse 520 with 24 data lines and status (terminal status)
                   4659: wy520-24|wyse520-24|wyse 520 with 24 data lines:\
                   4660:        :hs@:\
                   4661:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520:
                   4662: #
                   4663: #       Wyse 520 with visual bell.
                   4664: wy520-vb|wyse520-vb|wyse 520 with visible bell:\
                   4665:        :vb=\E[30h\E\\\054\E[30l:tc=wy520:
                   4666: #
                   4667: #       Wyse 520 in 132-column mode.
                   4668: wy520-w|wyse520-w|wyse 520 in 132-column mode:\
                   4669:        :co#132:ws#132:\
                   4670:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520:
                   4671: #
                   4672: #       Wyse 520 in 132-column mode with visual bell.
                   4673: wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns:\
                   4674:        :vb=\E[30h\E\\\054\E[30l:\
                   4675:        :tc=wy520-w:
                   4676: #
                   4677: #
                   4678: #       Wyse 520 emulating a vt420 7 bit mode.
                   4679: #       The DEL key is programmed to generate BS in is2.
                   4680: #       With EPC keyboard.
                   4681: #       - 'End' key will clear till end of line on EPC keyboard
                   4682: #       - Shift/End : ignored.
                   4683: #       - Insert : enter insert mode.
                   4684: #       - Delete : delete a character (have to change interrupt character
                   4685: #                  to CTRL-C: stty intr '^c') for it to work since the
                   4686: #                  Delete key sends 7FH.
                   4687: wy520-epc|wyse520-epc|wyse 520 with EPC kb:\
                   4688:        :@7=\E[4~:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
                   4689:        :k4=\E[14~:k5=\E[15~:kD=\177:kE=\E[4~:kh=\E[H:\
                   4690:        :tc=wy520:
                   4691: #
                   4692: #       Wyse 520 with 24 data lines and status (terminal status)
                   4693: #       with EPC keyboard.
                   4694: wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines:\
                   4695:        :hs@:\
                   4696:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520-epc:
                   4697: #
                   4698: #       Wyse 520 with visual bell.
                   4699: wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell:\
                   4700:        :vb=\E[30h\E\\\054\E[30l:\
                   4701:        :tc=wy520-epc:
                   4702: #
                   4703: #       Wyse 520 in 132-column mode.
                   4704: wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode:\
                   4705:        :co#132:ws#132:\
                   4706:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520-epc:
                   4707: #
                   4708: #       Wyse 520 in 132-column mode with visual bell.
                   4709: wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns:\
                   4710:        :vb=\E[30h\E\\\054\E[30l:\
                   4711:        :tc=wy520-epc-w:
                   4712: #
                   4713: #       Wyse 520 in 80-column, 36 lines
                   4714: wy520-36|wyse520-36|wyse 520 with 36 data lines:\
                   4715:        :hs@:\
                   4716:        :li#36:\
                   4717:        :ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520:
                   4718: #
                   4719: #       Wyse 520 in 80-column, 48 lines
                   4720: wy520-48|wyse520-48|wyse 520 with 48 data lines:\
                   4721:        :hs@:\
                   4722:        :li#48:\
                   4723:        :ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520:
                   4724: #
                   4725: #       Wyse 520 in 132-column, 36 lines
                   4726: wy520-36w|wyse520-36w|wyse 520 with 36 data lines:\
                   4727:        :co#132:ws#132:\
                   4728:        :r2=\E[?3h:\
                   4729:        :r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36:
                   4730: #
                   4731: #       Wyse 520 in 132-column, 48 lines
                   4732: wy520-48w|wyse520-48w|wyse 520 with 48 data lines:\
                   4733:        :co#132:ws#132:\
                   4734:        :r2=\E[?3h:\
                   4735:        :r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48:
                   4736: #
                   4737: #
                   4738: #       Wyse 520 in 80-column, 36 lines with EPC keyboard
                   4739: wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines:\
                   4740:        :hs@:\
                   4741:        :li#36:\
                   4742:        :ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520-epc:
                   4743: #
                   4744: #       Wyse 520 in 80-column, 48 lines with EPC keyboard
                   4745: wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines:\
                   4746:        :hs@:\
                   4747:        :li#48:\
                   4748:        :ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520-epc:
                   4749: #
                   4750: #       Wyse 520 in 132-column, 36 lines with EPC keyboard
                   4751: wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines:\
                   4752:        :co#132:ws#132:\
                   4753:        :r2=\E[?3h:\
                   4754:        :r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36pc:
                   4755: #
                   4756: #       Wyse 520 in 132-column, 48 lines with EPC keyboard
                   4757: wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines:\
                   4758:        :co#132:ws#132:\
                   4759:        :r2=\E[?3h:\
                   4760:        :r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48pc:
                   4761:
1.3       deraadt  4762: # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
1.5       tholo    4763: # (wyse-vp: removed :if=/usr/share/tabset/wyse-adds:, there's no such
                   4764: # file and we don't know what :st: is -- esr)
1.3       deraadt  4765: wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
                   4766:        :am:\
                   4767:        :co#80:it#8:li#24:\
1.5       tholo    4768:        :al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EW:\
                   4769:        :dl=\El:do=^J:ei=\Er:ho=^A:im=\Eq:is=\E`\072\E`9\017\Er:\
                   4770:        :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A^Z:me=^O:\
                   4771:        :nd=^F:nw=^M^J:r1=\E`\072\E`9\017\Er:se=^O:sf=^J:so=^N:\
                   4772:        :ta=^I:ue=^O:up=^Z:us=^N:
1.3       deraadt  4773:
                   4774: wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
                   4775:        :is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:kb=^H:\
                   4776:        :kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
                   4777:        :ks=10\E[?1h\E=:ku=\EOA:tc=wy75:
                   4778:
1.1       deraadt  4779: # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
                   4780: wy100q|Wyse 100 for Quotron:\
1.5       tholo    4781:        :co#80:li#24:sg#1:\
                   4782:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
                   4783:        :dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
                   4784:        :is=\E`\072\200\EC\EDF\E0\E'\E(\EA21:kd=^J:kl=^H:kr=^L:\
                   4785:        :ku=^K:le=^H:mk@:nd=^L:sr=\Ej:up=^K:\
                   4786:        :tc=adm+sgr:
1.1       deraadt  4787:
                   4788: #### Kermit terminal emulations
                   4789: #
                   4790: # Obsolete Kermit versions may be listed in the section describing obsolete
                   4791: # non-ANSI terminal emulators later in the file.
                   4792: #
                   4793:
                   4794: # KERMIT standard all versions.
                   4795: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   4796: # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   4797: # From: greg small <gts@populi.berkeley.edu> 9-25-84
                   4798: kermit|standard kermit:\
                   4799:        :co#80:li#24:\
                   4800:        :cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :ho=\EH:\
                   4801:        :is=K0 Standard Kermit  9-25-84\n:kd=^J:kh=^^:kl=^H:\
1.2       deraadt  4802:        :kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
                   4803: kermit-am|standard kermit plus auto-margin:\
1.1       deraadt  4804:        :am:\
                   4805:        :is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit:
                   4806: # IBMPC Kermit 1.2.
1.5       tholo    4807: # Bugs: :cd:, :ce:: do not work except at beginning of line!  :cl: does
1.2       deraadt  4808: # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
                   4809: # line).
1.1       deraadt  4810: # From: greg small <gts@populi.berkeley.edu> 8-30-84
                   4811: pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
                   4812:        :am:\
                   4813:        :li#25:\
                   4814:        :cd@:ce@:cl=\EH\EJ:\
                   4815:        :is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
                   4816: # IBMPC Kermit 1.20
                   4817: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   4818: # Initialization must escape from that region by cursor position to line 24.
                   4819: # Cannot use character insert because 1.20 goes crazy if insert at col 80.
1.2       deraadt  4820: # Does not use :am: because autowrap is lost when kermit dropped and restarted.
1.1       deraadt  4821: # From: greg small <gts@populi.berkeley.edu> 12-19-84
                   4822: pckermit120|UCB IBMPC Kermit 1.20:\
                   4823:        :it#8:li#24:\
                   4824:        :al=\EL:dc=\EN:dl=\EM:do=\EB:ei@:im@:\
                   4825:        :is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
1.5       tholo    4826:        :se=\Eq:so=\Ep:ta=^I:vs=\EO\Eq\EEK3:\
                   4827:        :tc=kermit:
1.1       deraadt  4828: # MS-DOS Kermit 2.27 for the IBMPC
                   4829: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   4830: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   4831: # Initialization must escape from that region by cursor position to line 24.
1.2       deraadt  4832: # Does not use am: because autowrap is lost when kermit dropped and restarted.
1.1       deraadt  4833: # Reverse video for standout like H19.
1.2       deraadt  4834: # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
1.1       deraadt  4835: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   4836: msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
1.2       deraadt  4837:        :am@:\
1.1       deraadt  4838:        :co#80:it#8:li#24:\
1.5       tholo    4839:        :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
                   4840:        :do=\EB:ei=\EO:ho=\EH:im=\E@:\
1.1       deraadt  4841:        :is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
1.5       tholo    4842:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:rc=\Ek:sc=\Ej:\
                   4843:        :se=\Eq:so=\Ep:ta=^I:up=\EA:vs=\EO\Eq\EG\EwK4:
1.1       deraadt  4844: # MS-DOS Kermit 2.27 with automatic margins
                   4845: # From:        greg small <gts@populi.berkeley.edu> 3-17-85
                   4846: msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
                   4847:        :am:\
                   4848:        :is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
1.5       tholo    4849:        :vs=\EO\Eq\EG\EvK5:\
                   4850:        :tc=msk227:
1.1       deraadt  4851: # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
1.5       tholo    4852: # Automatic margins now default.  Use ansi :sa: for highlights.
1.2       deraadt  4853: # Define function keys.
1.1       deraadt  4854: # (msk22714: removed obsolete ":kn#10:" -- esr)
                   4855: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   4856: msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
                   4857:        :am:\
                   4858:        :is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
1.5       tholo    4859:        :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
                   4860:        :k8=\E8:k9=\E9:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:\
                   4861:        :ue=\E[m:us=\E[4m:vs=\EO\Eq\EG\EvK6:\
                   4862:        :tc=mskermit227:
1.1       deraadt  4863: # This was designed for a VT320 emulator, but it is probably a good start
                   4864: # at support for the VT320 itself.
                   4865: # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
1.2       deraadt  4866: # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  4867: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4868: # (sgr removed to fit entry within 1023 bytes)
                   4869: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4870: vt320-k3|MS-Kermit 3.00's vt320 emulation:\
                   4871:        :am:es:hs:km:mi:ms:xn:\
                   4872:        :co#80:it#8:li#49:pb#9600:vt#3:\
1.5       tholo    4873:        :AL=\E[%dL:CC=\E:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4874:        :LE=\E[%dD:RI=\E[%dC:SR=\E[%dL:UP=\E[%dA:ae=\E(B:al=\E[L:\
                   4875:        :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   4876:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
                   4877:        :ds=\E[0$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
1.2       deraadt  4878:        :is=\E>\E F\E[?1l\E[?7h\E[r\E[2$~:k0=\E[21~:k1=\EOP:\
1.5       tholo    4879:        :k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
                   4880:        :k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
                   4881:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
                   4882:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
                   4883:        :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.1       deraadt  4884:        :ts=\E[1$}\r\E[K:ue=\E[24m:up=\E[A:us=\E[4m:\
                   4885:        :vb=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l:ve=\E[?25h:\
                   4886:        :vi=\E[?25l:
1.2       deraadt  4887: # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
1.5       tholo    4888: # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
                   4889: # (I removed a bogus boolean :mo: and added :ms:, <smam>, <rmam> -- esr)
1.2       deraadt  4890: vt320-k311|dec vt320 series as defined by kermit 3.11:\
                   4891:        :am:es:hs:mi:ms:xn:xo:\
                   4892:        :co#80:it#8:li#24:vt#3:\
                   4893:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  4894:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5       tholo    4895:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   4896:        :ae=^O:al=3\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
                   4897:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   4898:        :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
                   4899:        :fs=\E[$}:ho=\E[H:im=\E[4h:\
1.2       deraadt  4900:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   4901:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    4902:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   4903:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
                   4904:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
                   4905:        :r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:\
                   4906:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.3       deraadt  4907:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
                   4908:        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  4909:
                   4910: ######## NON-ANSI TERMINAL EMULATIONS
                   4911: #
                   4912:
                   4913: #### Avatar
                   4914: #
                   4915: # These entries attempt to describe Avatar, a terminal emulation used with
                   4916: # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
                   4917: # capabilities, but with cheaper (shorter) control sequences.  Messy design,
                   4918: # excessively dependent on PC idiosyncracies, but apparently rather popular
                   4919: # in the BBS world.
                   4920: #
                   4921: # No color support.  Avatar doesn't fit either of the Tektronix or HP color
                   4922: # models that terminfo knows about.  An Avatar color attribute is the
                   4923: # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
                   4924: #
                   4925: # I wrote these entries while looking at the Avatar spec.  I don't have
                   4926: # the facilities to test them.  Let me know if they work, or don't.
                   4927: #
                   4928: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
1.5       tholo    4929: # (The :mb:/:md:/:mr:/:as:/:us:/:so: capabilities exist only to
                   4930: # tell ncurses that the corresponding highlights exist; it should use :sa:,
1.2       deraadt  4931: # which is the only method that will actually work for multiple highlights.)
                   4932: avatar0|avatar terminal emulator level 0:\
1.3       deraadt  4933:        :am:ms:ut:\
1.2       deraadt  4934:        :co#80:it#8:li#25:\
                   4935:        :as=:ce=^V^G:cm=\026\010%.%.:cr=^M:do=^V^D:le=^V^E:\
1.5       tholo    4936:        :mb=^A^V\177:md=^V^A^P:me=^V^A^G:mk=^V^A\200:mr=^A^Vp:\
                   4937:        :nd=^V^F:r2=^L:rp=\031%.%d:\
1.2       deraadt  4938:        :..sa=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;:\
1.5       tholo    4939:        :sf=^J:so=^A^Vp:up=^V^C:us=^V^A:\
                   4940:        :tc=klone+acs:
1.2       deraadt  4941: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   4942: avatar0+|avatar terminal emulator level 0+:\
                   4943:        :dc=^V^N:ei=\026\n\200\200\200\200:im=^V^I:tc=avatar0:
                   4944: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   4945: avatar|avatar1|avatar terminal emulator level 1:\
1.5       tholo    4946:        :RA=^V":SA=^V$:al=^V+:dl=^V-:ei=^V^P:ve=^V'^A:vi=^V'^B:\
                   4947:        :vs=^V^C:\
                   4948:        :tc=avatar0+:
1.1       deraadt  4949:
                   4950: ######## OLDER TERMINAL TYPES
                   4951: #
                   4952: # This section is devoted to older commercial terminal brands that are now
                   4953: # discontinued, but known to be still in use or represented by emulations.
                   4954: #
                   4955:
                   4956: #### AT&T (att, tty)
                   4957: #
                   4958: # This section also includes Teletype-branded VDTs.
                   4959: #
                   4960: # The AT&T/Teletype terminals group was sold to SunRiver Data Systems; for
                   4961: # details, see the header comment on the ADDS section.
                   4962: #
1.2       deraadt  4963: # These are AT&T's official terminfo entries.  All-caps aliases have been
                   4964: # removed.
1.1       deraadt  4965: #
1.2       deraadt  4966: att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode:\
1.1       deraadt  4967:        :am:eo:mi:ms:xo:\
                   4968:        :co#80:it#8:li#24:\
1.3       deraadt  4969:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[11r:\
                   4970:        :F2=\E[12r:F3=\E[13r:F4=\E[14r:F5=\E[15r:F6=\E[16r:\
1.5       tholo    4971:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
                   4972:        :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   4973:        :cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   4974:        :k1=\E[1r:k2=\E[2r:k3=\E[3r:k4=\E[4r:k5=\E[5r:k6=\E[6r:\
                   4975:        :k7=\E[7r:k8=\E[8r:k9=\E[9r:k;=\E[10r:kA=\E[L:kB=\E[Z:\
                   4976:        :kC=\E[J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:kd=\E[B:kh=\E[H:\
                   4977:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
                   4978:        :pf=\E[4i:po=\E[5i:ps=\E[0i:se=\E[m:sf=^J:so=\E[7m:ta=^I:\
                   4979:        :up=\E[A:
1.1       deraadt  4980: att2350|AT&T 2350 Video Information Terminal 80 column mode:\
1.5       tholo    4981:        :pf@:po@:ps@:\
                   4982:        :tc=att2300:
1.1       deraadt  4983:
                   4984: # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
                   4985: # Seems upward compatible with vt100, plus ins/del line/char.
                   4986: # On sgr, the protection parameter is ignored.
                   4987: # No check is made to make sure that only 3 parameters are output.
                   4988: #      standout= reverse + half-intensity = 3 | 5.
                   4989: #      bold= reverse + underline = 2 | 3.
                   4990: # note that half-bright blinking doesn't look different from normal blinking.
                   4991: # NOTE:you must program the function keys first, label second!
1.3       deraadt  4992: # (att4410: a BSD entry has been seen with the following capabilities:
1.5       tholo    4993: # :is=\E[?6l:, :k1=\EOc:, :k2=\EOd:, :k3=\EOe:, :k4=\EOg:,
                   4994: # :k6=\EOh:, :k7=\EOi:, :k8=\EOj:, -- esr)
1.3       deraadt  4995: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  4996: att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1:\
                   4997:        :am:hs:mi:ms:xo:\
1.3       deraadt  4998:        :Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
                   4999:        :ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--\\\054\\\054..:\
1.5       tholo    5000:        :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5001:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
                   5002:        :do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
1.1       deraadt  5003:        :i2=\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:\
                   5004:        :ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
1.3       deraadt  5005:        :k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
1.5       tholo    5006:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
                   5007:        :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mk=\E[8m:\
                   5008:        :mr=\E[7m:nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
                   5009:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
                   5010:        :ts=\E7\E[25;%p1%{1}%+%dH:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  5011:
                   5012: att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1:\
                   5013:        :co#132:ws#132:\
1.3       deraadt  5014:        :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att5410v1:
1.1       deraadt  5015:
                   5016: att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
1.5       tholo    5017:        :..px=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s:\
                   5018:        :tc=att5410v1:
1.1       deraadt  5019:
                   5020: att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
                   5021:        :co#132:ws#132:\
1.3       deraadt  5022:        :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att4410:
1.1       deraadt  5023:
                   5024: # 5410 in terms of a vt100
1.2       deraadt  5025: # (v5410: added <rmam>/<smam> based on init string -- esr)
1.1       deraadt  5026: v5410|5410 in terms of a vt100:\
                   5027:        :am:mi:ms:xo:\
                   5028:        :co#80:it#8:li#24:vt#3:\
1.5       tholo    5029:        :@8=\EOM:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:RA=\E[?7l:\
                   5030:        :SA=\E[?7h:\
1.3       deraadt  5031:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5032:        :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
                   5033:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.5       tholo    5034:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
                   5035:        :ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   5036:        :k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:\
                   5037:        :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   5038:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                   5039:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  5040:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   5041:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   5042:        :ue=\E[m:up=\E[A:us=\E[4m:
                   5043:
                   5044: #
                   5045: # Teletype Model 5420 -- A souped up 5410, with multiple windows,
                   5046: # even! the 5420 has three modes: scroll, window or page mode
                   5047: # this terminfo should work in scroll or window mode, but doesn't
                   5048: # take advantage of any of the differences between them.
                   5049: #
                   5050: # Has memory below (2 lines!)
                   5051: # 3 pages of memory (plus some spare)
1.5       tholo    5052: # The 5410 sequences for :cm:, :vs:, :DC:, :DL:, :ec:, :vb:, :ho:,
                   5053: # <hpa>, :st: would work for these, but these work in both scroll and window
1.2       deraadt  5054: # mode... Unset insert character so insert mode works
1.5       tholo    5055: # :i1: sets 80 column mode,
                   5056: # :is: escape sequence:
1.1       deraadt  5057: # 1) turn off all fonts
                   5058: # 2) function keys off, keyboard lock off, control display off,
                   5059: #    insert mode off, erasure mode off,
                   5060: # 3) full duplex, monitor mode off, send graphics off, nl on lf off
                   5061: # 4) reset origin mode
                   5062: # 5) set line wraparound
                   5063: # 6) exit erasure mode, positional attribute mode, and erasure extent mode
                   5064: # 7) clear margins
                   5065: # 8) program ENTER to transmit ^J,
                   5066: # We use \212 to program the ^J because a bare ^J will get translated by
                   5067: # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
                   5068: #     1      2            3              4     5     6    7  8
1.5       tholo    5069: # :i3: set screen color to black,
1.1       deraadt  5070: # No representation in terminfo for the delete word key: kdw1=\Ed
                   5071: # Key capabilities assume the power-up send sequence...
1.5       tholo    5072: # This :te: is not strictly necessary, but it helps maximize
                   5073: # memory usefulness: :te=\Ez:,
                   5074: # Alternate sgr0:      :me=\E[m\EW^O:,
                   5075: # Alternate sgr:       :sa=\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%;:,
1.1       deraadt  5076: # smkx programs the SYS PF keys to send a set sequence.
                   5077: # It also sets up labels f1, f2, ..., f8, and sends edit keys.
1.5       tholo    5078: # This string causes them to send the strings :k1:-:k8:
1.1       deraadt  5079: # when pressed in SYS PF mode.
1.2       deraadt  5080: # (att4415: I added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  5081: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  5082: att4415|tty5420|att5420|AT&T 4415/5420 80 cols:\
                   5083:        :db:mi:xo:\
1.3       deraadt  5084:        :Nl#8:lh#2:lm#78:lw#8:ws#55:\
1.5       tholo    5085:        :@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:\
                   5086:        :DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
                   5087:        :LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
                   5088:        :UP=\E[%dA:bt=\E[Z:ch=\E[%+^AG:cl=\E[x\E[J:\
                   5089:        :cm=\E[%i%d;%dx:ct=\E[3g:cv=\E[%+^Ad:ec=\E[%ds\E[%dD:\
                   5090:        :ei=\E[4l:ho=\E[x:i1=\E[?3l:i2=\E[?5l:ic@:im=\E[4h:\
1.2       deraadt  5091:        :is=\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:\
1.5       tholo    5092:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
                   5093:        :k8=\EOj:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
                   5094:        :kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:\
                   5095:        :ke=\E[19;0j\E[21;1j\212:ks=\E[19;1j\E[21;4j\Eent:\
                   5096:        :l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:\
                   5097:        :me=\E[m\017:mp=\EV:pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
                   5098:        :ts=\E7\E[25;%p1%{8}%+%dH:vb=\E[?5h\E[?5l:ve=\E[11;0j:\
                   5099:        :vs=\E[11;1j:\
                   5100:        :tc=att4410:
1.1       deraadt  5101:
                   5102: att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols:\
                   5103:        :co#132:lm#54:ws#97:\
                   5104:        :i1=\E[?3h:tc=att4415:
                   5105:
                   5106: att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv:\
1.5       tholo    5107:        :i2=\E[?5h:vb=\E[?5l\E[?5h:\
                   5108:        :tc=att4415:
1.1       deraadt  5109:
                   5110: att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv:\
                   5111:        :co#132:lm#54:ws#97:\
                   5112:        :i1=\E[?3h:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
                   5113:
                   5114: # Note that this mode permits programming USER PF KEYS and labels
                   5115: # However, when you program user pf labels you have to reselect
                   5116: # user pf keys to make them appear!
                   5117: att4415+nl|4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels:\
1.3       deraadt  5118:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5119:        :..pn=\E[%p1%d;0;0;1q%p2%\072-16.16s:\
                   5120:        :..px=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s:
1.1       deraadt  5121:
                   5122: att4415-nl|4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels:\
1.5       tholo    5123:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5124:        :tc=att4415+nl:tc=att4415:
1.1       deraadt  5125:
                   5126: att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels:\
1.5       tholo    5127:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5128:        :tc=att4415+nl:tc=att4415-rv:
1.1       deraadt  5129:
                   5130: att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels:\
1.5       tholo    5131:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5132:        :tc=att4415+nl:tc=att4415-w:
1.1       deraadt  5133:
                   5134: att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels:\
1.5       tholo    5135:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5136:        :tc=att4415+nl:tc=att4415-w-rv:
1.1       deraadt  5137:
                   5138: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  5139: # (sgr removed to fit entry within 1023 bytes)
                   5140: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5141: att5420_2|AT&T 5420 model 2 80 cols:\
                   5142:        :am:db:hs:mi:ms:xo:\
                   5143:        :co#80:it#8:li#24:lm#78:ws#55:\
                   5144:        :AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:DC=\E[%dP:DL=\E[%dM:\
                   5145:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:\
1.5       tholo    5146:        :UP=\E[%dA:ae=^O:al=\E[L:as=^N:bt=\E[1Z:cd=\E[0J:ce=\E[0K:\
                   5147:        :cl=\EH\EJ:cm=\E[%i%d;%dH:cr=\EG:cs=\E[%i%d;%dr:ct=\E[3g:\
                   5148:        :dc=\E[P:dl=\E[M:do=\E[1B:ec=\E[%ds\E[%dD:ei=:fs=\E8:\
                   5149:        :ho=\E[H:\
1.1       deraadt  5150:        :i1=\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:\
                   5151:        :ic=\E[@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
1.5       tholo    5152:        :k6=\EOh:k7=\EOi:k8=\EOj:kD=\E[P:kH=\Eu:kI=\E[4h:kN=\E[U:\
                   5153:        :kP=\E[V:kb=^H:kd=\E[B:ke=\E[19;0j:kh=\E[H:kl=\E[D:kr=\E[C:\
                   5154:        :ks=\E[19;1j:ku=\E[A:le=^H:ll=\Ew:mb=\E[5m:me=\E[m\017:\
                   5155:        :mh=\E[2m:mr=\E[7m:nd=\E[1C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:\
                   5156:        :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   5157:        :ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:us=\E[4m:\
                   5158:        :vb=\E[?5h\E[?5l:ve=\E[11;0j:vs=\E[11;1j:
1.1       deraadt  5159: att5420_2-w|AT&T 5420 model 2 in 132 column mode:\
                   5160:        :co#132:\
                   5161:        :i1=\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:tc=att5420_2:
                   5162:
1.2       deraadt  5163: att4418|att5418|AT&T 5418 80 cols:\
1.1       deraadt  5164:        :am:xo:\
                   5165:        :co#80:li#24:\
1.5       tholo    5166:        :@8=\E[:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[n:\
                   5167:        :F2=\E[o:F3=\E[H:F4=\E[I:F5=\E[J:F8=\E[K:F9=\E[L:FA=\E[E:\
                   5168:        :FB=\E[_:FC=\E[M:FD=\E[N:FE=\E[O:IC=\E[%d@:LE=\E[%dD:\
                   5169:        :RI=\E[%dC:UP=\E[%dA:\
                   5170:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5171:        :ae=^O:al=\E[1L:as=^N:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
                   5172:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   5173:        :i1=\E[?3l:ic=\E[1@:im=:is=\E)0\E?6l\E?5l:k1=\E[h:k2=\E[i:\
                   5174:        :k3=\E[j:k6=\E[k:k7=\E[l:k8=\E[f:k9=\E[w:k;=\E[m:kC=\E[%:\
                   5175:        :kd=\EU:kh=\Ec:kl=\E@:kr=\EA:ku=\ES:le=\E[D:mb=\E[5m:\
                   5176:        :me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
                   5177:        :se=\E[m:sf=^J:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  5178: att4418-w|att5418-w|AT&T 5418 132 cols:\
                   5179:        :co#132:\
                   5180:        :i1=\E[?3h:tc=att5418:
                   5181:
1.2       deraadt  5182: att4420|tty4420|teletype 4420:\
1.1       deraadt  5183:        :da:db:eo:ms:ul:xo:\
                   5184:        :co#80:li#24:lm#72:\
1.5       tholo    5185:        :al=\EL:bl=^G:cd=\EJ:ce=\Ez:cl=\EH\EJ:cm=\EY%+ %+ :cr=\EG:\
                   5186:        :dc=\EP:dl=\EM:dm@:do=\EB:ed@:ho=\EH:k0=\EU:k3=\E@:kA=\EL:\
                   5187:        :kB=\EO:kC=\EJ:kD=\EP:kF=\ES:kI=\E^:kL=\EM:kR=\ET:kd=\EB:\
                   5188:        :kh=\EH:kl=^H:kr=\EC:ku=\EA:l0=segment advance:\
                   5189:        :l3=cursor tab:le=\ED:nd=\EC:se=\E~:sf=\EH\EM\EY7 :so=\E}:\
                   5190:        :ue=\EZ:up=\EA:us=\E\\:
1.1       deraadt  5191:
                   5192: #  The following is a termcap entry for the Teletype 4424
                   5193: #  asynchronous keyboard-display terminal.  It supports
                   5194: #  the vi editor.  The terminal must be "set up" as follows,
                   5195: #
                   5196: #      HIGHLIGHT DEFINITION    3-TONE
                   5197: #      DISPLAY FUNCTION        GROUP III
                   5198: #
                   5199: #  The second entry below provides limited (a la adm3a)
                   5200: #  operation under GROUP II.
                   5201: #
                   5202: #  This must be used with DISPLAY FUNCTION GROUP I or III
                   5203: #      and HIGHLIGHT DEFINITION 3-TONE
                   5204: # The terminal has either bold or blink, depending on options
                   5205: #
                   5206: att4424|tty4424|teletype 4424:\
                   5207:        :am:xo:\
                   5208:        :co#80:li#24:\
                   5209:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    5210:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
                   5211:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5212:        :ae=\E(B:al=\EL:as=\E(0:bl=^G:bt=\EO:cd=\EJ:ce=\Ez:\
                   5213:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\EF:\
                   5214:        :dc=\EP:dl=\EM:do=\EB:ei=:ho=\E[H:ic=\E^:im=:\
                   5215:        :is=\E[20l\E[?7h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kC=\EJ:\
                   5216:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E3:\
                   5217:        :md=\E3:me=\EX\E~\EZ\E4\E(B:mh=\EW:mr=\E}:nd=\EC:nw=\EE:\
1.1       deraadt  5218:        :..sa=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m:\
1.5       tholo    5219:        :se=\E~:sf=^J:so=\E}:sr=\ET:st=\EH:ta=^I:ti=\E[1m:ue=\EZ:\
                   5220:        :up=\EA:us=\E\\:
1.1       deraadt  5221:
                   5222: att4424-1|tty4424-1|teletype 4424 in display function group I:\
1.5       tholo    5223:        :kC@:kd=\EB:kh@:kl=\ED:kr=\EC:ku=\EA:\
                   5224:        :tc=att4424:
1.3       deraadt  5225:
                   5226: # This entry is not one of AT&T's official ones, it was translated from the
                   5227: # 4.4BSD termcap file.  The highlight strings are different from att4424.
                   5228: # I have no idea why this is -- older firmware version, maybe?
                   5229: # The following two lines are the comment originally attached to the entry:
                   5230: # This entry appears to avoid the top line - I have no idea why.
                   5231: # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
                   5232: att4424m|tty4424m|teletype 4424M:\
                   5233:        :am:da:db:mi:\
                   5234:        :co#80:it#8:li#23:\
1.5       tholo    5235:        :al=\EL:bl=^G:ce=\E[K:cl=\E[2;H\E[J:cm=\E[%i%2;%2H\E[B:\
                   5236:        :cr=^M:dc=\EP:dl=\EM:do=^J:ei=:ic=\E^:im=:ip=2:\
                   5237:        :is=\E[m\E[2;24r:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:\
                   5238:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:\
                   5239:        :nd=\E[C:nw=^M^J:se=\E[m:sf=^J:so=\E[7m:sr=\ET:ta=^I:\
                   5240:        :ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  5241:
                   5242: # The Teletype 5425 is really version 2 of the Teletype 5420. It
                   5243: # is quite similar, except for some minor differences. No page
1.5       tholo    5244: # mode, for example, so all of the :cm: sequences used above have
1.1       deraadt  5245: # to change back to what's being used for the 5410. Many of the
                   5246: # option settings have changed their numbering as well.
                   5247: #
                   5248: # This has been tested on a preliminary model.
                   5249: #
1.2       deraadt  5250: # (att5425: added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  5251: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  5252: # (sgr removed to fit entry within 1023 bytes)
                   5253: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5254: att5425|tty5425|att4425|AT&T 4425/5425:\
                   5255:        :am:da:db:hs:mi:ms:xn:xo:\
                   5256:        :co#80:it#8:li#24:lm#78:ws#55:\
                   5257:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    5258:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
                   5259:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5260:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   5261:        :dl=\E[M:do=^J:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[H:\
                   5262:        :i1=\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
1.2       deraadt  5263:        :is=\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:\
1.5       tholo    5264:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
                   5265:        :k8=\EOj:kD=\E[P:kI=\E[4h:kb=^H:kd=\E[B:\
1.1       deraadt  5266:        :ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
                   5267:        :ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
1.2       deraadt  5268:        :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:\
1.5       tholo    5269:        :nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:\
                   5270:        :sr=\EM:st=\EH:ta=^I:ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:\
                   5271:        :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[12;0j:\
                   5272:        :vs=\E[12;1j:
1.1       deraadt  5273:
                   5274: att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels:\
1.5       tholo    5275:        :ks=\E[21;1j\E[25;4j\Eent:\
                   5276:        :tc=att4425:
1.1       deraadt  5277:
                   5278: att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode:\
                   5279:        :co#132:lm#54:ws#97:\
                   5280:        :i1=\E[?3h:tc=tty5425:
                   5281:
1.2       deraadt  5282: # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
                   5283: # I also added <rmam>/<smam> -- esr)
1.1       deraadt  5284: att4426|tty4426|teletype 4426S:\
                   5285:        :am:da:db:xo:\
                   5286:        :co#80:li#24:lm#48:\
                   5287:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  5288:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
1.5       tholo    5289:        :SR=\E[%dT:UP=\E[%dA:\
                   5290:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5291:        :ae=\E(B:al=\EL:as=\E(0:bl=^G:cd=\E[J:ce=\E[0K:ch=\E[%dG:\
                   5292:        :cl=\E[H\E[2J\E[1U\E[H\E[2J\E[1V:cm=\E[%i%d;%dH:cr=^M:\
                   5293:        :ct=\E[3g:cv=\E[%dd:dc=\EP:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   5294:        :i1=\Ec\E[?7h:ic=\E^:im=:is=\E[m\E[1;24r:k1=\EOP:k2=\EOQ:\
                   5295:        :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:kB=\EO:\
                   5296:        :kC=\E[2J:kH=\E[24;1H:kb=^H:kd=\EB:kh=\E[H:kl=\ED:kr=\EC:\
                   5297:        :ku=\EA:le=\E[D:ll=\E[24H:md=\E[5m:me=\E[m\E(B:mr=\E[7m:\
                   5298:        :nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:sc=\E7:\
                   5299:        :se=\E[m:sf=^J:so=\E[5m:sr=\ET:st=\E1:ta=^I:ue=\E[m:up=\EA:\
1.3       deraadt  5300:        :us=\E[4m:
1.1       deraadt  5301:
                   5302: # Terminfo entry for the AT&T 510 A Personal Terminal
                   5303: # Function keys 9 - 16 are available only after the
                   5304: # screen labeled (soft keys/action blocks) are labeled.  Function key
                   5305: # 9 corresponds to the leftmost touch target on the screen,
                   5306: # function key 16 corresponds to the rightmost.
                   5307: #
                   5308: # This entry is based on one done by Ernie Rice at Summit, NJ and
                   5309: # changed by Anne Gallup, Skokie, IL, ttrdc!anne
1.3       deraadt  5310: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  5311: att510a|510a|bct510a|510A|AT&T 510A Personal Terminal:\
                   5312:        :am:mi:ms:xn:xo:\
1.3       deraadt  5313:        :Nl#8:co#80:lh#2:li#24:lw#7:\
1.5       tholo    5314:        :#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
                   5315:        :F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:LE=\E[%dD:\
                   5316:        :RI=\E[%dC:UP=\E[%dA:\
1.3       deraadt  5317:        :ac=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\\\054h.e+g`b:\
                   5318:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:\
                   5319:        :ce=\E[0K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   5320:        :dc=\E[P:dl=\E[M:do=\E[1B:eA=\E(B\E)1:ff=^L:ho=\E[H:\
                   5321:        :i1=\E(B\E)1\E[2l:i2=\E[21;1|\212:k1=\EOm:k2=\EOV:\
1.5       tholo    5322:        :k3=\EOu:k4=\ENj:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:\
                   5323:        :k;=\EOd:kB=\E[Z:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:ke=\E[19;0|:\
                   5324:        :kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:mb=\E[5m:\
                   5325:        :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
                   5326:        :pf=\E[?8i:po=\E[?4i:ps=\E[0i:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
                   5327:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
                   5328:        :ve=\E[11;3|:vi=\E[11;0|:vs=\E[11;2|:
1.1       deraadt  5329:
                   5330: # Terminfo entry for the AT&T 510 D Personal Terminal
                   5331: # Function keys 9 through 16 are accessed by bringing up the
                   5332: # system blocks.
                   5333: # Function key 9 corresponds to the leftmost touch target on the screen,
                   5334: # function key 16 corresponds to the rightmost.
                   5335: #
                   5336: # There are problems with soft key labeling.  These are due to
                   5337: # strangenesses in the native terminal that are impossible to
                   5338: # describe in a terminfo.
1.3       deraadt  5339: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5340: # (sgr removed to fit entry within 1023 bytes)
                   5341: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5342: att510d|510d|bct510d|510D|AT&T 510D Personal Terminal:\
                   5343:        :am:da:db:mi:ms:xn:xo:\
                   5344:        :co#80:li#24:lm#48:\
                   5345:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    5346:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
                   5347:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[H\E[J:\
                   5348:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[1B:\
                   5349:        :ei=\E[4l:ff=^L:ho=\E[H:i1=\E(B\E)1\E[5;0|:\
                   5350:        :i2=\E[21;1|\212:im=\E[4h:k1=\EOm:k2=\EOV:k3=\EOu:k4=\ENj:\
                   5351:        :k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:kb=^H:kd=\E[B:\
                   5352:        :ke=\E[19;0|:kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:\
                   5353:        :ll=\E#2:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:\
                   5354:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
                   5355:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
                   5356:        :ve=\E[11;3|:vs=\E[11;2|:
1.1       deraadt  5357:
1.2       deraadt  5358: # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
1.3       deraadt  5359: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5360: # (sgr removed to fit entry within 1023 bytes)
                   5361: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  5362: att500|att513|500bct|513bct|AT&T 513 using page mode:\
1.1       deraadt  5363:        :am:mi:ms:xn:xo:\
                   5364:        :co#80:li#24:\
                   5365:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    5366:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
                   5367:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5368:        :cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dc=\E[P:\
                   5369:        :dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
1.1       deraadt  5370:        :i1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l:\
1.5       tholo    5371:        :im=\E[4h:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
                   5372:        :k7=\EOi:k8=\EOj:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:\
                   5373:        :kd=\E[B:ke=\E[19;0|\E[21;1|\212:kh=\E[H:kl=\E[D:kr=\E[C:\
                   5374:        :ks=\E[19;1|\E[21;4|\Eent:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:\
                   5375:        :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
                   5376:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.2       deraadt  5377:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[11;0|:vs=\E[11;1|:
1.1       deraadt  5378:
                   5379: # 01-07-88
                   5380: # printer must be set to EMUL ANSI to accept ESC codes
1.5       tholo    5381: # :up: stops at top margin
                   5382: # :i1: sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
1.1       deraadt  5383: #      and alt font ascii,wrap on,tabs cleared
1.5       tholo    5384: # :is: disables newline on LF,Emphasized off
1.2       deraadt  5385: # The <u0> capability sets form length
1.5       tholo    5386: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5387: # (sgr removed to fit entry within 1023 bytes)
                   5388: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  5389: att5310|att5320|AT&T Model 53210 or 5320 matrix printer:\
1.5       tholo    5390:        :co#132:it#8:li#66:\
                   5391:        :DO=\E[%de:RI=\E[%da:cr=^M:do=^J:ff=^L:i1=\Ec:is=\E[20l\r:\
                   5392:        :nd= :ta=^I:up=\EM:
1.1       deraadt  5393:
                   5394: # 5620 terminfo  (2.0 or later ROMS with char attributes)
1.5       tholo    5395: # assumptions: :sf: (scroll forward one line) is only done at screen bottom
1.3       deraadt  5396: # Be aware that older versions of the dmd have a firmware bug that affects
                   5397: # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
1.2       deraadt  5398: # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
1.1       deraadt  5399: att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns:\
1.3       deraadt  5400:        :NL:NP:am:xo:\
1.1       deraadt  5401:        :co#88:it#8:li#70:\
                   5402:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
                   5403:        :SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1.5       tholo    5404:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   5405:        :ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
                   5406:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[2m:me=\E[0m:mh=\E[2m:\
                   5407:        :mr=\E[7m:nd=\E[C:nw=^J:..px=\E[%p1%d;%p2%l%dq%p2%s:\
                   5408:        :r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:\
                   5409:        :ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
1.1       deraadt  5410: att5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer:\
1.3       deraadt  5411:        :li#24:tc=att5620:
1.1       deraadt  5412: att5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer:\
1.3       deraadt  5413:        :li#34:tc=att5620:
1.1       deraadt  5414:
1.2       deraadt  5415: # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
1.1       deraadt  5416: #
1.2       deraadt  5417: # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
1.1       deraadt  5418: # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
1.3       deraadt  5419: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5420: # (sgr removed to fit entry within 1023 bytes)
                   5421: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5422: att605|605bct|AT&T 605  80 column  102key keyboard:\
                   5423:        :am:eo:xo:\
                   5424:        :co#80:li#24:ws#80:\
1.5       tholo    5425:        :DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:ae=^O:al=\E[L:as=\E)0\016:\
                   5426:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   5427:        :cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
1.1       deraadt  5428:        :i1=\E[8;0|\E[?\E[13;20l\E[?\E[12h:ic=\E[@:im=\E[4h:\
1.2       deraadt  5429:        :is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
1.5       tholo    5430:        :k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:\
                   5431:        :kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   5432:        :le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:\
                   5433:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
                   5434:        :so=\E[7m:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
                   5435:        :us=\E[4m:
1.1       deraadt  5436: att605-pc|605bct-pc|ATT 605 in pc term mode:\
1.5       tholo    5437:        :@7=\E[F:AL=\E[L:S4=250\E[?11l\E[50;1|:S5=400\E[50;0|:\
                   5438:        :XF=g:XN=e:\
1.3       deraadt  5439:        :ac=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263:\
1.5       tholo    5440:        :al=\E[L:bt=\E[Z:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:im=:\
                   5441:        :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
                   5442:        :k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:kD=\E[P:kI=\E[@:kL=\E[M:\
                   5443:        :kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   5444:        :le=\E[D:nd=\E[C:up=\E[A:\
                   5445:        :tc=att605:
1.1       deraadt  5446: att605-w|605bct-w|AT&T 605-w 132 column 102 key keyboard:\
                   5447:        :co#132:ws#132:\
                   5448:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0:tc=att605:
1.3       deraadt  5449: # (att610: I added <rmam>/<smam> based on the init string.  I also
1.5       tholo    5450: # added :SF: and :SR: because the BSD file says the 615s have them,
1.3       deraadt  5451: # and the 615 is like a 610 with a big keyboard, and most of their other
                   5452: # smart terminals support the same sequence -- esr)
                   5453: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5454: # (sgr removed to fit entry within 1023 bytes)
                   5455: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5456: att610|610bct|AT&T 610; 80 column; 98key keyboard:\
                   5457:        :am:es:hs:mi:ms:xn:xo:\
                   5458:        :co#80:it#8:li#24:ws#80:\
                   5459:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    5460:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
                   5461:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5462:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
                   5463:        :do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
1.1       deraadt  5464:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0:\
1.5       tholo    5465:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
                   5466:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
                   5467:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
                   5468:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                   5469:        :nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
1.1       deraadt  5470:        :ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:us=\E[4m:\
                   5471:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5472:        :vs=\E[?12;25h:
                   5473: att610-w|610bct-w|AT&T 610; 132 column; 98key keyboard:\
                   5474:        :co#132:ws#132:\
                   5475:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610:
                   5476:
                   5477: att610-103k|610-103k|610bct-103k|AT&T 610; 80 column; 103key keyboard:\
1.5       tholo    5478:        :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
                   5479:        :%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
                   5480:        :%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
                   5481:        :%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
                   5482:        :&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
                   5483:        :*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
                   5484:        :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
                   5485:        :@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:k9@:k;@:kD=\ENf:\
                   5486:        :kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
                   5487:        :tc=att610:
1.1       deraadt  5488: att610-103k-w|610-103k-w|610bct-103k-w|AT&T 610; 132 column; 103key keyboard:\
                   5489:        :co#132:ws#132:\
                   5490:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610-103k:
                   5491: att615|615mt|AT&T 615; 80 column; 98key keyboard:\
1.5       tholo    5492:        :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
                   5493:        :FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
                   5494:        :FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
                   5495:        :FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
                   5496:        :FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
                   5497:        :tc=att610:
1.1       deraadt  5498: att615-w|615-w|615mt-w|AT&T 615; 132 column; 98key keyboard:\
1.5       tholo    5499:        :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
                   5500:        :FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
                   5501:        :FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
                   5502:        :FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
                   5503:        :FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
                   5504:        :tc=att610-w:
1.1       deraadt  5505: att615-103k|615-103k|615mt-103k|AT&T 615; 80 column; 103key keyboard:\
1.5       tholo    5506:        :#4=\E[ A:%i=\E[ @:\
                   5507:        :tc=att610-103k:
1.1       deraadt  5508: att615-103k-w|615-103k-w|615mt-103k-w|AT&T 615; 132 column; 103key keyboard:\
1.5       tholo    5509:        :#4=\E[ A:%i=\E[ @:\
                   5510:        :tc=att610-103k-w:
1.3       deraadt  5511: # (att620: I added <rmam>/<smam> based on the init string and
1.5       tholo    5512: # :SR:/:SF: from a BSD termcap -- esr)
1.3       deraadt  5513: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5514: # (sgr removed to fit entry within 1023 bytes)
                   5515: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5516: att620|620mtg|AT&T 620; 80 column; 98key keyboard:\
                   5517:        :am:es:hs:mi:ms:xn:xo:\
                   5518:        :co#80:it#8:li#24:ws#80:\
                   5519:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  5520:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
1.5       tholo    5521:        :ae=\E(B\017:al=\E[L:as=\E)0\016:bl=^G:bt=\E[Z:cd=\E[J:\
                   5522:        :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   5523:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
1.1       deraadt  5524:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h:\
1.5       tholo    5525:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
                   5526:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
                   5527:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
                   5528:        :mb=\E[5m:md=\E[1m:me=\E[m\E(B\017:mh=\E[2m:mr=\E[7m:\
                   5529:        :nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
                   5530:        :sr=\EM:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
                   5531:        :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
1.1       deraadt  5532:        :vs=\E[?12;25h:
                   5533: att620-w|620-w|620mtg-w|AT&T 620; 132 column; 98key keyboard:\
                   5534:        :co#132:ws#132:\
                   5535:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620:
                   5536: att620-103k|620-103k|620mtg-103k|AT&T 620; 80 column; 103key keyboard:\
1.5       tholo    5537:        :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
                   5538:        :%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
                   5539:        :%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
                   5540:        :%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
                   5541:        :&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
                   5542:        :*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
                   5543:        :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
                   5544:        :@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:F5@:F6@:F7@:F8@:\
                   5545:        :F9@:FA@:FB@:FC@:FD@:FE@:FF@:FG@:FH@:FI@:FJ@:FK@:FL@:FM@:FN@:FO@:FP@:\
                   5546:        :FQ@:FR@:FS@:FT@:FU@:FV@:FW@:FX@:FY@:FZ@:Fa@:k9@:k;@:kD=\ENf:\
                   5547:        :kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
                   5548:        :tc=att620:
1.1       deraadt  5549:
                   5550: att620-103k-w|620-103k-w|620mtg-103k-w|AT&T 620; 132 column; 103key keyboard:\
                   5551:        :co#132:ws#132:\
                   5552:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620-103k:
                   5553:
1.5       tholo    5554: # (att630: added :ic:, :mb: and :mh: from a BSD termcap file -- esr)
1.1       deraadt  5555: att630|5630|5630DMD|630MTG|AT&T 630 windowing terminal:\
1.3       deraadt  5556:        :NP:am:da:db:mi:ms:xo:\
1.1       deraadt  5557:        :co#80:it#8:li#60:lm#0:\
1.5       tholo    5558:        :@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\ENq:\
                   5559:        :F2=\ENr:F3=\ENs:F4=\ENt:F5=\ENu:F6=\ENv:F7=\ENw:F8=\ENx:\
                   5560:        :F9=\ENy:FA=\ENz:FB=\EN{:FC=\EN|:FD=\EN}:FE=\EN~:IC=\E[%d@:\
                   5561:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
                   5562:        :al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
                   5563:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:\
                   5564:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:is=\E[m:k9=\ENo:k;=\ENp:\
                   5565:        :kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:\
                   5566:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                   5567:        :me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:pf=\E[?4i:\
                   5568:        :po=\E[?5i:..px=\E[%p1%d;%p2%l%dq%p2%s:r2=\Ec:rc=\E8:\
1.1       deraadt  5569:        :..sa=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m:\
                   5570:        :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   5571:        :up=\E[A:us=\E[4m:
                   5572: att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
1.3       deraadt  5573:        :li#24:tc=att630:
1.1       deraadt  5574:
                   5575: # This entry was modified 3/13/90 by JWE.
1.5       tholo    5576: # fixes include additions of <enacs>, correcting :rp:, and modification
1.2       deraadt  5577: # of <kHOM>.  (See comments below)
                   5578: # att730 has status line of 80 chars
1.5       tholo    5579: # These were commented out: :SF=\E[%p1%dS:, :SR=\E[%p1%dT:,
1.2       deraadt  5580: # the <kf25> and up keys are used for shifted system Fkeys
1.1       deraadt  5581: # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
1.5       tholo    5582: # currently the same as :kh: (unshifted HOME or \E[H).  On the 102, 102+1
1.1       deraadt  5583: # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
1.2       deraadt  5584: # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
1.1       deraadt  5585: # 102, 102+1, or 122 key keyboards
                   5586: #       kHOM=\E[2J,
1.2       deraadt  5587: # (att730: I added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  5588: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5589: # (sgr removed to fit entry within 1023 bytes)
                   5590: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  5591: att730|730MTG|AT&T 730 windowing terminal:\
1.1       deraadt  5592:        :am:da:db:es:hs:mi:ms:xn:xo:\
                   5593:        :co#80:it#8:li#60:lm#0:ws#80:\
                   5594:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    5595:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   5596:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   5597:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
                   5598:        :ho=\E[H:\
1.1       deraadt  5599:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B:\
1.5       tholo    5600:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
                   5601:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kI=\E[@:\
                   5602:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   5603:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                   5604:        :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
                   5605:        :ta=^I:ts=\E7\E[;%i%p1%dx:ue=\E[24m:up=\E[A:us=\E[4m:\
1.1       deraadt  5606:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5607:        :vs=\E[?12;25h:
                   5608: att730-41|730MTG-41|AT&T 730-41 windowing terminal Version:\
1.3       deraadt  5609:        :li#41:tc=att730:
1.1       deraadt  5610: att730-24|730MTG-24|AT&T 730-24 windowing terminal Version:\
1.3       deraadt  5611:        :li#24:tc=att730:
1.1       deraadt  5612: att730r|730MTGr|AT&T 730 rev video windowing terminal Version:\
                   5613:        :i1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B:\
1.5       tholo    5614:        :vb=\E[?5l\E[?5h:\
                   5615:        :tc=att730:
1.1       deraadt  5616: att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version:\
1.3       deraadt  5617:        :li#41:tc=att730r:
1.1       deraadt  5618: att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version:\
1.3       deraadt  5619:        :li#24:tc=att730r:
1.1       deraadt  5620:
                   5621: # The following represents the screen layout along with the associated
                   5622: # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
                   5623: # not appear on the screen but are shown to reference the bezel buttons.
                   5624: # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
                   5625: # position relative to the screen.
                   5626: #
                   5627: #
                   5628: #
                   5629: #      +----------------------------------------------------------------+
                   5630: #      |                                                                |
                   5631: # XXXX | kf0                                                       kf24 | XXXX
                   5632: #      |                                                                |
                   5633: #      |                                                                |
                   5634: # XXXX | kf1                                                       kf23 | XXXX
                   5635: #      |                                                                |
                   5636: #      |                                                                |
                   5637: # XXXX | kf2                                                       kf22 | XXXX
                   5638: #      |                                                                |
                   5639: #      |                                                                |
                   5640: # XXXX | kf3                                                       kf21 | XXXX
                   5641: #      |                                                                |
                   5642: #      |                                                                |
                   5643: # XXXX | kf4                                                       kf20 | XXXX
                   5644: #      |                                                                |
                   5645: #      |                                                                |
                   5646: # XXXX | kf5                                                       kf19 | XXXX
                   5647: #      |                                                                |
                   5648: #      |                                                                |
                   5649: # XXXX | kf6                                                       kf18 | XXXX
                   5650: #      |                                                                |
                   5651: #      |                                                                |
                   5652: # XXXX |                                                                | XXXX
                   5653: #      |                                                                |
                   5654: #      |                                                                |
                   5655: #      +----------------------------------------------------------------+
                   5656: #
                   5657: #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
                   5658: #
                   5659: # Note: XXXX represents the screen buttons
                   5660: #                                                          CMD   REDRAW
                   5661: #
                   5662: #                                                          MAIL
                   5663: #
1.2       deraadt  5664: # version 1 note:
                   5665: #      The character string sent by key 'kf26' may be user programmable
                   5666: #       to send either \E[16s, or \E[26s.
                   5667: #       The character string sent by key 'krfr' may be user programmable
                   5668: #       to send either \E[17s, or \E[27s.
                   5669: #
1.1       deraadt  5670: # Depression of the "CMD" key sends    \E!    (kcmd)
                   5671: # Depression of the "MAIL" key sends   \E[26s (kf26)
                   5672: # "REDRAW" same as "REFRESH" (krfr)
                   5673: #
                   5674: # "kf" functions adds carriage return to output string if terminal is in
                   5675: # 'new line' mode.
                   5676: #
                   5677: # The following are functions not covered in the table above:
                   5678: #
                   5679: #       Set keyboard character (SKC): \EPn1;Pn2w
                   5680: #                       Pn1= 0 Back Space key
                   5681: #                       Pn1= 1 Break key
                   5682: #                       Pn2=   Program char (hex)
                   5683: #
                   5684: #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
                   5685: #                       Pn1=     Window number (1-39)
                   5686: #                       Pn2-Pn5= Y;X;Y;X coordinates
                   5687: #
                   5688: #       Screen Selection (SSL): \E[Pnu
                   5689: #                       Pn= Window number
                   5690: #
                   5691: #       Set Terminal Modes (SM): \E[Pnh
                   5692: #                       Pn= 3 Graphics mode
                   5693: #                       Pn= > Cursor blink
                   5694: #                       Pn= < Enter new line mode
                   5695: #                       Pn= = Enter reverse insert/replace mode
                   5696: #                       Pn= ? Enter no scroll mode
                   5697: #
                   5698: #       Reset Terminal Mode (RM): \E[Pnl
                   5699: #                       Pn= 3 Exit graphics mode
                   5700: #                       Pn= > Exit cursor blink
                   5701: #                       Pn= < Exit new line mode
                   5702: #                       Pn= = Exit reverse insert/replace mode
                   5703: #                       Pn= ? Exit no scroll mode
                   5704: #
                   5705: #       Screen Status Report (SSR): \E[Pnp
                   5706: #                       Pn= 0 Request current window number
                   5707: #                       Pn= 1 Request current window dimensions
                   5708: #
                   5709: #       Device Status Report (DSR): \E[6n    Request cursor position
                   5710: #
                   5711: #       Call Status Report (CSR): \E[Pnv
                   5712: #                       Pn= 0 Call failed
                   5713: #                       Pn= 1 Call successful
                   5714: #
                   5715: #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
                   5716: #                       Pn1= Button number to be loaded
                   5717: #                       Pn2= Character count of "string"
                   5718: #                       Pn3= Key mode being loaded:
                   5719: #                               0= Unshifted
                   5720: #                               1= Shifted
                   5721: #                               2= Control
                   5722: #                       String= Text string (15 chars max)
                   5723: #
                   5724: #       Screen Number Report (SNR): \E[Pnp
                   5725: #                       Pn= Screen number
                   5726: #
                   5727: #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
                   5728: #                       Pn1= Number of rows available in window
                   5729: #                       Pn2= Number of columns available in window
                   5730: #
                   5731: #       Cursor Position Report (CPR): \E[Pn1;Pn2R
1.3       deraadt  5732: #                       Pn1= "Y" Position of cursor
1.1       deraadt  5733: #                       Pn2= "X" Position of cursor
                   5734: #
                   5735: #       Request Answer Back (RAB): \E[c
                   5736: #
                   5737: #       Answer Back Response (ABR): \E[?;*;30;VSV
                   5738: #                       *=  0 No printer available
                   5739: #                       *=  2 Printer available
                   5740: #                       V=  Software version number
                   5741: #                       SV= Software sub version number
1.2       deraadt  5742: #      (printer-available field not documented in v1)
1.1       deraadt  5743: #
1.3       deraadt  5744: #       Screen Alignment Aid: \En
1.1       deraadt  5745: #
                   5746: #       Bell (lower pitch): \E[x
                   5747: #
                   5748: #       Dial Phone Number: \EPdstring\
                   5749: #                       string= Phone number to be dialed
                   5750: #
                   5751: #       Set Phone Labels: \EPpstring\
                   5752: #                       string= Label for phone buttons
                   5753: #
                   5754: #       Set Clock: \EPchour;minute;second\
                   5755: #
                   5756: #       Position Clock: \EPsY;X\
                   5757: #                       Y= "Y" coordinate
                   5758: #                       X= "X" coordinate
                   5759: #
                   5760: #       Delete Clock: \Epr\
                   5761: #
                   5762: #       Programming The Function Buttons: \EPfPn;string\
                   5763: #                       Pn= Button number (00-06, 18-24)
                   5764: #                                         (kf00-kf06, kf18-kf24)
                   5765: #                       string= Text to sent on button depression
                   5766: #
1.2       deraadt  5767: # The following in version 2 only:
                   5768: #
1.1       deraadt  5769: #       Request For Local Directory Data: \EPp12;\
                   5770: #
                   5771: #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
                   5772: #
                   5773: #      Request for Local Directory Data in print format: \EPp13;\
                   5774: #
                   5775: #      Enable 'Prt on Line' mode: \022 (DC2)
                   5776: #
                   5777: #      Disable 'Prt on Line' mode: \024 (DC4)
                   5778: #
1.2       deraadt  5779:
                   5780: # 05-Aug-86:
                   5781: # The following Terminfo entry describes functions which are supported by
                   5782: # the AT&T 5430/pt505 terminal software version 2 and later.
1.1       deraadt  5783: att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal:\
                   5784:        :am:xo:\
                   5785:        :co#80:it#8:li#24:\
1.5       tholo    5786:        :&2=\E[27s:@4=\E!:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
                   5787:        :F8=\E[18s:F9=\E[19s:FA=\E[20s:FB=\E[21s:FC=\E[22s:\
                   5788:        :FD=\E[23s:FE=\E24s:FG=\E26s:LE=\E[%dD:RA=\E[11;1j:\
                   5789:        :RI=\E[%dC:SA=\E[11;0j:UP=\E[%dA:\
                   5790:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.3       deraadt  5791:        :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E2K:cd=\E[0J:\
1.5       tholo    5792:        :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   5793:        :do=\E[B:ei=\E[4l:ho=\E[H:\
1.2       deraadt  5794:        :i1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l:\
1.1       deraadt  5795:        :im=\E[4h:k0=\E[00s:k1=\E[01s:k2=\E[02s:k3=\E[03s:\
                   5796:        :k4=\E[04s:k5=\E[05s:k6=\E[06s:kb=^H:kd=\E[B:kl=\E[D:\
1.2       deraadt  5797:        :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
1.5       tholo    5798:        :mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:r1=\Ec:rc=\E8:sc=\E7:\
                   5799:        :se=\E[m:sf=^J:so=\E[1m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
                   5800:        :ve=\E[>l:vs=\E[>h:
1.1       deraadt  5801:
                   5802: # The following Terminfo entry describes functions which are supported by
                   5803: # the AT&T 5430/pt505 terminal software version 1.
1.2       deraadt  5804: att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines:\
                   5805:        :li#24:\
1.3       deraadt  5806:        :RA@:SA@:pf@:po@:rc@:sc@:tc=att505:
1.2       deraadt  5807: tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines:\
1.3       deraadt  5808:        :li#22:tc=att505:
1.1       deraadt  5809: #
                   5810: # -------------------- TERMINFO FILE CAN BE SPLIT HERE -----------------------
                   5811: # This cut mark helps make life less painful for people running ncurses tic
                   5812: # on machines with relatively little RAM.  The file can be broken in half here
                   5813: # cleanly and compiled in sections -- no `use' references cross this cut
                   5814: # going forward.
                   5815: #
                   5816:
                   5817: #### Ampex (Dialogue)
                   5818: #
                   5819: # Yes, these are the same people who are better-known for making audio- and
                   5820: # videotape.  I'm told they are located in Redwood City, CA.
1.5       tholo    5821: #
1.1       deraadt  5822:
                   5823: # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
1.2       deraadt  5824: # (ampex80: some capabilities merged in from SCO's entry -- esr)
                   5825: ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80:\
                   5826:        :am:bw:ul:\
                   5827:        :co#80:it#8:li#24:\
1.5       tholo    5828:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
                   5829:        :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ei=:ic=\EQ:im=:is=\EA:le=^H:\
                   5830:        :nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:
1.1       deraadt  5831: # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
                   5832: ampex175|ampex d175:\
                   5833:        :am:\
                   5834:        :co#80:li#24:\
1.5       tholo    5835:        :al=\EE:bl=^G:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
                   5836:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:is=\EX\EA\EF:\
                   5837:        :kA=\EE:kD=\EW:kI=\EQ:kL=\ER:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
                   5838:        :le=^H:ll=^^^K:nd=^L:se=\Ek:sf=^J:so=\Ej:te=\EF:ti=\EN:\
                   5839:        :ue=\Em:up=^K:us=\El:
1.1       deraadt  5840: # No backspace key in the main QWERTY cluster. Fortunately, it has a
                   5841: # NEWLINE/PAGE key just above RETURN that sends a strange single-character
                   5842: # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
                   5843: # mode), this key can be used as the erase key; I find I like this. Because
                   5844: # some people and some systems may not, there is another termcap ("ampex175")
                   5845: # that suppresses this little eccentricity by omitting the relevant capability.
                   5846: ampex175-b|ampex d175 using left arrow for erase:\
1.5       tholo    5847:        :kb=^_:\
                   5848:        :tc=ampex175:
1.1       deraadt  5849: # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
1.2       deraadt  5850: # (ampex210: removed obsolete ":kn#10:" -- esr)
1.1       deraadt  5851: ampex210|a210|ampex a210:\
1.2       deraadt  5852:        :am:hs:xn:\
1.5       tholo    5853:        :co#80:it#8:li#24:sg#1:\
                   5854:        :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
                   5855:        :dl=\ER:ei=:fs=\E.2:ho=^^:ic=\EQ:if=/usr/share/tabset/std:\
                   5856:        :im=:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
                   5857:        :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
                   5858:        :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^V:kh=^^:kl=^H:\
                   5859:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\E.0\Eg\E}\Ef:up=^K:\
                   5860:        :vb=\EU\EX\EU\EX\EU\EX\EU\EX:\
                   5861:        :tc=adm+sgr:
                   5862: # (ampex219: I added <rmam>/<smam> based on the init string,
                   5863: # and moved the padding to be *after* the caps -- esr)
1.1       deraadt  5864: ampex219|ampex-219|amp219|Ampex with Automargins:\
                   5865:        :hs:xn:\
                   5866:        :co#80:it#8:li#24:\
1.3       deraadt  5867:        :RA=\E[?7l:SA=\E[?7h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   5868:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%2;%2r:\
                   5869:        :do=\E[B:ho=\E[H:\
1.5       tholo    5870:        :is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=\E[21~:\
                   5871:        :k1=\E[7~:k2=\E[8~:k3=\E[9~:k4=\E[10~:k5=\E[11~:k6=\E[17~:\
                   5872:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:kd=\E[B:ke=\E>:kh=\E[H:\
                   5873:        :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
                   5874:        :me=\E[m:mh=\E[1m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:\
                   5875:        :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  5876: ampex219w|ampex-219w|amp219w|Ampex 132 cols:\
                   5877:        :co#132:li#24:\
1.5       tholo    5878:        :bl=^G:cr=^M:do=^J:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
                   5879:        :sf=^J:vs=\E[?3h:\
                   5880:        :tc=ampex219:
                   5881: # (ampex232: removed :if=/usr/share/tabset/ampex:, no file and no :st: --esr)
1.1       deraadt  5882: ampex232|ampex-232|Ampex Model 232:\
                   5883:        :am:\
1.5       tholo    5884:        :co#80:li#24:sg#1:\
                   5885:        :al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:\
                   5886:        :dl=5*\ER:do=^V:ei=:ic=\EQ:im=:is=\Eg\El:k0=^A@\r:k1=^AA\r:\
                   5887:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
                   5888:        :k8=^AH\r:k9=^AI\r:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
                   5889:        :mk@:nd=^L:ta=^I:up=^K:vb=\Eb\Ed:ve=\E.4:vi=\E.0:\
                   5890:        :tc=adm+sgr:
                   5891: # (ampex: removed :if=/usr/share/tabset/amp-132:, no file and no :st: -- esr)
1.1       deraadt  5892: ampex232w|Ampex Model 232 / 132 columns:\
                   5893:        :co#132:li#24:\
1.5       tholo    5894:        :is=\E\034Eg\El:tc=ampex232:
1.1       deraadt  5895:
                   5896: #### Ann Arbor (aa)
                   5897: #
1.5       tholo    5898: # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
                   5899: # numbers of function keys.  At least some used monitors in portrait mode,
                   5900: # allowing up to 76-character screen heights!  They can't be found on the Web;
                   5901: # I fear they're long dead.  R.I.P.
                   5902: #
                   5903:
1.1       deraadt  5904:
                   5905: # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
                   5906: # Highly modified 6/22 by Mike O'Brien.
                   5907: # split out into several for the various screen sizes by dave-yost@rand
                   5908: # Modifications made 3/82 by Mark Horton
                   5909: # Modified by Tom Quarles at UCB for greater efficiency and more diversity
1.5       tholo    5910: # status line moved to top of screen, :vb: removed 5/82
1.1       deraadt  5911: # Some unknown person at SCO then hacked the init strings to make them more
                   5912: # efficient.
                   5913: #
                   5914: # assumes the following setup:
                   5915: #   A menu: 0000 1010  0001 0000
                   5916: #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   5917: #   C menu: 56   66   0    0    9600  0110 1100
                   5918: #   D menu: 0110 1001   1   0
                   5919: #
                   5920: #      Briefly, the settings are for the following modes:
                   5921: #         (values are for bit set/clear with * indicating our preference
                   5922: #          and the value used to test these termcaps)
1.3       deraadt  5923: #      Note that many of these settings are irrelevent to the terminfo
1.1       deraadt  5924: #      and are just set to the default mode of the terminal as shipped
                   5925: #      by the factory.
                   5926: #
                   5927: # A menu: 0000 1010  0001 0000
                   5928: #      Block/underline cursor*
                   5929: #      blinking/nonblinking cursor*
                   5930: #      key click/no key click*
                   5931: #      bell/no bell at column 72*
                   5932: #
                   5933: #      key pad is cursor control*/key pad is numeric
1.5       tholo    5934: #      return and line feed/return for :cr: key *
1.1       deraadt  5935: #      repeat after .5 sec*/no repeat
                   5936: #      repeat at 25/15 chars per sec. *
                   5937: #
                   5938: #      hold data until pause pressed/process data unless pause pressed*
                   5939: #      slow scroll/no slow scroll*
                   5940: #      Hold in area/don't hold in area*
                   5941: #      functions keys have default*/function keys disabled on powerup
                   5942: #
                   5943: #      show/don't show position of cursor during page transmit*
                   5944: #      unused
                   5945: #      unused
                   5946: #      unused
                   5947: #
                   5948: # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   5949: #      Baud rate (9600*)
                   5950: #
                   5951: #      2 bits of parity - 00=odd,01=even*,10=space,11=mark
                   5952: #      1 stop bit*/2 stop bits
                   5953: #      parity error detection off*/on
                   5954: #
                   5955: #      keyboard local/on line*
                   5956: #      half/full duplex*
                   5957: #      disable/do not disable keyboard after data transmission*
                   5958: #
                   5959: #      transmit entire page/stop transmission at cursor*
                   5960: #      transfer/do not transfer protected characters*
                   5961: #      transmit all characters/transmit only selected characters*
                   5962: #      transmit all selected areas/transmit only 1 selected area*
                   5963: #
1.3       deraadt  5964: #      transmit/do not transmit line separators to host*
1.1       deraadt  5965: #      transmit/do not transmit page tab stops tabs to host*
                   5966: #      transmit/do not transmit column tab stop tabs to host*
                   5967: #      transmit/do not transmit graphics control (underline,inverse..)*
                   5968: #
                   5969: #      enable*/disable auto XON/XOFF control
                   5970: #      require/do not require receipt of a DC1 from host after each LF*
                   5971: #      pause key acts as a meta key/pause key is pause*
                   5972: #      unused
                   5973: #
                   5974: #      unused
                   5975: #      unused
                   5976: #      unused
                   5977: #      unused
                   5978: #
                   5979: #      XON character (17*)
                   5980: #      XOFF character (19*)
                   5981: #
                   5982: # C menu: 56   66   0    0    9600  0110 1100
                   5983: #      number of lines to print data on (printer) (56*)
                   5984: #
                   5985: #      number of lines on a sheet of paper (printer) (66*)
                   5986: #
                   5987: #      left margin (printer) (0*)
                   5988: #
                   5989: #      number of pad chars on new line to printer (0*)
                   5990: #
                   5991: #      printer baud rate (9600*)
                   5992: #
                   5993: #      printer parity: 00=odd,01=even*,10=space,11=mark
                   5994: #      printer stop bits: 2*/1
                   5995: #      print/do not print guarded areas*
                   5996: #
                   5997: #      new line is: 01=LF,10=CR,11=CRLF*
                   5998: #      unused
                   5999: #      unused
                   6000: #
                   6001: # D menu: 0110 1001   1   0
                   6002: #      LF is newline/LF is down one line, same column*
1.3       deraadt  6003: #      wrap to preceding line if move left from col 1*/don't wrap
1.1       deraadt  6004: #      wrap to next line if move right from col 80*/don't wrap
                   6005: #      backspace is/is not destructive*
                   6006: #
                   6007: #      display*/ignore DEL character
                   6008: #      display will not/will scroll*
                   6009: #      page/column tab stops*
                   6010: #      erase everything*/erase unprotected only
                   6011: #
                   6012: #      editing extent: 0=display,1=line*,2=field,3=area
                   6013: #
                   6014: #      unused
                   6015: #
                   6016:
1.2       deraadt  6017: annarbor4080|aa4080|ann arbor 4080:\
1.1       deraadt  6018:        :am:\
                   6019:        :co#80:li#40:\
                   6020:        :bl=^G:cl=\014:\
                   6021:        :..cm=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c:\
1.5       tholo    6022:        :cr=^M:ct=^^P^P:do=^J:ho=^K:kb=^^:kd=^J:kh=^K:kl=^H:kr=^_:\
                   6023:        :ku=^N:le=^H:nd=^_:sf=^J:st=^]^P1:ta=^I:up=^N:
1.1       deraadt  6024:
                   6025: # If you're using the GNU termcap library, add
1.2       deraadt  6026: #      :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
1.1       deraadt  6027: # to these capabilities.  This is the nonstandard GNU termcap scrolling
                   6028: # capability, arguments are:
                   6029: #   1. Total number of lines on the screen.
                   6030: #   2. Number of lines above desired scroll region.
                   6031: #   3. Number of lines below (outside of) desired scroll region.
                   6032: #   4. Total number of lines on the screen, the same as the first parameter.
                   6033: # The generic Ann Arbor entry is the only one that uses this.
1.3       deraadt  6034: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   6035: # (sgr removed to fit entry within 1023 bytes)
                   6036: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  6037: aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly):\
                   6038:        :am:km:mi:xo:\
                   6039:        :co#80:it#8:\
                   6040:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   6041:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
1.2       deraadt  6042:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   6043:        :ct=\E[2g:dc=\E[P:dl=\E[M:do=^K:ei=:ho=\E[H:\
                   6044:        :i1=\E[m\E7\E[H\E9\E8:i2=\E[1Q\E[>20;30l\EP`+x~M\E\\:\
                   6045:        :ic=\E[@:im=:k1=\EOA:k2=\EOB:k3=\EOC:k4=\EOD:k5=\EOE:\
1.5       tholo    6046:        :k6=\EOF:k7=\EOG:k8=\EOH:k9=\EOI:kD=\E[P:kI=\E[@:kb=^H:\
                   6047:        :kd=\E[B:\
1.1       deraadt  6048:        :ke=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\:\
                   6049:        :kh=\E[H:kl=\E[D:kr=\E[C:\
                   6050:        :ks=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\:\
1.2       deraadt  6051:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mm=\E[>52h:\
1.5       tholo    6052:        :mo=\E[>52l:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^K:\
                   6053:        :so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  6054:
                   6055: aaa+rv|ann arbor ambassador in reverse video:\
                   6056:        :i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
1.3       deraadt  6057:        :me=\E[7m\016:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
1.1       deraadt  6058:        :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
                   6059:        :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
                   6060: # Ambassador with the DEC option, for partial vt100 compatibility.
                   6061: aaa+dec|ann arbor ambassador in dec vt100 mode:\
1.3       deraadt  6062:        :ac=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}:\
                   6063:        :ae=^N:as=^O:cs=\E[%i%d;%dr:eA=\E(0:\
1.1       deraadt  6064:        :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;:
                   6065: aaa-18|ann arbor ambassador/18 lines:\
                   6066:        :li#18:\
                   6067:        :is=\E7\E[60;0;0;18p\E8:te=\E[60;0;0;18p\E[60;1H\E[K:\
1.5       tholo    6068:        :ti=\E[18;0;0;18p:\
                   6069:        :tc=aaa+unk:
1.1       deraadt  6070: aaa-18-rv|ann arbor ambassador/18 lines+reverse video:\
                   6071:        :tc=aaa+rv:tc=aaa-18:
                   6072: aaa-20|ann arbor ambassador/20 lines:\
                   6073:        :li#20:\
                   6074:        :is=\E7\E[60;0;0;20p\E8:te=\E[60;0;0;20p\E[60;1H\E[K:\
1.5       tholo    6075:        :ti=\E[20;0;0;20p:\
                   6076:        :tc=aaa+unk:
1.1       deraadt  6077: aaa-22|ann arbor ambassador/22 lines:\
                   6078:        :li#22:\
                   6079:        :is=\E7\E[60;0;0;22p\E8:te=\E[60;0;0;22p\E[60;1H\E[K:\
1.5       tholo    6080:        :ti=\E[22;0;0;22p:\
                   6081:        :tc=aaa+unk:
1.1       deraadt  6082: aaa-24|ann arbor ambassador/24 lines:\
                   6083:        :li#24:\
                   6084:        :is=\E7\E[60;0;0;24p\E8:te=\E[60;0;0;24p\E[60;1H\E[K:\
1.5       tholo    6085:        :ti=\E[24;0;0;24p:\
                   6086:        :tc=aaa+unk:
1.1       deraadt  6087: aaa-24-rv|ann arbor ambassador/24 lines+reverse video:\
                   6088:        :tc=aaa+rv:tc=aaa-24:
                   6089: aaa-26|ann arbor ambassador/26 lines:\
                   6090:        :li#26:\
                   6091:        :is=\E7\E[60;0;0;26p\E8:te=\E[60;0;0;26p\E[26;1H\E[K:\
1.5       tholo    6092:        :ti=\E[H\E[J\E[26;0;0;26p:\
                   6093:        :tc=aaa+unk:
1.1       deraadt  6094: aaa-28|ann arbor ambassador/28 lines:\
                   6095:        :li#28:\
                   6096:        :is=\E7\E[60;0;0;28p\E8:te=\E[60;0;0;28p\E[28;1H\E[K:\
1.5       tholo    6097:        :ti=\E[H\E[J\E[28;0;0;28p:\
                   6098:        :tc=aaa+unk:
1.1       deraadt  6099: aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status:\
                   6100:        :es:hs:\
                   6101:        :li#29:\
                   6102:        :ds=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
                   6103:        :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;30p\E8:\
                   6104:        :te=\E[60;1;0;30p\E[29;1H\E[K:\
                   6105:        :ti=\E[H\E[J\E[30;1;0;30p\E[30;1H\E[K:\
                   6106:        :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
                   6107: aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video:\
                   6108:        :tc=aaa+rv:tc=aaa-30-s:
                   6109: aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context:\
                   6110:        :te=\E[60;1;0;30p\E[59;1H\E[K:\
                   6111:        :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s:
                   6112: aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context:\
                   6113:        :te=\E[60;1;0;30p\E[59;1H\E[K:\
                   6114:        :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s-rv:
                   6115: aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
                   6116:        :li#30:\
                   6117:        :is=\E7\E[60;0;0;30p\E8:te=\E[60;0;0;30p\E[30;1H\E[K:\
1.5       tholo    6118:        :ti=\E[H\E[J\E[30;0;0;30p:\
                   6119:        :tc=aaa+unk:
1.1       deraadt  6120: aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video:\
                   6121:        :tc=aaa+rv:tc=aaa-30:
                   6122: aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context:\
1.5       tholo    6123:        :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
                   6124:        :tc=aaa-30:
1.1       deraadt  6125: aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context:\
1.5       tholo    6126:        :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
                   6127:        :tc=aaa+rv:tc=aaa-30:
1.1       deraadt  6128: aaa-36|ann arbor ambassador/36 lines:\
                   6129:        :li#36:\
                   6130:        :is=\E7\E[60;0;0;36p\E8:te=\E[60;0;0;36p\E[36;1H\E[K:\
1.5       tholo    6131:        :ti=\E[H\E[J\E[36;0;0;36p:\
                   6132:        :tc=aaa+unk:
1.1       deraadt  6133: aaa-36-rv|ann arbor ambassador/36 lines+reverse video:\
                   6134:        :tc=aaa+rv:tc=aaa-36:
                   6135: aaa-40|ann arbor ambassador/40 lines:\
                   6136:        :li#40:\
                   6137:        :is=\E7\E[60;0;0;40p\E8:te=\E[60;0;0;40p\E[40;1H\E[K:\
1.5       tholo    6138:        :ti=\E[H\E[J\E[40;0;0;40p:\
                   6139:        :tc=aaa+unk:
1.1       deraadt  6140: aaa-40-rv|ann arbor ambassador/40 lines+reverse video:\
                   6141:        :tc=aaa+rv:tc=aaa-40:
                   6142: aaa-48|ann arbor ambassador/48 lines:\
                   6143:        :li#48:\
                   6144:        :is=\E7\E[60;0;0;48p\E8:te=\E[60;0;0;48p\E[48;1H\E[K:\
1.5       tholo    6145:        :ti=\E[H\E[J\E[48;0;0;48p:\
                   6146:        :tc=aaa+unk:
1.1       deraadt  6147: aaa-48-rv|ann arbor ambassador/48 lines+reverse video:\
                   6148:        :tc=aaa+rv:tc=aaa-48:
                   6149: aaa-60-s|ann arbor ambassador/59 lines+status:\
                   6150:        :es:hs:\
                   6151:        :li#59:\
                   6152:        :ds=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
                   6153:        :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;60p\E8:\
                   6154:        :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
                   6155: aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video:\
                   6156:        :tc=aaa+rv:tc=aaa-60-s:
1.2       deraadt  6157: aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video:\
1.1       deraadt  6158:        :tc=aaa+dec:tc=aaa+rv:tc=aaa-60-s:
                   6159: aaa-60|ann arbor ambassador/60 lines:\
                   6160:        :li#60:\
                   6161:        :is=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8:tc=aaa+unk:
                   6162: aaa-60-rv|ann arbor ambassador/60 lines+reverse video:\
                   6163:        :tc=aaa+rv:tc=aaa-60:
                   6164: aaa-db|ann arbor ambassador 30/destructive backspace:\
1.5       tholo    6165:        :i2=\E[1Q\E[m\E[>20l\E[>30h:le=\E[D:\
                   6166:        :tc=aaa-30:
1.1       deraadt  6167:
                   6168: guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols:\
                   6169:        :li#33:\
                   6170:        :i2=\E[>59l:is=\E7\E[255;0;0;33;80;80p\E8\E[J:\
1.5       tholo    6171:        :te=\E[255p\E[255;1H\E[K:ti=\E[33p:vb=\E[>59h\E[>59l:\
                   6172:        :tc=aaa+unk:
1.1       deraadt  6173: guru+rv|guru changes for reverse video:\
                   6174:        :i2=\E[>59h:vb=\E[>59l\E[>59h:
                   6175: guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video:\
                   6176:        :tc=guru+rv:tc=guru-33:
                   6177: guru+s|guru status line:\
                   6178:        :es:hs:\
                   6179:        :ds=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K:fs=\E[>51l:\
1.5       tholo    6180:        :te=\E[255;1p\E[255;1H\E[K:ts=\E[>51h\E[1;%p1%dH\E[2K:
1.2       deraadt  6181: guru-nctxt|guru with no saved context:\
1.1       deraadt  6182:        :ti=\E[H\E[J\E[33p\E[255;1H\E[K:tc=guru:
                   6183: guru-s|guru-33-s|ann arbor guru/33 lines+status:\
                   6184:        :li#32:\
                   6185:        :is=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J:\
1.5       tholo    6186:        :ti=\E[33;1p\E[255;1H\E[K:tc=guru+s:\
                   6187:        :tc=guru+unk:
1.2       deraadt  6188: guru-24|ann arbor guru 24 lines:\
1.1       deraadt  6189:        :co#80:li#24:\
                   6190:        :is=\E7\E[255;0;0;24;80;80p\E8\E[J:ti=\E[24p:tc=guru+unk:
1.2       deraadt  6191: guru-44|ann arbor guru 44 lines:\
1.1       deraadt  6192:        :co#97:li#44:\
                   6193:        :is=\E7\E[255;0;0;44;97;100p\E8\E[J:ti=\E[44p:tc=guru+unk:
                   6194: guru-44-s|ann arbor guru/44 lines+status:\
                   6195:        :li#43:\
                   6196:        :is=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J:\
1.5       tholo    6197:        :ti=\E[44;1p\E[255;1H\E[K:tc=guru+s:\
                   6198:        :tc=guru+unk:
1.1       deraadt  6199: guru-76|guru with 76 lines by 89 cols:\
                   6200:        :co#89:li#76:\
                   6201:        :is=\E7\E[255;0;0;76;89;100p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6202: guru-76-s|ann arbor guru/76 lines+status:\
                   6203:        :co#89:li#75:\
                   6204:        :is=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J:\
1.5       tholo    6205:        :ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:\
                   6206:        :tc=guru+unk:
1.1       deraadt  6207: guru-76-lp|guru-lp|guru with page bigger than line printer:\
                   6208:        :co#134:li#76:\
                   6209:        :is=\E7\E[255;0;0;76;134;134p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6210: guru-76-w|guru 76 lines by 178 cols:\
                   6211:        :co#178:li#76:\
                   6212:        :is=\E7\E[255;0;0;76;178;178p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6213: guru-76-w-s|ann arbor guru/76 lines+status+wide:\
                   6214:        :co#178:li#75:\
                   6215:        :is=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J:\
1.5       tholo    6216:        :ti=\E[76;1p\E[255;1H\E[K:\
                   6217:        :tc=guru+s:tc=guru+unk:
1.1       deraadt  6218: guru-76-wm|guru 76 lines by 178 cols with 255 cols memory:\
                   6219:        :co#178:li#76:\
                   6220:        :is=\E7\E[255;0;0;76;178;255p\E8\E[J:ti=\E[76p:tc=guru+unk:
1.2       deraadt  6221: aaa-rv-unk|ann arbor unknown type:\
1.3       deraadt  6222:        :Nl#0:lh#0:lw#0:\
1.2       deraadt  6223:        :ho=\E[H:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
1.3       deraadt  6224:        :me=\E[7m:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
1.1       deraadt  6225:        :..sa=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
                   6226:        :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
                   6227:
                   6228: #### Applied Digital Data Systems (adds)
                   6229: #
                   6230: # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
                   6231: # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
                   6232: # terminals was merged again.  Then AT&T sold the terminal business to
                   6233: # SunRiver.  The engineers from Teletype, AT&T terminals, ADDS,
1.2       deraadt  6234: # and NCR (who are still there as of early 1995) are at:
1.1       deraadt  6235: #
                   6236: #      SunRiver Data Systems
                   6237: #      100 Marcus Boulevard
1.5       tholo    6238: #      Hauppauge, NY 11788-3762
1.1       deraadt  6239: #      Vox: (800)-231-5445
                   6240: #      Fax: (516)-342-7378
                   6241: #
1.5       tholo    6242: # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
                   6243: # In 1995 SunRiver acquired DEC's terminals business.
                   6244: #
1.1       deraadt  6245:
                   6246: # Regent: lowest common denominator, works on all regents.
                   6247: # (regent: renamed ":bc:" to ":le:" -- esr)
                   6248: regent|Adds Regent Series:\
                   6249:        :am:bs:\
                   6250:        :co#80:li#24:\
1.5       tholo    6251:        :bl=^G:cl=^L:cr=^M:do=^J:ho=\EY  :le=^U:ll=^A:nd=^F:sf=^J:\
                   6252:        :up=^Z:
1.1       deraadt  6253: # Regent 100 has a bug where if computer sends escape when user is holding
                   6254: # down shift key it gets confused, so we avoid escape.
                   6255: regent100|Adds Regent 100:\
                   6256:        :sg#1:ug#1:\
                   6257:        :bl=^G:cm=\013%+ %B\020%.:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
1.5       tholo    6258:        :k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:\
                   6259:        :l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
                   6260:        :ue=\E0@:us=\E0`:\
                   6261:        :tc=regent:
1.1       deraadt  6262: regent20|Adds Regent 20:\
                   6263:        :bl=^G:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
                   6264: regent25|Adds Regent 25:\
                   6265:        :bl=^G:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:tc=regent20:
                   6266: regent40|Adds Regent 40:\
                   6267:        :sg#1:ug#1:\
1.5       tholo    6268:        :al=\EM:bl=^G:dl=\El:k0=^B1\r:k1=^B2\r:k2=^B3\r:k3=^B4\r:\
                   6269:        :k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:l2=F3:\
                   6270:        :l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
                   6271:        :ue=\E0@:us=\E0`:\
                   6272:        :tc=regent25:
1.1       deraadt  6273: regent40+|Adds Regent 40+:\
                   6274:        :is=\EB:tc=regent40:
                   6275: regent60|regent200|Adds Regent 60:\
1.3       deraadt  6276:        :dc=\EE:ei=\EF:im=\EF:is=\EV\EB:kD=\EE:kI=\EF:kM=\EF:\
1.5       tholo    6277:        :se=\ER\E0@\EV:so=\ER\E0P\EV:\
                   6278:        :tc=regent40+:
1.1       deraadt  6279: # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
1.5       tholo    6280: # (viewpoint: added :kr:, function key, and :dl: capabilities -- esr)
1.1       deraadt  6281: viewpoint|addsviewpoint|adds viewpoint:\
1.2       deraadt  6282:        :am:\
1.1       deraadt  6283:        :co#80:li#24:\
1.5       tholo    6284:        :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dl=\El:do=^J:\
                   6285:        :is=\017\E0`:k0=^B1:k2=^B2:k3=^B!:k4=^B":k5=^B#:kd=^J:kh=^A:\
                   6286:        :kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:me=^O:nd=^F:se=^O:sf=^J:so=^N:\
                   6287:        :ue=^O:up=^Z:us=^N:ve=\017\E0`:vs=\017\E0P:
1.2       deraadt  6288: # Some viewpoints have bad ROMs that foo up on ^O
1.1       deraadt  6289: screwpoint|adds viewpoint with ^O bug:\
1.2       deraadt  6290:        :se@:so@:ue@:us@:vs@:tc=viewpoint:
                   6291:
1.1       deraadt  6292: # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
1.5       tholo    6293: # The :vi:/:ve:/:sa:/:me: strings were added by ESR from specs.
1.1       deraadt  6294: # Theory; the 3a+ wants \E0%c to set highlights, where normal=01000000,
                   6295: # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
                   6296: # invis=01000100 and %c is the logical or of desired attributes.
                   6297: # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
                   6298: vp3a+|viewpoint3a+|adds viewpoint 3a+:\
                   6299:        :am:bw:\
                   6300:        :co#80:it#8:li#24:\
1.5       tholo    6301:        :cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kb=^H:\
                   6302:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\E(:nd=^L:nw=^M^J:\
1.1       deraadt  6303:        :..sa=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E):\
                   6304:        :se=\E(:sf=^J:so=\E0Q\E):ta=^I:up=^K:ve=^X:vi=^W:
1.2       deraadt  6305: vp60|viewpoint60|addsvp60|adds viewpoint60:\
1.1       deraadt  6306:        :tc=regent40:
                   6307: #
                   6308: # adds viewpoint 90 - from cornell
                   6309: # Note:  emacs sends ei occasionally to insure the terminal is out of
                   6310: #        insert mode. This unfortunately puts the viewpoint90 IN insert
1.5       tholo    6311: #        mode.  A hack to get around this is :ic=\EF\s\EF^U:.  (Also,
1.1       deraadt  6312: #   -    :ei=:im=: must be present in the termcap translation.)
1.5       tholo    6313: #   -    :xs: indicates glitch that attributes stick to location
                   6314: #   -    :ms: means it's safe to move in standout mode
                   6315: #   -    :cl=\EG\Ek:: clears screen and visual attributes without affecting
1.1       deraadt  6316: #               the status line
                   6317: # Function key and label capabilities merged in from SCO.
                   6318: vp90|viewpoint90|adds viewpoint 90:\
1.2       deraadt  6319:        :bw:ms:xs:\
1.1       deraadt  6320:        :co#80:li#24:\
1.5       tholo    6321:        :cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :dc=\EE:dl=\El:do=^J:\
                   6322:        :ei=:ho=\EY  :ic=\EF \EF\025:im=:k0=^B1\r:k1=^B2\r:\
                   6323:        :k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:\
                   6324:        :k8=^B9\r:k9=^B\072\r:k;=^B;\r:kb=^H:kd=^J:kh=^A:kl=^U:\
                   6325:        :kr=^F:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
                   6326:        :l8=F9:l9=F10:la=F11:le=^H:ll=^A:me=\ER\E0@\EV:nd=^F:\
                   6327:        :se=\ER\E0@\EV:sf=^J:so=\ER\E0Q\EV:ta=^I:ue=\ER\E0@\EV:\
                   6328:        :up=^Z:us=\ER\E0`\EV:
1.1       deraadt  6329: # Note: if return acts weird on a980, check internal switch #2
                   6330: # on the top chip on the CONTROL pc board.
                   6331: adds980|a980|adds consul 980:\
1.2       deraadt  6332:        :am:\
1.1       deraadt  6333:        :co#80:li#24:\
1.5       tholo    6334:        :al=\E\016:bl=^G:cl=\014\013@:cm=\013%+@\E\005%2:cr=^M:\
                   6335:        :dl=\E\017:do=^J:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:\
                   6336:        :k6=\E6:k7=\E7:k8=\E8:k9=\E9:le=^H:me=^O:nd=\E^E01:se=^O:\
                   6337:        :sf=^J:so=^Y^^^N:
1.1       deraadt  6338:
                   6339: #### C. Itoh Electronics
                   6340: #
                   6341: # As of 1995 these people no longer make terminals (they're still in the
                   6342: # printer business).  Their terminals were all clones of the DEC VT series.
                   6343: # They're located in Orange County, CA.
                   6344: #
                   6345:
                   6346: # CIT 80  - vt-52 emulator, the termcap has been modified to remove
                   6347: #           the delay times and do an auto tab set rather than the indirect
                   6348: #           file used in vt100.
                   6349: cit80|cit-80|citoh 80:\
1.2       deraadt  6350:        :am:\
1.1       deraadt  6351:        :co#80:li#24:\
1.2       deraadt  6352:        :cd=\EJ:ce=\EK:cl=\E[H\EJ:cm=\E[%i%2;%2H:cr=^M:ff=^L:\
1.5       tholo    6353:        :is=\E>:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   6354:        :ku=\EOA:le=^H:nd=\E[C:sf=^J:up=\E[A:
1.1       deraadt  6355: # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
1.2       deraadt  6356: # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
                   6357: cit101|citc|C.itoh fast vt100:\
                   6358:        :am:xn:\
                   6359:        :co#80:li#24:\
1.3       deraadt  6360:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
1.5       tholo    6361:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:\
                   6362:        :im=:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
1.1       deraadt  6363:        :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1.5       tholo    6364:        :ku=\EOA:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:\
                   6365:        :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[V\E8:vs=\E7\E[U:
                   6366: # CIE Terminals CIT-500 from BRL
                   6367: # The following SET-UP modes are assumed for normal operation:
                   6368: #      GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
                   6369: #      AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
                   6370: #      DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
                   6371: # Other SET-UP modes may be set for operator convenience or communication
                   6372: # requirements.
                   6373: # Hardware tabs are assumed to be set every 8 columns; they can be set up
                   6374: # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
                   6375: # "stty ixon -ixany" to enable DC3/DC1 flow control!
1.2       deraadt  6376: # (cit500: I added <rmam>/<smam> based on the init string -- esr)
1.5       tholo    6377: cit500|CIE Terminals CIT-500:\
                   6378:        :mi:ms:xo:\
                   6379:        :co#80:it#8:li#64:vt#3:\
                   6380:        :#3=\E[4h:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   6381:        :RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
                   6382:        :as=^N:bl=^G:bt=\E[Z:cd=\EJ:ce=\EK:cl=\E[H\E[J:\
                   6383:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   6384:        :dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E<\E)0:\
                   6385:        :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:k4=\EOU:k5=\EOV:k6=\EOW:\
                   6386:        :k7=\EOX:k8=\EOY:k9=\EOZ:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\EK:\
                   6387:        :kI=\E[4h:kL=\E[M:kM=\E[4l:kS=\EJ:kb=^H:kd=\EOB:\
                   6388:        :ke=\E[?1l\E>:kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   6389:        :ku=\EOA:l0=PF1:l1=PF2:l2=PF3:l3=PF4:l4=F15:l5=F16:l6=F17:\
                   6390:        :l7=F18:l8=F19:l9=F20:le=^H:ll=\E[64H:mb=\E[5m:md=\E[1m:\
                   6391:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
                   6392:        :r1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>:\
                   6393:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   6394:        :ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  6395:
1.5       tholo    6396: # C. Itoh printers begin here
1.1       deraadt  6397: citoh|ci8510|8510|c.itoh 8510a:\
                   6398:        :co#80:it#8:\
                   6399:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073.:\
1.5       tholo    6400:        :le@:md=\E!:me=\E"\EY:rp=\ER%r%03%.:sr=\Er:ue=\EY:us=\EX:\
                   6401:        :tc=lpr:
1.1       deraadt  6402: citoh-pica|citoh in pica:\
                   6403:        :i1=\EN:tc=citoh:
                   6404: citoh-elite|citoh in elite:\
                   6405:        :co#96:\
                   6406:        :i1=\EE:\
                   6407:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089.:tc=citoh:
                   6408: citoh-comp|citoh in compressed:\
                   6409:        :co#136:\
                   6410:        :i1=\EQ:\
                   6411:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089\054097\054105\054113\054121\054129.:tc=citoh:
                   6412: # citoh has infinite cols because we don't want lp ever inserting \n\t**.
                   6413: citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
                   6414:        :co#32767:\
                   6415:        :i1=\EP:tc=citoh:
                   6416: citoh-6lpi|citoh in 6 lines per inch mode:\
                   6417:        :i2=\EA:tc=citoh:
                   6418: citoh-8lpi|citoh in 8 lines per inch mode:\
                   6419:        :li#88:\
                   6420:        :i2=\EB:tc=citoh:
                   6421:
                   6422: #### Control Data (cdc)
                   6423: #
                   6424:
1.2       deraadt  6425: cdc456|cdc 456 terminal:\
                   6426:        :am:\
1.1       deraadt  6427:        :co#80:li#24:\
1.5       tholo    6428:        :al=\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%+ %+ :cr=^M:dl=\EJ:\
                   6429:        :do=^J:ho=^Y:le=^H:nd=^L:sf=^J:up=^Z:
                   6430: #
                   6431: # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
                   6432: #
                   6433: # Part of the long initialization string defines the "DOWN" key to the left
                   6434: # of the tab key to send an ESC.  The real ESC key is position way out in right
                   6435: # field.
                   6436: #
                   6437: # The termcap won't work in 132 column mode due to the way it it moves the
                   6438: # cursor.  Termcap doesn't have the capability (as far as I could tell) to
                   6439: # handle the 721 in 132 column mode.
                   6440: #
                   6441: # Personal preference: the key definitions have been commented out by a
                   6442: # period before the name.  Remove them if you want.
                   6443: #
                   6444: # (cdc721: changed :ri: to :sr: -- esr)
                   6445: cdc721-esc|Control Data 721:\
                   6446:        :am:bw:ms:xo:\
                   6447:        :co#80:it#8:li#30:\
                   6448:        :al=^^R:bl=^G:bt=^^^K:cd=^^P:ce=^K:cl=^L:cm=\002%r%+ %+ :\
                   6449:        :cr=^M:ct=^^^RY:dc=^^N:dl=^^Q:do=^Z:ei=:ho=^Y:ic=^^O:im=:\
                   6450:        :is=\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:\
                   6451:        :k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:k7=^^x:\
                   6452:        :k8=^^y:k9=^^z:kb=^H:kd=^J:kl=^H:le=^H:ll=^B =:mb=^N:\
                   6453:        :me=\017\025\035\036E\036\022\\:mh=^\:mk=^^^R[:mr=^^D:\
                   6454:        :nd=^X:nw=\r\036W =\036U:se=^^E:sf=\036W =\036U:so=^^D:\
                   6455:        :sr=\036W =\036V:st=^^^RW:ta=^I:ue=^]:up=^W:us=^\:
                   6456:
                   6457: #### Getronics
                   6458: #
                   6459: # Getronics is a Dutch electronics company that at one time was called
                   6460: # `Geveke' and made async terminals; but (according to the company itself!)
                   6461: # they've lost all their documentation on the command set.  The hardware
                   6462: # documentation suggests the terminals were actually manufactured by a
                   6463: # Taiwanese electronics company named Cal-Comp.  There are known
                   6464: # to have been at least two models, the 33 and the 50.
                   6465: #
                   6466:
                   6467: # The 50 seems to be a top end vt220 clone, with the addition of a higher
                   6468: # screen resolution, a larger screen, at least 1 page of memory above and
                   6469: # below the screen, apparently pages of memory right and left of the screen
                   6470: # which can be panned, and about 75 function keys (15 function keys x normal,
                   6471: # shift, control, func A, func B). It also has more setup possibilities than
                   6472: # the vt220. The monitor case is dated November 1978 and the keyboard case is
                   6473: # May 1982.
                   6474: #
                   6475: # The vt100 emulation works as is.  The entry below describes the rather
                   6476: # non-conformant (but more featureful) ANSI mode.
                   6477: #
                   6478: # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
                   6479: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   6480: # (sgr removed to fit entry within 1023 bytes)
                   6481: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   6482: visa50|geveke visa 50 terminal in ansi 80 character mode:\
                   6483:        :bw:mi:ms:\
                   6484:        :co#80:li#25:\
                   6485:        :AL=\E[%dL:DC=\E[%dX:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   6486:        :K1=\E[f:K2=\EOP:K3=\EOQ:K4=\EOR:K5=\EOS:LE=\E[%dD:\
                   6487:        :RI=\E[%dC:UP=\E[%dA:ae=\E[3l:al=\E[L:as=\E3h:bl=^G:\
                   6488:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
                   6489:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[X:dl=\E[M:do=\E[B:\
                   6490:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
                   6491:        :is=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h:k0=\E010:\
                   6492:        :k1=\E001:k2=\E002:k3=\E003:k4=\E004:k5=\E005:k6=\E006:\
                   6493:        :k7=\E007:k8=\E008:k9=\E009:kD=\177:kb=^H:kd=\E[A:ke=\E>:\
                   6494:        :kh=\E[f:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=\E[D:mb=\E[5m:\
                   6495:        :md=\E[1m:me=\E[0;2m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:\
                   6496:        :se=\E[0;2m:sf=^J:so=\E[2;7m:ta=^I:ue=\E[0m:up=\E[A:\
                   6497:        :us=\E[4m:vb=\E[?5h\E[?5l:
1.1       deraadt  6498:
                   6499: #### Human Designed Systems (Concept)
                   6500: #
                   6501: #      Human Designed Systems
                   6502: #      400 Fehley Drive
                   6503: #      King of Prussia, PA 19406
                   6504: #      Vox: (610)-277-8300
                   6505: #      Fax: (610)-275-5739
                   6506: #      Net: support@hds.com
                   6507: #
                   6508: # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
                   6509: # the character-terminal business now (1995) and making X terminals.  In
                   6510: # particular, the whole `Concept' line described here was discontinued long
                   6511: # ago.
1.5       tholo    6512: #
1.1       deraadt  6513:
                   6514: # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
                   6515: # Extensive changes to c108 by arpavax:eric Feb 1982
                   6516: # Some unknown person at SCO then translated it to terminfo.
                   6517: #
                   6518: # There seem to be a number of different versions of the C108 PROMS
                   6519: # (with bug fixes in its Z-80 program).
                   6520: #
                   6521: # The first one that we had would lock out the keyboard of you
                   6522: # sent lots of short lines (like /usr/dict/words) at 9600 baud.
                   6523: # Try that on your C108 and see if it sends a ^S when you type it.
                   6524: # If so, you have an old version of the PROMs.
                   6525: #
                   6526: # You should configure the C108 to send ^S/^Q before running this.
                   6527: # It is much faster (at 9600 baud) than the c100 because the delays
                   6528: # are not fixed.
                   6529: # new status line display entries for c108-8p:
1.5       tholo    6530: # :i3: - init str #3 - setup term for status display -
1.1       deraadt  6531: # set programmer mode, select window 2, define window at last
                   6532: # line of memory, set bkgnd stat mesg there, select window 0.
                   6533: #
1.5       tholo    6534: # :ts: - to status line - select window 2, home cursor, erase to
1.1       deraadt  6535: # end-of-window, 1/2 bright on, goto(line#0, col#?)
                   6536: #
1.5       tholo    6537: # :fs: - from status line - 1/2 bright off, select window 0
1.1       deraadt  6538: #
1.5       tholo    6539: # :ds: - disable status display - set bkgnd status mesg with
1.1       deraadt  6540: # illegal window #
                   6541: #
                   6542: # There are probably more function keys that should be added but
                   6543: # I don't know what they are.
                   6544: #
1.2       deraadt  6545: # No delays needed on c108 because of ^S/^Q handshaking
                   6546: #
1.1       deraadt  6547: c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages:\
                   6548:        :i2=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n:\
1.5       tholo    6549:        :te=\Ev  \001\177p\Ep\r\n:\
                   6550:        :tc=c108-4p:
1.1       deraadt  6551: c108-4p|concept108-4p|concept 108 w/4 pages:\
                   6552:        :es:hs:xo:\
                   6553:        :pb@:\
1.3       deraadt  6554:        :ac=l\\qLkTxUmMjE:ae=\Ej :as=\Ej!:\
1.1       deraadt  6555:        :..cm=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c:\
                   6556:        :cr=^M:dc=\E 1:ds=\E ;\177:fs=\Ee\E z :i1=\EK\E!\E F:\
                   6557:        :i2=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n:\
1.5       tholo    6558:        :sf=^J:te=\Ev  \001 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:\
                   6559:        :ts=\E z"\E?\E\005\EE\Ea %+ :ve=\Ew:vs=\EW:\
                   6560:        :tc=c100:
1.1       deraadt  6561: c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video:\
1.5       tholo    6562:        :te=\Ev  \002 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r:\
                   6563:        :tc=c108-rv-4p:
1.2       deraadt  6564: c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video:\
1.5       tholo    6565:        :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:\
                   6566:        :tc=c108-4p:
1.1       deraadt  6567: c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode:\
                   6568:        :co#132:\
                   6569:        :i1=\E F\E":te=\Ev  ^A0\001D\Ep\r\n:\
                   6570:        :ti=\EU\Ev  8\001D\Ep\r:tc=c108-8p:
                   6571:
                   6572: # Concept 100:
                   6573: # These have only window relative cursor addressing, not screen
                   6574: # relative. To get it to work right here, smcup/rmcup (which
                   6575: # were invented for the concept) lock you into a one page
                   6576: # window for screen style programs.
                   6577: #
                   6578: # To get out of the one page window, we use a clever trick:
                   6579: # we set the window size to zero ("\Ev    " in rmcup) which the
                   6580: # terminal recognizes as an error and resets the window to all
                   6581: # of memory.
                   6582: #
                   6583: # This trick works on c100 but does not on c108, sigh.
                   6584: #
                   6585: # Some tty drivers use cr3 for concept, others use nl3, hence
                   6586: # the delays on cr and ind below. This padding is only needed at
1.2       deraadt  6587: # 9600 baud and up.  One or the other is commented out depending on
1.1       deraadt  6588: # local conventions.
                   6589: #
1.5       tholo    6590: # 2 ms padding on :te: isn't always enough. 6 works fine. Maybe
1.1       deraadt  6591: # less than 6 but more than 2 will work.
                   6592: #
                   6593: # Note: can't use function keys f7-f10 because they are
                   6594: # indistinguishable from arrow keys (!), also, del char and
                   6595: # clear eol use xon/xoff so they probably won't work very well.
                   6596: #
                   6597: # Also note that we don't define insrt/del char/delline/eop/send
                   6598: # because they don't transmit unless we reset them - I figured
                   6599: # it was a bad idea to clobber their definitions.
                   6600: #
1.2       deraadt  6601: # The <mc5> sequence changes the escape character to ^^ so that
1.1       deraadt  6602: # escapes will be passed through to the printer. Only trouble
                   6603: # is that ^^ won't be - ^^ was chosen to be unlikely.
                   6604: # Unfortunately, if you're sending raster bits through to be
                   6605: # plotted, any character you choose will be likely, so we lose.
                   6606: #
                   6607: # \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
                   6608: # cannot be # in is2 because it will hang a c100 with no printer
                   6609: # if sent twice.
                   6610: c100|concept100|concept|c104|c100-4p|hds concept 100:\
                   6611:        :am:eo:mi:ul:xn:\
                   6612:        :co#80:li#24:pb#9600:vt#8:\
                   6613:        :al=\E\022:bl=^G:cd=\E\005:ce=\E\025:cl=\E?\E\005:\
1.5       tholo    6614:        :cm=\Ea%+ %+ :cr=\r:dc=\E\021:dl=\E\002:do=^J:ei=\E  :\
                   6615:        :i1=\EK:i2=\Ev    \Ep\n:im=\E^P:ip=:\
1.1       deraadt  6616:        :is=\EU\Ef\E7\E5\E8\El\ENH\E\200\Eo&\200\Eo'\E\Eo!\200\E\007!\E\010A@ \E4#\072"\E\072a\E4#;"\E\072b\E4#<"\E\072c:\
1.5       tholo    6617:        :k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\072a:k7=\E\072b:\
                   6618:        :k8=\E\072c:kA=\E^R:kB=\E':kD=\E^Q:kE=\E^S:kF=\E[:kI=\E^P:\
                   6619:        :kL=\E^B:kM=\E\200:kN=\E-:kP=\E.:kR=\E\\:kS=\E^C:kT=\E]:\
                   6620:        :kb=^H:kd=\E<:ke=\Ex:kh=\E?:kl=\E>:kr=\E=:ks=\EX:kt=\E_:\
                   6621:        :ku=\E;:le=^H:mb=\EC:me=\EN@:mh=\EE:mk=\EH:mp=\EI:mr=\ED:\
                   6622:        :nd=\E=:pf=\036o \E\EQ!\EYP\027:\
                   6623:        :po=\EQ"\EY(\027\EYD\Eo \036:rp=\Er%.%+ :se=\Ed:sf=^J:\
                   6624:        :so=\ED:ta=\011:te=\Ev    \Ep\r\n:\
                   6625:        :ti=\EU\Ev  8p\Ep\r\E\025:ue=\Eg:up=\E;:us=\EG:vb=\Ek\EK:
1.1       deraadt  6626: c100-rv|c100-rv-4p|concept100-rv|c100 rev video:\
                   6627:        :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:ve@:vs@:tc=c100:
                   6628: oc100|oconcept|c100-1p|old 1 page concept 100:\
                   6629:        :in:\
                   6630:        :i3@:tc=c100:
                   6631:
1.5       tholo    6632: # :ta: through :ce: included to specify padding needed in raw mode.
                   6633: # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
1.3       deraadt  6634: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  6635: avt-ns|concept avt no status line:\
                   6636:        :am:eo:mi:ul:xn:xo:\
                   6637:        :co#80:it#8:li#24:lm#192:\
                   6638:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.5       tholo    6639:        :RI=\E[%dC:UP=\E[%dA:ac=:ae=\016:al=\E[L:as=\017:bl=^G:\
1.3       deraadt  6640:        :bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
                   6641:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[2g:\
                   6642:        :cv=\E[%+^Ad:dc=\E[P:dl=\E[M:do=^J:ei=\E4l:ho=\E[H:\
                   6643:        :i1=\E[=103l\E[=205l:ic=\E[@:im=\E1:ip=:\
1.1       deraadt  6644:        :is=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0\0720\07232!r\E[0*w\E[w\E2\r\n\E[2;27!t:\
1.3       deraadt  6645:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kA=\E^C\r:kD=\E^B\r:\
                   6646:        :kI=\E^A\r:kS=\E^D\r:kb=^H:kd=\E[B:ke=\E[!z\E[0;2u:\
1.5       tholo    6647:        :kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[1!z\E[0;3u:ku=\E[A:le=^H:\
                   6648:        :ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m:mh=\E[1!{:mk=\E8m:\
                   6649:        :mp=\E[99m:mr=\E[7m:nd=\E[C:pf=\E[4i:pl=\E[%d;0u#%s#:\
                   6650:        :po=\E[5i:ps=\E[0i:px=\E[%d;1u#%s#:rc=\E8:sc=\E7:\
                   6651:        :se=\E[7!{:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
                   6652:        :te=\E[w\E2\r\n:ti=\E[=4l\E[1;24w\E2\r:ue=\E[4!{:\
                   6653:        :up=\E[A:us=\E[4m:ve=\E[=119l:vs=\E[=119h:
1.1       deraadt  6654: avt-rv-ns|concept avt in reverse video mode/no status line:\
1.5       tholo    6655:        :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:\
                   6656:        :tc=avt-ns:
1.1       deraadt  6657: avt-w-ns|concept avt in 132 column mode/no status line:\
1.5       tholo    6658:        :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:\
                   6659:        :tc=avt-ns:
1.1       deraadt  6660: avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video:\
                   6661:        :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
                   6662:        :vb=\E[=205l\E[=205h:tc=avt-ns:
                   6663:
                   6664: # Concept AVT with status line. We get the status line using the
                   6665: # "Background status line" feature of the terminal. We swipe the
                   6666: # first line of memory in window 2 for the status line, keeping
                   6667: # 191 lines of memory and 24 screen lines for regular use.
                   6668: # The first line is used instead of the last so that this works
                   6669: # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
                   6670: # assumes an 8 page AVT but lm isn't currently used anywhere.)
                   6671: #
                   6672: avt+s|concept avt status line changes:\
                   6673:        :es:hs:\
                   6674:        :lm#191:\
                   6675:        :ds=\E[0*w:fs=\E[1;1!w:\
                   6676:        :i2=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n:\
                   6677:        :te=\E[2w\E2\r\n:ti=\E[2;25w\E2\r:\
                   6678:        :ts=\E[2;1!w\E[;%p1%dH\E[2K:
                   6679: avt|avt-s|concept-avt|avt w/80 columns:\
                   6680:        :tc=avt+s:tc=avt-ns:
                   6681: avt-rv|avt-rv-s|avt reverse video w/sl:\
                   6682:        :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt+s:tc=avt-ns:
                   6683: avt-w|avt-w-s|concept avt 132 cols+status:\
                   6684:        :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt+s:tc=avt-ns:
                   6685: avt-w-rv|avt-w-rv-s|avt wide+status+rv:\
                   6686:        :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
1.5       tholo    6687:        :vb=\E[=205l\E[=205h:tc=avt+s:\
                   6688:        :tc=avt-ns:
1.1       deraadt  6689:
                   6690: #### Contel Business Systems.
                   6691: #
                   6692:
                   6693: # Contel c300 and c320 terminals.
                   6694: contel300|contel320|c300|Contel Business Systems C-300 or C-320:\
                   6695:        :am:in:xo:\
                   6696:        :co#80:li#24:sg#1:\
1.5       tholo    6697:        :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:\
                   6698:        :ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:k0=\ERJ:\
                   6699:        :k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:\
                   6700:        :k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E!\200:nd=\EC:\
                   6701:        :se=\E!\200:sf=^J:so=\E!\r:st=\E1:up=\EA:\
                   6702:        :vb=\020\002\020\003:
1.1       deraadt  6703: # Contel c301 and c321 terminals.
                   6704: contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321:\
1.5       tholo    6705:        :ei=:ic@:im=:ip@:se=\E!\200:so=\E!\r:vb@:\
                   6706:        :tc=contel300:
1.1       deraadt  6707:
                   6708: #### Data General (dg)
                   6709: #
                   6710: # According to James Carlson <carlson@xylogics.com> writing in January 1995,
                   6711: # the terminals group at Data General was shut down in 1991; all these
                   6712: # terminals have thus been discontinued.
                   6713: #
                   6714:
1.5       tholo    6715: # According to the 4.4BSD termcap file, the dg200 :cm: should be the
1.3       deraadt  6716: # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
                   6717: # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
                   6718: # maybe they were originally nuls (which would fit).
1.1       deraadt  6719: dg200|data general dasher 200:\
                   6720:        :NL:am:bw:\
                   6721:        :co#80:li#24:\
1.5       tholo    6722:        :bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:k0=^^z:\
                   6723:        :k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
                   6724:        :k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:l0=f10:le=^Y:nd=^X:\
                   6725:        :nw=^J:se=^^E:sf=^J:so=^^D:ue=^U:up=^W:us=^T:
1.2       deraadt  6726: # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
                   6727: # courtesy of Carlos Rucalde of Vantage Software, Inc.
1.5       tholo    6728: # (dg211: this had :cm=\020%r%.%:., which was an ancient termcap hangover.
1.2       deraadt  6729: # I suspect the d200 function keys actually work on the dg211, check it out.)
                   6730: dg211|Data General d211:\
1.5       tholo    6731:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb=^Y:l0@:nw=^M^Z:\
                   6732:        :se=00\036E\200/>:sf@:so=5\036D:ta=^I:te=^L:ti=^L^R:ve=^L:\
                   6733:        :vs=^L^R:\
                   6734:        :tc=dg200:
1.2       deraadt  6735:
                   6736: # dg450 from cornell
1.1       deraadt  6737: dg450|dg6134|data general 6134:\
1.2       deraadt  6738:        :le@:nd=^X:tc=dg200:
                   6739:
1.1       deraadt  6740: # Note: lesser Dasher terminals will not work with vi because vi insists upon
                   6741: # having a command to move straight down from any position on the bottom line
                   6742: # and scroll the screen up, or a direct vertical scroll command.  The 460 and
                   6743: # above have both, the D210/211, for instance, has neither.  We must use ANSI
                   6744: # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
                   6745: # backspace on all terminals.  This is not so in DG mode.
                   6746: # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
1.2       deraadt  6747: # grounds that there is no matching ":ml:"
1.1       deraadt  6748: # fixed garbled ":k9=\E[00\:z:" capability -- esr)
1.2       deraadt  6749: dg460-ansi|Data General Dasher 460 in ANSI-mode:\
                   6750:        :am:ms:ul:\
                   6751:        :co#80:it#8:li#24:\
1.5       tholo    6752:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:dc=\E[P:\
                   6753:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=^^F@:k0=\E[001z:\
                   6754:        :k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
                   6755:        :k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[010z:kb=\E[D:\
                   6756:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:l2=f3:\
                   6757:        :l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:le=^H:mb=\E[5m:me=\E[m:\
                   6758:        :mh=\E[2m:mr=\E[7m:nd=\E[C:nl=\ED:se=\E[m:sf=\E[S:so=\E[7m:\
                   6759:        :sr=\E[T:ta=^I:ue=\E[05:up=\E[A:us=\E[4m:
1.1       deraadt  6760: # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
                   6761: # Data General 605x
                   6762: # Ought to work for a Model 6242, Type D210 as well as a 605x.
                   6763: # Note that the cursor-down key transmits ^Z.  Job control users, beware!
1.5       tholo    6764: # This also matches a posted description of something called A `Dasher 100'
                   6765: # so there's a dg100 alias here.
                   6766: # (dg6053: the 4.4BSD file had :le=^H:, :do=^J:, :nd=^S:. -- esr)
                   6767: dg6053|dg100|data general 6053:\
1.2       deraadt  6768:        :am:bs:bw:ul:\
1.1       deraadt  6769:        :co#80:li#24:\
1.5       tholo    6770:        :bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:is=^R:\
                   6771:        :k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:k7=^^x:\
                   6772:        :k8=^^y:kb=^Y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:le=^Y:nd=^X:\
                   6773:        :nw=^M^Z:se=\200^^E:so=\200\200\200\200\200\036D:ta=^I:\
                   6774:        :te=^L:ti=^L^R:ue=^U:up=^W:us=^T:ve=^L:vs=^L^R:
1.1       deraadt  6775:
                   6776: #### Datamedia (dm)
                   6777: #
                   6778:
                   6779: cs10|colorscan|Datamedia Color Scan 10:\
                   6780:        :ms:\
                   6781:        :co#80:li#24:\
1.5       tholo    6782:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%02;%02H:cr=^M:\
                   6783:        :do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:kl=\E[D:\
                   6784:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
1.1       deraadt  6785:        :so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
                   6786: cs10-w|Datamedia Color Scan 10 with 132 columns:\
                   6787:        :co#132:\
                   6788:        :cm=\E[%i%02;%03H:tc=cs10:
                   6789:
1.2       deraadt  6790: # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
1.1       deraadt  6791: dm1520|dm1521|datamedia 1520:\
1.2       deraadt  6792:        :am:xn:\
                   6793:        :co#80:it#8:li#24:\
1.5       tholo    6794:        :bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
                   6795:        :kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:nd=^\:sf=^J:ta=^I:up=^_:
1.1       deraadt  6796: dm2500|datamedia2500|datamedia 2500:\
1.2       deraadt  6797:        :nc:\
1.1       deraadt  6798:        :co#80:li#24:\
                   6799:        :al=\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
                   6800:        :cm=\014%r%n%.%.:dc=\020\010\030\035:\
                   6801:        :dl=\020\032\030\035:dm=^P:do=^J:ed=^X^]:\
                   6802:        :ei=\377\377\030\035:ho=^B:ic=\020\034\030\035:im=^P:\
                   6803:        :le=^H:nd=^\:pc=\377:se=^X^]:sf=^J:so=^N:up=^Z:
                   6804: # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
1.2       deraadt  6805: # also, has a meta-key.
1.1       deraadt  6806: # From: <goldberger@su-csli.arpa>
                   6807: # (dmchat: ":MT:" changed to ":km:" -- esr)
                   6808: dmchat|dmchat version of datamedia 2500:\
                   6809:        :km:\
                   6810:        :al=1*\020\n\030\035\030\035:dl=2\020\032\030\035:tc=dm2500:
1.2       deraadt  6811: # (dm3025: ":MT:" changed to ":km:" -- esr)
1.1       deraadt  6812: dm3025|datamedia 3025a:\
1.2       deraadt  6813:        :km:\
                   6814:        :co#80:it#8:li#24:\
1.5       tholo    6815:        :al=\EP\n\EQ:bl=^G:cd=\EJ:ce=\EK:cl=\EM:cm=\EY%r%+ %+ :\
                   6816:        :cr=^M:dc=\010:dl=\EP\EA\EQ:dm=\EP:do=^J:ed=\EQ:ei=\EQ:\
                   6817:        :ho=\EH:im=\EP:ip=:is=\EQ\EU\EV:le=^H:nd=\EC:se=\EO0:sf=^J:\
                   6818:        :so=\EO1:ta=^I:up=\EA:
1.1       deraadt  6819: dm3045|datamedia 3045a:\
1.2       deraadt  6820:        :am:eo:km@:ul:xn:\
1.5       tholo    6821:        :al@:dc=\EB:dl@:dm@:ed@:ei=\EP:is=\EU\EV:k0=\Ey\r:k1=\Ep\r:\
                   6822:        :k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
                   6823:        :k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:ku=\EA:pc=\177:se@:so@:\
                   6824:        :tc=dm3025:
1.2       deraadt  6825: # Datamedia DT80 soft switches:
                   6826: # 1    0=Jump  1=Smooth
                   6827: #      Autorepeat      0=off  1=on
                   6828: #      Screen          0=Dark 1=light
                   6829: #      Cursor          0=u/l  1=block
                   6830: #
                   6831: # 2    Margin Bell     0=off  1=on
                   6832: #      Keyclick        0=off  1=on
                   6833: #      Ansi/VT52       0=VT52 1=Ansi
                   6834: #      Xon/Xoff        0=Off  1=On
                   6835: #
                   6836: # 3    Shift3          0=Hash 1=UK Pound
                   6837: #      Wrap            0=Off  1=On
                   6838: #      Newline         0=Off  1=On
                   6839: #      Interlace       0=Off  1=On
                   6840: #
                   6841: # 4    Parity          0=Odd  1=Even
                   6842: #      Parity          0=Off  1=On
                   6843: #      Bits/Char       0=7    1=8
                   6844: #      Power           0=60Hz 1=50Hz
                   6845: #
                   6846: # 5    Line Interface  0=EIA  1=Loop
                   6847: #      Aux Interface   0=EIA  1=Loop
                   6848: #      Local Copy      0=Off  1=On
                   6849: #      Spare
                   6850: #
                   6851: # 6    Aux Parity      0=Odd  1=Even
                   6852: #      Aux Parity      0=Off  1=On
                   6853: #      Aux Bits/Char   0=7    1=8
                   6854: #      CRT Saver       0=Off  1=On
1.1       deraadt  6855: # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
                   6856: dm80|dmdt80|dt80|datamedia dt80/1:\
                   6857:        :cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:do=^J:\
1.5       tholo    6858:        :ho=\E[H:me=\E[m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
                   6859:        :se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
                   6860:        :tc=vt100:
1.1       deraadt  6861: # except in 132 column mode, where it needs a little padding.
                   6862: # This is still less padding than the vt100, and you can always turn on
                   6863: # the ^S/^Q handshaking, so you can use vt100 flavors for things like
                   6864: # reverse video.
                   6865: dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode:\
                   6866:        :co#132:\
1.5       tholo    6867:        :cd=20\E[0J:ce=20\E[0K:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:\
                   6868:        :do=^J:up=5\E[A:\
                   6869:        :tc=dm80:
1.1       deraadt  6870: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1.5       tholo    6871: dt80-sas|Datamedia DT803/DTX for SAS usage:\
1.1       deraadt  6872:        :am:bw:\
                   6873:        :co#80:li#24:\
1.5       tholo    6874:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
1.1       deraadt  6875:        :ae=\EG:al=\EL:as=\EF:bl=^G:cd=^K:ce=^]:cl=^L:\
                   6876:        :cm=\E=%r%+ %+ :cr=^M:\
                   6877:        :..cs=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2:\
1.5       tholo    6878:        :ct=\E'0:dl=\EM:do=\EB:ff=^L:ho=^Y:is=\E)0\E<\EP\E'0\E$2:\
                   6879:        :kC=^L:kE=^]:kS=^K:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:me=^X:\
                   6880:        :mr=\E$2\004:nd=^\:pf=^O:po=^N:se=^X:sf=\EB:so=\E$2\004:\
                   6881:        :sr=\EI:st=\E'1:ta=^I:up=^_:
                   6882:
                   6883: # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
                   6884: # These aren't end-all Excel termcaps; but do insert/delete char/line
                   6885: # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
                   6886: # The naming convention has been bent somewhat, with the use of E? (where
                   6887: # E is for 'Excel') as # a name.  This was done to distinguish the entries
                   6888: # from the other Datamedias in use here, and yet to associate a model of
                   6889: # the Excel terminals with the regular datamedia terminals that share
                   6890: # major characteristics.
                   6891: excel62|excel64|datamedia Excel 62:\
                   6892:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
                   6893:        :k9=\EOy:kb=^H:kd=^J:kl=^H:\
                   6894:        :tc=dt80:
                   6895: excel62-w|excel64-w|datamedia Excel 62 in 132 char mode:\
                   6896:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
                   6897:        :k9=\EOy:kb=^H:kd=^J:kl=^H:\
                   6898:        :tc=dt80w:
                   6899: excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode:\
                   6900:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
                   6901:        :k9=\EOy:kb=^H:kd=^J:kl=^H:vb=\E[?5l\E[?5h:\
                   6902:        :tc=dt80:
1.1       deraadt  6903:
                   6904: #### Falco
                   6905: #
                   6906: #      Falco Data Products
                   6907: #      440 Potrero Avenue
                   6908: #      Sunnyvale, CA 940864-196
                   6909: #      Vox: (800)-325-2648
                   6910: #      Fax: (408)-745-7860
                   6911: #      Net: techsup@charm.sys.falco.com
                   6912: #
                   6913: # Current Falco models as of 1995 are generally ANSI-compatible and support
                   6914: # emulations of DEC VT-series, Wyse, and Televideo types.
                   6915:
1.2       deraadt  6916: # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
1.1       deraadt  6917: # This terminal was released around 1983 and was discontinued long ago.
1.5       tholo    6918: # The standout and underline highlights are the same.
1.1       deraadt  6919: falco|ts1|ts-1|falco ts-1:\
1.2       deraadt  6920:        :am:\
                   6921:        :co#80:it#8:li#24:\
1.5       tholo    6922:        :al=\EE:bl=^G:cd=\EY:ce=\ET\EG0\010:cl=\E*:cm=\E=%+ %+ :\
                   6923:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E3:\
                   6924:        :k0=^A0\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:me=\Eg0:nd=^L:\
                   6925:        :se=\Eg0:sf=^J:so=\Eg1:ta=^I:ue=\Eg0:up=^K:us=\Eg1:
1.1       deraadt  6926: falco-p|ts1p|ts-1p|falco ts-1 with paging option:\
1.2       deraadt  6927:        :am:da:db:mi:ms:ul:\
                   6928:        :co#80:it#8:li#24:\
1.5       tholo    6929:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET\EG0\010\Eg0:cl=\E*:\
                   6930:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=\E[B:ei=\Er:im=\Eq:\
                   6931:        :is=\EZ\E3\E_c:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   6932:        :le=^H:me=\Eg0:nd=\E[C:se=\Eg0:sf=^J:so=\Eg4:ta=^I:te=\E_b:\
                   6933:        :ti=\E_d:ue=\Eg0:up=\E[A:us=\Eg1:
1.2       deraadt  6934: # (ts100: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  6935: ts100|ts100-sp|falco ts100-sp:\
                   6936:        :am:mi:ms:xn:xo:\
                   6937:        :co#80:it#8:li#24:vt#3:\
1.5       tholo    6938:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   6939:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  6940:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   6941:        :ae=^O:al=\E~E:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
                   6942:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.5       tholo    6943:        :ct=\E[3g:dc=\E~W:dl=\E~R:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
                   6944:        :i1=\E~)\E~ea:ic=\E~Q:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   6945:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   6946:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   6947:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                   6948:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  6949:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   6950:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   6951:        :ue=\E[m:up=\E[A:us=\E[4m:
                   6952: ts100-ctxt|falco ts-100 saving context:\
                   6953:        :te=\E~_b:ti=\E~_d\E[2J:tc=ts100:
                   6954:
                   6955: #### Florida Computer Graphics
                   6956: #
                   6957:
1.2       deraadt  6958: # Florida Computer Graphics Beacon System, using terminal emulator program
                   6959: # "host.com", as provided by FCG.  This description is for an early release
1.5       tholo    6960: # of the "host" program.  Known bug: :cd: clears the whole screen, so it's
1.2       deraadt  6961: # commented out.
                   6962:
                   6963: # From: David Bryant <cbosg!djb> 1/7/83
1.1       deraadt  6964: beacon|FCG Beacon System:\
                   6965:        :am:da:db:\
                   6966:        :co#80:li#32:\
                   6967:        :al=\EE:bl=\ESTART\r\E37\r\EEND\r:ce=\ET:cl=\EZ:\
1.5       tholo    6968:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=\EH:ic=\EQ:\
                   6969:        :im=:le=^H:mb=\ESTART\r\E61\0541\r\EEND\r:\
1.1       deraadt  6970:        :me=\ESTART\r\E78\r\E70\0540\r\EEND\r:\
                   6971:        :mr=\ESTART\r\E59\0541\r\EEND\r:nd=\EV:\
                   6972:        :se=\ESTART\r\E70\0540\r\EEND\r:sf=^J:\
                   6973:        :so=\ESTART\r\E70\0546\r\EEND\r:\
                   6974:        :ti=\ESTART\r\E2\0540\r\E12\r\EEND\r:\
                   6975:        :ue=\ESTART\r\E60\0540\r\EEND\r:up=\EU:\
                   6976:        :us=\ESTART\r\E60\0541\r\EEND\r:
                   6977:
                   6978: #### Fluke
                   6979: #
                   6980:
                   6981: # The 1720a differences from ANSI: no auto margin, destructive
                   6982: # tabs, # of lines, funny highlighting and underlining
                   6983: f1720|f1720a|fluke 1720A:\
                   6984:        :xt:\
                   6985:        :co#80:li#16:sg#1:ug#1:\
1.5       tholo    6986:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   6987:        :do=\E[B:is=\E[H\E[2J:kd=^]:kl=^_:kr=^^:ku=^\:le=^H:me=\E[m:\
                   6988:        :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:\
                   6989:        :us=\E[4m:
1.1       deraadt  6990:
                   6991: #### Liberty Electronics (Freedom)
                   6992: #
                   6993: #      Liberty Electronics
                   6994: #      48089 Fremont Blvd
                   6995: #      Fremont CA 94538
                   6996: #      Vox: (510)-623-6000
                   6997: #      Fax: (510)-623-7021
                   6998:
                   6999: # From: <faletti@berkeley.edu>
1.5       tholo    7000: # (f100: added empty <acsc> to suppress a tic warning;
                   7001: # made this relative to adm+sgr -- note that <invis> isn't
                   7002: # known to work for f100 but does on the f110. --esr)
1.1       deraadt  7003: f100|freedom|freedom100|freedom model 100:\
                   7004:        :am:bw:hs:mi:ms:xo:\
                   7005:        :co#80:li#24:\
1.5       tholo    7006:        :ac=:ae=\E$:al=\EE:as=\E%:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
1.3       deraadt  7007:        :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:cv=\E[%+ :\
1.5       tholo    7008:        :dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
                   7009:        :ip=:is=\Eg\Ef\r\Ed:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   7010:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
                   7011:        :kB=\EI:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:\
                   7012:        :sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
                   7013:        :tc=adm+sgr:
1.1       deraadt  7014: f100-rv|freedom-rv|freedom 100 in reverse video:\
                   7015:        :is=\Eg\Ef\r\Eb:vb=\Ed\Eb:tc=f100:
                   7016: # The f110 and f200 have problems with vi(1).  They use the ^V
                   7017: # code for the down cursor key. When kcud1 is defined in terminfo
                   7018: # as ^V, the Control Character Quoting capability (^V in insert mode)
                   7019: # is lost! It cannot be remapped in vi because it is necessary to enter
                   7020: # a ^V to to quote the ^V that is being remapped!!!
                   7021: #
1.5       tholo    7022: # f110/f200 users will have to decide whether
1.1       deraadt  7023: # to lose the down cursor key or the quoting capability. We will opt
                   7024: # initially for leaving the quoting capability out, since use of VI
                   7025: # is not generally applicable to most interactive applications
1.5       tholo    7026: # (f110: added :ta:, :kh: & <kcbt> from f100 -- esr)
1.1       deraadt  7027: f110|freedom110|Liberty Freedom 110:\
1.2       deraadt  7028:        :bw@:es:\
                   7029:        :it#8:ws#80:\
1.5       tholo    7030:        :ae=\E%%:al=\EE:as=\E$:dl=\ER:do=^V:ds=\Ef\r:ei=\Er\EO:\
                   7031:        :im=\EO\Eq:ip@:is@:k0=^AI\r:k;@:kA=\EE:kC=^^:kD=\EW:kE=\ET:\
                   7032:        :kI=\EQ:kL=\ER:kS=\EY:mb=\EG2:md=\EG0:mh=\EG@:pf=\Ea:po=\E`:\
                   7033:        :so=\EG<:sr=\EJ:ts=\Ef:vb=\Eb\Ed:ve=\E.2:vi=\E.1:vs=\E.2:\
                   7034:        :tc=f100:
1.1       deraadt  7035: f110-14|Liberty Freedom 110 14inch:\
                   7036:        :dc@:tc=f110:
                   7037: f110-w|Liberty Freedom 110 - 132 cols:\
1.3       deraadt  7038:        :co#132:tc=f110:
1.1       deraadt  7039: f110-14w|Liberty Freedom 110 14in/132 cols:\
                   7040:        :co#132:\
                   7041:        :dc@:tc=f110:
1.5       tholo    7042: # (f200: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.1       deraadt  7043: f200|freedom200|Liberty Freedom 200:\
                   7044:        :am:es:hs:mi:ms:xo:\
                   7045:        :co#80:it#8:li#24:ws#80:\
1.5       tholo    7046:        :ac=:ae=\E%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
                   7047:        :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:cs=\Em0%+ %+ :ct=\E3:\
                   7048:        :cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=\Er:fs=^M:ho=^^:\
                   7049:        :im=\Eq:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   7050:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kC=^^:\
                   7051:        :kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:\
                   7052:        :ku=^K:le=^H:mb=\EG2:md=\EG0:mh=\EG@:nd=^L:pf=\Ea:po=\E`:\
                   7053:        :sf=^J:so=\EG<:sr=\EJ:st=\E1:ts=\Ef:up=^K:vb=\Eo\En:ve=\E.1:\
                   7054:        :vi=\E.0:vs=\E.1:\
                   7055:        :tc=adm+sgr:
1.1       deraadt  7056: f200-w|Liberty Freedom 200 - 132 cols:\
1.3       deraadt  7057:        :co#132:tc=f200:
1.5       tholo    7058: # The f200 has the ability to reprogram the down cursor key. The key is
                   7059: # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
                   7060: # so powering the terminal off and on will not cause the change to be lost.
1.1       deraadt  7061: f200vi|Liberty Freedom 200 for vi:\
1.2       deraadt  7062:        :kd=^J:vb=\Eb\Ed:tc=f200:
1.1       deraadt  7063: f200vi-w|Liberty Freedom 200 - 132 cols for vi:\
1.3       deraadt  7064:        :co#132:tc=f200vi:
1.1       deraadt  7065:
                   7066: #### GraphOn (go)
                   7067: #
                   7068: #      Graphon Corporation
                   7069: #      544 Division Street
                   7070: #      Campbell, CA 95008
                   7071: #      Vox: (408)-370-4080
                   7072: #      Fax: (408)-370-5047
                   7073: #      Net: troy@graphon.com (Troy Morrison)
                   7074: #
                   7075: #
                   7076: # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
                   7077: # including one odd hybrid that starts out life on power-up as a character
                   7078: # terminal, than can be switched to X graphics mode (driven over the serial
                   7079: # line) by an escape sequence.  No info on this beast yet.
1.2       deraadt  7080: # (go140: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7081: go140|graphon go-140:\
1.2       deraadt  7082:        :co#80:it#8:li#24:\
1.3       deraadt  7083:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=10\E[J:ce=\E[K:\
1.5       tholo    7084:        :cl=10\E[H\E[2J:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[M:ei=\E[4l:\
                   7085:        :if=/usr/share/tabset/vt100:im=\E[4h:\
1.1       deraadt  7086:        :is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
1.5       tholo    7087:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:\
                   7088:        :kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
                   7089:        :me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   7090:        :up=\E[A:us=\E[4m:
1.1       deraadt  7091: go140w|graphon go-140 in 132 column mode:\
1.2       deraadt  7092:        :am:\
1.1       deraadt  7093:        :co#132:\
                   7094:        :is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:tc=go140:
                   7095: # Hacked up vt200 termcap to handle GO-225/VT220
                   7096: # From: <edm@nwnexus.WA.COM>
1.2       deraadt  7097: # (go225: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7098: go225|go-225|Graphon 225:\
1.2       deraadt  7099:        :am:mi:xn:\
                   7100:        :co#80:it#8:li#25:vt#3:\
1.5       tholo    7101:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   7102:        :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:\
                   7103:        :ei=\E[4l:ho=\E[H:im=\E[4h:\
                   7104:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:k2=\EOQ:\
                   7105:        :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
                   7106:        :kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   7107:        :mr=\E[7m:nd=\E[C:r1=\E[!p\E[?7h\E[2;1;1#w:rc=\E8:\
1.3       deraadt  7108:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
                   7109:        :so=\E[7m:sr=\EM:ta=^I:te=\E[!p\E[?7h\E[2;1;1#w:\
                   7110:        :ti=\E[2;0#w\E[1;25r:ue=\E[24m:up=\E[A:us=\E[4m:
1.1       deraadt  7111:
                   7112: #### Harris (Beehive)
                   7113: #
                   7114: # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
                   7115: # Their terminal group is ancient history now (1995) though the parent
                   7116: # company is still in business.
                   7117: #
                   7118:
                   7119: # Beehive documentation is undated and marked Preliminary and has no figures
                   7120: # so we must have early Superbee2 (Model 600, according to phone conversation
                   7121: # with mfr.). It has proved reliable except for some missing padding
1.2       deraadt  7122: # (notably after \EK and <nl> at bottom of screen).
1.1       deraadt  7123: #
1.5       tholo    7124: # The key idea is that AEP mode is poison for :cm: & that US's in
1.1       deraadt  7125: # the local memory should be avoided like the plague. That means
                   7126: # that the 2048 character local buffer is used as 25 lines of 80
                   7127: # characters, period. No scrolling local memory, folks. It also
                   7128: # appears that we cannot use naked INS LINE feature since it uses
1.5       tholo    7129: # US. The sbi fakes :al: with an 80-space insert that may be too
1.1       deraadt  7130: # slow at low speeds; also spaces get converted to \040 which is
                   7131: # too long for some programs (not vi).  DEL LINE is ok but slow.
                   7132: #
1.2       deraadt  7133: # The <nl> string is designed for last line of screen ONLY; cup to
1.1       deraadt  7134: # 25th line corrects the motion inherent in scrolling to Page 1.
                   7135: #
                   7136: # There is one understood bug. It is that the screen appears to
1.5       tholo    7137: # pop to a new (blank) page after a :nw:, or leave a half-line
1.3       deraadt  7138: # ellipsis to a quad that is the extra 48 memory locations. The
1.1       deraadt  7139: # data received is dumped into memory but not displayed.  Not to
1.5       tholo    7140: # worry if :cm: is being used; the lines not displayed will be,
                   7141: # whenever the cursor is moved up there. Since :cm: is addressed
1.1       deraadt  7142: # relative to MEMORY of window, nothing is lost; but beware of
1.5       tholo    7143: # relative cursor motion (:up:,:do:,:nd:,:le:). Recommended,
1.2       deraadt  7144: # therefore, is setenv MORE -c .
1.1       deraadt  7145: #
                   7146: # WARNING: Not all features tested.
                   7147: #
                   7148: # Timings are assembled from 3 sources. Some timings may reflect
                   7149: # SB2/Model 300 that were used if more conservative.
                   7150: # Tested on a Model 600 at 1200 and 9600 bd.
                   7151: #
                   7152: # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
                   7153: # placed on the keyboard and useless because of AEP, is made
                   7154: # into a backspace key. In use ESC must be pressed twice (to send)
1.3       deraadt  7155: # and sending ^C must be prefixed by ESC to avoid that weird
1.1       deraadt  7156: # transmit mode associated with ENTER key.
                   7157: #
                   7158: # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
                   7159: # the screen, then it has dropped into ENTER mode; hit
                   7160: # RESET--ONLINE--!tset.
                   7161: #
                   7162: # As delivered this machine has a FATAL feature that will throw
                   7163: # it into that strange transmit state (SPOW) if the space bar is
                   7164: # hit after a CR is received, but before receiving a LF (or a
                   7165: # few others).
                   7166: #
                   7167: # The circuits MUST be modified to eliminate the SPOW latch.
                   7168: # This is done by strapping on chip A46 of the I/O board; cut
                   7169: # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
                   7170: # chip. This mod has been checked out on a Mod 600 of Superbee II.
                   7171: # With this modification absurdly high timings on cr are
                   7172: # unnecessary.
                   7173: #
                   7174: # NOTE WELL that the rear panel switch should be set to CR/LF,
                   7175: # not AEP!
                   7176: #
                   7177: sb1|beehive superbee:\
                   7178:        :am:bw:da:db:mi:ul:xb:\
                   7179:        :co#80:li#25:sg#1:ug#1:\
                   7180:        :al=\EN\EL\EQ                                                                                \EP \EO\ER\EA:\
1.5       tholo    7181:        :bl=^G:bt=\E`:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%03%03:cr=\r:\
                   7182:        :ct=\E3:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\EH:im=\EQ\EO:\
                   7183:        :is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:k1=\Ep:k2=\Eq:k3=\Er:\
                   7184:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\E1:kE=\EK:kI=\EQ\EO:\
                   7185:        :kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   7186:        :ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:me=\E_3:nd=\EC:\
                   7187:        :se=\E_3:sf=^J:so=\E_1:st=\E1:ta=^I:ti=\EO:ue=\E_3:up=\EA:\
                   7188:        :us=\E_0:
1.1       deraadt  7189: sbi|superbee|beehive superbee at Indiana U.:\
                   7190:        :xb:\
                   7191:        :al=1\EN\EL\EQ \EP \EO\ER\EA:cr=\r:tc=sb1:
                   7192: # Alternate (older) description of Superbee - f1=escape, f2=^C.
                   7193: # Note: there are at least 3 kinds of superbees in the world.  The sb1
                   7194: # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
                   7195: # The sb3 puts garbage on the bottom of the screen when you scroll with
                   7196: # the switch in the back set to CRLF instead of AEP.  This description
                   7197: # is tested on the sb2 but should work on all with either switch setting.
1.5       tholo    7198: # The f1/f2 business is for the sb1 and the :xb: can be taken out for
1.1       deraadt  7199: # the other two if you want to try to hit that tiny escape key.
                   7200: # This description is tricky: being able to use cup depends on there being
1.2       deraadt  7201: # 2048 bytes of memory and the hairy <nl> string.
1.1       deraadt  7202: superbee-xsb|beehive super bee:\
1.2       deraadt  7203:        :am:da:db:xb:\
                   7204:        :co#80:it#8:li#25:\
1.5       tholo    7205:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%3%3:cr=\r:ct=\E3:dc=\EP:\
                   7206:        :dl=\EM:do=^J:ho=\EH:is=\EH\EJ:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:\
                   7207:        :k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   7208:        :ku=\EA:le=^H:me=\E_3:nd=\EC:se=\E_3:\
1.1       deraadt  7209:        :sf=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\
1.2       deraadt  7210:        :so=\E_1:st=\E1:ta=^I:up=\EA:ve=^J:
1.1       deraadt  7211: # This loses on lines > 80 chars long, use at your own risk
                   7212: superbeeic|super bee with insert char:\
                   7213:        :ei=\ER:ic=:im=\EQ:tc=superbee-xsb:
                   7214: sb2|sb3|fixed superbee:\
1.3       deraadt  7215:        :xb@:tc=superbee:
1.1       deraadt  7216:
                   7217: # Reports are that most of these Beehive entries (except superbee) have not
1.5       tholo    7218: # been tested and do not work right.  :se: is a trouble spot.  Be warned.
1.1       deraadt  7219:
1.5       tholo    7220: # (bee: :ic: was empty, which is obviously bogus -- esr)
1.1       deraadt  7221: beehive|bee|harris beehive:\
1.2       deraadt  7222:        :am:mi:\
1.1       deraadt  7223:        :co#80:li#24:\
1.5       tholo    7224:        :al=\EL:bt=\E>:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:\
                   7225:        :dl=\EM:do=\EB:ei=\E@:ho=\EH:im=\EQ:kA=\EL:kB=\E>:kC=\EE:\
                   7226:        :kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:kb=^H:kd=\EB:kh=\EH:\
                   7227:        :kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:se=\Ed@:so=\EdP:\
                   7228:        :ue=\Ed@:up=\EA:us=\Ed`:
1.1       deraadt  7229: # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
1.2       deraadt  7230: # good grief - does this entry make :sg:/:ug: when it doesn't have to?
1.5       tholo    7231: # look at those spaces in :se:/:so:.  Seems strange to me...
                   7232: # (beehive: :if=/usr/share/tabset/beehive: removed, no such file.  If you
                   7233: # really care, cook up one using ^F -- esr)
1.2       deraadt  7234: beehive3|bh3m|beehiveIIIm|harris beehive 3m:\
                   7235:        :am:\
                   7236:        :co#80:it#8:li#20:\
1.5       tholo    7237:        :al=\023:bl=^G:cd=^R:ce=^P:cl=^E^R:cr=^M:dl=\021:do=^J:ho=^E:\
                   7238:        :le=^H:ll=^E^K:nd=^L:se= ^_:sf=^J:so=^] :st=^F:ta=^I:up=^K:
1.1       deraadt  7239: beehive4|bh4|beehive 4:\
                   7240:        :am:\
                   7241:        :co#80:li#24:\
1.5       tholo    7242:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cr=^M:do=^J:ho=\EH:le=\ED:nd=\EC:\
                   7243:        :sf=^J:up=\EA:
1.1       deraadt  7244: microb|microbee|micro bee series:\
1.2       deraadt  7245:        :am:\
                   7246:        :co#80:it#8:li#24:\
1.5       tholo    7247:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :cr=^M:do=^J:k1=\Ep:\
                   7248:        :k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
                   7249:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:\
                   7250:        :se=\Ed@:sf=^J:so= \EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
1.1       deraadt  7251:
                   7252: # 8675, 8686, and bee from Cyrus Rahman
                   7253: # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
                   7254: ha8675|harris 8675:\
1.3       deraadt  7255:        :F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:\
1.5       tholo    7256:        :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:k1=^F:k2=^P:k3=^N:\
                   7257:        :k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k;=\Ed:\
                   7258:        :tc=bee:
1.1       deraadt  7259: # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
                   7260: # in :is: -- esr)
                   7261: ha8686|harris 8686:\
1.3       deraadt  7262:        :F1=\EW:F2=\002\E{\003:F3=\002\E|\003:F4=\002\E}\003:\
                   7263:        :F5=\002\E~\003:F6=\002\E\177\003:\
1.1       deraadt  7264:        :is=\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#:\
                   7265:        :k1=\002\Ep\003:k2=\002\Eq\003:k3=\002\Er\003:\
1.5       tholo    7266:        :k4=\002\Es\003:k5=\E3:k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k;=\Ej:tc=bee:
1.1       deraadt  7267:
                   7268: #### Hazeltine
                   7269: #
                   7270: # Hazeltine appears to be out of the business now (1995).  These guys were
                   7271: # co-owners of the Terminal Brain Damage Hall Of Fame along with Harris.
1.2       deraadt  7272: # They have a hazeltine.com domain and can be reached at:
                   7273: #
                   7274: #      Hazeltine
                   7275: #      450 East Pulaski Road
                   7276: #      Greenlawn, New York 11740
1.1       deraadt  7277: #
1.2       deraadt  7278: # As late as 1993, manuals for the terminal product line could still be
                   7279: # purchased from:
1.1       deraadt  7280: #
1.2       deraadt  7281: #      TRW Customer Service Division
                   7282: #      15 Law Drive
                   7283: #      P.O. Box 2076
                   7284: #      Fairfield, NJ 07007-2078
1.1       deraadt  7285: #
1.2       deraadt  7286:
1.5       tholo    7287: # Since :nd: is blank, when you want to erase something you
1.1       deraadt  7288: # are out of luck.  You will have to do ^L's a lot to
                   7289: # redraw the screen.  h1000 is untested.  It doesn't work in
                   7290: # vi - this terminal is too dumb for even vi.  (The code is
                   7291: # there but it isn't debugged for this case.)
1.3       deraadt  7292: hz1000|hazeltine 1000:\
1.1       deraadt  7293:        :co#80:li#12:\
                   7294:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^K:le=^H:nd= :sf=^J:
                   7295: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
1.3       deraadt  7296: hz1420|hazeltine 1420:\
1.2       deraadt  7297:        :am:\
1.1       deraadt  7298:        :co#80:li#24:\
1.5       tholo    7299:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%+ :\
                   7300:        :cr=^M:dl=\E^S:do=^J:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:ta=^N:\
                   7301:        :up=\E^L:
1.2       deraadt  7302: # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
                   7303: # freakout with out-of-range args and tn3270.  No hz since it needs to
                   7304: # receive tildes.
1.3       deraadt  7305: hz1500|hazeltine 1500:\
1.2       deraadt  7306:        :am:hz:\
1.1       deraadt  7307:        :co#80:li#24:\
                   7308:        :al=~\032:bl=^G:cd=~\030:ce=~^O:cl=~^\:\
1.5       tholo    7309:        :cm=~\021%r%>^^ %+`%+`:cr=^M:dl=~\023:do=~^K:ho=~^R:kd=^J:\
                   7310:        :kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:\
                   7311:        :up=~^L:
1.1       deraadt  7312: # h1510 assumed to be in sane escape mode.  Else use h1500.
1.5       tholo    7313: # (h1510: early versions of this entry apparently had ":se=\E^_:,
                   7314: # :so=\E^Y:, but these caps were commented out in 8.3; also,
1.2       deraadt  7315: # removed incorrect and overridden ":do=^J:" -- esr)
1.3       deraadt  7316: hz1510|hazeltine 1510:\
1.2       deraadt  7317:        :am:\
1.1       deraadt  7318:        :co#80:li#24:\
1.5       tholo    7319:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
                   7320:        :cr=^M:dl=\E^S:do=\E^K:le=^H:nd=^P:sf=^J:up=\E^L:
1.1       deraadt  7321: # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
1.3       deraadt  7322: hz1520|hazeltine 1520:\
1.2       deraadt  7323:        :am:hz:\
1.1       deraadt  7324:        :co#80:li#24:\
1.5       tholo    7325:        :al=~^Z:bl=^G:cd=~^X:ce=~^O:cl=~^\:cm=~\021%r%.%.:cr=^M:\
                   7326:        :dl=~^S:do=~^K:ho=~^R:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:up=~^L:
1.1       deraadt  7327: # Note: the h1552 appears to be the first Hazeltine terminal which
                   7328: # is not braindamaged.  It has tildes and backprimes and everything!
                   7329: # Be sure the auto lf/cr switch is set to cr.
1.3       deraadt  7330: hz1552|hazeltine 1552:\
1.5       tholo    7331:        :al=\EE:dl=\EO:do=^J:k1=\EP:k2=\EQ:k3=\ER:l1=blue:l2=red:\
                   7332:        :l3=green:\
                   7333:        :tc=vt52:
1.3       deraadt  7334: hz1552-rv|hazeltine 1552 reverse video:\
                   7335:        :do=^J:se=\ET:so=\ES:tc=hz1552:
1.1       deraadt  7336: # Note: h2000 won't work well because of a clash between upper case and ~'s.
1.3       deraadt  7337: hz2000|hazeltine 2000:\
1.2       deraadt  7338:        :am:nc:\
1.1       deraadt  7339:        :co#74:li#27:\
1.5       tholo    7340:        :al=~\032:bl=^G:cl=~\034:cm=~\021%r%.%.:dl=~\023:do=^J:\
                   7341:        :ho=~^R:le=^H:pc=\177:sf=^J:
1.1       deraadt  7342: # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
                   7343: # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
                   7344: # to work ok. There is one problem though if one types a lot of garbage
                   7345: # characters very fast vi seems not able to keep up and hangs while trying
                   7346: # to insert. That's in insert mode while trying to insert in the middle of
                   7347: # a line. It might be because the Esprit doesn't have insert char and delete
                   7348: # char as a built in function. Vi has to delete to end of line and then
                   7349: # redraw the rest of the line.
                   7350: esprit|Hazeltine Esprit I:\
                   7351:        :am:bw:\
                   7352:        :co#80:li#24:\
                   7353:        :al=\E^Z:bl=^G:bt=\E^T:cd=\E^W:ce=\E^O:cl=\E^\:\
1.5       tholo    7354:        :cm=\E\021%r%.%.:cr=^M:dl=\E^S:do=\E^K:ho=\E^R:is=\E?:\
                   7355:        :k0=^B0^J:k1=^B1^J:k2=^B2^J:k3=^B3^J:k4=^B4^J:k5=^B5^J:\
                   7356:        :k6=^B6^J:k7=^B7^J:k8=^B8^J:k9=^B9^J:kb=^H:kd=\E^K:ke=\E>:\
                   7357:        :kh=\E^R:kl=^H:kr=^P:ks=\E<:ku=\E^L:l0=0:l1=1:l2=2:l3=3:l4=4:\
                   7358:        :l5=5:l6=6:l7=7:l8=8:l9=9:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:\
                   7359:        :up=\E^L:
1.1       deraadt  7360: esprit-am|hazeltine esprit auto-margin:\
1.3       deraadt  7361:        :am:tc=esprit:
1.1       deraadt  7362:
                   7363: #### IBM
                   7364: #
                   7365:
                   7366: ibm327x|line mode IBM 3270 style:\
                   7367:        :gn:\
                   7368:        :ce=^M:cl=^M^J:ho=^M:
1.2       deraadt  7369:
                   7370: # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
1.1       deraadt  7371: # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
1.5       tholo    7372: # (ibm3101: :if=/usr/share/tabset/ibm3101: removed, no such file -- esr)
1.1       deraadt  7373: ibm3101|i3101|IBM 3101-10:\
1.2       deraadt  7374:        :am:xo:\
1.1       deraadt  7375:        :co#80:li#24:\
1.5       tholo    7376:        :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:ct=\E1:do=^J:\
                   7377:        :ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
1.1       deraadt  7378:        :nw=^M^J:sf=^J:st=\E0:ta=^I:up=\EA:
                   7379: #   Received from the IBM terminals division (given to DRB)
                   7380: #   June 1988 for PS/2 OS 2.2.3 cut
1.2       deraadt  7381: ibm3151|i3151|IBM 3151:\
1.1       deraadt  7382:        :me=\E4@:\
                   7383:        :..sa=\E4%{64}%?%p1%{0}%>%p1%{4}%<%&%t%{8}%|%;%?%p1%{7}%=%t%{16}%|%;%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c:\
1.5       tholo    7384:        :se=\E4@:so=\E4A:ue=\E4@:us=\E4B:\
                   7385:        :tc=ibm3163:
1.1       deraadt  7386: # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
1.2       deraadt  7387: # I've commented out or translated some IBM extensions.
1.1       deraadt  7388: ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display:\
                   7389:        :am:mi:ms:\
                   7390:        :co#80:it#8:li#24:\
1.3       deraadt  7391:        :F1=\Ek\r:F2=\El\r:F3=\E!a\r:F4=\E!b\r:F5=\E!c\r:\
                   7392:        :F6=\E!d\r:F7=\E!e\r:F8=\E!f\r:F9=\E!g\r:FA=\E!h\r:\
                   7393:        :FB=\E!i\r:FC=\E!j\r:FD=\E!k\r:FE=\E!l\r:\
                   7394:        :ac=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356:\
1.5       tholo    7395:        :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dc=\EQ:\
                   7396:        :dl=\EO:do=\EB:ho=\EH:k1=\Ea\r:k2=\Eb\r:k3=\Ec\r:k4=\Ed\r:\
                   7397:        :k5=\Ee\r:k6=\Ef\r:k7=\Eg\r:k8=\Eh\r:k9=\Ei\r:k;=\Ej\r:\
                   7398:        :kA=\EN:kB=\E2:kC=\EL\r:kD=\EQ:kE=\EI:kI=\EP \010:kL=\EO:\
                   7399:        :kS=\EJ:kT=\E0:ka=\E 1:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   7400:        :kt=\E1:ku=\EA:le=\ED:mb=\E4D:md=\E4H:me=\E4@\E<@:mk=\E4P:\
1.3       deraadt  7401:        :mr=\E4A:nd=\EC:\
1.1       deraadt  7402:        :..sa=\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<@%;:\
1.5       tholo    7403:        :se=\E4@:sf=^J:so=\E4A:te=\E>A:ti=\E>A:ue=\E4@:up=\EA:\
                   7404:        :us=\E4B:
1.1       deraadt  7405:
                   7406: # How the 3164 sgr string works:
                   7407: #      %{32}           # push space for no special video characteristics
                   7408: #      %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
                   7409: #      %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
                   7410: #      %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
                   7411: #      %c              # pop Pa1
                   7412: #      %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
                   7413: #      %c              # pop Pa2
                   7414: #      %{64}           # use only black background for now
                   7415: #      %c              # pop Pa3
1.2       deraadt  7416: ibm3164|i3164|IBM 3164:\
1.1       deraadt  7417:        :mb=\E4D:md=\E4H:me=\E4@:\
                   7418:        :..sa=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c:tc=ibm3163:
                   7419:
                   7420: ibmaed|IBM Experimental display:\
1.2       deraadt  7421:        :am:eo:ms:\
                   7422:        :co#80:it#8:li#52:\
1.5       tholo    7423:        :al=\EN:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
                   7424:        :do=\EB:ei=:ho=\EH:ic=\EP:im=:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
                   7425:        :ku=\EA:le=^H:me=\E0:nd=\EC:se=\E0:so=\E0:ta=^I:up=\EA:\
                   7426:        :vb=\EG:
1.1       deraadt  7427: ibm-apl|apl|IBM apl terminal simulator:\
1.3       deraadt  7428:        :li#25:tc=dm1520:
1.1       deraadt  7429: # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
                   7430: # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
                   7431: ibmmono|ibm5151|IBM workstation monochrome:\
1.2       deraadt  7432:        :es:hs:\
1.5       tholo    7433:        :al=\EL:dl=\EM:ds=\Ej\EY8 \EI\Ek:fs=\Ek:k0=\E<:k1=\ES:\
                   7434:        :k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
                   7435:        :kF=\EE:kI=\200:kN=\EE:kP=\Eg:kR=\EG:kb=^H:kh=\EH:l0=f10:\
                   7436:        :md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:se=\Ez:\
                   7437:        :so=\EZ:sr=\EA:ts=\Ej\EY8%+ \Eo:ue=\Ew:us=\EW:\
                   7438:        :tc=ibm3101:
1.2       deraadt  7439: ibmega|ibm5154|IBM Enhanced Color Display:\
                   7440:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmmono:
1.1       deraadt  7441: ibmega-c|ibm5154-c|IBM Enhanced Color Display:\
                   7442:        :se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:tc=ibmmono:
1.2       deraadt  7443: ibmvga-c|IBM VGA display color termcap:\
                   7444:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega-c:
                   7445: ibmvga|IBM VGA display:\
                   7446:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega:
1.1       deraadt  7447: # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
                   7448: rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display:\
                   7449:        :li#32:\
                   7450:        :ds=\Ej\EY@ \EI\Ek:ts=\Ej\EY@%+ \Eo:tc=ibmmono:
                   7451: # Advanced Monochrome (6153) and Color (6154) Graphics Display:
                   7452: ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display:\
                   7453:        :li#31:\
                   7454:        :ds=\Ej\EY? \EI\Ek:ts=\Ej\EY?%+ \Eo:tc=ibmmono:
                   7455: ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display:\
                   7456:        :li#31:\
                   7457:        :ds=\Ej\EY? \EI\Ek:mh=\EF\Ef7;:ts=\Ej\EY?%+ \Eo:tc=ibmega-c:
                   7458: # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
                   7459: # also in /usr/lpp/bos/bsdsysadmin.
                   7460: # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
                   7461: # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
                   7462: # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
1.2       deraadt  7463: # I also added <rmam>/<smam> based on the terminal reset string.
1.5       tholo    7464: # There was an unknown boolean ":ht:" which I assume was meant to set hardware
                   7465: # tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
                   7466: # like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
1.1       deraadt  7467: ibm8512|ibm8513|hft-c|IBM High Function Terminal:\
                   7468:        :am:mi:ms:\
                   7469:        :co#80:it#8:li#25:\
1.5       tholo    7470:        :AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:ac=:ae=^O:al=\E[L:\
                   7471:        :as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:dl=\E[M:\
                   7472:        :dm=\E[4h:do=^J:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:\
                   7473:        :im=\E[4h:is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:\
                   7474:        :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
                   7475:        :k7=\E[007q:k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:\
                   7476:        :le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   7477:        :r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
                   7478:        :so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
                   7479:        :us=\E[4m:
1.1       deraadt  7480: hft|AIWS High Function Terminal:\
                   7481:        :am:xo:\
                   7482:        :co#80:li#25:\
                   7483:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1.5       tholo    7484:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E6:ho=\E[H:\
                   7485:        :ic=\E[@:im=\E6:k1=\E[001q:k2=\E[002q:k3=\E[003q:\
                   7486:        :k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\
                   7487:        :k9=\E[009q:kN=\E[153q:kP=\E[159q:ka=\E[010q:kb=^H:\
                   7488:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                   7489:        :md=\E[1m:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:\
                   7490:        :so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.2       deraadt  7491: ibm-system1|system1|ibm system/1 computer:\
                   7492:        :am:xt:\
                   7493:        :co#80:li#24:\
1.5       tholo    7494:        :bl=^G:cl=^Z:cm=\005%+ %+ :ho=^K:le=^H:nd=^\:sf=^J:up=^^:
1.2       deraadt  7495:
1.1       deraadt  7496: # From: <pryor@math.berkeley.edu>
                   7497: ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display:\
                   7498:        :es:hs:\
                   7499:        :li#33:\
                   7500:        :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmmono:
                   7501: ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display:\
                   7502:        :es:hs:\
                   7503:        :li#33:\
                   7504:        :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmega-c:
1.2       deraadt  7505: ibm8514|IBM 8514 color display:\
                   7506:        :es:hs:\
                   7507:        :li#41:\
1.5       tholo    7508:        :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
                   7509:        :nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
                   7510:        :tc=ibmega:
1.2       deraadt  7511: ibm8514-c|IBM 8514 color display:\
                   7512:        :es:hs:\
                   7513:        :li#41:\
1.5       tholo    7514:        :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
                   7515:        :nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
                   7516:        :tc=ibmega-c:
1.2       deraadt  7517:
                   7518: #
                   7519: # AIX entries.  IBM ships these with AIX 3.
                   7520: # AIX extension caps are commented out,
                   7521: # except for box1 which has been translated to an <acsc> string.
                   7522: #
                   7523: aixterm-m|IBM AIXterm Monochrome Terminal Emulator:\
                   7524:        :es:hs:\
1.5       tholo    7525:        :ac=llqqkkxxjjmmwwuuvvttnn:ds=\E[?E:fs=\E[?F:md=\E[1m:\
                   7526:        :me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:\
1.2       deraadt  7527:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5       tholo    7528:        :sr@:ts=\E[?%p1%dT:\
                   7529:        :tc=ibm6153:
1.2       deraadt  7530: aixterm-m-old|IBM AIXterm Monochrome Terminal Emulator:\
                   7531:        :es:hs:\
                   7532:        :ds=\E[?E:fs=\E[?F:md=\E[1m:\
                   7533:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5       tholo    7534:        :sr@:ts=\E[?%p1%dT:\
                   7535:        :tc=ibm6153:
1.2       deraadt  7536: jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator:\
1.5       tholo    7537:        :ac@:\
                   7538:        :tc=aixterm-m:
1.1       deraadt  7539:
                   7540: #### Infoton/General Terminal Corp.
                   7541: #
                   7542:
                   7543: # gt100 sounds like something DEC would come out with.  Let's hope they don't.
                   7544: i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
1.2       deraadt  7545:        :am:\
1.1       deraadt  7546:        :co#80:li#24:\
1.5       tholo    7547:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\Ef%r%+ %+ :cr=^M:\
                   7548:        :dl=\EM:do=^J:ho=\EH:le=^H:nd=\EC:se=\Ea:sf=^J:so=\Eb:up=\EA:\
                   7549:        :vb=\Eb\Ea:
1.1       deraadt  7550: i400|infoton 400:\
1.2       deraadt  7551:        :am:\
1.1       deraadt  7552:        :co#80:li#25:\
                   7553:        :al=\E[L:bl=^G:ce=\E[N:cl=\E[2J:cm=%i\E[%3;%3H:cr=^M:\
                   7554:        :dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:dl=\E[M:do=^J:\
1.5       tholo    7555:        :ei=\E[4l\E[0Q:im=\E[4h\E[2Q:le=^H:nd=\E[C:sf=^J:up=\E[A:
1.1       deraadt  7556: # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
                   7557: addrinfo:\
                   7558:        :am:\
                   7559:        :co#80:li#24:\
1.5       tholo    7560:        :bl=^G:cd=^K:cl=^L:..cm=\037%p1%{1}%-%c%p2%{1}%-%c:cr=^M:\
                   7561:        :do=^J:ho=^H:le=^Z:ll=^H^\:nd=^Y:sf=^J:up=^\:
                   7562: # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
1.1       deraadt  7563: infoton:\
                   7564:        :am:\
                   7565:        :co#80:li#24:\
1.5       tholo    7566:        :bl=^G:cd=^K:cl=^L:cr=^M:do=^J:le=^Z:ll=^H^\:nd=^Y:sf=^J:\
                   7567:        :up=^\:
1.1       deraadt  7568:
                   7569: #### Interactive Systems Corp
                   7570: #
                   7571: # ISC used to sell OEMed and customized hardware to support ISC UNIX.
                   7572: # ISC UNIX still exists in 1995, but ISC itself is no more; they got
                   7573: # bought out by Sun.
                   7574: #
                   7575:
                   7576: # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
1.2       deraadt  7577: # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
1.1       deraadt  7578: # ":le=^_:" later overridden -- esr)
                   7579: intext|Interactive Systems Corporation modified owl 1200:\
                   7580:        :am:\
1.2       deraadt  7581:        :co#80:it#8:li#24:sg#1:\
1.1       deraadt  7582:        :al=\020:bl=^G:bt=^Y:cd=\026J:ce=^Kp^R:cl=\014:\
1.5       tholo    7583:        :cm=\017%+ %+ :cr=^M:dc=\022:dl=\021:do=^J:ei=^V<:im=^V;:\
                   7584:        :ip=:k0=^VJ\r:k1=^VA\r:k2=^VB\r:k3=^VC\r:k4=^VD\r:k5=^VE\r:\
                   7585:        :k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:kb=^H:kd=^J:ke=^V9:\
                   7586:        :kh=^Z:kl=^_:kr=^^:ks=\036\072\264\026%:ku=^\:le=^H:nd=^^:\
                   7587:        :se=^V# :sf=^J:so=^V$\054:ta=^I:up=^\:
1.1       deraadt  7588: intext2|intextii|INTERACTIVE modified owl 1251:\
                   7589:        :am:bw:ul:\
                   7590:        :co#80:li#24:sg#0:\
1.3       deraadt  7591:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:\
                   7592:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   7593:        :do=\E[B:ei=:ic=\E[@:im=:k0=\E@\r:k1=\EP\r:k2=\EQ\r:\
1.5       tholo    7594:        :k3=\ES\r:k4=\ET\r:k5=\EU\r:k6=\EV\r:k7=\EW\r:k8=\EX\r:\
                   7595:        :k9=\EY\r:kb=^H:kd=\EB\r:kh=\ER\r:kl=\ED\r:kr=\EC\r:\
                   7596:        :ku=\EA\r:l0=REFRSH:l1=DEL CH:l2=TABSET:l3=GOTO:l4=+PAGE:\
                   7597:        :l5=+SRCH:l6=-PAGE:l7=-SRCH:l8=LEFT:l9=RIGHT:nd=\E[C:\
                   7598:        :se=\E[2 D:sf=\E[S:so=\E[6 D:sr=\E[T:ta=^I:ue=\E[2 D:\
                   7599:        :up=\E[A:us=\E[18 D:\
1.2       deraadt  7600:        :vb=\E[;;;;;;;;;2;;u\E[;;;;;;;;;1;;u:
1.1       deraadt  7601:
                   7602: #### Kimtron (abm, kt)
                   7603: #
1.2       deraadt  7604: # Kimtron entries include (undocumented) codes for: enter dim mode,
                   7605: # enter bold mode, enter reverse mode, turn off all attributes.
                   7606: #
1.1       deraadt  7607:
                   7608: # Kimtron ABM 85 added by Dual Systems
1.2       deraadt  7609: # (abm85: removed duplicated ":kd=^J:" -- esr)
1.1       deraadt  7610: abm85|Kimtron ABM 85:\
1.2       deraadt  7611:        :am:bw:ms:\
                   7612:        :co#80:it#8:li#24:sg#1:ug#1:\
1.5       tholo    7613:        :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
                   7614:        :dl=\ER:do=^J:ei=\Er:if=/usr/share/tabset/stdcrt:im=\EQ:\
1.1       deraadt  7615:        :is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:kb=^H:kd=^J:kh=^^:\
1.5       tholo    7616:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\Ek:so=\Ej:ta=^I:ue=\Em:\
                   7617:        :up=^K:us=\El:
1.1       deraadt  7618: # Kimtron ABM 85H added by Dual Systems.
                   7619: # Some notes about the 85h entries:
1.2       deraadt  7620: # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
1.1       deraadt  7621: #    firmware revs prior to SP51
                   7622: # 2) Make sure to use 85h entry if the terminal is in 85H mode and the
                   7623: #    85e entry if it is in 920 emulation mode. They are incompatible in
1.5       tholo    7624: #    some places and NOT software settable i.e., :is: can't fix it)
1.1       deraadt  7625: # 3) In 85h mode, the arrow keys and special functions transmit when
                   7626: #    the terminal is in dup-edit, and work only locally in local-edit.
1.5       tholo    7627: #    Vi won't swallow `del char' for instance, but :ti: turns on
1.1       deraadt  7628: #    dup-edit anyway so that the arrow keys will work right. If the
1.5       tholo    7629: #    arrow keys don't work the way you like, change :ti:, :te:, and
                   7630: #    :is:.  Note that 920E mode does not have software commands to toggle
1.2       deraadt  7631: #    between dup and local edit, so you get whatever was set last on the
                   7632: #    terminal.
1.5       tholo    7633: # 4) :vb: attribute is nice, but seems too slow to work correctly
                   7634: #    (\Eb:pc:\Ed)
1.1       deraadt  7635: # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
1.2       deraadt  7636: #    are selected, the <xmc@> entry should be removed.
1.1       deraadt  7637: # 6) auto new-line should be on (selectable from setup mode only)
                   7638: #
                   7639: # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
1.2       deraadt  7640: abm85h|Kimtron ABM 85H native mode:\
1.1       deraadt  7641:        :hs:\
1.5       tholo    7642:        :sg@:\
1.2       deraadt  7643:        :bl=^G:ds=\Ee:fs=^M:im=\EZ:\
1.1       deraadt  7644:        :is=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El:\
1.5       tholo    7645:        :kd=^V:me=\E(\EG0:mh=\E):mk@:ts=\Eg\Ef:vb@:ve=\E.4:vs=\E.2:\
                   7646:        :tc=adm+sgr:tc=abm85:
1.2       deraadt  7647: abm85e|Kimtron ABM 85H in 920E mode:\
                   7648:        :sg@:\
                   7649:        :bl=^G:im=\EZ:\
1.1       deraadt  7650:        :is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em:\
1.5       tholo    7651:        :me=\E(\Ek:mh=\E):mr=\Ej:vb@:\
                   7652:        :tc=abm85:
1.2       deraadt  7653: abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.:\
                   7654:        :sg@:\
                   7655:        :bl=^G:im=\EZ:\
1.1       deraadt  7656:        :is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
1.5       tholo    7657:        :me=\E(\Ek:mh=\E):mr=\Ej:\
                   7658:        :tc=abm85:
1.1       deraadt  7659: # From: <malman@bbn-vax.arpa>
1.2       deraadt  7660: # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
1.1       deraadt  7661: kt7|kimtron model kt-7:\
1.2       deraadt  7662:        :am:\
                   7663:        :co#80:it#8:li#24:\
1.5       tholo    7664:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
                   7665:        :dl=\ER:do=^V:ei=:fs=\Eg:ho=^^:ic=\EQ:\
1.1       deraadt  7666:        :if=/usr/share/tabset/stdcrt:im=:is=\El\E":k0=^AI\r:\
1.5       tholo    7667:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   7668:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=^Z:kD=\EW:\
                   7669:        :kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:\
                   7670:        :ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\Ef:up=^K:\
                   7671:        :tc=adm+sgr:
1.1       deraadt  7672:
                   7673: #### Microterm (act, mime)
                   7674: #
                   7675: # The mime1 entries refer to the Microterm Mime I or Mime II.
                   7676: # The default mime is assumed to be in enhanced act iv mode.
                   7677: #
                   7678:
1.2       deraadt  7679: # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
1.5       tholo    7680: # freakout with out-of-range args on Sytek multiplexors.  No :so=^N: and
                   7681: # :se=^N: since  it gets confused and it's too dim anyway.  No :ic:
1.2       deraadt  7682: # since Sytek insists ^S means xoff.
1.1       deraadt  7683: # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
                   7684: act4|microterm|microterm act iv:\
1.2       deraadt  7685:        :am:\
1.1       deraadt  7686:        :co#80:li#24:\
                   7687:        :al=2.3*\001<2.3*/>:bl=^G:cd=2.2*\037:ce=.1*\036:\
                   7688:        :cl=12\014:cm=\024%+^X%>/0%+P:cr=^M:dc=.1*\004:\
1.5       tholo    7689:        :dl=2.3*\027:do=^K:ho=^]:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:\
                   7690:        :sf=^J:up=^Z:
1.1       deraadt  7691: # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
                   7692: # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
                   7693: # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
                   7694: act5|microterm5|microterm act v:\
                   7695:        :kd=^K:kl=^H:kr=^X:ku=^Z:sr=\EH:uc=^H\EA:tc=act4:
                   7696: # Mimes using brightness for standout.  Half bright is really dim unless
                   7697: # you turn up the brightness so far that lines show up on the screen.
                   7698: mime-fb|full bright mime1:\
                   7699:        :is=^S\E:se=^S:so=^Y:tc=mime:
                   7700: mime-hb|half bright mime1:\
                   7701:        :is=^Y\E:se=^Y:so=^S:tc=mime:
                   7702: # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
1.2       deraadt  7703: # the more plausible ":do=^J:" -- esr)
1.1       deraadt  7704: # uc was at one time disabled to get around a curses bug, be wary of it
                   7705: mime|mime1|mime2|mimei|mimeii|microterm mime1:\
1.2       deraadt  7706:        :am:\
1.1       deraadt  7707:        :co#80:it#8:li#24:vt#9:\
1.5       tholo    7708:        :al=\001:bl=^G:cd=^_:ce=^^:cl=^]^C:cm=\024%+^X%> 0%+P:\
                   7709:        :cr=^M:dl=\027:do=^J:ho=^]:is=^S\E^Q:kd=^K:kl=^H:kr=^X:ku=^Z:\
                   7710:        :le=^H:nd=^X:sf=^J:sr=\022:ta=\011:uc=^U:up=^Z:
1.1       deraadt  7711: # These termcaps (for mime 2a) put the terminal in low intensity mode
                   7712: # since high intensity mode is so obnoxious.
                   7713: mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
1.2       deraadt  7714:        :am:\
1.1       deraadt  7715:        :co#80:li#24:\
1.5       tholo    7716:        :al=\001:bl=^G:cd=\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :cr=^M:\
                   7717:        :dc=\ED:dl=\027:do=^J:ei=^Z:ho=^^:im=\EE:ip=:is=\E):kd=^J:\
                   7718:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\E;:sf=^J:so=\E\072:sr=\EI:\
                   7719:        :ue=\E7:up=\EI:us=\E6:
1.1       deraadt  7720: # This is the preferred mode (but ^X can't be used as a kill character)
                   7721: mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
                   7722:        :co#80:it#8:li#24:\
1.5       tholo    7723:        :al=\001:bl=^G:cd=\EQ:ce=\EP:cl=\EL:cm=\EY%+ %+ :cr=^M:\
                   7724:        :dc=^N:dl=\027:do=^J:ei=^Z:ho=\EH:im=^O:ip=:is=^Y:kd=\EB:\
                   7725:        :kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E9:sf=^J:so=\E8:\
                   7726:        :sr=\EA:ta=^I:ue=\E5:up=\EA:us=\E4:
1.1       deraadt  7727: # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
                   7728: mime3a|mime1 emulating 3a:\
                   7729:        :am@:\
                   7730:        :kd=^K:kl=^H:kr=^X:ku=^Z:tc=adm3a:
                   7731: mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
                   7732:        :it#8:\
                   7733:        :al=\001:cd=^_:ce=^X:dl=\027:ta=\011:tc=mime3a:
                   7734: # Wed Mar  9 18:53:21 1983
                   7735: # We run our terminals at 2400 baud, so there might be some timing problems at
                   7736: # higher speeds. The major improvements in this model are the terminal now
                   7737: # scrolls down and insert mode works without redrawing the rest of the line
                   7738: # to the right of the cursor. This is done with a bit of a kludge using the
                   7739: # exit graphics mode to get out of insert, but it does not appear to hurt
                   7740: # anything when using vi at least. If you have some users using act4s with
                   7741: # programs that use curses and graphics mode this could be a problem.
                   7742: mime314|mm314|mime 314:\
                   7743:        :am:\
                   7744:        :co#80:li#24:\
1.5       tholo    7745:        :al=^A:cd=^_:ce=^^:cl=^L:cm=\024%.%.:dc=^D:dl=^W:ei=^V:ho=^]:\
                   7746:        :im=^S:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:ta=^I:up=^Z:
1.2       deraadt  7747: # Microterm mime 340 from University of Wisconsin
                   7748: mm340|mime340|mime 340:\
                   7749:        :co#80:li#24:\
                   7750:        :al=46\EU:cd=2*\037:ce=2.1\EL:cl=12\032:cm=\E=%+ %+ :\
1.5       tholo    7751:        :cr=^M:dc=2.1*\E#:dl=49.6\EV:do=^J:is=\E\054:kb=^H:kd=^J:\
                   7752:        :kl=^H:ku=^K:le=^H:nd=^L:nw=^M^J:sf=^J:ta=^I:up=^K:
1.2       deraadt  7753: # This came from University of Wisconsin marked "astro termcap for jooss".
                   7754: # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
                   7755: # also added <rmam>/<smam> based  on the init string -- esr)
                   7756: mt4520-rv|micro-term 4520 reverse video:\
                   7757:        :am:hs:ms:xn:xo:\
                   7758:        :co#80:it#8:li#24:ws#80:\
                   7759:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  7760:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5       tholo    7761:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   7762:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[g:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
                   7763:        :fs=\E[?5l\E[?5h:ho=\E[H:ic=\E[@:im=:\
1.2       deraadt  7764:        :is=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J:\
1.5       tholo    7765:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:\
                   7766:        :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:me=\E[m:\
1.3       deraadt  7767:        :nd=\E[C:nw=\EE:\
                   7768:        :r1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J:\
1.5       tholo    7769:        :rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[0m:\
                   7770:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[25;1H:ue=\E[24m:\
                   7771:        :up=\E[A:us=\E[4m:vb=\E[?5l\E[?5h:ve=\E[0V\E8:\
                   7772:        :vs=\E7\E[0U:
1.2       deraadt  7773:
1.1       deraadt  7774: # Fri Aug  5 08:11:57 1983
                   7775: # This entry works for the ergo 4000 with the following setups:
                   7776: # ansi,wraparound,newline disabled, xon/xoff disabled in both
                   7777: # setup a & c.
                   7778: #
                   7779: # WARNING!!! There are multiple versions of ERGO 4000 microcode
                   7780: # Be advised that very early versions DO NOT WORK RIGHT !!
                   7781: # Microterm does have a ROM exchange program- use it or lose big
1.2       deraadt  7782: # (ergo400: added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7783: ergo4000|microterm ergo 4000:\
                   7784:        :da:db:ms:\
                   7785:        :co#80:li#66:\
1.5       tholo    7786:        :AL=\E[1L:RA=\E[?7l:SA=\E[?7m:bl=^G:cd=\E[0J:ce=\E[0K:\
                   7787:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[1M:\
                   7788:        :do=\E[B:ei=\E[4l:im=\E[4h:\
1.1       deraadt  7789:        :is=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:\
1.5       tholo    7790:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E=:kl=\E[D:kr=\E[C:\
                   7791:        :ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:me=\E[m:\
                   7792:        :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:
1.1       deraadt  7793:
                   7794: #### NCR
                   7795: #
                   7796: # NCR's terminal group was merged with AT&T's when AT&T bought the company.
                   7797: # For what happened to that group, see the ADDS section.
                   7798: #
1.5       tholo    7799: # There is an NCR4103 terminal that's just a re-badged Wyse-50.
                   7800: #
1.1       deraadt  7801:
1.2       deraadt  7802: # NCR7900 DIP switches:
                   7803: #
                   7804: # Switch A:
                   7805: # 1-4 - Baud Rate
                   7806: # 5   - Parity (Odd/Even)
                   7807: # 6   - Don't Send or Do Send Spaces
                   7808: # 7   - Parity Enable
                   7809: # 8   - Stop Bits (One/Two)
                   7810: #
                   7811: # Switch B:
                   7812: # 1   - Upper/Lower Shift
                   7813: # 2   - Typewriter Shift
                   7814: # 3   - Half Duplex / Full Duplex
                   7815: # 4   - Light/Dark Background
                   7816: # 5-6 - Carriage Return Without / With Line Feed
                   7817: # 7   - Extended Mode
                   7818: # 8   - Suppress Keyboard Display
                   7819: #
                   7820: # Switch C:
                   7821: # 1   - End of line entry disabled/enabled
                   7822: # 2   - Conversational mode / (Local?) Mode
                   7823: # 3   - Control characters displayed / not displayed
                   7824: # 4   - (2-wire?) / 4-wire communications
                   7825: # 5   - RTS on and off for each character
                   7826: # 6   - (50Hz?) / 60 Hz
                   7827: # 7   - Exit after level zero diagnostics
                   7828: # 8   - RS-232 interface
                   7829: #
                   7830: # Switch D:
                   7831: # 1   - Reverse Channel (yes / no)
                   7832: # 2   - Manual answer (no / yes)
                   7833: # 3-4 - Cursor appearance
                   7834: # 5   - Communication Rate
                   7835: # 6   - Enable / Disable EXT turnoff
                   7836: # 7   - Enable / Disable CR turnoff
                   7837: # 8   - Enable / Disable backspace
                   7838: #
1.1       deraadt  7839: # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
                   7840: ncr7900i|7900i|ncr7900|7900|ncr 7900 model 1:\
                   7841:        :am:bw:ul:\
                   7842:        :co#80:li#24:sg#1:ug#1:\
                   7843:        :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\E1%r%.%.:cr=^M:do=^J:\
1.5       tholo    7844:        :is=\E0@\010\E3\E4\E7:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:\
                   7845:        :ll=^A:mb=\E0B:me=\E0@:mh=\E0A:mr=\E0P:nd=^F:pf=^T:po=^R:\
1.1       deraadt  7846:        :..sa=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c:\
                   7847:        :se=\E0@:sf=^J:so=\E0Q:ue=\E0@:up=^Z:us=\E0`:
                   7848: ncr7900iv|ncr 7900 model 4:\
                   7849:        :am:bw:es:hs:\
                   7850:        :co#80:li#24:\
1.5       tholo    7851:        :al=\E^N:bl=^G:cl=^L:cm=\013%+@\E\005%02:cr=^M:dl=\E^O:\
                   7852:        :do=^J:ds=\Ey1:fs=\Ek\Ey5:ho=\013@\E^E00:k1=\ES:k2=\ET:\
                   7853:        :k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:\
                   7854:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:\
                   7855:        :nw=^M^J:sf=^J:ts=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo:
1.1       deraadt  7856: ncr7901|7901|ncr 7901 model:\
                   7857:        :am:bw:ul:\
                   7858:        :co#80:li#24:\
1.5       tholo    7859:        :bl=^G:cd=\Ek:ce=\EK:ch=\020%+^J:cl=^L:cm=\EY%+ %+ :cr=^M:\
                   7860:        :cv=\013%+@:do=^J:is=\E4^O:kC=^L:kd=^J:kh=^H:kl=^U:kr=^F:\
                   7861:        :ku=^Z:le=^H:ll=^A:mb=\E0B:me=^O:mh=\E0A:mr=\E0P:nd=^F:pf=^T:\
                   7862:        :po=^R:\
1.1       deraadt  7863:        :..sa=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016:\
1.5       tholo    7864:        :se=^O:sf=^J:so=\E0Q\016:ue=^O:up=^Z:us=\E0`\016:ve=^X:\
                   7865:        :vi=^W:
1.1       deraadt  7866:
                   7867: #### Perkin-Elmer (Owl)
                   7868: #
                   7869: # These are official terminfo entries from within Perkin-Elmer.
                   7870: #
                   7871:
                   7872: bantam|pe550|pe6100|perkin elmer 550:\
                   7873:        :co#80:li#24:\
1.5       tholo    7874:        :bl=^G:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:do=^J:ho=\EH:\
                   7875:        :le=^H:ll=\EH\EA:nd=\EC:sf=^J:up=\EA:
1.1       deraadt  7876: fox|pe1100|perkin elmer 1100:\
                   7877:        :am:\
                   7878:        :co#80:li#24:\
                   7879:        :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :cr=^M:\
1.5       tholo    7880:        :ct=\E3:do=^J:ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=^J:st=\E1:\
                   7881:        :up=\EA:vb=\020\002\020\003:
1.1       deraadt  7882: owl|pe1200|perkin elmer 1200:\
                   7883:        :am:in:\
                   7884:        :co#80:li#24:\
1.5       tholo    7885:        :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :\
                   7886:        :cr=^M:ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:\
                   7887:        :k0=\ERJ:k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:\
                   7888:        :k7=\ERG:k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E!\200:\
                   7889:        :nd=\EC:se=\E!\200:sf=^J:so=\E!^H:st=\E1:up=\EA:\
                   7890:        :vb=\020\002\020\003:
1.1       deraadt  7891: pe1251|pe6300|pe6312|perkin elmer 1251:\
                   7892:        :am:\
                   7893:        :co#80:it#8:li#24:pb#300:sg#1:vt#8:\
1.5       tholo    7894:        :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:ct=\E3:\
                   7895:        :do=\EB:ho=\EH:k0=\ERA:k1=\ERB:k2=\ERC:k3=\ERD:k4=\ERE:\
                   7896:        :k5=\ERF:k6=\ERG:k7=\ERH:k8=\ERI:k9=\ERJ:k;=\ERK:le=\ED:\
                   7897:        :nd=\EC:sf=^J:st=\E1:up=\EA:
1.2       deraadt  7898: # (pe7000m: this had
                   7899: #      rmul=\E!\0, smul=\E!\040,
                   7900: # which is probably wrong, it collides with kf0
1.1       deraadt  7901: pe7000m|perkin elmer 7000 series monochrome monitor:\
                   7902:        :am:\
                   7903:        :co#80:li#24:\
1.5       tholo    7904:        :bl=^G:bt=\E!Y:cd=\EJ:ce=\EI:cl=\EK:cm=\ES%+ %+ :cr=^M:\
                   7905:        :do=\EB:ho=\EH:i1=\E!\200\EW  7o\Egf\ES7 :k0=\E!\200:\
                   7906:        :k1=\E!^A:k2=\E!^B:k3=\E!^C:k4=\E!^D:k5=\E!^E:k6=\E!^F:\
                   7907:        :k7=\E!^G:k8=\E!^H:k9=\E!^I:k;=\E!^J:kb=^H:kd=\E!U:kh=\E!S:\
                   7908:        :kl=\E!V:kr=\E!W:ku=\E!T:le=\ED:ll=\ES7 :nd=\EC:sf=^J:\
                   7909:        :sr=\ER:up=\EA:
1.1       deraadt  7910: pe7000c|perkin elmer 7000 series colour monitor:\
1.2       deraadt  7911:        :i1=\E!\200\EW  7o\Egf\Eb0\Ec7\ES7 :se=\Eb0:so=\Eb2:\
1.5       tholo    7912:        :ue=\E!\200:us=\E! :\
                   7913:        :tc=pe7000m:
1.1       deraadt  7914:
                   7915: #### Sperry Univac
                   7916: #
                   7917: # Sperry Univac has merged with Burroughs to form Unisys.
                   7918: #
                   7919:
                   7920: # This entry is for the Sperry UTS30 terminal running the TTY
                   7921: # utility under control of CP/M Plus 1R1. The functionality
                   7922: # provided is comparable to the DEC vt100.
1.2       deraadt  7923: # (uts30: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7924: uts30|sperry uts30 with cp/m@1R1:\
                   7925:        :am:bw:hs:\
                   7926:        :co#80:li#24:ws#40:\
                   7927:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  7928:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7m:SF=\E[%dB:\
1.5       tholo    7929:        :SR=\E[%dA:UP=\E[%dA:\
                   7930:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   7931:        :ae=\Ed:al=\EN:as=\EF:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
                   7932:        :cm=\E[%i%d;%dH:cr=^M:cs=\EU%+ %+ :dc=\EM:dl=\EL:do=\EB:\
                   7933:        :ei=:fs=^M:ho=\E[H:ic=\EO:im=:is=\E[U 7\E[24;1H:kb=^H:\
                   7934:        :kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:\
                   7935:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\EC:\
1.3       deraadt  7936:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\EX:\
1.5       tholo    7937:        :rf=/usr/share/tabset/vt100:sc=\EW:se=\E[m:sf=^J:\
                   7938:        :so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:up=\E[A:\
                   7939:        :us=\E[4m:ve=\ES:vi=\ER:
1.1       deraadt  7940:
                   7941: #### Tandem
                   7942: #
                   7943: # Tandem builds these things for use with its line of fault-tolerant
                   7944: # transaction-processing computers.  They aren't generally available
                   7945: # on the merchant market, and so are fairly uncommon.
                   7946: #
                   7947:
                   7948: tandem6510|adm3a repackaged by Tandem:\
                   7949:        :tc=adm3a:
                   7950:
                   7951: # A funny series of terminal that TANDEM uses.  The actual model numbers
                   7952: # have a fourth digit after 653 that designates minor variants.  These are
                   7953: # natively block-mode and rather ugly, but they have a character mode which
                   7954: # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
1.5       tholo    7955: # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
                   7956: # removed :if=/usr/share/tabset/tandem653:, no such file -- esr)
1.1       deraadt  7957: tandem653|t653x|Tandem 653x multipage terminal:\
1.2       deraadt  7958:        :am:da:db:hs:\
1.1       deraadt  7959:        :co#80:li#24:sg#1:ug#1:ws#64:\
1.5       tholo    7960:        :cd=\EJ:ce=\EK:cl=\EI:cm=\023%+ %+ :do=^J:ds=\Eo\r:fs=^M:\
                   7961:        :ho=\EH:le=^H:me=\E6 :nd=\EC:se=\E6 :sf=\ES:so=\E6$:sr=\ET:\
                   7962:        :ts=\Eo:ue=\E6 :up=\EA:us=\E60:
1.1       deraadt  7963:
                   7964: #### Tandy/Radio Shack
                   7965: #
                   7966: # Tandy has a line of VDTs distinct from its microcomputers.
                   7967: #
                   7968:
                   7969: dmterm|deskmate terminal:\
                   7970:        :am:bw:\
                   7971:        :co#80:li#24:\
1.5       tholo    7972:        :al=\EP:bl=^G:cd=\EJ:ce=\EK:cl=\Ej:cm=\EY%+ %+ :cr=^M:\
                   7973:        :dc=\ES:dl=\ER:do=\EB:ei=:ho=\EH:ic=\EQ:im=:k0=\E1:k1=\E2:\
                   7974:        :k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:k7=\E8:k8=\E9:k9=\E0:\
                   7975:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:\
                   7976:        :l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:ll=\EE:mk@:nd=\EC:\
                   7977:        :sf=\EX:ta=^I:ue@:up=\EA:us@:ve=\EG6:vi=\EG5:\
                   7978:        :tc=adm+sgr:
1.1       deraadt  7979: dt100|dt-100|Tandy DT-100 terminal:\
                   7980:        :xo:\
                   7981:        :co#80:li#24:sg#1:ug#1:\
1.3       deraadt  7982:        :ac=kkllmmjjnnwwvvttuuqqxx:ae=^O:al=\E[L:as=^N:bl=^G:\
1.5       tholo    7983:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:cr=^M:\
                   7984:        :cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:\
                   7985:        :im=:is=\E[?3l\E)0\E(B:k1=\E[?3i:k2=\E[2i:k3=\E[@:k4=\E[M:\
                   7986:        :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
                   7987:        :k;=\E[?5i:kN=\E[29~:kP=\E[28~:kd=\E[B:kh=\E[H:kl=\E[D:\
                   7988:        :kr=\E[C:ku=\E[A:l1=f1:l2=f2:l3=f3:l4=f4:l5=f5:l6=f6:l7=f7:\
                   7989:        :l8=f8:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
                   7990:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  7991: dt100w|dt-100w|Tandy DT-100 terminal (wide mode):\
1.3       deraadt  7992:        :co#132:tc=dt100:
1.1       deraadt  7993: dt110|Tandy DT-110 emulating ansi:\
                   7994:        :xo:\
                   7995:        :co#80:li#24:\
1.5       tholo    7996:        :@7=\E[K:ac=kkllmmjjnnwwvvuuttqqxx:ae=^O:al=\E[0L:as=^N:\
                   7997:        :bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:\
                   7998:        :cr=^M:cs=\E[%i%d;%dr:dc=\E[0P:dl=\E[0M:do=\E[0B:\
                   7999:        :eA=\E(B\E)0:ei=:ho=\E[H:ic=\E[0@:im=:is=\E[?3l\E)0\E(B:\
                   8000:        :k1=\E[1~:k2=\E[2~:k3=\E[3~:k4=\E[4~:k5=\E[5~:k6=\E[6~:\
                   8001:        :k7=\E[7~:k8=\E[8~:k9=\E[9~:k;=\E[10~:kI=\E[@:kN=\E[26~:\
                   8002:        :kP=\E[25~:kd=\E[B:kh=\E[G:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:\
                   8003:        :l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:\
                   8004:        :me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
1.2       deraadt  8005:        :ue=\E[m:up=\E[0A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  8006: pt210|TRS-80 PT-210 printing terminal:\
                   8007:        :hc:os:\
                   8008:        :co#80:\
                   8009:        :bl=^G:cr=^M:do=^J:sf=^J:
                   8010:
                   8011: #### Tektronix (tek)
                   8012: #
                   8013: # Tektronix tubes are graphics terminals.  Most of them use modified
                   8014: # oscilloscope technology incorporating a long-persistence green phosphor,
                   8015: # and support vector graphics on a main screen with an attached "dialogue
                   8016: # area" for interactive text.
                   8017: #
                   8018:
                   8019: tek|tek4012|4012|tektronix 4012:\
                   8020:        :os:\
                   8021:        :co#75:li#35:\
                   8022:        :bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E^O:le=^H:
1.5       tholo    8023: # (tek4013: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.1       deraadt  8024: tek4013|4013|tektronix 4013:\
1.5       tholo    8025:        :ac=:ae=\E^O:as=\E^N:tc=tek4012:
1.1       deraadt  8026: tek4014|4014|tektronix 4014:\
                   8027:        :co#81:li#38:\
                   8028:        :is=\E\017\E9:tc=tek4012:
1.5       tholo    8029: # (tek4015: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.1       deraadt  8030: tek4015|4015|tektronix 4015:\
1.5       tholo    8031:        :ac=:ae=\E^O:as=\E^N:tc=tek4014:
1.1       deraadt  8032: tek4014-sm|4014-sm|tektronix 4014 in small font:\
                   8033:        :co#121:li#58:\
                   8034:        :is=\E\017\E\072:tc=tek4014:
1.5       tholo    8035: # (tek4015-sm: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.1       deraadt  8036: tek4015-sm|4015-sm|tektronix 4015 in small font:\
1.5       tholo    8037:        :ac=:ae=\E^O:as=\E^N:\
                   8038:        :tc=tek4014-sm:
1.1       deraadt  8039: tek4023|4023|tex|tektronix 4023:\
                   8040:        :am:\
                   8041:        :co#80:li#24:vt#4:\
1.5       tholo    8042:        :bl=^G:cl=\E\014:cm=\034%r%+ %+ :cr=^M:do=^J:le=^H:nd=^I:\
                   8043:        :se=^_@:sf=^J:so=^_P:
1.1       deraadt  8044: # It is recommended that you run the 4025 at 4800 baud or less;
                   8045: # various bugs in the terminal appear at 9600.  It wedges at the
                   8046: # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
                   8047: # on keyboard don't work.  You have to hit BREAK twice to get
                   8048: # one break at any speed - this is a documented feature.
                   8049: # Can't use cursor motion because it's memory relative, and
                   8050: # because it only works in the workspace, not the monitor.
                   8051: # Same for home. Likewise, standout only works in the workspace.
                   8052: #
1.5       tholo    8053: # :ce: was commented out since vi and rogue seem to work better
1.1       deraadt  8054: # simulating it with lots of spaces!
                   8055: #
1.5       tholo    8056: # :al: and :AL: had 145ms of padding, but that slowed down vi's ^U
1.1       deraadt  8057: # and didn't seem necessary.
                   8058: #
                   8059: tek4024|tek4025|tek4027|tektronix 4024/4025/4027:\
                   8060:        :am:da:db:\
                   8061:        :co#80:it#8:li#34:lm#0:\
                   8062:        :AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
                   8063:        :DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
                   8064:        :UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
                   8065:        :cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
                   8066:        :dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
                   8067:        :is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
                   8068:        :ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
                   8069:        :ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
                   8070:        :le=^H:nd=\037rig\r:sf=^F^J:ta=^I:up=^K:
                   8071: tek4025-17|4025-17|4027-17|tek 4025 17 line window:\
1.3       deraadt  8072:        :li#17:tc=tek4025:
1.1       deraadt  8073: tek4025-17-ws|4025-17-ws|4025-17ws|4027-17ws|4027-17-ws|tek 4025 17 line window in workspace:\
                   8074:        :is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r:\
                   8075:        :se=\037att s\r:so=\037att e\r:te=\037mon h\r:\
1.5       tholo    8076:        :ti=\037wor h\r:\
                   8077:        :tc=tek4025-17:
1.1       deraadt  8078: tek4025-ex|tek4027-ex|tek 4025/4027 w/!:\
                   8079:        :is=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r:\
1.5       tholo    8080:        :te=\037com 33\r:ti=!com 31\r:\
                   8081:        :tc=tek4025:
1.1       deraadt  8082: # Tektronix 4025a
                   8083: # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
                   8084: # The following status modes are assumed for normal operation (replace the
                   8085: # initial "!" by whatever the current command character is):
                   8086: #      !COM 29                 # NOTE: changes command character to GS (^])
                   8087: #      ^]DUP
                   8088: #      ^]ECH R
                   8089: #      ^]EOL
                   8090: #      ^]RSS T
                   8091: #      ^]SNO N
                   8092: #      ^]STO 9 17 25 33 41 49 57 65 73
                   8093: # Other modes may be set according to communication requirements.
                   8094: # If the command character is inadvertently changed, termcap can't restore it.
                   8095: # Insert-character cannot be made to work on both top and bottom rows.
1.3       deraadt  8096: # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
1.1       deraadt  8097: # There also seems to be a problem with vertical motion, perhaps involving
                   8098: # delete/insert-line, following a typed carriage return.  This terminal sucks.
                   8099: # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1.2       deraadt  8100: # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
                   8101: # work any more. -- esr)
1.1       deraadt  8102: tek4025a|4025a|Tektronix 4025A:\
1.2       deraadt  8103:        :am:bw:da:db:xo:\
                   8104:        :co#80:it#8:li#34:\
1.1       deraadt  8105:        :CC=^]:DC=\035dch %d;:DL=\035dli %d;:DO=\035dow %d;:\
                   8106:        :LE=\035lef %d;:RI=\035rig %d;:SF=\035dow %d;:\
                   8107:        :UP=\035up %d;:al=\013\035ili;:bl=^G:bt=\035bac;:\
1.5       tholo    8108:        :ce=\035dch 80;:ch=\r\035rig %d;:cl=\035era;\n\035rup;:\
                   8109:        :cr=^M:ct=\035sto;:dc=\035dch;:dl=\035dli;:do=^J:le=^H:\
                   8110:        :nd=\035rig;:\
1.1       deraadt  8111:        :rs=!com 29\035del 0\035rss t\035buf\035buf n\035cle\035dis\035dup\035ech r\035eol\035era g\035for n\035pad 203\035pad 209\035sno n\035sto 9 17 25 33 41 49 57 65 73\035wor 0;:\
                   8112:        :sf=^J:ta=^I:up=^K:
                   8113: # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
                   8114: # Here's the command file that I use to get rogue to work on the 4025.
                   8115: # It should work with any program using the old curses (e.g. it better
                   8116: # not try to scroll, or cursor addressing won't work.  Also, you can't
                   8117: # see the cursor.)
                   8118: # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
                   8119: tek4025-cr|4025-cr|tek 4025 for curses and rogue:\
1.2       deraadt  8120:        :am:\
                   8121:        :co#80:it#8:li#33:\
1.1       deraadt  8122:        :cl=\037era;:cm=\037jum%i%d\054%d;:do=^F^J:\
                   8123:        :is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
1.2       deraadt  8124:        :le=^H:nd=\037rig;:sf=^F^J:ta=^I:te=\037wor 0:\
1.1       deraadt  8125:        :ti=\037wor 33h:up=^K:
                   8126: # next two lines commented out since curses only allows 128 chars, sigh.
                   8127: #      :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:\
                   8128: #      :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:
                   8129: tek4025ex|4025ex|4027ex|tek 4025 w/!:\
                   8130:        :is=\037com 33\r\n!sto 9\05417\05425\05433\05441\05449\05457\05465\05473\r:\
1.5       tholo    8131:        :te=\037com 33\r:ti=!com 31\r:\
                   8132:        :tc=tek4025:
1.1       deraadt  8133: tek4105|4105|tektronix 4105:\
                   8134:        :am:mi:ms:ul:xn:xt:\
                   8135:        :co#79:it#8:li#29:\
1.5       tholo    8136:        :ac=:ae=\E[m:al=\E[1L:as=\E[1m:bl=^G:bt=\E[Z:cd=\E[J:\
1.1       deraadt  8137:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=^M:ct=\E[1g:\
1.5       tholo    8138:        :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:i1=\E%!1\E[m:\
                   8139:        :im=\E[4h:is=\E%!1\E[?6141\E[m:kb=^H:kd=\E[1B:kl=\E[1D:\
                   8140:        :kr=\E[1C:ku=\E[1A:mb=\E[=3;<7m:md=\E[=7;<4m:\
                   8141:        :me=\E[=0;<1m:mh=\E[=1;<6m:mk=\E[=6;<5:mr=\E[=1;<3m:\
                   8142:        :nd=\E[1C:se=\E[=0;<1m:sf=\E[S:so=\E[=2;<3m:sr=\E[T:ta=^I:\
                   8143:        :ti=\E%!1\E[?6l\E[2J:ue=\E[=0;<1m:up=\E[1A:us=\E[=5;<2m:
1.1       deraadt  8144:
1.2       deraadt  8145: # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  8146: tek4105-30|4105-30|4015 emulating 30 line vt100:\
                   8147:        :am:mi:ms:xn:xo:\
                   8148:        :co#80:it#8:li#30:vt#3:\
1.5       tholo    8149:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   8150:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  8151:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.5       tholo    8152:        :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   8153:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
                   8154:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   8155:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   8156:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   8157:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                   8158:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  8159:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   8160:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   8161:        :ue=\E[m:up=\E[A:us=\E[4m:
                   8162:
                   8163: tek4107|tek4109|4107|4109|tektronix terminals 4107 4109:\
                   8164:        :am:mi:ms:ul:xn:xt:\
                   8165:        :co#79:it#8:li#29:\
1.5       tholo    8166:        :bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=^M:do=^J:kb=^H:\
                   8167:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:\
                   8168:        :md=\E%!1\E[1m\E%!0:me=\E%!1\E[m\E%!0:\
                   8169:        :mh=\E%!1\E[<0m\E%!0:mr=\E%!1\E[7m\E%0:nd=\EC:\
1.1       deraadt  8170:        :..sa=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0:\
                   8171:        :se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
                   8172:        :ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
                   8173:        :ve=\E%!0:vs=\E%!3:
                   8174: # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
                   8175: # see the note attached to tek4207.
                   8176: tek4207-s|Tektronix 4207 with sysline but no memory:\
                   8177:        :es:hs:\
                   8178:        :ds=\E7\E[?6l\E[2K\E[?6h\E8:fs=\E[?6h\E8:\
1.2       deraadt  8179:        :i1=\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:\
                   8180:        :is=\E7\E[?6l\E[2K\E[?6h\E8:\
1.1       deraadt  8181:        :ts=\E7\E[?6l\E[2K\E[;%i%df:tc=tek4107:
                   8182:
                   8183: # The 4110 series may be a wonderful graphics series, but they make the 4025
                   8184: # look good for screen editing.  In the dialog area, you can't move the cursor
                   8185: # off the bottom line.  Out of the dialog area, ^K moves it up, but there
                   8186: # is no way to scroll.
                   8187: #
                   8188: # Note that there is a floppy for free from Tek that makes the
                   8189: # 4112 emulate the vt52 (use the vt52 termcap). There is also
                   8190: # an expected enhancement that will use ANSI standard sequences.
                   8191: #
                   8192: # 4112 in non-dialog area pretending to scroll. It really wraps
                   8193: # but vi is said to work (more or less) in this mode.
                   8194: #
                   8195: # 'vi' works reasonably well with this entry.
                   8196: #
                   8197: otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series:\
                   8198:        :am:\
                   8199:        :co#80:li#34:\
                   8200:        :bl=^G:cl=\E^L:cr=^M:do=^J:le=^H:sf=^J:te=\EKA1\ELV1:\
                   8201:        :ti=\EKA0\ELV0\EMG0:up=^K:
                   8202: # The 4112 with the ANSI compatibility enhancement
                   8203: tek4112|tek4114|tektronix 4110 series:\
1.2       deraadt  8204:        :am:db:\
1.1       deraadt  8205:        :co#80:li#34:\
                   8206:        :al=\E[L:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:\
1.5       tholo    8207:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:im=:is=\E3!1:\
                   8208:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\E7\E[0;0H\E[M\E8:\
                   8209:        :so=\E[7m:sr=\E7\E[0;0H\E[L\E8:ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  8210: tek4112-nd|4112-nd|4112 not in dialog area:\
                   8211:        :ns:\
                   8212:        :up=^K:tc=tek4112:
                   8213: tek4112-5|4112-5|4112 in 5 line dialog area:\
1.3       deraadt  8214:        :li#5:tc=tek4112:
1.5       tholo    8215: # (tek4113: this used to have ":nd=\LM1\s\LM0:", someone's mistake;
                   8216: # removed ":as=\E^N:, :ae=\E^O:", which had been commented out in 8.3.
                   8217: # Note, the !0 and !1 sequences in :te:/:ti:/:ve:/:vi: were
1.2       deraadt  8218: # previously \0410 and \0411 sequences...I don't *think* they were supposed
                   8219: # to be 4-digit octal -- esr)
                   8220: tek4113|tektronix 4113 color graphics with 5 line dialog area:\
                   8221:        :am:da:eo:\
1.1       deraadt  8222:        :co#80:li#5:\
                   8223:        :cl=\ELZ:do=^J:is=\EKA1\ELL5\ELV0\ELV1:le=^H:\
                   8224:        :nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\
                   8225:        :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:
1.2       deraadt  8226: tek4113-34|4113-34|tektronix 4113 color graphics with 34 line dialog area:\
1.1       deraadt  8227:        :li#34:\
                   8228:        :is=\EKA1\ELLB2\ELV0\ELV1:tc=tek4113:
                   8229: # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
                   8230: # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
                   8231: # :vb: needs enough delay to let you see the background color being toggled.
1.2       deraadt  8232: tek4113-nd|4113-nd|tektronix 4113 color graphics with no dialog area:\
                   8233:        :am:eo:\
                   8234:        :co#80:it#8:li#34:\
1.5       tholo    8235:        :cl=\E^L:do=^J:ho=\ELF7l\177 @:is=\ELZ\EKA0\ELF7l\177 @:\
                   8236:        :le=^H:ll=\ELF hl @:nd=^I:se=\EMT1:so=\EMT2:ta=^I:\
                   8237:        :uc=\010\EMG1_\EMG0:up=^K:\
1.1       deraadt  8238:        :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
                   8239:        :vs=\ELZ\EKA0:
                   8240: # This entry is from Tek. Inc.  (Brian Biehl)
1.2       deraadt  8241: # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
1.1       deraadt  8242: otek4115|Tektronix 4115:\
1.2       deraadt  8243:        :am:bs:da:db:eo:\
                   8244:        :co#80:it#8:li#34:\
1.3       deraadt  8245:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   8246:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:\
1.5       tholo    8247:        :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
1.2       deraadt  8248:        :is=\E%!0\E%\014\ELV0\EKA1\ELBB2\ENU@=\ELLB2\ELM0\ELV1\EKYA?\E%!1\E[<1l\E[?7h\E[?8h\E[34;1H\E[34B\E[m:\
1.5       tholo    8249:        :kb=^H:ke=\E>:ks=\E=:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:\
                   8250:        :so=\E[7m:sr=\EM:ta=^I:te=\E%!0\ELBG8\E%!1\E[34;1H\E[J:\
                   8251:        :ti=\E%!0\ELBB2\E%!1:ue=\E[m:up=\E[A:us=\E[4m:\
1.1       deraadt  8252:        :ve=\E%!0\ELBG8\E%!1\E[34;1H:vs=\E%!0\ELBB2\E%!1:
                   8253: tek4115|newer tektronix 4115 entry with more ANSI capabilities:\
                   8254:        :am:xo:\
                   8255:        :co#80:li#34:\
                   8256:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.5       tholo    8257:        :RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:\
                   8258:        :bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
                   8259:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:cv=\E[%+^Ad:dc=\E[P:\
                   8260:        :dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:kh=\E[H:\
                   8261:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   8262:        :mk=\E[8m:mr=\E[7m:nd=\E[C:..rp=%p1%c\E[%p2%{1}%-%db:\
1.1       deraadt  8263:        :..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
                   8264:        :se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
                   8265:        :us=\E[4m:
                   8266: # The tek4125 emulates a vt100 incorrectly - the scrolling region
1.5       tholo    8267: # command is ignored.  The following entry replaces :cs: with the needed
                   8268: # :AL:, :AL:, and :im:; removes some cursor pad commands that the tek4125
1.1       deraadt  8269: # chokes on; and adds a lot of initialization for the tek dialog area.
                   8270: # Note that this entry uses all 34 lines and sets the cursor color to green.
                   8271: # Steve Jacobson 8/85
                   8272: # (tek4125: there were two "\!"s in the is that I replaced with "\E!" -- esr)
1.2       deraadt  8273: tek4125|tektronix 4125:\
1.1       deraadt  8274:        :li#34:\
                   8275:        :al=\E[1L:cs@:dl=\E[1M:im=\E1:\
                   8276:        :is=\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.5       tholo    8277:        :ks=\E=:rc@:sc@:\
                   8278:        :tc=vt100:
1.1       deraadt  8279:
                   8280: # From: <jcoker@ucbic>
1.2       deraadt  8281: # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
                   8282: # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
                   8283: # note that if jcoker wasn't confused you may be able to use this one. -- esr)
1.1       deraadt  8284: tek4207|Tektronix 4207 graphics terminal with memory:\
1.2       deraadt  8285:        :am:bw:mi:ul:xn:\
                   8286:        :co#80:it#8:li#32:\
1.1       deraadt  8287:        :al=3\E[L:bt=\E[Z:cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:\
                   8288:        :cm=\E[%i%d;%dH:dc=4\E[P:dl=3\E[M:do=^J:ei=:ho=\E[H:\
                   8289:        :ic=4\E[@:im=:\
                   8290:        :is=\E%!0\ELBP0\E%!1\E[H\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J:\
1.5       tholo    8291:        :kd=\ED:kh=\E[H:kl=\E[D:kr=\E[C:ku=\EM:le=^H:mb=\E[5m:\
                   8292:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:se=\E[m:so=\E[7m:ta=^I:\
                   8293:        :te=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f:ti=\E[?6l\E[H\E[J:\
                   8294:        :ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  8295:
                   8296: # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
1.5       tholo    8297: # (tek4404: There was a "\!" in :ti: that I replaced with "\E!".
1.2       deraadt  8298: # Tab had been given as \E2I,that must be the tab-set capability -- esr)
                   8299: tek4404|tektronix 4404:\
                   8300:        :co#80:it#8:li#32:\
1.5       tholo    8301:        :al=\E[1L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
                   8302:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=^J:ei=\E[4l:ho=\E[H:\
                   8303:        :im=\E[4h:kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:\
                   8304:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:rc=\E8:\
                   8305:        :sc=\E7:se=\E[27m:so=\E[7m:st=\E[2I:ta=^I:\
                   8306:        :te=\E[1;1H\E[0J\E[?6h\E[?1l:\
                   8307:        :ti=\E%\E!1\E[1;32r\E[?6l\E>:ue=\E[m:up=\E[A:us=\E[4m:
1.2       deraadt  8308: # Some unknown person wrote:
1.1       deraadt  8309: # I added the is string - straight Unix has ESC ; in the login
                   8310: # string which sets a ct8500 into monitor mode (aka 4025 snoopy
                   8311: # mode). The is string here cleans up a few things (but not
                   8312: # everything).
                   8313: ct8500|tektronix ct8500:\
                   8314:        :am:bw:da:db:\
                   8315:        :co#80:li#25:\
                   8316:        :al=\E^L:bl=^G:bt=\E^I:cd=\E^U:ce=\E^T:cl=\E^E:\
1.5       tholo    8317:        :cm=\E|%+ %+ :cr=^M:dc=\E^]:dl=\E^M:do=^J:ei=:ic=\E^\:im=:\
                   8318:        :is=\037\EZ\Ek:le=^H:me=\E :nd=\ES:se=\E :sf=^J:so=\E$:\
                   8319:        :sr=\E^A:ta=^I:ue=\E :up=\ER:us=\E!:
1.1       deraadt  8320:
                   8321: # Tektronix 4205 terminal.
                   8322: #
                   8323: # am is not defined because the wrap around occurs not when the char.
                   8324: # is placed in the 80'th column, but when we are attempting to type
1.2       deraadt  8325: # the 81'st character on the line.  (esr: hmm, this is like the vt100
                   8326: # version of xenl, perhaps am + xenl would work!)
1.1       deraadt  8327: #
                   8328: # Bold, dim, and standout are simulated by colors and thus not allowed
                   8329: # with colors.  The tektronix color table is mapped into the RGB color
                   8330: # table by setf/setb. All colors are reset to factory specifications by oc.
1.2       deraadt  8331: # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
1.1       deraadt  8332: # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
                   8333: # interval then maps into pre-defined value.
1.3       deraadt  8334: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  8335: tek4205|4205|tektronix 4205:\
1.3       deraadt  8336:        :cc:mi:ms:\
                   8337:        :Co#8:NC#49:co#80:it#8:li#30:pa#63:\
1.1       deraadt  8338:        :AL=\E[%dL:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
1.3       deraadt  8339:        :UP=\E[%dA:\
                   8340:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   8341:        :ae=^O:al=\E[1L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
                   8342:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[1g:\
                   8343:        :dc=\E[1P:dl=\E[1M:do=\E[B:eA=\E)0:ec=\E%dX:ei=\E[4l:\
1.5       tholo    8344:        :ho=\E[H:i1=\E%!0\ETM1\E%!1\E[m:im=\E[4h:k0=\EOA:k1=\EOB:\
                   8345:        :k2=\EOC:k3=\EOD:k4=\EP:k5=\EQ:k6=\ER:k7=\ES:kb=^H:kd=\E[B:\
                   8346:        :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[=7;<4m:\
                   8347:        :me=\E[=0;<1m\E[24;25;27m\017:mh=\E[=1;<6m:mk=\E[=6;<5:\
                   8348:        :mr=\E[7m:nd=\E[C:\
1.3       deraadt  8349:        :oc=\E%!0\n\ETFB0\n0000\n1F4F4F4\n2F400\n30F40\n4A4C<F4\n50F4F4\n6F40F4\n7F4F40\n\E%!1:\
1.5       tholo    8350:        :op=\E[39;40m:se=\E[=0;<1m:sf=\ED:so=\E[=2;<3m:sr=\EM:\
                   8351:        :ta=^I:ti=\E%%!1\E[?6l\E[2J:ue=\E[24m:up=\E[A:us=\E[4m:
1.1       deraadt  8352:
                   8353: #### Teletype (tty)
                   8354: #
                   8355: # These are the hardcopy Teletypes from before AT&T bought the company,
                   8356: # clattering electromechanical dinosaurs in Bakelite cases that printed on
                   8357: # pulpy yellow roll paper.  If you remember these you go back a ways.
                   8358: # Teletype-branded VDTs are listed in the AT&T section.
                   8359: #
                   8360: # The earliest UNIXes were designed to use these clunkers; nroff and a few
                   8361: # other programs still default to emitting codes for the Model 37.
                   8362: #
                   8363:
1.2       deraadt  8364: tty33|tty35|model 33 or 35 teletype:\
1.1       deraadt  8365:        :hc:os:xo:\
                   8366:        :co#72:\
                   8367:        :bl=^G:cr=^M:do=^J:sf=^J:
                   8368: tty37|model 37 teletype:\
1.2       deraadt  8369:        :hc:os:xo:\
1.1       deraadt  8370:        :bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
                   8371:
                   8372: # There are known to be at least three flavors of the tty40, all seem more
                   8373: # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
                   8374: # awful braindamage, such as printing a visible newline indicator after each
                   8375: # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
                   8376: # braindamaged but has hope and is described here.  The 40-4 is a 3270
                   8377: # lookalike and beyond hope.  The terminal has visible bell but I don't know
                   8378: # it - it's null here to prevent it from showing the BL character.
1.2       deraadt  8379: # There is an \EG in <nl> because of a bug in old vi (if stty says you have
1.1       deraadt  8380: # a "newline" style terminal (-crmode) vi figures all it needs is nl
1.5       tholo    8381: # to get crlf, even if :cr: is not ^M.)
1.1       deraadt  8382: # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
                   8383: tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2:\
                   8384:        :xo:\
                   8385:        :co#80:li#24:\
1.5       tholo    8386:        :al=\EL:cd=\EJ:cl=\EH\EJ:cr=\EG:ct=\EH\E2:dc=\EP:dl=\EM:\
                   8387:        :do=\EB:ei=:ho=\EH:ic=\E^:im=:kb=^]:kl=^H:le=^H:nd=\EC:pf=^T:\
                   8388:        :po=\022:r2=\023\ER:se=\E4:sf=\ES:so=\E3:sr=\ET:st=\E1:\
                   8389:        :ta=\E@:up=\E7:
1.1       deraadt  8390: tty43|model 43 teletype:\
1.2       deraadt  8391:        :am:hc:os:xo:\
1.1       deraadt  8392:        :co#132:\
                   8393:        :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
                   8394:
                   8395: #### Tymshare
                   8396: #
                   8397:
1.5       tholo    8398: # You can add :is=\E<: to put this 40-column mode, though I can't
1.2       deraadt  8399: # for the life of me think why anyone would want to.
1.1       deraadt  8400: scanset|sc410|sc415|Tymshare Scan Set:\
                   8401:        :am:bw:ms:\
                   8402:        :co#80:li#24:\
1.5       tholo    8403:        :ac=l<m-k4j%q\\\054x5:ae=^O:as=^N:bl=^G:cd=\EJ:ce=\EK:\
                   8404:        :cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:kd=\EB:kl=\ED:\
                   8405:        :kr=\EC:ku=\EA:le=^H:nd=^I:pf=\E;0:po=\E;0:ps=\E;3:r1=\E>:\
                   8406:        :rc=^C:sc=^B:sf=^J:up=^K:
1.1       deraadt  8407:
                   8408: #### Volker-Craig (vc)
                   8409: #
1.5       tholo    8410: # If you saw a Byte Magazine cover with a terminal on it during the early
                   8411: # 1980s, it was probably one of these.  Carl Helmers liked them because
                   8412: # they could crank 19.2 and were cheap (that is, until he tried to program
                   8413: # one...)
                   8414: #
1.1       deraadt  8415:
                   8416: # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
                   8417: # every other linefeed.
                   8418: vc303|vc103|vc203|volker-craig 303:\
1.2       deraadt  8419:        :am:ns:\
1.1       deraadt  8420:        :co#80:li#24:\
1.5       tholo    8421:        :bl=^G:cl=\014:cr=^M:do=^J:ho=\013:kd=^J:kl=^H:kr=^I:ku=^N:\
                   8422:        :le=^H:ll=\017W:nd=^I:up=^N:
1.2       deraadt  8423: vc303a|vc403a|volker-craig 303a:\
1.5       tholo    8424:        :ce=\026:cl=\030:ho=\031:kr=^U:ku=^Z:ll=^P:nd=^U:up=^Z:tc=vc303:
1.1       deraadt  8425: # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
                   8426: vc404|volker-craig 404:\
1.2       deraadt  8427:        :am:\
1.1       deraadt  8428:        :co#80:li#24:\
1.5       tholo    8429:        :bl=^G:cd=\027:ce=\026:cl=\030:cm=\020%+ %+ :cr=^M:do=^J:\
                   8430:        :ho=\031:kd=^J:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:sf=^J:up=^Z:
1.1       deraadt  8431: vc404-s|volker-craig 404 w/standout mode:\
                   8432:        :do=^J:se=^O:so=^N:tc=vc404:
                   8433: # From: <wolfgang@cs.sfu.ca>
1.2       deraadt  8434: # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
1.1       deraadt  8435: vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
                   8436:        :am:bs:\
                   8437:        :co#80:li#24:\
1.5       tholo    8438:        :al=\E\032:cd=\E^X:ce=10\E\017:cl=\E\034:cm=\E\021%r%.%.:\
                   8439:        :dc=\E3:dl=\E\023:do=\E^K:ei=:ho=\E^R:ic=\E\072:im=:k0=\EA:\
                   8440:        :k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:k6=\EG:k7=\EH:kd=\E^K:\
                   8441:        :kh=\E^R:kl=^H:kr=^P:ku=\E^L:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
                   8442:        :l4=PF5:l5=PF6:l6=PF7:l7=PF8:nd=^P:se=\E^_:so=\E^Y:up=\E^L:
1.1       deraadt  8443: vc415|volker-craig 415:\
                   8444:        :cl=^L:tc=vc404:
                   8445:
                   8446: ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
                   8447: #
                   8448:
                   8449: #### IBM PC and clones
                   8450: #
                   8451:
                   8452: # The pcplot IBM-PC terminal emulation program is really messed up. It is
                   8453: # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
                   8454: # doesn't support scrolling regions, ignores add line commands, and ignores
                   8455: # delete line commands. Consequently, the resulting behavior looks like a
                   8456: # crude adm3a-type terminal.
                   8457: # Steve Jacobson 8/85
                   8458: pcplot|pc-plot terminal emulation program:\
                   8459:        :xn@:\
1.2       deraadt  8460:        :AL@:DL@:al@:cs@:dl@:rc@:sc@:tc=vt100:
1.1       deraadt  8461: # (kaypro: removed obsolete ":ma=^K^P:" -- esr)
                   8462: kaypro|kaypro2|kaypro II:\
1.2       deraadt  8463:        :am:\
1.1       deraadt  8464:        :co#80:li#24:\
1.5       tholo    8465:        :cl=1\032:cm=\E=%+ %+ :ho=^^:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
                   8466:        :nd=^L:up=^K:
1.1       deraadt  8467:
                   8468: # From IBM, Thu May  5 19:35:27 1983
                   8469: ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS):\
                   8470:        :am:\
                   8471:        :co#80:li#24:\
1.5       tholo    8472:        :bl=^G:cl=^L^K:cr=^M^^:do=^J:ho=^K:im=\200R:kd=^_:le=^]:\
                   8473:        :nd=^\:sf=\n:up=^^:
1.1       deraadt  8474:
                   8475: #### Apple
                   8476: #
                   8477:
                   8478: appleII|apple ii plus:\
1.2       deraadt  8479:        :am:\
                   8480:        :co#80:it#8:li#24:\
1.1       deraadt  8481:        :cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :do=^J:ho=\E^Y:\
1.5       tholo    8482:        :is=\024T1\016:kd=^J:kr=^U:le=^H:me=^N:nd=^\:se=^N:so=^O:\
1.2       deraadt  8483:        :ta=^I:up=^_:vb=\024G1\024T1:ve=^TC2:vs=^TC6:
1.1       deraadt  8484: # Originally by Gary Ford 21NOV83
                   8485: # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
                   8486: apple-80|apple II with smarterm 80 col:\
1.2       deraadt  8487:        :am:bw:\
1.1       deraadt  8488:        :co#80:li#24:\
1.5       tholo    8489:        :bt=^R:cd=10*\013:ce=10\035:cl=10*\014:cm=\036%r%+ %+ :\
                   8490:        :cr=10*\r:do=^J:ho=^Y:le=^H:nd=^\:up=^_:
1.1       deraadt  8491: apple-soroc|apple emulating soroc 120:\
                   8492:        :am:\
                   8493:        :co#80:li#24:\
1.5       tholo    8494:        :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
                   8495:        :kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  8496: # From Peter Harrison, Computer Graphics Lab, San Francisco
                   8497: #   ucbvax!ucsfmis!harrison  .....uucp
                   8498: #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
                   8499: # "These two work.  If you don't have the inverse video chip for the
1.5       tholo    8500: # Apple with videx then remove the :so: and :se: fields."
1.2       deraadt  8501: # (apple-videx: this used to be called DaleApple -- esr)
                   8502: apple-videx|Apple with videx videoterm 80 column board with inverse video:\
                   8503:        :am:xn:\
                   8504:        :co#80:it#8:li#24:\
1.5       tholo    8505:        :cd=^K:ce=^]:cl=300\014:cm=\036%r%+ %+ :do=^J:ho=^Y:kd=^J:\
                   8506:        :kh=^Y:kl=^H:kr=^U:le=^H:me=^Z2:nd=^\:se=^Z2:so=^Z3:ta=^I:\
                   8507:        :up=^_:
1.2       deraadt  8508: lisa|apple lisa console display (black on white):\
                   8509:        :am:eo:ms:\
                   8510:        :co#88:it#8:li#32:\
1.5       tholo    8511:        :ac=lfmekcjdttuvvuwsqax`nb:ae=\E[10m:al=\E[L:as=\E[11m:\
                   8512:        :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:\
                   8513:        :do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E>\E[m\014:kb=^H:\
                   8514:        :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
                   8515:        :se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:vi=\E[5h:\
                   8516:        :vs=\E[5l:
1.2       deraadt  8517: liswb|apple lisa console display (white on black):\
                   8518:        :is=\E>\E[0;7m\014:se=\E[0;7m:so=\E[m:ue=\E[0;7m:\
1.1       deraadt  8519:        :us=\E[4m:tc=lisa:
                   8520: mac|macintosh|Macintosh with MacTerminal:\
                   8521:        :xn:\
                   8522:        :dN#30:\
                   8523:        :al=20\E[L:dc=7\E[P:dl=20\E[M:ei=:ic=9\E[@:im=:ip=7:tc=vt100:
                   8524:
                   8525: #### Radio Shack/Tandy
                   8526: #
                   8527:
                   8528: # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
                   8529: # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
                   8530: # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
                   8531: coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
1.2       deraadt  8532:        :am:\
1.1       deraadt  8533:        :co#80:it#8:li#24:\
                   8534:        :al=^_0:bl=^G:cd=^K:ce=^D:cl=5*\014:cm=2\002%r%+ %+ :\
1.5       tholo    8535:        :dl=^_1:do=^J:ho=^A:kd=^J:kl=^H:kr=^I:ku=^L:le=^H:mb=^_":\
                   8536:        :md=\E\072^A:me=\037!\E\072\200:mr=^_ :nd=^F:se=^_!:\
                   8537:        :so=^_ :ue=^_#:up=^I:us=^_":ve=^E!:vi=^E :
1.2       deraadt  8538: # (trs2: removed obsolete ":nl=^_:" -- esr)
1.1       deraadt  8539: trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
1.2       deraadt  8540:        :am:ms:\
                   8541:        :co#80:it#8:li#24:\
1.5       tholo    8542:        :al=^D:bl=^G:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :cr=^M:dl=^K:\
                   8543:        :do=^_:ho=^F:kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:le=^H:me=^O:nd=^]:\
                   8544:        :se=^O:sf=^J:so=^N:ta=^I:up=^^:
1.1       deraadt  8545: # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
1.2       deraadt  8546: # (This had extension capabilities
1.1       deraadt  8547: #      :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
                   8548: #      :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
1.2       deraadt  8549: # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
1.1       deraadt  8550: trs16|trs-80 model 16 console:\
1.2       deraadt  8551:        :am:\
                   8552:        :co#80:it#8:li#24:\
1.5       tholo    8553:        :ac=l_mbk`javewcquxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:cd=\EJ:\
                   8554:        :ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EQ:dl=\EM:do=\EB:ei=:\
                   8555:        :ho=\EH:ic=\EP:im=:k0=^A:k1=^B:k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:\
                   8556:        :k7=^S:kb=^H:kd=\EB:kh=^W:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:\
                   8557:        :l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:le=^H:me=\ER@:nd=\EC:\
                   8558:        :pf=\E]+:po=\E]=:se=\ER@:sf=^J:so=\ERD:ta=^I:up=\EA:ve=\ERC:\
1.3       deraadt  8559:        :vi=\ERc:
1.1       deraadt  8560:
                   8561: #### Atari ST
                   8562: #
                   8563:
                   8564: # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
                   8565: atari|atari st:\
1.2       deraadt  8566:        :am:\
                   8567:        :co#80:it#8:li#25:\
1.5       tholo    8568:        :al=\EL:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :dl=\EM:do=\EB:\
                   8569:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:me=\Eq:nd=\EC:se=\Eq:\
                   8570:        :so=\Ep:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  8571: # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
                   8572: # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
1.2       deraadt  8573: uniterm|uniterm49|UniTerm VT220 emulator with 49 lines:\
1.1       deraadt  8574:        :li#49:\
                   8575:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:tc=vt220:
1.5       tholo    8576: # MiNT VT52 emulation. 80 columns, 25 rows.
                   8577: # MiNT is Now TOS, the operating system which comes with all Ataris now
                   8578: # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
                   8579: # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
                   8580: # From: Per Persson <pp@pfawww.pp.se>, 27 Feb 1996
                   8581: st52|Atari ST with VT52 emulation:\
                   8582:        :am:km:\
                   8583:        :co#80:li#25:\
                   8584:        :K1=\E#7:K2=\E#9:K3=\E#5:K4=\E#1:K5=\E#3:al=\EL:bl=^G:\
                   8585:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dl=\EM:do=\EB:\
                   8586:        :ho=\EH:k0=\E#D:k1=\E#;:k2=\E#<:k3=\E#=:k4=\E#>:k5=\E#?:\
                   8587:        :k6=\E#@:k7=\E#A:k8=\E#B:k9=\E#C:kA=\E#R:kC=\E#7:kF=\E#2:\
                   8588:        :kR=\E#8:kb=^H:kd=\E#P:kh=\E#G:kl=\E#K:kr=\E#M:ku=\E#H:\
                   8589:        :l0=f10:le=\ED:me=\Eq:nd=\EC:nw=^M^J:r1=\Ez_\Eb@\EcA:\
                   8590:        :rc=\Ek:sc=\Ej:se=\Eq:sf=^J:so=\Ep:sr=\EI:ta=^I:ti=\Ee:\
                   8591:        :up=\EA:ve=\Ee:vi=\Ef:
                   8592:
1.1       deraadt  8593: #### Commodore Business Machines
                   8594: #
                   8595: # Formerly located in West Chester, PA; went spectacularly bust in 1994
                   8596: # after years of shaky engineering and egregious mismanagement.  Made one
                   8597: # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
                   8598: # C-128, VIC-20).  The C-64 is said to have been the most popular machine
                   8599: # ever (most units sold); they can still be found gathering dust in closets
                   8600: # everywhere.
                   8601: #
                   8602:
                   8603: # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
                   8604: # Added a few more entries, converted caret-type control sequence (^x) entries
                   8605: # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
                   8606: #
                   8607: # :as:, :ae:                   Support for alternate character sets.
                   8608: # :ve=\E[\040p:vi=\E[\060\040p:        cursor visible/invisible.
                   8609: # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
                   8610: #     This one appears to fix a problem I always had with a line ending
                   8611: #     at 'width+1' (I think) followed by a blank line in vi. The blank
                   8612: #     line tended to disappear and reappear depending on how the screen
                   8613: #     was refreshed. Note that this is probably needed only if you use
                   8614: #     something like a Dnet Fterm with the window sized to some peculiar
                   8615: #     dimension larger than 80 columns.
                   8616: # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
1.5       tholo    8617: # (amiga: removed obsolete :kn#10:,
                   8618: # also added empty <acsc> to suppress a warning --esr)
1.3       deraadt  8619: amiga-old|Amiga ANSI:\
1.1       deraadt  8620:        :am:bs:bw:xn:\
                   8621:        :co#80:li#24:\
                   8622:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    8623:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:\
1.1       deraadt  8624:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
1.5       tholo    8625:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
                   8626:        :ho=\E[H:ic=\E[@:im=:is=\E[20l:k0=\E9~:k1=\E0~:k2=\E1~:\
                   8627:        :k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~:k9=\E8~:\
                   8628:        :kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\E[D:mb=\E[7;2m:\
                   8629:        :md=\E[1m:me=\E[m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
                   8630:        :r1=\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
                   8631:        :us=\E[4m:ve=\E[ p:vi=\E[0 p:
1.3       deraadt  8632:
                   8633: # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
1.5       tholo    8634: # (amiga: added empty <acsc> to suppress a warning --esr)
1.3       deraadt  8635: amiga|Amiga ANSI:\
                   8636:        :bw:ms:\
                   8637:        :co#80:li#24:\
1.5       tholo    8638:        :DC=\233%dP:DO=\233%dB:IC=\233%d@:LE=\233%dD:RI=\233%dC:\
                   8639:        :SF=\233%dS:SR=\233%dT:UP=\233%dA:ac=:ae=^O:as=^N:bl=^G:\
                   8640:        :bt=\233Z:cd=\233J:ce=\233K:cl=\233H\233J:\
                   8641:        :cm=\233%i%d;%dH:cr=^M:dc=\233P:do=\233B:ec=\233%dP:ei=:\
                   8642:        :ho=\233H:ic=\233@:im=:is=\23320l:k0=\2339~:k1=\2330~:\
                   8643:        :k2=\2331~:k3=\2332~:k4=\2333~:k5=\2334~:k6=\2335~:\
                   8644:        :k7=\2336~:k8=\2337~:k9=\2338~:kD=\177:kb=^H:kd=\233B:\
                   8645:        :kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
                   8646:        :md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
                   8647:        :nd=\233C:nw=\233B\r:r1=\Ec:se=\2330m:sf=\233S:so=\2337m:\
                   8648:        :sr=\233T:ta=^I:te=\233?7h:ti=\233?7l:ue=\2330m:up=\233A:\
                   8649:        :us=\2334m:vb=^G:ve=\233 p:vi=\2330 p:
                   8650:
                   8651: # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
                   8652: #      I'm trying to write a termcap for a commodore b-128, and I'm
                   8653: # having a little trouble. I've had to map most of my control characters
                   8654: # to something that unix will accept (my delete-char is a ctrl-t, etc),
                   8655: # and create some functions (like cm), but thats life.
                   8656: #      The problem is with the arrow keys - right, and up work fine, but
                   8657: # left deletes the previous character and down I just can't figure out.
                   8658: # Jove knows what I want, but I don't know what it's sending to me (it
                   8659: # isn't thats bound to next-line in jove).
                   8660: #      Anybody got any ideas? Here's my termcap.
                   8661: # DAG -- I changed his "^n" entries to "\n"; see if that works.
                   8662: #
                   8663: commodore|b-128|Commodore B-128 micro:\
                   8664:        :am:bw:\
                   8665:        :co#80:li#24:pb#150:\
                   8666:        :al=10\Ei:bl=^G:ce=10\Eq:cl=10\E\006:\
                   8667:        :cm=20\E\013%2\054%2\054:cr=^M:dc=10*\177:dl=10*\Ed:\
                   8668:        :do=^M:ei=:ho=\E^E:ic=5\E\n:im=:kb=^H:kd=^J:kh=\E^E:kl=^B:\
                   8669:        :kr=^F:ku=^P:le=^H:nd=^F:nw=^M^M:ta=5\011:up=^P:
                   8670:
                   8671: #### North Star
                   8672: #
                   8673: # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
                   8674: northstar|North Star Advantage:\
                   8675:        :co#80:li#24:\
                   8676:        :bl=^G:cd=200\017:ce=200\016:cl=200\004:cm=1\E=%+ %+ :\
                   8677:        :cr=^M:do=^J:ho=200\034\032:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:\
                   8678:        :sf=^J:ta=^I:
1.1       deraadt  8679:
                   8680: #### Osborne
                   8681: #
                   8682: # Thu Jul  7 03:55:16 1983
                   8683: #
                   8684: # As an aside, be careful; it may sound like an anomaly on the
                   8685: # Osborne, but with the 80-column upgrade, it's too easy to
                   8686: # enter lines >80 columns!
                   8687: #
                   8688: # I've already had several comments...
                   8689: # The Osborne-1 with the 80-col option is capable of being
1.2       deraadt  8690: # 52, 80, or 104 characters wide; default to 80 for compatibility
1.1       deraadt  8691: # with most systems.
                   8692: #
                   8693: # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
                   8694: ozzie|osborne|osborne1|osborne 1:\
                   8695:        :ms:ul:xt:\
                   8696:        :co#104:li#24:\
1.5       tholo    8697:        :al=\EE:bl=^G:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:\
                   8698:        :do=^J:ei=:ic=\EQ:im=:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
                   8699:        :se=\E(:sf=^J:so=\E):ue=\Em:up=^K:us=\El:
                   8700:
                   8701: #
                   8702: # Osborne Executive definition from BRL
                   8703: # Similar to tvi920
                   8704: # Added by David Milligan and Tom Smith (SMU)
                   8705: osexec|Osborne executive:\
                   8706:        :am:\
                   8707:        :co#80:li#24:sg#1:ug#1:\
                   8708:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
                   8709:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
                   8710:        :is=\Eq\Ek\Em\EA\Ex0:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
                   8711:        :k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:\
                   8712:        :kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:nw=^M^J:se=\Ek:\
                   8713:        :so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:
1.1       deraadt  8714:
1.2       deraadt  8715: #### Console types for obsolete UNIX clones
                   8716: #
                   8717: # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
                   8718: # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
1.5       tholo    8719: # were commercial, Minix an educational tool sold in conjunction with a book.
1.2       deraadt  8720: # Memory-segmentation limits and a strong tendency to look like V7 long after
                   8721: # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
                   8722: # and Minix were ported to 32-bit Intel boxes, only to be run over by a
                   8723: # steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
1.5       tholo    8724: # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
                   8725: # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
                   8726: # even as single processes under SunOS and the Macintosh OS.
1.1       deraadt  8727: #
                   8728:
1.2       deraadt  8729: minix|minix console:\
                   8730:        :co#80:it#8:li#25:\
1.5       tholo    8731:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   8732:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:cd=\E[0J:ce=\E[K:\
                   8733:        :cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   8734:        :do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[Y:k1=\E[V:k2=\E[U:\
                   8735:        :k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
                   8736:        :kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:\
                   8737:        :nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
                   8738:        :ue=\E[0m:up=\E[A:us=\E[4m:
                   8739:
                   8740: pc-minix|minix console on an Intel box:\
                   8741:        :tc=klone+acs:tc=minix:
1.2       deraadt  8742:
1.1       deraadt  8743: # According to the Coherent 2.3 manual, the PC console is similar
                   8744: # to a z19. The differences seem to be (1) 25 lines, (2) no status
                   8745: # line, (3) standout is broken, (4) ins/del line is broken, (5)
                   8746: # has blinking and bold.
                   8747: pc-coherent|pcz19|coherent|IBM PC console running Coherent:\
                   8748:        :am:mi:\
                   8749:        :co#80:it#8:li#25:\
1.5       tholo    8750:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:\
                   8751:        :do=\EB:ei=\EO:ho=\EH:im=\E@:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
                   8752:        :kr=\EC:ku=\EA:le=^H:me=\Eq:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
                   8753:        :sr=\EI:ta=^I:up=\EA:
1.1       deraadt  8754:
                   8755: # According to the Venix 1.1 manual, the PC console is similar
                   8756: # to a DEC vt52.  Differences seem to be (1) arrow keys send
                   8757: # different strings, (2) enhanced standout, (3) added insert/delete line.
1.2       deraadt  8758: # Note in particular that it doesn't have automatic margins.
1.5       tholo    8759: # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
                   8760: # not described here because this derives from an old termcap entry.
1.1       deraadt  8761: pc-venix|venix|IBM PC console running Venix:\
                   8762:        :co#80:it#8:li#25:\
1.5       tholo    8763:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
                   8764:        :dl=\EM:do=^J:kb=^H:kd=\EP:kh=\EG:kl=\EK:kr=\EM:ku=\EH:le=^H:\
                   8765:        :nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  8766:
                   8767: #### Miscellaneous microcomputer consoles
                   8768: #
                   8769: # If you know anything more about any of these, please tell me.
1.5       tholo    8770: #
1.1       deraadt  8771:
                   8772: # basis from Peter Harrison, Computer Graphics Lab, San Francisco
                   8773: #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
                   8774: # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
                   8775: basis|BASIS108 computer with terminal translation table active:\
1.5       tholo    8776:        :cd=\EY:ce=\ET:cl=300\E*:do=5000\n:kb=^H:kd=^J:kl=^H:kr=^L:\
                   8777:        :ku=^K:me=\E):se=\E):so=\E(:\
                   8778:        :tc=adm3a:
1.1       deraadt  8779: # luna's BMC terminal emulator
                   8780: luna|luna68k|LUNA68K Bitmap console:\
1.3       deraadt  8781:        :co#88:li#46:tc=ansi-mini:
1.1       deraadt  8782: megatek|pegasus workstation terminal emulator:\
                   8783:        :am:os:\
1.3       deraadt  8784:        :co#83:li#60:
1.2       deraadt  8785: # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
                   8786: # interface (pre-Macintosh by several years) that went nowhere.
1.1       deraadt  8787: xerox820|x820|Xerox 820:\
                   8788:        :am:\
                   8789:        :co#80:li#24:\
1.5       tholo    8790:        :bl=^G:cd=^Q:ce=^X:cl=1^Z:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
                   8791:        :le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  8792:
                   8793: #### Videotex and teletext
                   8794: #
                   8795:
                   8796: # standard-issue France Telecom minitel terminal (made by Philips)
1.5       tholo    8797: # (m2-nam: had unknown :zd=\E[1m:zb=\E[5m:zc=lkmjqxtuwvn:; also deleted
                   8798: # unnecessary :ug#0:sg#0: and added <acsc> to quiet tic. -- esr)
1.1       deraadt  8799: m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel:\
1.2       deraadt  8800:        :xn:\
1.1       deraadt  8801:        :co#80:it#8:li#24:\
1.5       tholo    8802:        :ac=:ae=\E(B:al=\E[L:as=\E(0:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   8803:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   8804:        :ip=7:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   8805:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:\
                   8806:        :nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   8807:        :up=\E[A:us=\E[4m:
1.1       deraadt  8808:
                   8809: ######## OBSOLETE VDT TYPES
                   8810: #
                   8811: # These terminals are *long* dead -- these entries are retained for
                   8812: # historical interest only.
                   8813:
                   8814: #### Amtek Business Machines
                   8815: #
                   8816:
                   8817: # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
                   8818: # but these caps were commented out in 8.3; also, removed overridden
                   8819: # ":do=^J:" -- esr)
                   8820: abm80|amtek business machines 80:\
1.2       deraadt  8821:        :am:bw:\
1.1       deraadt  8822:        :co#80:li#24:\
1.5       tholo    8823:        :al=\E^Z:bt=^T:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%+ %+ :\
                   8824:        :dl=\E^S:do=\E^K:ho=\E^R:le=^H:nd=^P:up=\E^L:
1.1       deraadt  8825:
                   8826: #### Bell Labs blit terminals
                   8827: #
1.2       deraadt  8828: # These were AT&T's official entries.  The 5620 FAQ maintained by
                   8829: # David Breneman <daveb@dgtl.com> has this to say:
                   8830: #
                   8831: #  Actually, in the beginning was the Jerq, and the Jerq was white with a
                   8832: #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
                   8833: #  was good.  But lo, upon the horizon loomed a mighty management-type person
                   8834: #  (known now only by the initials VP) who said, the mighty Jerq must stay
                   8835: #  alone, and could not go forth into the world. So Locanthi and Pike put the
                   8836: #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
                   8837: #  world. And the Jerq lived the rest of its days in research, but never
                   8838: #  strayed from those paths.
                   8839: #
                   8840: #  In all seriousness, the Blit was originally known as the Jerq, but when
                   8841: #  it started to be shown outside of the halls of the Bell Labs Research
                   8842: #  organization, the management powers that be decided that the name could
                   8843: #  not remain. So it was renamed to be Blit. This was in late 1981.
                   8844: #
                   8845: # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
                   8846: # 730, and 730+.)
1.1       deraadt  8847: #
                   8848:
                   8849: blit|jerq|blit running teletype rom:\
                   8850:        :am:eo:ul:xo:\
                   8851:        :co#87:it#8:li#72:\
1.5       tholo    8852:        :AL=\EF%+ :DC=\Ee%+ :DL=\EE%+ :IC=\Ef%+ :al=\EF!:bl=^G:\
                   8853:        :ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dc=\Ee!:dl=\EE!:do=^J:\
                   8854:        :ei=:ic=\Ef!:im=:k1=\Ex:k2=\Ey:k3=\Ez:kb=^H:kd=\EB:kl=\ED:\
                   8855:        :kr=\EC:ku=\EA:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:
1.1       deraadt  8856:
1.5       tholo    8857: # (cbblit: here's a BSD termcap that says :do=\EG: -- esr)
1.1       deraadt  8858: cbblit|fixterm|blit running columbus code:\
                   8859:        :co#88:\
1.5       tholo    8860:        :cd=\EJ:ei=\ER:ic@:im=\EQ:pO=\EP%03:pf=^T:po=^R:se=\EV!:\
                   8861:        :so=\EU!:ue=\EV":us=\EU":vb=\E^G:\
                   8862:        :tc=blit:
1.1       deraadt  8863:
                   8864: oblit|ojerq|first version of blit rom:\
                   8865:        :am:da:db:eo:mi:ul:xo:\
                   8866:        :co#88:it#8:li#72:\
1.5       tholo    8867:        :AL=\Ef%+ :DL=\Ee%+ :al=\EF:bl=^G:cd=\EJ:ce=\EK:cl=^L:\
                   8868:        :cm=\EY%r%+ %+ :cr=^M:dc=\EO:dl=\EE:do=^J:ei=\ER:im=\EQ:\
                   8869:        :kb=^H:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:vb=\E^G:
1.1       deraadt  8870:
                   8871: #### Bolt, Beranek & Newman (bbn)
                   8872: #
                   8873: # The BitGraph was a product of the now-defunct BBN Computer Corporation.
                   8874: # The parent company, best known as the architects of the Internet, is
                   8875: # still around.
                   8876: #
                   8877:
                   8878: # Entries for the BitGraph terminals.  The problem
                   8879: # with scrolling in vi can only be fixed by getting BBN to put
                   8880: # smarter scroll logic in the terminal or changing vi or padding
                   8881: # scrolls with about 500 ms delay.
                   8882: #
                   8883: # I always thought the problem was related to the terminal
                   8884: # counting newlines in its input buffer before scrolling and
                   8885: # then moving the screen that much. Then vi comes along and
                   8886: # paints lines in on the bottom line of the screen, so you get
                   8887: # this big white gap.
                   8888:
1.2       deraadt  8889: bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video):\
1.5       tholo    8890:        :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:\
                   8891:        :tc=bg2.0:
1.2       deraadt  8892: bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video):\
1.1       deraadt  8893:        :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg2.0:
1.2       deraadt  8894: bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init):\
1.1       deraadt  8895:        :xn:\
                   8896:        :co#85:li#64:\
1.5       tholo    8897:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=%i\E[%d;%dH:\
                   8898:        :cr=^M:cs=\E[%i%d;%dr:dl=\E[M:do=\E[B:k1=\EOP:k2=\EOQ:\
                   8899:        :k3=\EOR:k4=\EOS:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:\
                   8900:        :ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:me=\E[m:nd=\E[C:\
                   8901:        :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
1.2       deraadt  8902:
1.1       deraadt  8903: bg1.25rv|bbn bitgraph 1.25 (reverse video):\
                   8904:        :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg1.25:
                   8905: bg1.25nv|bbn bitgraph 1.25 (normal video):\
                   8906:        :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg1.25:
1.2       deraadt  8907: # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  8908: bg1.25|bbn bitgraph 1.25:\
                   8909:        :co#85:li#64:\
1.3       deraadt  8910:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
1.5       tholo    8911:        :cl=\E[H\E[J:cm=%i\E[%d;%dH:cr=^M:dl=\E[M:do=\E[B:k1=\EP:\
                   8912:        :k2=\EQ:k3=\ER:k4=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:ks=\E=:\
                   8913:        :ku=\EA:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:ll=\E[64;1H:\
                   8914:        :me=\E[m:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
1.1       deraadt  8915:
                   8916: #### Chromatics
                   8917: #
                   8918:
1.5       tholo    8919: # I have put the long strings in :ti:/:te:. Ti sets up a window
1.1       deraadt  8920: # that is smaller than the screen, and puts up a warning message
                   8921: # outside the window. Te erases the warning message, puts the
                   8922: # window back to be the whole screen, and puts the cursor at just
1.5       tholo    8923: # below the small window. I defined :ve: and :vi: to really turn
1.1       deraadt  8924: # the cursor on and off, but I have taken this out since I don't
                   8925: # like the cursor being turned off when vi exits.
                   8926: cg7900|chromatics|chromatics 7900:\
                   8927:        :am:\
                   8928:        :co#80:li#40:\
                   8929:        :al=^A>2:bl=^G:cd=^Al:ce=^A`:cl=^L:\
1.5       tholo    8930:        :cm=\001M%r%d\\\054%d\\\054:cr=^M:dc=^A<1:dl=^A<2:do=^J:\
                   8931:        :ei=:ho=^\:ic=^A>1:im=:le=^H:ll=^A|:nd=^]:\
1.1       deraadt  8932:        :se=\001C1\\\054\001c2\\\054:sf=^J:\
                   8933:        :so=\001C4\\\054\001c7\\\054:\
                   8934:        :te=\001W0\\\05440\\\05485\\\05448\\\054\014\001W0\\\0540\\\05485\\\05448\\\054\001M0\\\05440\\\054:\
                   8935:        :ti=\001P0\001O1\001R1\001C4\\\054\001c0\\\054\014\001M0\\\05442\\\054WARNING DOUBLE ENTER ESCAPE and \025\001C1\\\054\001c2\\\054\001W0\\\0540\\\05479\\\05439\\\054:\
1.3       deraadt  8936:        :uc=\001\001_\001\200:up=^K:
1.1       deraadt  8937:
                   8938: #### Computer Automation
                   8939: #
                   8940:
                   8941: ca22851|computer automation 22851:\
                   8942:        :am:\
                   8943:        :co#80:li#24:\
1.5       tholo    8944:        :bl=^G:cd=^\:ce=^]:cl=\014:cm=\002%i%.%.:cr=^M:do=^J:ho=^^:\
                   8945:        :kd=^W:kh=^^:kl=^U:ku=^V:le=^U:nd=^I:sf=^J:up=^V:
1.1       deraadt  8946:
                   8947: #### Cybernex
                   8948: #
                   8949:
                   8950: # This entry has correct padding and the undocumented "ri" capability
                   8951: cyb83|xl83|cybernex xl-83:\
1.2       deraadt  8952:        :am:\
1.1       deraadt  8953:        :co#80:li#24:\
1.5       tholo    8954:        :bl=^G:cd=\020:ce=\017:cl=\014:cm=\027%+ %+ :cr=^M:do=^J:\
                   8955:        :ho=^K:kd=^J:kl=^H:kr=^I:ku=^N:le=^H:nd=^I:sf=^J:sr=^N:up=^N:
1.1       deraadt  8956: # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
                   8957: cyb110|mdl110|cybernex mdl-110:\
1.2       deraadt  8958:        :am:\
1.1       deraadt  8959:        :co#80:li#24:\
                   8960:        :al=\016A\016\035:bl=^G:cd=\016@\026:ce=\016@\026:\
                   8961:        :cl=\030:cm=\020%+ %+ :cr=^M:dc=\016A\036:\
1.5       tholo    8962:        :dl=\016A\016\036:do=^J:ei=:ho=^Y:ic=\016A\035:im=:le=^H:\
                   8963:        :nd=^U:se=^NG:sf=^J:so=^NF:ta=\011:up=^Z:
1.1       deraadt  8964:
                   8965: #### Datapoint
                   8966: #
                   8967: # Datapoint is gone.  They used to be headquartered in Texas.
                   8968: # They created ARCnet, an Ethernet competitor that flourished for a while
                   8969: # in the early 1980s before 3COM got wise and cut its prices.  The service
                   8970: # side of Datapoint still lives (1995) in the form of Intelogic Trace.
                   8971: #
                   8972:
                   8973: dp3360|datapoint|datapoint 3360:\
1.2       deraadt  8974:        :am:\
1.1       deraadt  8975:        :co#82:li#25:\
1.5       tholo    8976:        :bl=^G:cd=^_:ce=^^:cl=^]^_:cr=^M:do=^J:ho=^]:le=^H:nd=^X:\
                   8977:        :sf=^J:up=^Z:
1.1       deraadt  8978:
                   8979: #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
                   8980: #
                   8981: # These entries are DEC's official terminfos for its older terminals.
                   8982: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   8983: # Engineering for more information.  Updated terminfos and termcaps
                   8984: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   8985: #
                   8986:
                   8987: gt40|dec gt40:\
                   8988:        :os:\
                   8989:        :co#72:li#30:\
                   8990:        :bl=^G:cr=^M:do=^J:le=^H:
                   8991: gt42|dec gt42:\
                   8992:        :os:\
                   8993:        :co#72:li#40:\
                   8994:        :bl=^G:cr=^M:do=^J:le=^H:
                   8995: vt50|dec vt50:\
                   8996:        :co#80:li#12:\
1.5       tholo    8997:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cr=^M:do=^J:le=^H:nd=\EC:\
                   8998:        :sf=^J:ta=^I:up=\EA:
1.1       deraadt  8999: vt50h|dec vt50h:\
                   9000:        :co#80:li#12:\
1.5       tholo    9001:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:\
                   9002:        :le=^H:nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
                   9003: # (vt61: there's a BSD termcap that claims :dl=\EPd:, :al=\EPf.: :kb=^H:)
1.2       deraadt  9004: vt61|vt-61|vt61.5|dec vt61:\
1.1       deraadt  9005:        :co#80:li#24:\
1.5       tholo    9006:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:do=^J:\
                   9007:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:sf=\n:sr=\EI:ta=^I:\
                   9008:        :up=\EA:
1.1       deraadt  9009:
                   9010: # The gigi does standout with red!
1.2       deraadt  9011: # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
1.1       deraadt  9012: gigi|vk100|dec gigi graphics terminal:\
                   9013:        :am:xn:\
                   9014:        :co#84:li#24:\
1.3       deraadt  9015:        :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
                   9016:        :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   9017:        :cm=\E[%i%d;%dH:cr=^M:do=^J:\
                   9018:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h:k1=\EOP:\
1.5       tholo    9019:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
                   9020:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:me=\E[m:\
                   9021:        :nd=\E[C:se=\E[m:sf=^J:so=\E[7;31m:sr=\EM:ta=^I:ue=\E[m:\
                   9022:        :up=\E[A:us=\E[4m:
1.1       deraadt  9023:
                   9024: # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
                   9025: # a PC differentiated from the IBM clones.  It was a total, ludicrous,
                   9026: # grossly-overpriced failure (among other things, DEC's OS didn't include
                   9027: # a format program, so you had to buy pre-formatted floppies from DEC at
                   9028: # a hefty premium!).
                   9029: pro350|decpro|dec pro console:\
1.2       deraadt  9030:        :co#80:it#8:li#24:\
1.5       tholo    9031:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   9032:        :ae=\EG:as=\EF:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :do=\EB:\
                   9033:        :ho=\EH:k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:\
                   9034:        :k7=\Ej:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
                   9035:        :se=\E^N:so=\E^H:sr=\EI:ta=^I:ue=\E^C:up=\EA:us=\E^D:
1.1       deraadt  9036:
                   9037: dw1|decwriter I:\
                   9038:        :hc:os:\
                   9039:        :co#72:\
                   9040:        :bl=^G:cr=^M:do=^J:le=^H:sf=^J:
                   9041: dw2|decwriter|dw|decwriter II:\
                   9042:        :hc:os:\
                   9043:        :co#132:\
                   9044:        :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
                   9045:
                   9046: # \E(B         Use U.S. character set (otherwise # => british pound !)
                   9047: # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
                   9048: # \E[w         10 char/in pitch
                   9049: # \E[1;132     full width horizontal margins
                   9050: # \E[2g                clear all tab stops
                   9051: # \E[z         6 lines/in
                   9052: # \E[66t       66 lines/page (for \f)
                   9053: # \E[1;66r     full vertical page can be printed
                   9054: # \E[4g                clear vertical tab stops
                   9055: # \E>          disable alternate keypad mode (so it transmits numbers!)
1.2       deraadt  9056: # \E[%i%p1%du  set tab stop at column %d (origin == 1)
1.1       deraadt  9057: #              (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
                   9058: #              a tab stop)
                   9059: #
                   9060: #       The dw3 does standout with wide characters.
                   9061: #
                   9062: dw3|la120|decwriter III:\
                   9063:        :hc:os:\
                   9064:        :co#132:\
                   9065:        :bl=^G:cr=^M:do=^J:\
                   9066:        :i1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>:\
                   9067:        :is=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r:\
1.5       tholo    9068:        :kb=^H:le=^H:me=\E[w:se=\E[w:sf=^J:so=\E[6w:ta=^I:
1.1       deraadt  9069: dw4|decwriter IV:\
                   9070:        :am:hc:os:\
                   9071:        :co#132:\
1.5       tholo    9072:        :bl=^G:cr=^M:do=^J:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\
                   9073:        :kb=^H:le=^H:sf=^J:ta=^I:
1.1       deraadt  9074:
1.3       deraadt  9075: # These aren't official
                   9076: ln03|dec ln03 laser printer:\
                   9077:        :hc:\
                   9078:        :co#80:li#66:\
1.5       tholo    9079:        :bl=^G:cr=^M:do=^J:hd=\EK:hu=\EL:me=\E[m:nw=^M^J:se=\E[22m:\
1.3       deraadt  9080:        :sf=^J:so=\E[1m:ta=^I:ue=\E[24m:us=\E[4m:
                   9081: ln03-w|dec ln03 laser printer 132 cols:\
                   9082:        :co#132:\
1.5       tholo    9083:        :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ln03:
1.3       deraadt  9084:
1.1       deraadt  9085: #### Delta Data (dd)
                   9086: #
                   9087:
                   9088: # Untested. The cup sequence is hairy enough that it probably needs work.
                   9089: # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
                   9090: # There are BSD-derived termcap entries floating around for this puppy
                   9091: # that are *certainly* wrong.
                   9092: delta|dd5000|delta data 5000:\
                   9093:        :am:\
                   9094:        :co#80:li#27:\
1.5       tholo    9095:        :bl=^G:ce=^NU:cl=^NR:cm=\017%+^P%+^P:dc=^NV:do=^J:ho=^NQ:\
                   9096:        :le=^H:nd=^Y:sf=^J:up=^Z:
1.1       deraadt  9097:
                   9098: #### Digital Data Research (ddr)
                   9099: #
                   9100:
1.2       deraadt  9101: # (ddr: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  9102: ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
1.2       deraadt  9103:        :am:xn:\
                   9104:        :co#80:it#8:li#24:vt#3:\
1.3       deraadt  9105:        :RA=\E[7l:SA=\E[7l:cd=50\E[J:ce=3\E[K:cl=50\E[H\E[2J:\
                   9106:        :cm=5\E[%i%d;%dH:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
                   9107:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.5       tholo    9108:        :kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
                   9109:        :ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
                   9110:        :nd=2\E[C:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
                   9111:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[m:sf=5\ED:\
                   9112:        :so=\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
                   9113:
                   9114: #### Evans & Sutherland
                   9115: #
                   9116:
                   9117: # Jon Leech <leech@cs.unc.edu> tells us:
                   9118: # The ps300 was the Evans & Sutherland Picture System 300, a high
                   9119: # performance 3D vector graphics system with a bunch of specialized hardware.
                   9120: # Approximate date of release was 1982 (early 80s, anyway), and it had several
                   9121: # evolutions including (limited) color versions such as the PS330C. PS300s
                   9122: # were effectively obsolete by the late 80s, replaced by raster graphics
                   9123: # systems, although specialized applications like molecular modelling
                   9124: # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
                   9125: # are out of production, though of course E&S is very much alive (in 1996).
                   9126: # (ps300: changed ":pt@:" to "it@" -- esr)
                   9127: #
                   9128: ps300|Picture System 300:\
                   9129:        :xt:\
                   9130:        :it@:\
                   9131:        :se@:so@:ue@:us@:tc=vt100:
1.1       deraadt  9132:
                   9133: #### General Electric (ge)
                   9134: #
                   9135:
                   9136: terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
                   9137:        :hc:os:\
                   9138:        :co#120:\
                   9139:        :bl=^G:cr=^M:do=^J:sf=^J:
                   9140:
                   9141: #### Heathkit/Zenith
                   9142: #
                   9143:
1.2       deraadt  9144: # Here is a description of the H19 DIP switches:
                   9145: #
                   9146: # S401
                   9147: # 0-3 = baud rate as follows:
                   9148: #
                   9149: #         3       2       1       0
                   9150: #      ---     ---     ---     ---
                   9151: #         0       0       1       1       300 baud
                   9152: #         0       1       0       1       1200 baud
                   9153: #         1       0       0       0       2400 baud
                   9154: #         1       0       1       0       4800 baud
                   9155: #         1       1       0       0       9600 baud
                   9156: #         1       1       0       1       19.2K baud
                   9157: #
                   9158: # 4 = parity (0 = no parity)
                   9159: # 5 = even parity (0 = odd parity)
                   9160: # 6 = stick parity (0 = normal parity)
                   9161: # 7 = full duplex (0 = half duplex)
                   9162: #
                   9163: # S402
                   9164: # 0 = block cursor (0 = underscore cursor)
                   9165: # 1 = no key click (0 = keyclick)
                   9166: # 2 = wrap at end of line (0 = no wrap)
                   9167: # 3 = auto LF on CR (0 = no LF on CR)
                   9168: # 4 = auto CR on LF (0 = no CR on LF)
                   9169: # 5 = ANSI mode (0 = VT52 mode)
                   9170: # 6 = keypad shifted (0 = keypad unshifted)
                   9171: # 7 = 50Hz refresh (1 = 60Hz refresh)
                   9172: #
                   9173: # Factory Default settings are as follows:
                   9174: #          7 6 5 4 3 2 1 0
                   9175: # S401     1 0 0 0 1 1 0 0
                   9176: # S402     0 0 0 0 0 0 0 0
1.5       tholo    9177: # (h19: I added <rmam>/<smam> based on the init string;
                   9178: # also added empty <acsc> to suppress a tic warning -- esr)
                   9179: h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
1.1       deraadt  9180:        :am:mi:ms:\
                   9181:        :co#80:it#8:li#24:\
1.5       tholo    9182:        :RA=\E[?7l:SA=\E[?7h:ac=:ae=\E[11m:al=\E[1L:as=\E[10m:\
1.3       deraadt  9183:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1.5       tholo    9184:        :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   9185:        :is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h:k1=\EOS:\
                   9186:        :k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
                   9187:        :kb=^H:kd=\E[1B:kh=\E[H:kl=\E[1D:kr=\E[1C:ku=\E[1A:l6=blue:\
                   9188:        :l7=red:l8=white:le=^H:nd=\E[1C:se=\E[m:sf=^J:so=\E[7m:\
                   9189:        :sr=\EM:ta=^I:up=\E[1A:ve=\E[>4l:vs=\E[>4h:
1.1       deraadt  9190: h19-bs|heathkit w/keypad shifted:\
                   9191:        :ke=\Eu:ks=\Et:tc=h19-b:
                   9192: h19-smul|heathkit w/keypad shifted/underscore cursor:\
1.5       tholo    9193:        :ke=\Eu:ks=\Et:\
                   9194:        :tc=h19-u:
                   9195: # (h19: merged in :ip: from BSDI hp19-e entry>;
                   9196: # also added empty <acsc> to suppress a tic warning --esr)
1.1       deraadt  9197: h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19:\
                   9198:        :am:es:hs:mi:ms:\
                   9199:        :co#80:it#8:li#24:\
1.5       tholo    9200:        :ac=:ae=\EG:al=\EL:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:\
                   9201:        :cm=\EY%+ %+ :cr=^M:dc=\EN:dl=\EM:do=\EB:ei=\EO:fs=\Ek\Ey5:\
                   9202:        :ho=\EH:im=\E@:ip=1.5<1.5/>:k1=\ES:k2=\ET:k3=\EU:k4=\EV:\
                   9203:        :k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
                   9204:        :kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:nd=\EC:se=\Eq:\
                   9205:        :sf=^J:so=\Ep:sr=\EI:ta=^I:\
                   9206:        :ts=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo:up=\EA:ve=\Ey4:\
                   9207:        :vs=\Ex4:
1.1       deraadt  9208: h19-u|heathkit with underscore cursor:\
                   9209:        :ve@:vs@:tc=h19-b:
1.3       deraadt  9210: h19-us|h19us|heathkit w/keypad shifted/underscore cursor:\
1.5       tholo    9211:        :ke=\Eu:ks=\Et:\
                   9212:        :tc=h19-u:
1.3       deraadt  9213: h19-g|h19g|heathkit w/block cursor:\
                   9214:        :ve=\Ex4:tc=h19-b:
1.1       deraadt  9215: alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19:\
                   9216:        :li#60:\
                   9217:        :al=\EL:dl=\EM:tc=h19:
                   9218:
1.3       deraadt  9219: # The major problem with the Z29 is that it requires more padding than the Z19.
                   9220: #
                   9221: # The problem with declaring an H19 to be synonymous with a Z29 is that
1.1       deraadt  9222: # it needs more padding. It especially loses if a program attempts
                   9223: # to put the Z29 into insert mode and insert text at 9600 baud. It
                   9224: # even loses worse if the program attempts to insert tabs at 9600
                   9225: # baud. Adding padding to text that is inserted loses because in
                   9226: # order to make the Z29 not die, one must add so much padding that
                   9227: # whenever the program tries to use insert mode, the effective
                   9228: # rate is about 110 baud.
                   9229: #
                   9230: # What program would want to put the terminal into insert mode
                   9231: # and shove stuff at it at 9600 baud you ask?
                   9232: #
                   9233: # Emacs. Emacs seems to want to do the mathematically optimal
                   9234: # thing in doing a redisplay rather than the practical thing.
                   9235: # When it is about to output a line on top of a line that is
                   9236: # already on the screen, instead of just killing to the end of
1.3       deraadt  9237: # the line and outputting the new line, it compares the old line
1.1       deraadt  9238: # and the new line and if there are any similarities, it
                   9239: # constructs the new line by deleting the text on the old line
                   9240: # on the terminal that is already there and then inserting new
                   9241: # text into the line to transform it into the new line that is
                   9242: # to be displayed. The Z29 does not react kindly to this.
                   9243: #
                   9244: # But don't cry for too long.... There is a solution. You can make
                   9245: # a termcap entry for the Z29 that says the Z29 has no insert mode.
                   9246: # Then Emacs cannot use it. "Oh, no, but now inserting into a
                   9247: # line will be really slow", you say. Well there is a sort of a
                   9248: # solution to that too. There is an insert character option on
                   9249: # the Z29 that will insert one character. Unfortunately, it
                   9250: # involves putting the terminal into ansi mode, inserting the
                   9251: # character, and changing it back to H19 mode. All this takes 12
                   9252: # characters. Pretty expensive to insert one character, but it
                   9253: # works. Either Emacs doesn't try to use its inserting hack when
                   9254: # it's only given an insert character ability or the Z29 doesn't
                   9255: # require padding with this (the former is probably more likely,
                   9256: # but I haven't checked it out).
1.5       tholo    9257: # (z29: added empty <acsc> to suppress a tic warning --esr)
1.1       deraadt  9258: z29|zenith29|z29b|zenith z29b:\
                   9259:        :am:ms:\
                   9260:        :co#80:li#24:\
1.5       tholo    9261:        :ac=:ae=\EF:al=\EL:as=\EG:bl=^G:bt=\E-:cd=\EJ:ce=\EK:cl=\EE:\
                   9262:        :cm=\EY%+ %+ :cr=^M:dc=\EN:dl=\EM:do=\EB:ei=:ho=\EH:\
                   9263:        :ic=\E<\E[1@\E[?2h:im=:is=\E<\E[?2h\Ev:k0=\E~:k1=\ES:\
                   9264:        :k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:\
                   9265:        :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=home:le=^H:\
                   9266:        :nd=\EC:se=\Eq:sf=\n:so=\Ep:sr=\EI:ta=^I:ue=\Es0:up=\EA:\
                   9267:        :us=\Es8:ve=\Ey4:vs=\Ex4:
1.3       deraadt  9268: # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
                   9269: # the world is stable. <rs1> causes the terminal to be reset to the state
                   9270: # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
                   9271: # cursor, bc -> block cursor.
                   9272: # From: Mike Meyers
1.5       tholo    9273: # (z29a: replaced nonexistent :if=/usr/share/tabset/zenith29: befause :st:
                   9274: # looks vt100-compatible -- esr)
1.3       deraadt  9275: z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
                   9276:        :es:hs:\
                   9277:        :co#80:it#8:li#24:\
                   9278:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   9279:        :RI=\E[%dC:UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:\
1.5       tholo    9280:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:\
                   9281:        :do=^J:ds=\E[>1l:fs=\E[u\E[>5l:ho=\E[H:\
                   9282:        :if=/usr/share/tabset/vt100:k0=\E[~:k1=\EOS:k2=\EOT:\
                   9283:        :k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:\
                   9284:        :kC=\E[J:kS=\E[J:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:\
                   9285:        :ku=\EOA:l0=help:le=^H:mb=\E[5m:md=\E[2m:me=\E[m:mh=\E[2m:\
                   9286:        :mr=\E[7m:nd=\E[C:nw=^M\ED:ps=\E#7:\
1.3       deraadt  9287:        :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m:\
1.5       tholo    9288:        :rc=\E[r:sc=\E[s:se=\E[m:sf=\ED:so=\E[7;2m:sr=\EM:st=\EH:\
                   9289:        :ta=^I:te=\E[?7h:ti=\E[?7l:\
1.3       deraadt  9290:        :ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
                   9291:        :us=\E[4m:
                   9292: z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor:\
1.5       tholo    9293:        :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
                   9294:        :tc=z29a:
1.3       deraadt  9295: z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick:\
1.5       tholo    9296:        :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m:\
                   9297:        :tc=z29a:
1.3       deraadt  9298: z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick:\
1.5       tholo    9299:        :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m:\
                   9300:        :tc=z29a:
1.2       deraadt  9301: # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
                   9302: z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode:\
1.3       deraadt  9303:        :5i:am:es:hs:mi:ms:xo:\
1.2       deraadt  9304:        :co#80:li#24:\
1.5       tholo    9305:        :%1=\E[~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K1=\EOw:\
                   9306:        :K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:\
                   9307:        :UP=\E[%dA:ac=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~0a:\
                   9308:        :ae=\E(B:al=\E[1L:as=\E(0:bl=^G:bt=\E[1Z:cb=\E[1K:cd=\E[0J:\
1.3       deraadt  9309:        :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
1.2       deraadt  9310:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
                   9311:        :ds=\E[>1l:ei=\E[4l:fs=\E[u:ho=\E[H:im=\E[4h:\
1.5       tholo    9312:        :is=\E<\E[>1;3;5;6;7l\E[0m\E[2J:k1=\EOS:k2=\EOT:k3=\EOU:\
                   9313:        :k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:kS=\E[J:\
                   9314:        :kb=^H:kd=\E[B:ke=\E[>7l:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[>7h:\
                   9315:        :ku=\E[A:le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[0m:\
                   9316:        :mh=\E[2m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:\
                   9317:        :ps=\E[?19h\E[i:r2=\E<\Ec\200:rc=\E[u:sc=\E[s:se=\E[0m:\
                   9318:        :sf=^J:so=\E[7m:st=\EH:ta=^I:ts=\E[s\E[>1h\E[25;%i%p1%dH:\
1.3       deraadt  9319:        :ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[>5l:vi=\E[>5h:
1.1       deraadt  9320:
                   9321: # From: Brad Brahms <Brahms@USC-ECLC>
                   9322: z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
1.5       tholo    9323:        :ve=\Ey4\Em70:vs=\Ex4\Em71:\
                   9324:        :tc=z100bw:
                   9325: # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
1.1       deraadt  9326: z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
1.2       deraadt  9327:        :mi:ms:\
                   9328:        :co#80:it#8:li#24:\
1.5       tholo    9329:        :ac=:ae=\EG:al=5*\EL:as=\EF:cd=\EJ:ce=\EK:cl=5*\EE:\
                   9330:        :cm=1*\EY%+ %+ :dc=1*\EN:dl=5*\EM:do=\EB:ei=\EO:ho=\EH:\
                   9331:        :im=\E@:k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
                   9332:        :k7=\EQ:k8=\ER:k9=\EOI:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   9333:        :ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Ep:sr=\EI:ta=^I:up=\EA:\
                   9334:        :ve=\Ey4:vs=\Ex4:
1.2       deraadt  9335: p19|h19-b with il1/dl1:\
1.1       deraadt  9336:        :al=2*\EL:dl=2*\EM:tc=h19-b:
                   9337: # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
1.2       deraadt  9338: # (ztx: removed duplicate :sr: -- esr)
                   9339: ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11:\
                   9340:        :am:es:hs:\
                   9341:        :co#80:it#8:li#24:\
1.5       tholo    9342:        :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dl=\EM:do=^J:\
                   9343:        :ds=\Ey1:fs=\Ek\Ey5:ho=\EH:\
1.1       deraadt  9344:        :is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:k0=\ES:\
1.5       tholo    9345:        :k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:\
                   9346:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Es5:\
                   9347:        :sr=\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Eq:up=\EA:\
                   9348:        :us=\Es2:
1.1       deraadt  9349:
                   9350: #### IMS International (ims)
                   9351: #
                   9352: # There was a company called IMS International located in Carson City,
                   9353: # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
                   9354: # bus/Z80 hardware and a line of terminals called Ultimas.
                   9355:
                   9356: # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
                   9357: ims950-b|bare ims950 no init string:\
                   9358:        :is@:tc=ims950:
                   9359: # (ims950: removed obsolete ":ko@:" -- esr)
                   9360: ims950|ims televideo 950 emulation:\
                   9361:        :xn@:\
1.5       tholo    9362:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950:
1.1       deraadt  9363: # (ims950-rv: removed obsolete ":ko@:" -- esr)
                   9364: ims950-rv|ims tvi950 rev video:\
                   9365:        :xn@:\
1.5       tholo    9366:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950-rv:
1.1       deraadt  9367: ims-ansi|ultima2|ultimaII|IMS Ultima II:\
1.2       deraadt  9368:        :am:\
                   9369:        :co#80:it#8:li#24:\
1.5       tholo    9370:        :cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%2;%2H:do=\ED:\
                   9371:        :if=/usr/share/tabset/vt100:\
                   9372:        :is=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r:kd=\E[B:kh=\E[H:\
                   9373:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:se=\E[m\E[1m:\
1.2       deraadt  9374:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m\E[1m:up=\EM:us=\E[4m:
1.1       deraadt  9375:
                   9376: #### Intertec Data Systems
                   9377: #
                   9378: # I think this company is long dead as of 1995.  They made an early CP/M
                   9379: # micro called the "Intertec Superbrain" that was moderately popular,
                   9380: # then sank out of sight.
                   9381: #
                   9382:
                   9383: superbrain|intertec superbrain:\
                   9384:        :am:bw:\
                   9385:        :co#80:li#24:\
1.5       tholo    9386:        :bl=^G:cd=\E~k<10*>:ce=\E~K:cl=\014:cm=\EY%+ %+ :cr=^M:\
                   9387:        :do=^J:kd=^J:kl=^U:kr=^F:ku=^K:le=^H:nd=^F:sf=^J:ta=^I:te=^L:\
                   9388:        :ti=^L:up=^K:
1.1       deraadt  9389: intertube|intertec|Intertec InterTube:\
                   9390:        :am:\
                   9391:        :co#80:li#25:\
1.5       tholo    9392:        :bl=^G:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=^A:le=^H:nd=^F:\
                   9393:        :se=\E0@:sf=^J:so=\E0P:up=^Z:
1.1       deraadt  9394: # The intertube 2 has the "full duplex" problem like the tek 4025: if you
                   9395: # are typing and a command comes in, the keystrokes you type get interspersed
                   9396: # with the command and it messes up
1.2       deraadt  9397: intertube2|intertec data systems intertube 2:\
1.3       deraadt  9398:        :ce=\EK:ch=\020%+^J:cm=\016%.\020%+^J:cv=\013%.:\
1.5       tholo    9399:        :ll=^K^X\r:\
                   9400:        :tc=intertube:
1.2       deraadt  9401:
                   9402: #### Ithaca Intersystems
                   9403: #
                   9404: # This company made S100-bus personal computers long ago in the pre-IBM-PC
                   9405: # past.  They used to be reachable at:
                   9406: #
                   9407: #      Ithaca Intersystems
                   9408: #      1650 Hanshaw Road
                   9409: #      Ithaca, New York 14850
                   9410: #
                   9411: # However, the outfit went bankrupt years ago.
                   9412: #
                   9413:
                   9414: # The Graphos III was a color graphics terminal frome Ithaca Intersystems.
                   9415: # These entries were written (originally in termcap syntax) by Brian Yandell
                   9416: # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
                   9417: # University of Wisconsin.
                   9418:
1.5       tholo    9419: # (graphos: removed obsolete and syntactically incorrect :kn=4:,
                   9420: # removed :if=/usr/share/tabset/init.graphos: and
                   9421: # <rf=/usr/share/tabset/init.graphos> no such file & no :st: -- esr)
1.2       deraadt  9422: graphos|graphos III:\
                   9423:        :am:mi:\
                   9424:        :co#80:it#8:li#24:\
                   9425:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                   9426:        :UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1.5       tholo    9427:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:dm=\E[4h:do=\E[B:\
                   9428:        :ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOQ:\
                   9429:        :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
                   9430:        :ku=\E[A:le=^H:me=\E[m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:\
1.3       deraadt  9431:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:\
                   9432:        :ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
1.2       deraadt  9433:        :vs=\Ez4;2;1z\Ez56;2;80;24z:
                   9434: graphos-30|graphos III with 30 lines:\
                   9435:        :li#30:\
                   9436:        :vs=\Ez4;2;1z\Ez56;2;80;30z:tc=graphos:
1.1       deraadt  9437:
                   9438: #### Modgraph
                   9439: #
                   9440: # These people used to be reachable at:
                   9441: #
                   9442: #      Modgraph, Inc
                   9443: #      1393 Main Street,
                   9444: #      Waltham, MA 02154
                   9445: #      Vox: (617)-890-5796.
                   9446: #
                   9447: # However, if you call that number today you'll get an insurance company.
                   9448: # I think Modgraph is long gone.
                   9449: #
                   9450:
                   9451: modgraph|mod|modgraph terminal emulating vt100:\
                   9452:        :xn@:\
                   9453:        :co#80:li#24:\
                   9454:        :is=\E^9;0s\E^7;1s\E[3g\E^11;9s\E^11;17s\E^11;25s\E^11;33s\E^11;41s\E^11;49s\E^11;57s\E^11;65s\E^11;73s\E^11;81s\E^11;89s:\
1.5       tholo    9455:        :rf@:sr=5\EM\E[K:vs=\E^9;0s\E^7;1s:\
                   9456:        :tc=vt100:
1.2       deraadt  9457: # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
                   9458: modgraph2|modgraph gx-1000 80x24 with keypad not enabled:\
                   9459:        :am:da:db:\
                   9460:        :co#80:it#8:li#24:\
1.1       deraadt  9461:        :cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :\
                   9462:        :is=\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:\
1.2       deraadt  9463:        :le=^H:nd=2\EC:sr=5\EI:ta=^I:up=2\EA:
1.1       deraadt  9464:
                   9465: #### Morrow Designs
                   9466: #
                   9467: # This was George Morrow's company.  They started in the late 1970s making
                   9468: # S100-bus machines.  They used to be reachable at:
                   9469: #
                   9470: #        Morrow
                   9471: #        600 McCormick St.
                   9472: #        San Leandro, CA 94577
                   9473: #
                   9474: # but they're long gone now (1995).
                   9475: #
                   9476:
                   9477: # The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
                   9478: # Jeff's specimen was dated June 1984.
                   9479: # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
                   9480: mt70|mt-70|Morrow MD-70; native Morrow mode:\
                   9481:        :am:mi:ms:xo:\
                   9482:        :co#80:it#8:li#24:\
1.5       tholo    9483:        :%1=^AO\r:F1=^A`\r:F2=^Aa\r:F3=^Ab\r:F4=^Ac\r:F5=^Ad\r:\
                   9484:        :F6=^Ae\r:F7=^Af\r:F8=^Ag\r:F9=^Ah\r:FA=^Ai\r:\
                   9485:        :ac=+z\\\054{.yOi-x`|jGkFlEmDnHtLuKvNwMxIqJ:ae=\E%:\
                   9486:        :al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
                   9487:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:\
                   9488:        :i1=\E"2\EG0\E]:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
                   9489:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
                   9490:        :k;=^AI\r:kB=^A^Z\r:kC=^An\r:kD=\177:kb=^H:kd=^AK\r:\
                   9491:        :kh=^AN\r:kl=^AL\r:kr=^AM\r:ku=^AJ\r:le=^H:mh=\EG2:mk@:\
                   9492:        :nd=^L:nw=^_:sf=^J:ta=^I:ti=\E"2\EG0\E]:up=^K:us=\EG1:\
                   9493:        :vb=\EK1\EK0:ve=\E"2:vi=\E"0:\
                   9494:        :tc=adm+sgr:
1.1       deraadt  9495:
                   9496: #### Omron
                   9497: #
                   9498: # This company is still around in 1995, manufacturing point-of-sale systems.
                   9499:
                   9500: omron|Omron 8025AG:\
1.2       deraadt  9501:        :am:da:db:\
1.1       deraadt  9502:        :co#80:li#24:\
1.5       tholo    9503:        :al=\EL:bl=^G:cd=\ER:ce=\EK:cl=\EJ:cr=^M:dc=\EP:dl=\EM:do=^J:\
                   9504:        :ho=\EH:le=^H:nd=\EC:se=\E4:sf=\ES:so=\Ef:sr=\ET:up=\EA:\
                   9505:        :vs=\EN:
                   9506:
                   9507: #### Ramtek
                   9508: #
                   9509: # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
                   9510: # were competition for things like the Tektronics 4025.
                   9511: #
                   9512:
                   9513: # Ramtek 6221 from BRL, probably by Doug Gwyn
                   9514: # The following SET-UP modes are assumed for normal operation:
                   9515: #      UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
                   9516: #      NEWLINE_OFF             80_COLUMNS
                   9517: # Other SET-UP modes may be set for operator convenience or communication
                   9518: # requirements; I recommend
                   9519: #      SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
                   9520: # Hardware tabs are assumed to be every 8 columns; they can be set up by the
                   9521: # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
                   9522: # Note that the Control-E key is useless on this brain-damaged terminal.  No
                   9523: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   9524: rt6221|Ramtek 6221, 80x24:\
                   9525:        :ms:xo:\
                   9526:        :co#80:it#8:li#24:vt#3:\
                   9527:        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:as=^N:\
                   9528:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[J:cm=\E[%i%d;%dH:\
                   9529:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^K:ho=\E[1;1H:is=\E)0:\
                   9530:        :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:kd=\E[B:ke=\E>:\
                   9531:        :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
                   9532:        :le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
                   9533:        :nd=\E[C:nw=\EE:\
                   9534:        :r1=\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>:\
                   9535:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   9536:        :ue=\E[m:up=\EM:us=\E[4m:ve=\E[>5h\E[>9h:vi=\E[>5l:\
                   9537:        :vs=\E[>7h\E[>9l:
                   9538: # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
                   9539: rt6221-w|Ramtek 6221, 160x48:\
                   9540:        :co#160:li#48:\
                   9541:        :kb=^H:kd=^J:kl=^H:ll=\E[48;1H:tc=rt6221:
                   9542:
                   9543: #### Selanar
                   9544: #
                   9545:
                   9546: # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
                   9547: # The following SET-UP modes are assumed for normal operation:
                   9548: #      SET_DEFAULT_TABS        48_LINES                80_COLUMNS
                   9549: #      ONLINE                  ANSI                    CURSOR_VISIBLE
                   9550: #      VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
                   9551: #      LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
                   9552: #      CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
                   9553: # For use with graphics software, all graphics modes should be set to factory
                   9554: # default.  Other SET-UP modes may be set for operator convenience or
                   9555: # communication requirements.  No delays are specified; use "stty ixon -ixany"
                   9556: # to enable DC3/DC1 flow control!
                   9557: # I commented out the scrolling capabilities since they are too slow.
                   9558: hirez100|Selanar HiREZ-100:\
                   9559:        :mi:ms:xo:\
                   9560:        :co#80:it#8:li#48:vt#3:\
                   9561:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   9562:        :RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
                   9563:        :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   9564:        :dc=\E[P:dl=\E[M:do=^J:ho=\E[H:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
                   9565:        :k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   9566:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
                   9567:        :le=^H:ll=\E[48H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
                   9568:        :nd=\E[C:nw=\EE:pf=\E[4i\E[?4i:po=\E[?5i\E[5i:ps=\E[i:\
                   9569:        :r1=\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>:\
                   9570:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:\
                   9571:        :up=\EM:us=\E[4m:
                   9572: hirez100-w|Selanar HiREZ-100 in 132-column mode:\
                   9573:        :co#132:\
                   9574:        :kb=^H:kd=^J:kl=^H:tc=hirez100:
1.1       deraadt  9575:
1.2       deraadt  9576: #### Signetics
                   9577: #
                   9578:
                   9579: # From University of Wisconsin
                   9580: vsc|Signetics Vsc Video driver by RMC:\
                   9581:        :am:ms:\
                   9582:        :co#80:it#8:li#26:\
                   9583:        :ce=\E[K:cl=50\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
1.5       tholo    9584:        :ho=\E[H:kb=^H:kd=^J:kl=^H:le=^H:me=^_!:mr=^_ :nd=\E[C:\
                   9585:        :nw=^M^J:se=^_!:sf=^J:so=^_ :ta=^I:ue=^_#:up=\E[A:us=^_":
1.2       deraadt  9586:
1.1       deraadt  9587: #### Soroc
                   9588: #
1.2       deraadt  9589: # Alan Frisbie <frisbie@flying-disk.com> writes:
                   9590: #
                   9591: # As you may recall, the Soroc logo consisted of their name,
                   9592: # with the letter "S" superimposed over an odd design.   This
                   9593: # consisted of a circle with a slightly smaller 15 degree (approx.)
                   9594: # wedge with rounded corners inside it.   The color was sort of
                   9595: # a metallic gold/yellow.
                   9596: #
                   9597: # If I had been more of a beer drinker it might have been obvious
                   9598: # to me, but it took a clue from their service department to make
                   9599: # me exclaim, "Of course!"   The circular object was the top of
                   9600: # a beer can (the old removable pop-top style) and "Soroc" was an
                   9601: # anagram for "Coors".
                   9602: #
                   9603: # I can just imagine the founders of the company sitting around
                   9604: # one evening, tossing back a few and trying to decide what to
                   9605: # call their new company and what to use for a logo.
                   9606: #
1.1       deraadt  9607:
                   9608: # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
1.3       deraadt  9609: soroc120|iq120|soroc|soroc iq120:\
1.1       deraadt  9610:        :cd=\EY:ce=\ET:cl=\E*:do=^J:kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
                   9611: soroc140|iq140|soroc iq140:\
                   9612:        :am:mi:\
                   9613:        :co#80:li#24:\
1.5       tholo    9614:        :al=\Ee:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
                   9615:        :cr=^M:dc=\Ew:dl=\Er:do=^J:ei=\E8:ho=^^:im=\E9:k0=^A0\r:\
                   9616:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   9617:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kh=^^:kr=^L:ku=^K:le=^H:\
                   9618:        :ll=^^^K:nd=^L:se=\E\177:sf=^J:so=\E\177:ue=\E^A:up=^K:\
                   9619:        :us=\E^A:
1.1       deraadt  9620:
                   9621: #### Southwest Technical Products
                   9622: #
                   9623: # These guys made an early personal micro called the M6800.
                   9624: # The ct82 was probably its console terminal.
                   9625: #
                   9626:
                   9627: # (swtp: removed obsolete ":bc=^D:" -- esr)
                   9628: swtp|ct82|southwest technical products ct82:\
                   9629:        :am:\
                   9630:        :co#82:li#20:\
1.5       tholo    9631:        :al=^^Y:bl=^G:cd=^V:ce=^F:cl=^L:cm=\013%r%.%.:cr=^M:dc=^^H:\
                   9632:        :dl=^Z:do=^J:ei=:ho=^P:ic=^^X:im=:\
1.1       deraadt  9633:        :is=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011:\
                   9634:        :le=^D:ll=^C:nd=^S:se=^^^F:sf=^N:so=^^^V:sr=^O:up=^A:
                   9635:
                   9636: #### Synertek
                   9637: #
                   9638: # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
                   9639: #
                   9640: # Synertek used to make ICs, various 6502-based single-board process
                   9641: # control and hobbyist computers, and assorted peripherals including a
                   9642: # series of small inexpensive terminals (I think they were one of the
                   9643: # first to have a "terminal-on-a-keyboard", where the terminal itself
                   9644: # was only slightly larger than the keyboard).
                   9645: #
                   9646: # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
                   9647: # was a 40x24 terminal that could connect to a standard TV through a
                   9648: # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
                   9649: # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
                   9650: # I have a KTM-2/80 still in working order.  The KTM-2s had fully
                   9651: # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
                   9652: # ROM and 2 ROMs as character generators. They were incredibly simple,
                   9653: # and I've never had any problems with mine (witness the fact that mine
                   9654: # was made in 1981 and is still working great... I've blown the video
                   9655: # output transistor a couple of times, but it's a 2N2222 :-)
                   9656: #
                   9657: # The KTM-3 (which is what is listed in the terminfo file) was their
                   9658: # attempt at putting a KTM-2 in a box (and some models came with a
                   9659: # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
                   9660: # control and escape sequences are very different. The KTM-3 was always
                   9661: # real broken, at least according to the folks I've talked to about it.
                   9662: #
                   9663: # The padding in the entry is probably off--these terminals were very
                   9664: # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
                   9665: # anyone with any sanity replaced the ROMs with something that provided
                   9666: # a reasonable subset of VT100 functionality, since the usual ROMs were
                   9667: # obviously very primitive... oh, you could get an upgraded ROM from
                   9668: # Synertek for some incredible amount of money, but what hacker with an
                   9669: # EPROM burner would do that? :)
                   9670: #
                   9671: # Sorry I don't have any contact info; I believe they were located in
                   9672: # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
                   9673: # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
                   9674: # business these days.
1.5       tholo    9675: #
1.1       deraadt  9676:
                   9677: # Tested, seems to work fine with vi.
                   9678: synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal:\
                   9679:        :am:\
                   9680:        :co#80:li#24:\
                   9681:        :cd=\EJ:ce=\EK:cl=^Z:cm=\E=%+ %+ :le=^H:nd=^L:up=^K:
                   9682:
                   9683: #### Tab Office Products
                   9684: #
                   9685: #      TAB Products Co. - Palo Alto, California
                   9686: #      Electronic Office Products,
                   9687: #      1451 California Avenue 94304
                   9688: #
                   9689: # I think they're out of business.
                   9690: #
                   9691:
                   9692: # The tab 132 uses xon/xoff, so no padding needed.
1.5       tholo    9693: # :ks:/:ke: have nothing to do with arrow keys.
                   9694: # :is: sets 80 col mode, normal video, autowrap on (for :am:).
1.1       deraadt  9695: # Seems to be no way to get rid of status line.
                   9696: # The manual for this puppy was dated June 1981.  It claims to be VT52-
1.2       deraadt  9697: # compatible but looks more vt100-like.
1.1       deraadt  9698: tab132|tab|tab132-15|tab 132/15:\
                   9699:        :da:db:\
                   9700:        :co#80:dN@:li#24:lm#96:\
1.5       tholo    9701:        :al=\E[L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
                   9702:        :im=\E[4h:is=\E[?7h\E[?3l\E[?5l:kd=\E[B:ke@:kl=\E[D:ks@:\
                   9703:        :ku=\E[A:\
                   9704:        :tc=vt100:
1.1       deraadt  9705: tab132-w|tab132 in wide mode:\
                   9706:        :co#132:\
                   9707:        :is=\E[?7h\E[?3h\E[?5l:tc=tab132:
                   9708: tab132-rv|tab132 in reverse-video mode:\
                   9709:        :is=\E[?7h\E[?3l\E[?5h:tc=tab132:
                   9710: tab132-w-rv|tab132 in reverse-video/wide mode:\
                   9711:        :is=\E[?7h\E[?3h\E[?5h:tc=tab132-w:
                   9712:
                   9713:
                   9714: #### Teleray
                   9715: #
                   9716: #      Research Incorporated
                   9717: #      6425 Flying Cloud Drive
                   9718: #      Eden Prairie, MN 55344
                   9719: #      Vox: (612)-941-3300
                   9720: #
                   9721: # The Teleray terminals were all discontinued in 1992-93.  RI still services
                   9722: # and repairs these beasts, but no longer manufactures them.  The Teleray
                   9723: # people believe that all the types listed below are very rare now (1995).
                   9724: # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
                   9725: # Model 100) that were ANSI-compatible.
                   9726: #
                   9727: # Note two things called "teleray".  Reorder should move the common one
                   9728: # to the front if you have either.  A dumb teleray with the cursor stuck
                   9729: # on the bottom and no obvious model number is probably a 3700.
                   9730: #
                   9731:
                   9732: t3700|dumb teleray 3700:\
                   9733:        :co#80:li#24:\
                   9734:        :bl=^G:cl=^L:cr=^M:do=^J:le=^H:sf=^J:
                   9735: t3800|teleray 3800 series:\
1.2       deraadt  9736:        :co#80:it#8:li#24:\
1.5       tholo    9737:        :bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:\
                   9738:        :le=^H:ll=\EY7 :nd=\EC:sf=^J:ta=^I:up=^K:
1.1       deraadt  9739: t1061|teleray|teleray 1061:\
                   9740:        :am:km:xs:xt:\
1.2       deraadt  9741:        :co#80:it#8:li#24:sg#1:ug#1:\
1.5       tholo    9742:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\014:cm=\EY%+ %+ :cr=^M:\
                   9743:        :ct=\EG:dc=\EQ:dl=\EM:do=^J:ei=:ho=\EH:ic=\EP:im=:ip=:\
1.1       deraadt  9744:        :is=\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:\
1.5       tholo    9745:        :k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
                   9746:        :le=^H:nd=\EC:se=\ER@:sf=^J:so= \ERD:st=\EF:ta=^I:ue=\ER@:\
                   9747:        :up=\EA:us=\ERH:
1.1       deraadt  9748: t1061f|teleray 1061 with fast PROMs:\
                   9749:        :al=\EL:dl=\EM:ip@:tc=t1061:
1.3       deraadt  9750: # "Teleray Arpa Special", officially designated as
1.1       deraadt  9751: # "Teleray Arpa network model 10" with "Special feature 720".
                   9752: # This is the new (1981) fast microcode updating the older "arpa" proms
1.3       deraadt  9753: # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
1.1       deraadt  9754: # converts the keypad to programmable function keys, and has other goodies.
                   9755: # Standout mode is still broken (magic cookie, etc) so is suppressed as no
                   9756: # programs handle such lossage properly.
                   9757: # Note: this is NOT the old termcap's "t1061f with fast proms."
                   9758: # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
1.2       deraadt  9759: # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
1.1       deraadt  9760: t10|teleray 10 special:\
1.2       deraadt  9761:        :km:xs:xt:\
                   9762:        :co#80:it#8:li#24:sg#2:ug#2:\
1.5       tholo    9763:        :al=\EL:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :dc=\EQ:dl=\EM:\
                   9764:        :ei=:ho=\EH:ic=\EP:im=:le=^H:nd=\EC:pc=\200:se=\ER@:sf=\Eq:\
                   9765:        :so=\ERD:sr=\Ep:ta=^I:ue=\ER@:up=\EA:us=\ERH:
1.1       deraadt  9766: # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
                   9767: # back/forth words. Put the function keys (f1-f10) where they can be
                   9768: # found, and turn off the other magic keys along the top row, except
                   9769: # for line/local. Do the magic appropriate to make the page shifts work.
                   9770: # Also toggle ^S/^Q for those of us who use Emacs.
                   9771: t16|teleray 16:\
                   9772:        :am:da:db:mi:xs:xt:\
                   9773:        :co#80:li#24:\
                   9774:        :al=\E[L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
1.5       tholo    9775:        :cm=%i\E[%d;%df:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
                   9776:        :ho=\E[H:im=\E[4h:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:\
                   9777:        :k7=^Z7:k8=^Z8:k9=^Z9:k;=^Z0:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
                   9778:        :sf=^J:so=\E[7m:sr=\E[T:ta=^I:te=\E[V\E[24;1f\E[?38h:\
                   9779:        :ti=\E[U\E[?38l:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  9780:
                   9781: #### Texas Instruments (ti)
                   9782: #
                   9783:
1.2       deraadt  9784: # The Silent 700 was so called because it was built around a quiet thermal
                   9785: # printer.  It was portable, equipped with an acoustic coupler, and pretty
                   9786: # neat for its day.
                   9787: ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800:\
                   9788:        :hc:os:\
                   9789:        :co#80:\
1.1       deraadt  9790:        :bl=^G:cr=\r:do=^J:le=^H:sf=^J:
1.2       deraadt  9791:
1.1       deraadt  9792: ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL:\
                   9793:        :am:xo:\
                   9794:        :co#80:it#8:li#24:\
                   9795:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5       tholo    9796:        :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
                   9797:        :do=\E[B:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~:\
                   9798:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[P:kI=\E[@:\
                   9799:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
                   9800:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
                   9801:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
1.2       deraadt  9802:        :us=\E[4m:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
1.1       deraadt  9803: ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL:\
                   9804:        :am:xo:\
                   9805:        :co#80:it#8:li#24:\
                   9806:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5       tholo    9807:        :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
                   9808:        :do=\E[B:ho=\E[H:k1=P\217>:k2=Q\217>:k3=R\217>:k4=S\217>:\
                   9809:        :k5=~\23316>:k6=~\23317>:k7=~\23318>:k8=~\23319>:\
                   9810:        :k9=~\23320>:kD=P\233>:kI=@\233>:kb=^H:kd=\E[B:kl=\E[D:\
                   9811:        :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
                   9812:        :mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
                   9813:        :sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
1.2       deraadt  9814:        :vi=\E[?25l:vs=\E[?31h:
1.1       deraadt  9815: ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode:\
1.3       deraadt  9816:        :co#132:tc=ti924:
1.1       deraadt  9817: ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode:\
1.3       deraadt  9818:        :co#132:tc=ti924-8:
1.1       deraadt  9819: ti931|Texas Instruments 931 VDT:\
                   9820:        :am:xo:\
                   9821:        :co#80:li#24:\
1.5       tholo    9822:        :al=\EN:bl=^G:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :cr=^M:\
                   9823:        :dc=\EQ:dl=\EO:do=\EB:ei=:ho=\EH:ic=\ER\EP\EM:im=:\
                   9824:        :is=\EGB\E(@B@@\E):k1=\Ei1:k2=\Ei2:k3=\Ei3:k4=\Ei4:\
                   9825:        :k5=\Ei5:k6=\Ei6:k7=\Ei7:k8=\Ei8:k9=\Ei9:kA=\EN:kD=\EQ:\
                   9826:        :kI=\EP:kL=\EO:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:mb=\E4P:\
                   9827:        :me=\E4@:mk=\E4H:mr=\E4B:nd=\EC:se=\E4@:sf=\Ea:so=\E4A:\
                   9828:        :sr=\Eb:ue=\E4@:up=\EA:us=\E4D:ve=\E4@:
1.1       deraadt  9829: ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL:\
                   9830:        :cs@:sf=\E[1S:sr=\E[1T:tc=ti924:
1.2       deraadt  9831: # (ti926-8: I corrected this from the broken SCO entry -- esr)
1.1       deraadt  9832: ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL:\
1.5       tholo    9833:        :cs@:sf=\2331S:sr=\2331T:\
                   9834:        :tc=ti924-8:
1.1       deraadt  9835: ti_ansi|basic entry for ti928:\
1.3       deraadt  9836:        :am:eo:ut:xn:xo:\
                   9837:        :Co#8:co#80:it#8:li#25:pa#64:\
                   9838:        :@7=\E[F:Sb=\E[4%dm:Sf=\E[3%dm:al=\E[L:bl=^G:bt=\E[Z:\
                   9839:        :cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
                   9840:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   9841:        :ic=\E[@:im=:k0=\E[V:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
1.5       tholo    9842:        :k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kN=\E[G:kP=\E[I:\
                   9843:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   9844:        :mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:op=\E[37;40m:se=\E[m:\
                   9845:        :sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  9846: #
                   9847: #       928 VDT 7 bit control mode
                   9848: #
1.2       deraadt  9849: ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL:\
1.3       deraadt  9850:        :%9=\E[35~:@7=\E_1\E\\:@8=\E[8~:F1=\E[29~:F2=\E[31~:\
                   9851:        :F3=\E[32~:F5=\E[34~:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
                   9852:        :k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
1.5       tholo    9853:        :k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:\
                   9854:        :tc=ti_ansi:
1.1       deraadt  9855: #
                   9856: #       928 VDT 8 bit control mode
                   9857: #
1.2       deraadt  9858: ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL:\
1.5       tholo    9859:        :%9=\23335~:@7=\2371\234:@8=\2338~:F1=\23329~:F2=\23331~:\
                   9860:        :F3=\23332~:F5=\23334~:k1=\23317~:k2=\23318~:k3=\23319~:\
                   9861:        :k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
                   9862:        :k9=\23326~:k;=\23328~:kD=\233P:kI=\233@:kN=\233S:\
                   9863:        :kP=\233T:kh=\233H:\
                   9864:        :tc=ti_ansi:
1.1       deraadt  9865:
                   9866: #### Zentec (zen)
                   9867: #
                   9868:
1.5       tholo    9869: # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
                   9870: # had just :so:=\EG6 which I think means standout was supposed to be
                   9871: # dim-reverse using ADM12-style attributes. ADM12 :us:/:ue: and
                   9872: # <invis> might work-- esr)
1.1       deraadt  9873: zen30|z30|zentec 30:\
1.2       deraadt  9874:        :am:mi:ul:\
1.1       deraadt  9875:        :co#80:li#24:\
1.5       tholo    9876:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
                   9877:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:le=^H:mh=\EG2:nd=^L:\
                   9878:        :sf=^J:so=\EG6:ue@:up=^K:us@:\
                   9879:        :tc=adm+sgr:
1.2       deraadt  9880: # (zen50: this had extension capabilities
1.1       deraadt  9881: #      :BS=^U:CL=^V:CR=^B:
                   9882: # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
                   9883: # which were also in the original entry -- esr)
                   9884: # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
                   9885: zen50|z50|zentec zephyr:\
1.2       deraadt  9886:        :am:\
1.1       deraadt  9887:        :co#80:li#24:sg#1:\
1.5       tholo    9888:        :al=\EE:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:ei=:\
                   9889:        :ic=\EQ:im=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:ue@:up=^K:\
                   9890:        :us@:\
                   9891:        :tc=adm+sgr:
1.2       deraadt  9892:
                   9893: ######## OBSOLETE UNIX CONSOLES
                   9894: #
                   9895:
1.5       tholo    9896: #### Apollo consoles
                   9897: #
                   9898: # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
                   9899: # labeled HP700s now.
                   9900: #
                   9901:
                   9902: # From: Gary Darland <goodmanc@garnet.berkeley.edu>
                   9903: apollo|apollo console:\
                   9904:        :am:mi:\
                   9905:        :co#88:li#53:\
                   9906:        :al=\EI:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):cv=\EO+ :\
                   9907:        :dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:le=^H:nd=\EC:se=\ET:\
                   9908:        :sf=\EE:so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:us=\EU:
                   9909:
                   9910: # We don't know whether or not the apollo guys replicated DEC's firmware bug
                   9911: # in the VT132 that reversed :ei:/:im:.  To be on the safe side, disable
                   9912: # both these capabilities.
                   9913: apollo_15P|apollo 15 inch display:\
                   9914:        :ei@:im@:tc=vt132:
                   9915: apollo_19L|apollo 19 inch display:\
                   9916:        :ei@:im@:tc=vt132:
                   9917: apollo_color|apollo color display:\
                   9918:        :ei@:im@:tc=vt132:
                   9919:
                   9920: #### Fortune Systems consoles
                   9921: #
                   9922: # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
                   9923: # in their day; I (esr) used one myself for a year or so around 1984.
                   9924: # They had no graphics, though, and couldn't compete against Suns and
                   9925: # the like.  R.I.P.
                   9926: #
                   9927:
                   9928: # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
                   9929: # (This had extension capabilities
                   9930: #      :rv=\EH:re=\EI:rg=0:GG=0:\
                   9931: #      :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
                   9932: #      :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
                   9933: #      :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
                   9934: # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
                   9935: # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
                   9936: # to force both magic cookie glitches off.  Once upon a time, I
                   9937: # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
                   9938: # function keys; thus the "Al" value for HM was certainly an error.  I renamed
                   9939: # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
                   9940: # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
                   9941: # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
                   9942: # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
                   9943: fos|fortune|Fortune system:\
                   9944:        :am:bw:\
                   9945:        :co#80:li#25:\
                   9946:        :@7=^Ak\r:@8=^Aq:ac=l m"k(j*v%w#q&x-:ae=^O:al=\034E:\
                   9947:        :as=\Eo:bl=^G:cd=\034Y:ce=^\Z:cl=\014:cm=\034C%+ %+ :cr=^M:\
                   9948:        :dc=\034W:dl=\034R:do=\n:ei=:ho=\036:ic=\034Q:im=:is=^_..:\
                   9949:        :k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:k5=^Ae\r:k6=^Af\r:\
                   9950:        :k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:kP=^An\r:kb=^H:kd=^Ay\r:\
                   9951:        :kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:le=^H:mb=\EN:me=\EI:\
                   9952:        :mr=\EH:nw=^M^J:se=^\I`:sf=^J:so=^\H`:ta=^Z:ue=^\IP:up=\013:\
                   9953:        :us=^\HP:ve=\E\\:vi=\E]:vs=\E\072:
                   9954:
1.2       deraadt  9955: #### Masscomp consoles
                   9956: #
                   9957: # Masscomp has gone out of business.  Their product line was purchased by
                   9958: # comany in Georgia (US) called "XS International", parts and service may
                   9959: # still be available through them.
                   9960: #
                   9961:
                   9962: # (masscomp: ":MT:" changed to ":km:";  -- esr)
                   9963: masscomp|masscomp workstation console:\
                   9964:        :km:mi:\
                   9965:        :co#80:it#8:li#24:\
1.5       tholo    9966:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:dc=\E[P:\
                   9967:        :dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:kb=^H:\
                   9968:        :kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:nd=\E[C:se=\E[m:\
                   9969:        :so=\E[7m:ta=^I:ue=\EGau:up=\E[A:us=\EGu:
1.2       deraadt  9970: masscomp1|masscomp large screen version 1:\
1.3       deraadt  9971:        :co#104:li#36:tc=masscomp:
1.2       deraadt  9972: masscomp2|masscomp large screen version 2:\
1.3       deraadt  9973:        :co#64:li#21:tc=masscomp:
                   9974:
                   9975: #### DEC consoles
                   9976: #
                   9977:
                   9978: # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
                   9979: # The digital uVax II's had a graphic display called a qdss.  It was
                   9980: # supposed to be a high performance graphic accelerator, but it was
                   9981: # late to market and barely appeared before faster dumb frame buffers
                   9982: # appeared.  I have only used this display while running X11.  However,
                   9983: # during bootup, it was in text mode, and probably had a terminal emulator
                   9984: # within it.  And that is what your termcap entry is for.  In graphics
                   9985: # mode the screen size is 1024x864 pixels.
                   9986: qdss|qdcons|qdss glass tty:\
                   9987:        :am:\
                   9988:        :co#128:li#57:\
                   9989:        :cl=1\032:cm=\E=%.%.:do=^J:le=^H:nd=^L:up=^K:
1.1       deraadt  9990:
                   9991: ######## OTHER OBSOLETE TYPES
                   9992: #
                   9993: # These terminals are *long* dead -- these entries are retained for
                   9994: # historical interest only.
1.5       tholo    9995: #
1.1       deraadt  9996:
                   9997: #### Obsolete non-ANSI software emulations
                   9998: #
                   9999:
                   10000: # CTRM terminal emulator
                   10001: # 1. underlining is not allowed with colors: first, is is simulated by
                   10002: # black on white, second, it disables background color manipulations.
                   10003: # 2. BLINKING, REVERSE and BOLD are allowed with colors,
                   10004: # so we have to save their status in the static registers A, B and H
                   10005: # respectively, to be able to restore them when color changes
                   10006: # (because any color change turns off ALL attributes)
1.5       tholo    10007: # 3. :md: and :mr: sequences alternate modes,
1.1       deraadt  10008: # rather then simply  entering them.  Thus we have to check the
                   10009: # static register B and H to determine the status, before sending the
                   10010: # escape sequence.
1.5       tholo    10011: # 4. :me: now must set the status of all 3 register (A,B,H) to zero
1.1       deraadt  10012: # and then reset colors
                   10013: # 5. implementation of the protect mode would badly penalize the performance.
                   10014: # we would have to use \E&bn sequence to turn off colors (as well as all
                   10015: # other attributes), and keep the status of protect mode in yet another
1.3       deraadt  10016: # static variable.  If someone really needs this mode, they would have to
1.1       deraadt  10017: # create another terminfo entry.
                   10018: # 6. original color-pair is white on black.
                   10019: # store the information about colors into static registers
                   10020: # 7. set foreground color.  it performs the following steps.
                   10021: #   1) turn off all attributes
1.3       deraadt  10022: #   2) turn on the background and video attributes that have been turned
1.1       deraadt  10023: #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
                   10024: #   3) turn on foreground attributes
                   10025: #   4) store information about foreground into U,V,W static registers
                   10026: # 8. turn on background: similar to turn on foreground above
1.3       deraadt  10027: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  10028: ctrm|C terminal emulator:\
1.3       deraadt  10029:        :am:ut:xo:\
1.5       tholo    10030:        :Co#8:NC#2:Nl#0:co#80:lh#0:li#24:lm#0:lw#0:pa#63:pb#19200:vt#6:\
                   10031:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
                   10032:        :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
                   10033:        :do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
                   10034:        :k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
                   10035:        :kb=^H:kd=\Ew\r:ke=\E&jA:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:\
                   10036:        :ks=\E&jB:ku=\Et\r:le=^H:mb=\E&dA%{1}%PA:\
                   10037:        :md=%?%gH%{0}%=%t\E&dH%{1}%PH%;:\
1.1       deraadt  10038:        :me=\E&d@%{0}%PA%{0}%PB%{0}%PH:\
                   10039:        :mr=%?%gB%{0}%=%t\E&dB%{1}%PB%;:nd=\EC:\
1.3       deraadt  10040:        :op=\E&bn\E&bB\E&bG\E&bR\n%{0}%PX%{0}%PY%{0}%PZ\n%{1}%PW%{1}%PV%{1}%PU:\
1.1       deraadt  10041:        :sf=^J:so=\E&dD:st=\E1:ta=\011:up=\EA:us=\E&dD:
                   10042:
                   10043: # gs6300 - can't use blue foreground, it clashes with underline;
                   10044: # it's simulated with cyan
1.5       tholo    10045: # Bug: The <op> capability probably resets attributes.
                   10046: # (gs6300: commented out <rmln> (no <smln>) --esr)
1.2       deraadt  10047: gs6300|emots|AT&T PC6300 with EMOTS terminal emulator:\
1.3       deraadt  10048:        :am:ms:ut:xo:\
                   10049:        :Co#8:co#80:it#8:li#24:pa#63:\
1.1       deraadt  10050:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    10051:        :LE=\E[%dD:RI=\E[%dC:Sb=\E[?;%dm:\
1.3       deraadt  10052:        :..Sf=\E[?%?%p1%{0}%=%t0\n%e%p1%{1}%=%t2\n%e%p1%{1}%-%d%;m:\
                   10053:        :UP=\E[%dA:\
                   10054:        :ac=\\\054\\\054..--++``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   10055:        :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
1.5       tholo    10056:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:\
                   10057:        :ei=:ho=\E[H:ic=\E[@:im=:is=\E[m:k1=\E[0s:k2=\E[24s:\
                   10058:        :k3=\E[1s:k4=\E[23s:k5=\E[2s:k6=\E[22s:k7=\E[3s:k8=\E[21s:\
                   10059:        :kB=^R^I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   10060:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m\E[10m:mr=\E[7m:nd=\E[C:\
                   10061:        :op=\E[?;m:pf=\E[4i:po=\E[5i:r1=\Ec:sf=^J:so=\E[1m:sr=\E[L:\
                   10062:        :ta=^I:up=\E[A:us=\E[4m:
1.1       deraadt  10063:
                   10064: # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
                   10065: # MS-Kermit with Heath-19 emulation mode enabled
                   10066: # (h19k: changed ":pt@:" to ":it@"
                   10067: h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
                   10068:        :am@:da:db:xt:\
                   10069:        :it@:\
                   10070:        :ta@:tc=h19-u:
                   10071:
1.5       tholo    10072: # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
                   10073: # Software (formerly Peripherals Computers & Supplies, Inc) of
                   10074: # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
                   10075: # also be reached at support@synergy.com.
1.2       deraadt  10076: versaterm|versaterm vt100 emulator for the macintosh:\
                   10077:        :am:xn:\
                   10078:        :co#80:it#8:li#24:\
                   10079:        :al=9\E[1L:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
                   10080:        :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=7\E[1P:\
                   10081:        :dl=9\E[1M:do=^J:ei=:ho=\E[H:ic=7\E[1@:im=:\
                   10082:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.5       tholo    10083:        :kb=^H:kd=\EOB:ke=\E>\E[?1l:kl=\EOD:kr=\EOC:ks=\E=\E[?1h:\
                   10084:        :ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
                   10085:        :nd=2\E[C:nw=^M^J:r1=\E>:rc=\E8:\
                   10086:        :rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:so=2\E[7m:\
1.3       deraadt  10087:        :sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
1.1       deraadt  10088:
                   10089: # From: Rick Thomas <ihnp4!btlunix!rbt>
1.2       deraadt  10090: # (xtalk: I added <rmam>/<smam> based on the init string.
1.5       tholo    10091: # I also removed :sg#1: and the trailing \s characters from the highlight
                   10092: # changers, I don't believe these on a VT100-emulating PC display -- esr)
1.1       deraadt  10093: xtalk|IBM PC with xtalk communication program (versions up to 3.4):\
                   10094:        :am:mi:ms:xo:\
1.2       deraadt  10095:        :co#80:it#8:li#24:vt#3:\
1.5       tholo    10096:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   10097:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  10098:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   10099:        :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
1.5       tholo    10100:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:\
                   10101:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   10102:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   10103:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   10104:        :ku=\EOA:le=^H:me=\E[m:nd=\E[C:\
                   10105:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:se=\E[m:sf=^J:\
                   10106:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:up=\E[A:
1.1       deraadt  10107:
                   10108: # The official PC terminal emulator program of the AT&T Product Centers.
                   10109: # Note - insert mode commented out - doesn't seem to work on AT&T PC.
                   10110: simterm|attpc running simterm:\
                   10111:        :am:\
                   10112:        :co#80:li#24:\
1.5       tholo    10113:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E=%+ %+ :cr=^M:\
                   10114:        :dc=\ER:dl=\EM:do=\EB:ho=\EH:im=\EQ:le=^H:me=\E&d@:nd=\EC:\
                   10115:        :se=\E&d@:sf=^J:so=\E&dB:te=\EVE:ti=\EVS:up=\EA:
1.1       deraadt  10116:
                   10117: #### Daisy wheel printers
                   10118: #
                   10119: # This section collects Diablo, DTC, Xerox, Qume, and other daisy
                   10120: # wheel terminals.  These are now largely obsolete.
                   10121: #
1.2       deraadt  10122:
1.5       tholo    10123: # (diablo1620: removed :if=/usr/share/tabset/xerox1720:, no such file -- esr)
1.2       deraadt  10124: diablo1620|diablo1720|diablo450|ipsi|diablo 1620:\
1.1       deraadt  10125:        :hc:os:\
1.2       deraadt  10126:        :co#132:it#8:\
1.5       tholo    10127:        :ch=\E\011%i%.:ct=\E2:do=^J:hd=\ED:hu=\EU:kb=^H:le=^H:\
                   10128:        :st=\E1:ta=^I:up=\E^J:
1.1       deraadt  10129: diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin:\
                   10130:        :co#124:\
1.2       deraadt  10131:        :is=\r        \E9:tc=diablo1620:
1.5       tholo    10132: # (diablo1640: removed :if=/usr/share/tabset/xerox1730:, no such file -- esr)
1.1       deraadt  10133: diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640:\
1.5       tholo    10134:        :bl=^G:se=\E&:so=\EW:ue=\ER:us=\EE:\
                   10135:        :tc=diablo1620:
                   10136: # (diablo1640-lm: removed :if=/usr/share/tabset/xerox1730-lm:, no such
                   10137: # file -- esr)
1.1       deraadt  10138: diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin:\
                   10139:        :co#124:\
1.5       tholo    10140:        :se=\E&:so=\EW:ue=\ER:us=\EE:tc=diablo1620:
1.2       deraadt  10141: diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer:\
1.1       deraadt  10142:        :tc=diablo1640-lm:
1.5       tholo    10143: # DTC 382 with VDU.  Has no :cd: so we fake it with :ce:.  Standout
                   10144: # :so=^P\s\002^PF: works but won't go away without dynamite :se=^P\s\200:.
1.1       deraadt  10145: # The terminal has tabs, but I'm getting tired of fighting the braindamage.
                   10146: # If no tab is set or the terminal's in a bad mood, it glitches the screen
                   10147: # around all of memory.  Note that return puts a blank ("a return character")
                   10148: # in the space the cursor was at, so we use ^P return (and thus ^P newline for
1.2       deraadt  10149: # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
                   10150: # curses won't work (some old BSD versions) because it doesn't clear this bit,
1.1       deraadt  10151: # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
                   10152: # I have been unable to get tabs set in all 96 lines - it always leaves at
                   10153: # least one line with no tabs in it, and once you tab through that line,
                   10154: # it completely weirds out.
1.5       tholo    10155: # (dtc382: change :te: to :ti: -- it  just does a clear --esr)
1.1       deraadt  10156: dtc382|DTC 382:\
                   10157:        :am:da:db:xs:\
                   10158:        :co#80:li#24:lm#96:\
                   10159:        :al=^P^Z:bl=^G:cd=\020\025\020\023\020\023:ce=^P^U:\
                   10160:        :cl=\020\035:cm=\020\021%r%.%.:cr=^P^M:dc=^X:dl=^P^S:\
                   10161:        :ei=^Pi:ho=^P^R:im=^PI:le=^H:nd=^PR:pc=\177:sf=^J:\
1.5       tholo    10162:        :ti=\020\035:ue=^P \200:up=^P^L:us=^P ^P:ve=^Pb:vs=^PB:
1.1       deraadt  10163: dtc300s|DTC 300s:\
                   10164:        :hc:os:\
                   10165:        :co#132:\
1.5       tholo    10166:        :bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\Eh:hu=\EH:kb=^H:le=^H:\
                   10167:        :sf=^J:st=\E1:ta=^I:up=^Z:
1.2       deraadt  10168: gsi|mystery gsi terminal:\
1.1       deraadt  10169:        :hc:os:\
                   10170:        :co#132:\
1.5       tholo    10171:        :bl=^G:cr=^M:do=^J:hd=\Eh:hu=\EH:le=^H:sf=^J:ta=^I:up=^Z:
1.1       deraadt  10172: aj830|aj832|aj|anderson jacobson:\
1.2       deraadt  10173:        :hc:os:\
1.1       deraadt  10174:        :bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
                   10175: # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
1.2       deraadt  10176: aj510|Anderson-Jacobson model 510:\
                   10177:        :am:mi:\
1.1       deraadt  10178:        :co#80:li#24:\
1.5       tholo    10179:        :al=2*\E&I:cd=\E'P:ce=\E'L:cl=^L:cm=\E#%+ %+ :dc=.1*\E'D:\
                   10180:        :dl=2*\E&D:ei=\E'J:ic=:im=\E'I:ip=.1*:kd=\EZ:kl=\EW:kr=\EX:\
                   10181:        :ku=\EY:le=^H:nd=\EX:pc=\177:se=\E"I:so=\E"I:te=\E"N:\
                   10182:        :ti=\E"N:ue=\E"U:up=\EY:us=\E"U:
1.1       deraadt  10183: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   10184: # This is incomplete, but it's a start.
                   10185: nec5520|nec|spinwriter|nec 5520:\
1.2       deraadt  10186:        :hc:os:\
                   10187:        :co#132:it#8:\
1.1       deraadt  10188:        :bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\E]s\n\E]W:\
1.5       tholo    10189:        :hu=\E]s\E9\E]W:kb=^H:le=^H:sf=^J:st=\E1:ta=^I:up=\E9:
1.1       deraadt  10190: qume5|qume|Qume Sprint 5:\
1.2       deraadt  10191:        :hc:os:\
                   10192:        :co#80:it#8:\
1.5       tholo    10193:        :bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\Eh:hu=\EH:kb=^H:le=^H:\
                   10194:        :sf=^J:st=\E1:ta=^I:up=^Z:
1.2       deraadt  10195: # I suspect the xerox 1720 is the same as the diablo 1620.
1.1       deraadt  10196: xerox1720|x1720|x1750|xerox 1720:\
1.2       deraadt  10197:        :hc:os:\
                   10198:        :co#132:it#8:\
1.5       tholo    10199:        :bl=^G:cr=^M:ct=\E2:do=^J:ff=^L:le=^H:sf=^J:st=\E1:ta=^I:
1.1       deraadt  10200:
                   10201: #### Miscellaneous obsolete terminals, manufacturers unknown
                   10202: #
                   10203: # If you have any information about these (like, a manufacturer's name,
                   10204: # and a date on the serial-number plate) please send it!
                   10205:
                   10206: cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
1.2       deraadt  10207:        :am:\
1.1       deraadt  10208:        :co#73:li#36:\
1.2       deraadt  10209:        :cl=^Z:ho=^^:le=^H:nd=^L:up=^K:
1.1       deraadt  10210: cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
1.2       deraadt  10211:        :am:\
1.1       deraadt  10212:        :co#85:li#39:\
1.5       tholo    10213:        :cl=^Z:ho=^^:k1=\E5:k2=\E6:k3=\E7:k4=\E8:kd=\E2:kl=\E3:\
                   10214:        :kr=\E4:ku=\E1:le=^H:nd=^L:se=\Em^C:so=\Em^L:up=^K:
1.2       deraadt  10215: cops10|cops|cops-10|cops 10:\
1.1       deraadt  10216:        :am:bw:\
                   10217:        :co#80:li#24:\
1.5       tholo    10218:        :bl=^G:cd=^W:ce=^V:cl=30\030:cm=\020%+ %+ :cr=^M:do=^J:\
                   10219:        :kb=^H:kd=^J:kh=^Y:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  10220: # (d132: removed duplicate ":ic=\E5:" -- esr)
                   10221: d132|datagraphix|datagraphix 132a:\
                   10222:        :da:db:in:\
                   10223:        :co#80:li#30:\
1.5       tholo    10224:        :al=\E3:bl=^G:cl=^L:cr=^M:dc=\E6:do=^J:ei=:ho=\Et:ic=\E5:im=:\
                   10225:        :nd=\El:sf=\Ev:sr=\Ew:up=\Ek:ve=\Em\En:vs=\Ex:
1.1       deraadt  10226: # The d800 was an early portable terminal from c.1984-85 that looked a lot
                   10227: # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
                   10228: # mode (which is what this entry looks like) and several other lesser-known
                   10229: # emulations.
                   10230: d800|Direct 800/A:\
1.2       deraadt  10231:        :am:da:db:ms:xs:\
                   10232:        :co#80:it#8:li#24:\
1.5       tholo    10233:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
                   10234:        :ae=\E[m:as=\E[1m:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[2J:\
                   10235:        :cm=\E[%i%d;%dH:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   10236:        :k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:kd=\E[B:kl=\E[D:\
                   10237:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\ED:\
                   10238:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[>12h:\
                   10239:        :vs=\E[>12l:
1.1       deraadt  10240: digilog|digilog 333:\
                   10241:        :co#80:li#16:\
1.5       tholo    10242:        :bl=^G:ce=^X:cr=^M:do=^J:ho=^N:le=^H:nd=^I:sf=^J:up=^O:
                   10243: # The DWK was a terminal manufactured in the Soviet Union c.1986
                   10244: dwk|dwk-vt|dwk terminal:\
                   10245:        :am:\
                   10246:        :co#80:it#8:li#24:\
                   10247:        :ac=lJmFkCjXtEuPv\\wKqUxWnNo~s_`+a\072f'g#~_\\\054Q+^.M-Sh#I#0\177:\
                   10248:        :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
                   10249:        :cr=^M:dc=\EP:do=^J:ei=:ho=\EH:ic=\EQ:im=:k1=\Ef1:k2=\Ef2:\
                   10250:        :k3=\Ef3:k4=\Ef4:k5=\Ef5:k6=\Ef6:k7=\Ef7:k8=\Ef8:k9=\Ef9:\
                   10251:        :k;=\Ef0:kD=\Ee:kI=\Ed:kN=\Eh:kP=\Eg:kb=\177:kd=\EB:kl=\ED:\
                   10252:        :kr=\EC:ku=\EA:le=^H:me=\EX:mr=\ET:nd=\EC:nw=^M^J:se=\EX:\
                   10253:        :sf=^J:so=\ET:sr=\ES:ta=^I:up=\EA:
1.1       deraadt  10254: env230|envision230|envision 230 graphics terminal:\
1.2       deraadt  10255:        :xn@:\
1.3       deraadt  10256:        :pf=\E[4i:po=\E[5i:ps=\E[0i:\
1.2       deraadt  10257:        :..sa=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:tc=vt100:
1.1       deraadt  10258: # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
                   10259: # coupler attached, the whole rig fitting in a suitcase and more or less
                   10260: # portable.  Hot stuff for c.1977 :-) -- esr
                   10261: ep48|ep4080|execuport 4080:\
1.2       deraadt  10262:        :am:os:\
1.1       deraadt  10263:        :co#80:\
                   10264:        :bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
                   10265: ep40|ep4000|execuport 4000:\
1.3       deraadt  10266:        :co#136:tc=ep4080:
1.1       deraadt  10267: # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
                   10268: # Informer series - these are all portable units, resembling older
                   10269: # automatic bread-baking machines.  The terminal looks like a `clamshell'
                   10270: # design, but isn't.  The structure is similar to the Direct terminals,
                   10271: # but only half the width.  The entire unit is only about 10" wide.
                   10272: # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
                   10273: # keyboard.  All the keys are crammed together, much like some laptop
                   10274: # PCs today, but perhaps less well organized...all these units have a
                   10275: # bewildering array of plugs on the back, including a built-in modem.
                   10276: # The 305 was a color version of the 304; the 306 and 307 were mono and
                   10277: # color terminals built for IBM bisync protocols.
                   10278: # From: Paul Leondis <unllab@amber.berkeley.edu>
                   10279: ifmr|Informer D304:\
1.2       deraadt  10280:        :am:\
1.1       deraadt  10281:        :co#80:li#24:\
1.5       tholo    10282:        :cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :dc=\E\\:do=^J:ei=:\
                   10283:        :ho=\EH:ic=\E[:im=:le=^H:me=\EK:nd=\EC:se=\EK:so=\EJ:sr=\En:\
                   10284:        :up=\EA:
1.1       deraadt  10285: # Entry largely based on wy60 and has the features of wy60ak.
1.3       deraadt  10286: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   10287: # (sgr removed to fit entry within 1023 bytes)
                   10288: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  10289: opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys:\
1.1       deraadt  10290:        :am:bw:hs:km:mi:ms:ul:xo:\
                   10291:        :co#80:li#24:ws#80:\
1.5       tholo    10292:        :ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:\
                   10293:        :cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\Ez(\r:\
                   10294:        :ei=\Er:fs=^M:ho=\036:if=/usr/share/tabset/std:im=\Eq:ip=:\
1.2       deraadt  10295:        :is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177\Ezz`\E[F\177\EA1*\EZH12:\
1.5       tholo    10296:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   10297:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   10298:        :kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\EG2:\
                   10299:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=^J:sr=\Ej:\
1.3       deraadt  10300:        :st=\E1:ta=\011:\
1.2       deraadt  10301:        :ti=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177:\
1.5       tholo    10302:        :ts=\Ez(:uc=\EG8%p1%c\EG0:up=^K:ve=\E`1:vi=\E`0:\
                   10303:        :tc=adm+sgr:
1.2       deraadt  10304: teletec|Teletec Datascreen:\
1.1       deraadt  10305:        :am:\
                   10306:        :co#80:li#24:\
1.5       tholo    10307:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^^:le=^H:nd=^_:sf=^J:up=^K:
1.2       deraadt  10308: # Terak made a PDP-11 based machine with a bitmapped display that ran UCSD
                   10309: # Pascal as the native OS. It was quite a nice box, and there were several
                   10310: # at UC Berkeley.
1.1       deraadt  10311: terak|Terak emulating Datamedia 1520:\
                   10312:        :tc=dm1520:
                   10313: # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
                   10314: #              This termcap is for the LANPAR Technologies VISION 3220
                   10315: #      terminal.  The function key definitions k0-k5 represent the
                   10316: #      edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
                   10317: #      NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
                   10318: #      PF4 keys.
1.2       deraadt  10319: # (v3220: removed obsolete ":kn#10:",
                   10320: # I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  10321: v3220|LANPAR Vision II model 3220/3221/3222:\
1.2       deraadt  10322:        :am:mi:xn:\
                   10323:        :co#80:it#8:li#24:\
1.5       tholo    10324:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   10325:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:\
                   10326:        :is=\E>\E[?3l\E[?7h\E[?8h\E[p:k0=\E[1~:k1=\E[2~:\
                   10327:        :k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:k6=\E[OP:k7=\E[OQ:\
                   10328:        :k8=\E[OR:k9=\E[OS:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
                   10329:        :ks=\E=:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:\
                   10330:        :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  10331: ######## ICH/ICH1 VERSUS RMIR/SMIR
                   10332: #
                   10333: # Some non-curses applications get confused if both ich/ich1 and rmir/smir
                   10334: # are present; the symptom is doubled characters in an update using insert.
                   10335: # These applications are technically correct; in both 4.3BSD termcap and
                   10336: # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
                   10337: # unless the terminal needs both.  This requirement is now rare; most ich
                   10338: # sequences do not require previous smir, and most smir insert modes do not
                   10339: # require ich1 before each character.
                   10340: #
                   10341: # For ncurses-based applications this is not a problem, as ncurses uses
                   10342: # one or the other as appropriate but never mixes the two.  Therefore we
                   10343: # have not corrected entries like `linux' and `xterm' that specify both.
                   10344: # If you see doubled characters from these, use the linux-nic and xterm-nic
1.2       deraadt  10345: # entries that suppress ich/ich1.  And upgrade to ncurses!
                   10346: #
                   10347:
1.3       deraadt  10348: ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
1.2       deraadt  10349: #
                   10350: # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
                   10351: # ECMA-48 standards are said to be almost identical, but are not the same
1.3       deraadt  10352: # as X3.64 (though for practical purposes they are close supersets of it).
1.2       deraadt  10353: #
                   10354: # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
                   10355: # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
                   10356: # Coded Character Sets"), include your snail-mail address, and you should
                   10357: # receive the document in due course.  Don't expect an email acknowledgement.
                   10358: #
                   10359: # Related standards include "X3.4-1977: American National Standard Code for
                   10360: # Information Interchange" (the ASCII standard) and "X3.41.1974:
                   10361: # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
1.3       deraadt  10362: # American National Standard for Information Interchange."  I believe (but
                   10363: # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
                   10364: # respectively.
1.1       deraadt  10365: #
1.2       deraadt  10366:
1.3       deraadt  10367: #### VT100/ANSI/ECMA-48
1.1       deraadt  10368: #
                   10369: # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
1.3       deraadt  10370: # and ECMA-48 Control Functions for Coded Character Sets.
1.1       deraadt  10371: #
1.5       tholo    10372: # Much of the content of this comment is adapted from a table prepared by
1.3       deraadt  10373: # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
                   10374: # discussion of some terminfo-related issues, and updates to capture ECMA-48
                   10375: # have been added.  Control functions described in ECMA-48 only are tagged
                   10376: # with * after their names.
                   10377: #
                   10378: # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
                   10379: # sequences.  In the main table, \E stands for an escape (\033) character,
                   10380: # SPC for space.  Pn stands for a single numeric parameter to be inserted
                   10381: # in decimal ASCII.  Ps stands for a list of such parameters separated by
                   10382: # semicolons.  Parameter meanings for most parametrized sequences are
                   10383: # decribed in the notes.
                   10384: #
1.1       deraadt  10385: # Sequence     Sequence                             Parameter   or
                   10386: # Mnemonic     Name              Sequence           Value      Mode   terminfo
                   10387: # -----------------------------------------------------------------------------
1.3       deraadt  10388: # APC  Applicatn Program Command \E _                -         Delim  -
                   10389: # BEL  Bell *                    ^G                  -         -      bel
                   10390: # BPH  Break Permitted Here *    \E B                -         *      -
                   10391: # BS   Backpace *                ^H                  -         EF     -
                   10392: # CAN  Cancel *                  ^X                  -         -      -   (A)
1.1       deraadt  10393: # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
                   10394: # CCH  Cancel Previous Character \E T                -         -      -
1.3       deraadt  10395: # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
                   10396: # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
                   10397: # CMD  Coding Method Delimiter * \E
                   10398: # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
1.1       deraadt  10399: # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
1.3       deraadt  10400: # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
1.1       deraadt  10401: # CSI  Control Sequence Intro    \E [                -         Intro  -
1.3       deraadt  10402: # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
1.1       deraadt  10403: # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
                   10404: # CUD  Cursor Down               \E [ Pn B           1         eF     cud
                   10405: # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
1.3       deraadt  10406: # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
1.1       deraadt  10407: # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
1.3       deraadt  10408: # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
1.1       deraadt  10409: # DA   Device Attributes         \E [ Pn c           0         -      -
                   10410: # DAQ  Define Area Qualification \E [ Ps o           0         -      -
                   10411: # DCH  Delete Character          \E [ Pn P           1         eF     dch
                   10412: # DCS  Device Control String     \E P                -         Delim  -
                   10413: # DL   Delete Line               \E [ Pn M           1         eF     dl
1.3       deraadt  10414: # DLE  Data Link Escape *        ^P                  -         -      -
1.1       deraadt  10415: # DMI  Disable Manual Input      \E \                -         Fs     -
1.3       deraadt  10416: # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
                   10417: # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
                   10418: # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
1.1       deraadt  10419: # ECH  Erase Character           \E [ Pn X           1         eF     ech
1.3       deraadt  10420: # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
1.1       deraadt  10421: # EF   Erase in Field            \E [ Ps N           0         eF     -
1.3       deraadt  10422: # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
                   10423: # EM   Eend of Medium *          ^Y                  -         -      -
1.1       deraadt  10424: # EMI  Enable Manual Input       \E b                          Fs     -
1.3       deraadt  10425: # ENQ  Enquire                   ^E                  -         -      -
1.5       tholo    10426: # EOT  End Of Transmission       ^D                  -         *      -
1.3       deraadt  10427: # EPA  End of Protected Area     \E W                -         -      -   (K)
1.1       deraadt  10428: # ESA  End of Selected Area      \E G                -         -      -
1.3       deraadt  10429: # ESC  Escape                    ^[                  -         -      -
                   10430: # ETB  End Transmission Block    ^W                  -         -      -
                   10431: # ETX  End of Text               ^C                  -         -      -
                   10432: # FF   Form Feed                 ^L                  -         -      -
                   10433: # FNK  Function Key *            \E [ Pn SPC W       -         -      -
                   10434: # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
1.1       deraadt  10435: # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
1.3       deraadt  10436: # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
1.1       deraadt  10437: # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
1.3       deraadt  10438: # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
                   10439: # HPB  Char Position Backward    \E [ j              1         FE     -
                   10440: # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
                   10441: # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
                   10442: # HTJ  Horz Tab w/Justification  \E I                -         FE     -
1.1       deraadt  10443: # HTS  Horizontal Tab Set        \E H                -         FE     hts
1.3       deraadt  10444: # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
1.1       deraadt  10445: # ICH  Insert Character          \E [ Pn @           1         eF     ich
1.3       deraadt  10446: # IDCS ID Device Control String  \E [ SPC O          -         *      -
                   10447: # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
1.1       deraadt  10448: # IL   Insert Line               \E [ Pn L           1         eF     il
                   10449: # IND  Index                     \E D                -         FE     -
                   10450: # INT  Interrupt                 \E a                -         Fs     -
                   10451: # JFY  Justify                   \E [ Ps SPC F       0         FE     -
1.3       deraadt  10452: # IS1  Info Separator #1 *       ^_                  -         *      -
                   10453: # IS2  Info Separator #1 *       ^^                  -         *      -
                   10454: # IS3  Info Separator #1 *       ^]                  -         *      -
                   10455: # IS4  Info Separator #1 *       ^\                  -         *      -
                   10456: # LF   Line Feed                 ^J                  -         -      -
                   10457: # LS1R Locking Shift Right 1 *   \E ~                -         -      -
                   10458: # LS2  Locking Shift 2 *         \E n                -         -      -
                   10459: # LS2R Locking Shift Right 2 *   \E }                -         -      -
                   10460: # LS3  Locking Shift 3 *         \E o                -         -      -
                   10461: # LS3R Locking Shift Right 3 *   \E |                -         -      -
                   10462: # MC   Media Copy                \E [ Ps i           0         -      -   (S)
1.1       deraadt  10463: # MW   Message Waiting           \E U                -         -      -
1.5       tholo    10464: # NAK  Negative Acknowledge *    ^U                  -         *      -
1.3       deraadt  10465: # NBH  No Break Here *           \E C                -         -      -
                   10466: # NEL  Next Line                 \E E                -         FE     nel (D)
1.1       deraadt  10467: # NP   Next Page                 \E [ Pn U           1         eF     -
1.3       deraadt  10468: # NUL  Null *                    ^@                  -         -      -
1.1       deraadt  10469: # OSC  Operating System Command  \E ]                -         Delim  -
1.5       tholo    10470: # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
                   10471: # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
                   10472: # PLD  Partial Line Down         \E K                -         FE     -   (T)
                   10473: # PLU  Partial Line Up           \E L                -         FE     -   (U)
1.1       deraadt  10474: # PM   Privacy Message           \E ^                -         Delim  -
                   10475: # PP   Preceding Page            \E [ Pn V           1         eF     -
1.5       tholo    10476: # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
                   10477: # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
                   10478: # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
                   10479: # PTX  Parallel Texts *          \E [ \              -         -      -
1.1       deraadt  10480: # PU1  Private Use 1             \E Q                -         -      -
                   10481: # PU2  Private Use 2             \E R                -         -      -
                   10482: # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
                   10483: # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
1.5       tholo    10484: # RI   Reverse Index             \E M                -         FE     -   (V)
1.1       deraadt  10485: # RIS  Reset to Initial State    \E c                -         Fs     -
1.5       tholo    10486: # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
                   10487: # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
                   10488: # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
                   10489: # SCI  Single-Char Introducer    \E Z                -         -      -
                   10490: # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
                   10491: # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
1.1       deraadt  10492: # SD   Scroll Down               \E [ Pn T           1         eF     rin
1.5       tholo    10493: # SDS  Start Directed String *   \E [ Pn ]           1         -      -
                   10494: # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
                   10495: # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
1.3       deraadt  10496: # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
1.5       tholo    10497: # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
1.3       deraadt  10498: # SI   Shift In                  ^O                  -         -      -   (P)
1.5       tholo    10499: # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
1.1       deraadt  10500: # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
1.5       tholo    10501: # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
                   10502: # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
                   10503: # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
                   10504: # SM   Select Mode               \E [ Ps h           none      -      -   (W)
1.3       deraadt  10505: # SO   Shift Out                 ^N                  -         -      -   (Q)
1.5       tholo    10506: # SOH  Start Of Heading *        ^A                  -         -      -
                   10507: # SOS  Start of String *         \E X                -         -      -
                   10508: # SPA  Start of Protected Area   \E V                -         -      -   (Z)
                   10509: # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
                   10510: # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
1.1       deraadt  10511: # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
1.5       tholo    10512: # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
                   10513: # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
1.1       deraadt  10514: # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
1.5       tholo    10515: # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
                   10516: # SRS  Start Reversed String *   \E [ Ps [           0         -      -
                   10517: # SSA  Start of Selected Area    \E F                -         -      -
                   10518: # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
                   10519: # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
1.1       deraadt  10520: # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
                   10521: # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
                   10522: # ST   String Terminator         \E \                -         Delim  -
1.5       tholo    10523: # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
1.1       deraadt  10524: # STS  Set Transmit State        \E S                -         -      -
1.5       tholo    10525: # STX  Start pf Text *           ^B                  -         -      -
1.1       deraadt  10526: # SU   Scroll Up                 \E [ Pn S           1         eF     indn
1.5       tholo    10527: # SUB  Substitute *              ^Z                  -         -      -
                   10528: # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
                   10529: # SYN  Synchronous Idle *        ^F                  -         -      -
                   10530: # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
                   10531: # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
                   10532: # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
1.1       deraadt  10533: # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
1.5       tholo    10534: # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
                   10535: # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
1.1       deraadt  10536: # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
1.5       tholo    10537: # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
                   10538: # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
                   10539: # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
                   10540: # VT   Vertical Tabulation *     ^K                  -         FE     -
1.1       deraadt  10541: # VTS  Vertical Tabulation Set   \E J                -         FE     -
                   10542: #
                   10543: # ---------------------------------------------------------------------------
                   10544: #
                   10545: # Notes:
                   10546: #
1.3       deraadt  10547: # Some control characters are listed in the ECMA-48 standard without
                   10548: # being assigned functions relevant to terminal control there (they
                   10549: # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
                   10550: # here anyway for completeness.
                   10551: #
1.5       tholo    10552: # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
1.3       deraadt  10553: #
                   10554: # (B) There seems to be some confusion abroad between CHA and HPA.  Most
1.1       deraadt  10555: # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
1.3       deraadt  10556: # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
1.5       tholo    10557: # preserved the CHA abbreviation.
1.1       deraadt  10558: #
1.3       deraadt  10559: # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
1.1       deraadt  10560: # Occasionally (as on, for example, certain HP terminals) this has the HTJ
1.3       deraadt  10561: # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
1.5       tholo    10562: # CHT abbreviation.
1.1       deraadt  10563: #
1.3       deraadt  10564: # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
1.1       deraadt  10565: #
1.3       deraadt  10566: # (E) ECNA-48 calls this "Active Position Report" but preserves the CPR
1.5       tholo    10567: # abbreviation.
1.3       deraadt  10568: #
                   10569: # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
                   10570: # char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
                   10571: # 5 = clear all char tabs, 6 = clear all line tabs.
                   10572: #
                   10573: # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
                   10574: # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
1.5       tholo    10575: # Position Absolute" but retains the HVP abbreviation.
1.3       deraadt  10576: #
1.5       tholo    10577: # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
                   10578: # abbreviation.
1.1       deraadt  10579: #
1.3       deraadt  10580: # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
                   10581: # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
                   10582: # DSR, 6 = request CPR response.
                   10583: #
                   10584: # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
                   10585: # 1 = clear from beginning, 2 = clear.
1.1       deraadt  10586: #
1.5       tholo    10587: # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
1.3       deraadt  10588: #
                   10589: # (L) The GSM parameters are vertical and horizontal parameters to scale by.
                   10590: #
                   10591: # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
                   10592: # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
1.5       tholo    10593: # Position Relative" but retains the HPR abbreviation.
1.1       deraadt  10594: #
1.5       tholo    10595: # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
                   10596: # abbreviation.
1.1       deraadt  10597: #
1.3       deraadt  10598: # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
                   10599: # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
                   10600: # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
                   10601: # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
                   10602: # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
                   10603: # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
                   10604: # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
                   10605: # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
                   10606: # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
                   10607: # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
                   10608: # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
                   10609: # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
                   10610: # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
                   10611: # 61-65 = variable highlights for ideograms.
                   10612: #
                   10613: # (P) SI is also called LSO, Locking Shift Zero.
                   10614: #
                   10615: # (Q) SI is also called LS1, Locking Shift One.
                   10616: #
                   10617: # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
1.5       tholo    10618: # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
                   10619: # Absolute but retains the VPA abbreviation.
1.1       deraadt  10620: #
1.3       deraadt  10621: # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
                   10622: # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
                   10623: # from secondary aux device, 4 = stop relay to primary aux device, 5 =
                   10624: # start relay to primary aux device, 6 = stop relay to secondary aux device,
                   10625: # 7 = start relay to secondary aux device.
                   10626: #
1.5       tholo    10627: # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
                   10628: # abbreviation.
                   10629: #
                   10630: # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
                   10631: # abbreviation.
                   10632: #
                   10633: # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
                   10634: #
                   10635: # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM),
                   10636: # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
                   10637: # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
                   10638: # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
                   10639: # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
                   10640: # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
                   10641: # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
                   10642: # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
                   10643: # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
                   10644: # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
                   10645: # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
                   10646: # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
                   10647: # from ECMA-48's 5th edition but are listed here for reference.
                   10648: #
                   10649: # (X) Select Alternate Presentation Variants is used only for non-Latin
                   10650: # alphabets.
                   10651: #
                   10652: # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
                   10653: #
                   10654: # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
                   10655: # abbreviation.
                   10656: #
1.1       deraadt  10657: # ---------------------------------------------------------------------------
                   10658: #
                   10659: # Abbreviations:
                   10660: #
                   10661: # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
                   10662: #        X3.64 Control Sequence Introducer is the two characters "Escape ["
                   10663: #
                   10664: # Delim  a Delimiter
                   10665: #
                   10666: # x/y    identifies a character by position in the ASCII table (column/row)
                   10667: #
                   10668: # eF     editor function (see explanation)
                   10669: #
                   10670: # FE     format effector (see explanation)
1.3       deraadt  10671: #
1.1       deraadt  10672: # F      is a Final character in
                   10673: #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
                   10674: #             a control sequence (F from 4/0 to 7/14)
                   10675: #
                   10676: # Gs     is a graphic character appearing in strings (Gs ranges from
                   10677: #        2/0 to 7/14) in the ASCII table
                   10678: #
                   10679: # Ce     is a control represented as a single bit combination in the C1 set
                   10680: #        of controls in an 8-bit character set
                   10681: #
                   10682: # C0     the familiar set of 7-bit ASCII control characters
                   10683: #
1.5       tholo    10684: # C1     roughly, the set of control chars available only in 8-bit systems.
1.1       deraadt  10685: #        This is too complicated to explain fully here, so read Jim Fleming's
                   10686: #        article in the February 1983 BYTE, especially pages 214 through 224.
                   10687: #
                   10688: # Fe     is a Final character of a 2-character Escape sequence that has an
                   10689: #        equivalent representation in an 8-bit environment as a Ce-type
                   10690: #        (Fe ranges from 4/0 to 5/15)
                   10691: #
                   10692: # Fs     is a Final character of a 2-character Escape sequence that is
                   10693: #        standardized internationally with identical representation in 7-bit
                   10694: #        and 8-bit environments and is independent of the currently
                   10695: #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
                   10696: #
                   10697: # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
                   10698: #        ASCII table
                   10699: #
                   10700: # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
                   10701: #        table
                   10702: #
                   10703: # Pn     is a numeric parameter in a control sequence, a string of zero or
                   10704: #        more characters ranging from 3/0 to 3/9 in the ASCII table
                   10705: #
                   10706: # Ps     is a variable number of selective parameters in a control sequence
                   10707: #        with each selective parameter separated from the other by the code
                   10708: #        3/11 (which usually represents a semicolon); Ps ranges from
                   10709: #        3/0 to 3/9 and includes 3/11
1.3       deraadt  10710: #
                   10711: # *      Not relevant to terminal control, listed for completeness only.
1.1       deraadt  10712: #
                   10713: # Format Effectors versus Editor Functions
                   10714: #
                   10715: # A format effector specifies how following output is to be displayed.
                   10716: # An editor function allows you to modify the display.  Informally
                   10717: # format effectors may be destructive; format effectors should not be.
                   10718: #
                   10719: # For instance, a format effector that moves the "active position" (the
                   10720: # cursor or equivalent) one space to the left would be useful when you want to
                   10721: # create an overstrike, a compound character made of two standard characters
                   10722: # overlaid. Control-H, the Backspace character, is actually supposed to be a
                   10723: # format effector, so you can do this. But many systems use it in a
                   10724: # nonstandard fashion, as an editor function, deleting the character to the
                   10725: # left of the cursor and moving the cursor left. When Control-H is assumed to
                   10726: # be an editor function, you cannot predict whether its use will create an
                   10727: # overstrike unless you also know whether the output device is in an "insert
                   10728: # mode" or an "overwrite mode". When Control-H is used as a format effector,
                   10729: # its effect can always be predicted. The familiar characters carriage
                   10730: # return, linefeed, formfeed, etc., are defined as format effectors.
                   10731: #
                   10732: # NOTES ON THE DEC VT100 IMPLEMENTATION
                   10733: #
                   10734: # Control sequences implemented in the VT100 are as follows:
                   10735: #
                   10736: #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
                   10737: #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
                   10738: #
                   10739: # plus several private DEC commands.
                   10740: #
                   10741: # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
                   10742: #
                   10743: #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
                   10744: #      Erase from beginning of line to cursor     Esc [ 1 K
                   10745: #      Erase line containing cursor               Esc [ 2 K
                   10746: #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
                   10747: #      Erase from beginning of screen to cursor   Esc [ 1 J
                   10748: #      Erase entire screen                        Esc [ 2 J
1.2       deraadt  10749: #
                   10750: # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
                   10751: # Esc [ 2 J, but this is wrong; the default is 0.
1.1       deraadt  10752: #
                   10753: # The VT100 responds to receiving the DA (Device Attributes) control
                   10754: #
                   10755: #      Esc [ c    (or Esc [ 0 c)
                   10756: #
                   10757: # by transmitting the sequence
                   10758: #
                   10759: #      Esc [ ? l ; Ps c
                   10760: #
                   10761: # where Ps is a character that describes installed options.
                   10762: #
                   10763: # The VT100's cursor location can be read with the DSR (Device Status
                   10764: # Report) control
                   10765: #
                   10766: #      Esc [ 6 n
                   10767: #
                   10768: # The VT100 reports by transmitting the CPR sequence
                   10769: #
                   10770: #      Esc [ Pl ; Pc R
                   10771: #
                   10772: # where Pl is the line number and Pc is the column number (in decimal).
                   10773: #
                   10774: # The specification for the DEC VT100 is document EK-VT100-UG-003.
1.2       deraadt  10775:
                   10776: #### ANSI.SYS
1.1       deraadt  10777: #
1.2       deraadt  10778: # Here is a description of the color and attribute controls supported in the
                   10779: # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
                   10780: # terminal emulators for Intel boxes obey these.
1.1       deraadt  10781: #
                   10782: # 0    all attributes off
                   10783: # 1    foreground bright
                   10784: # 4    underscore on
                   10785: # 5    blink on/background bright (not reliable with brown)
                   10786: # 7    reverse-video
                   10787: # 8    set blank (non-display)
                   10788: # 10   set primary font
                   10789: # 11   set first alternate font (on PCs, display ROM characters 1-31)
                   10790: # 12   set second alternate font (on PCs, display IBM high-half chars)
                   10791: #
                   10792: #                      Color attribute sets
                   10793: # 3n   set foreground color       / 0=black, 1=red,     2=green, 3=brown,
                   10794: # 4n   set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
                   10795: # Bright black becomes gray.  Bright brown becomes yellow,
1.3       deraadt  10796: # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
1.2       deraadt  10797: #
                   10798: # * If the 5 attribute is on and you set a background color (40-47) it is
                   10799: #   supposed to enable bright background.
                   10800: #
1.1       deraadt  10801: # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
                   10802: #   when you try to set a "bright brown" (yellow) background with attribute
                   10803: #   5 (you get a blinking yellow foreground instead).  A few displays
                   10804: #   (including the System V console) support an attribute 6 that undoes this
1.2       deraadt  10805: #   braindamage (this is required by iBCS2).
1.1       deraadt  10806: #
                   10807: # * Some older versions of ANSI.SYS have a bug that causes thems to require
                   10808: #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.
1.2       deraadt  10809: #
                   10810: # The entries following are not standalone.  They are meant to be included
                   10811: # via use= in other entries.
                   10812: #
                   10813:
                   10814: #### Intel Binary Compatibility Standard
                   10815: #
                   10816: # For comparison, here are the capabilities implied by the Intel Binary
                   10817: # Compatibility Standard for UNIX systems (Intel order number 468366-001).
                   10818: # These recommendations are optional.  IBCS2 allows the leading escape to
1.3       deraadt  10819: # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
                   10820: # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
                   10821: # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
                   10822: # terminfo entry are followed with the corresponding capability in parens:
                   10823: #
                   10824: #      CSI <n>k                disable (n=0) or enable (n=1) keyclick
                   10825: #      CSI 2h                  lock keyboard
                   10826: #      CSI 2i                  send screen as input
                   10827: #      CSI 2l                  unlock keyboard
                   10828: #      CSI 6m                  enable background color intensity
                   10829: #      CSI <0-2>c              reserved
                   10830: #      CSI <0-59>m             select graphic rendition
                   10831: #      CSI <n>;<m>H    (cup)   cursor to line n and column m
                   10832: #      CSI <n>;<m>f            cursor to line n and column m
                   10833: #      CSI <n>@        (ich)   insert characters
                   10834: #      CSI <n>A        (cuu)   cursor up n lines
                   10835: #      CSI <n>B        (cud)   cursor down n lines
                   10836: #      CSI <n>C        (cuu)   cursor right n characters
                   10837: #      CSI <n>D        (cud)   cursor left n characters
                   10838: #      CSI <n>E                cursor down n lines and in first column
                   10839: #      CSI <n>F                cursor up n lines and in first column
                   10840: #      CSI <n>G        (hpa)   position cursor at column n-1
                   10841: #      CSI <n>J        (ed)    erase in display
                   10842: #      CSI <n>K        (el)    erase in line
                   10843: #      CSI <n>L        (il)    insert line(s)
                   10844: #      CSI <n>P        (dch)   delete characters
                   10845: #      CSI <n>S        (indn)  scroll up n lines
                   10846: #      CSI <n>T        (rin)   scroll down n lines
                   10847: #      CSI <n>X        (ech)   erase characters
                   10848: #      CSI <n>Z        (cbt)   back up n tab stops
                   10849: #      CSI <n>`                cursor to column n on line
                   10850: #      CSI <n>a        (cuu)   cursor right n characters
                   10851: #      CSI <n>d        (vpa)   cursor to line n
                   10852: #      CSI <n>e                cursor down n lines and in first column
                   10853: #      CSI <n>g        (cbt)   clear all tabs
                   10854: #      CSI <n>z                make virtual terminal n active
                   10855: #      CSI ?7h         (smam)  turn automargin on
                   10856: #      CSI ?7l         (rmam)  turn automargin off
                   10857: #      CSI s                   save cursor position
                   10858: #      CSI u                   restore cursor position to saved value
                   10859: #      CSI =<c>A               set overscan color
                   10860: #      CSI =<c>F               set normal foreground color
                   10861: #      CSI =<c>G               set normal background color
                   10862: #      CSI =<c>H               set reverse foreground color
                   10863: #      CSI =<c>I               set reverse foreground color
                   10864: #      CSI =<c>J               set graphic foreground color
                   10865: #      CSI =<c>K               set graphic foreground color
1.2       deraadt  10866: #      CSI =<n>g       (dispc) display n from alternate graphics character set
1.3       deraadt  10867: #      CSI =<p>;<d>B           set bell parameters
                   10868: #      CSI =<s>;<e>C           set cursor parameters
                   10869: #      CSI =<x>D               enable/disable intensity of background color
                   10870: #      CSI =<x>E               set/clear blink vs. bold background
                   10871: #      CSI 7           (sc)    (sc) save cursor position
                   10872: #      CSI 8           (rc)    (rc) restore cursor position to saved value
                   10873: #      CSI H           (hts)   (hts) set tab stop
1.2       deraadt  10874: #      CSI Q<n><string>        define function key string
                   10875: #                              (string must begin and end with delimiter char)
                   10876: #      CSI c           (clear) clear screen
                   10877: #
                   10878: # The lack of any specification for attributes in SGR (among other things)
                   10879: # makes this a wretchedly weak standard. The table above is literally
                   10880: # everything iBSC2 has to say about terminal escape sequences; there is
                   10881: # no further discussion of their meaning or how to set the parameters
                   10882: # in these sequences at all.
                   10883: #
1.1       deraadt  10884:
                   10885: ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
                   10886: #
                   10887: # The historical termcap file entries were written primarily in 4.4BSD termcap.
                   10888: # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
                   10889: # with the extension names chosen for compatibility with the termcap names
                   10890: # assigned in System V terminfo.  There are some variant extension sets out
                   10891: # there.  We try to describe them here.
                   10892: #
                   10893: # XENIX extensions:
                   10894: #
                   10895: # The XENIX extensions include a set of function-key capabilities as follows:
                   10896: #
                   10897: #       code   XENIX variable name     terminfo name   name clashes?
                   10898: #      ----    -------------------     -------------   -----------------------
                   10899: #      CL      key_char_left
                   10900: #      CR      key_char_right
                   10901: #      CW      key_change_window                       create_window
                   10902: #      EN      key_end                 kend
                   10903: #      HM      key_home                khome
                   10904: #      HP      ??
                   10905: #      LD      key_delete_line         kdl1
                   10906: #      LF      key_linefeed                            label_off
                   10907: #      NU      key_next_unlocked_cell
                   10908: #      PD      key_page_down           knp
                   10909: #      PL      ??
                   10910: #      PN      start_print             mc5
                   10911: #      PR      ??
                   10912: #      PS      stop_print              mc4
                   10913: #      PU      key_page_up             kpp             pulse
                   10914: #      RC      key_recalc                              remove_clock
                   10915: #      RF      key_toggle_ref                          req_for_input
                   10916: #      RT      key_return              kent
                   10917: #      UP      key_up_arrow            kcuu1           parm_up_cursor
                   10918: #      WL      key_word_left
                   10919: #      WR      key_word_right
                   10920: #
                   10921: # The XENIX extensions also include the following character-set and highlight
                   10922: # capabilities:
                   10923: #
                   10924: #      XENIX   terminfo        function
                   10925: #      -----   --------        ------------------------------
                   10926: #      GS      smacs           start alternate character set
                   10927: #      GE      rmacs           end alternate character set
                   10928: #      GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
                   10929: #      bo      blink           begin blink (not used in /etc/termcap)
                   10930: #      be                      end blink (not used in /etc/termcap)
                   10931: #      bb                      blink glitch  (not used in /etc/termcap)
                   10932: #      it      dim             begin dim (not used in /etc/termcap)
                   10933: #      ie                      end dim (not used in /etc/termcap)
                   10934: #      ig                      dim glitch  (not used in /etc/termcap)
                   10935: #
1.2       deraadt  10936: # Finally, XENIX also used the following forms-drawing capabilities:
1.1       deraadt  10937: #
1.2       deraadt  10938: #      single  double  type             ASCII approximation
                   10939: #      ------  ------  -------------    -------------------
                   10940: #      GV      Gv      vertical line             |
                   10941: #      GH      Gv      horizontal line       -   _
                   10942: #      G1      G5      top right corner       _   |
                   10943: #      G2      G6      top left corner       |
                   10944: #      G3      G7      bottom left corner         |_
                   10945: #      G4      G8      bottom right corner   _|
                   10946: #      GD      Gd      down-tick character        T
                   10947: #      GL      Gl      left-tick character   -|
                   10948: #      GR      Gr      right-tick character       |-
                   10949: #      GC      Gc      middle intersection   -|-
                   10950: #      GU      Gu      up-tick character          _|_
                   10951: #
                   10952: # These were invented to take advantage of the IBM PC ROM character set.  One
                   10953: # can compose an acsc string from the single-width characters as follows
                   10954: #      "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
                   10955: # The double forms characters don't fit the SVr4 terminfo model.
1.1       deraadt  10956: #
                   10957: # AT&T Extensions:
                   10958: #
                   10959: # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
                   10960: # nonstandard capabilities.  Its signature is the KM capability, used to name
                   10961: # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
                   10962: # set.  Comments in the original, and a little cross-checking with other AT&T
                   10963: # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
                   10964: # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
                   10965: # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
                   10966: # cursor invisible), and CV=:ve: (make cursor normal).
                   10967: #
1.2       deraadt  10968: # HP Extensions
                   10969: #
                   10970: # The HP library (as of mid-1995, their term.h file version 70.1) appears to
                   10971: # have the System V capabilities up to SVr1 level.  After that, it supports
                   10972: # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
                   10973: # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
                   10974: # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
                   10975: # HP binary format incompatible with SVr4's.
                   10976: #
                   10977: # IBM Extensions
                   10978: #
                   10979: # There is a set of nonstandard terminfos used by IBM's AIX operating system.
                   10980: # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
                   10981: # capabilities following prtr_non with the following special capabilties:
                   10982: # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
                   10983: # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
                   10984: # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
                   10985: # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
                   10986: # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
                   10987: # renamed (to kcbt and kslt).  The places in the box[12] capabilities
                   10988: # correspond to acsc chars, here is the mapping:
                   10989: #
                   10990: #      box1[0]  = ACS_ULCORNER
                   10991: #      box1[1]  = ACS_HLINE
                   10992: #      box1[2]  = ACS_URCORNER
                   10993: #      box1[3]  = ACS_VLINE
                   10994: #      box1[4]  = ACS_LRCORNER
                   10995: #      box1[5]  = ACS_LLCORNER
                   10996: #      box1[6]  = ACS_TTEE
                   10997: #      box1[7]  = ACS_RTEE
                   10998: #      box1[8]  = ACS_BTEE
                   10999: #      box1[9]  = ACS_LTEE
                   11000: #      box1[10] = ACS_PLUS
                   11001: #
                   11002: # The box2 characters are the double-line versions of these forms graphics.
                   11003: # The AIX binary terminfo format is incompatible with SVr4's.
                   11004: #
1.5       tholo    11005: # Iris console extensions:
                   11006: #
                   11007: # HS is half-intensity start; HE is half-intensity end
                   11008: # CT is color terminal type (for Curses & rogue)
                   11009: # CP is color change escape sequence
                   11010: # CZ are color names (for Curses & rogue)
                   11011: #
                   11012: # The ncurses tic utility recognizes HS as an alias for mh <dim>.
                   11013: #
1.1       deraadt  11014: # TC Extensions:
                   11015: #
                   11016: # There is a set of extended termcaps associated with something
                   11017: # called the "Terminal Control" or TC package created by MainStream Systems,
                   11018: # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
                   11019: # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
                   11020: # that flags color terminals.
1.2       deraadt  11021: #
1.1       deraadt  11022: ######## CHANGE HISTORY
                   11023: #
1.2       deraadt  11024: # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
                   11025: # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
                   11026: # project.
                   11027: #
                   11028: # This file contains all the capability information present in John Kunze's
                   11029: # last version of the termcap master file, except as noted in the change
                   11030: # comments at end of file.  Some information about very ancient obsolete
                   11031: # capabilities has been moved to comments.  Some all-numeric names of older
                   11032: # terminals have been retired.
                   11033: #
                   11034: # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
                   11035: # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
                   11036: # used by BSD curses.
                   11037: #
                   11038: # The 9.1.0 version of this file was translated from my lightly-edited copy of
                   11039: # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
                   11040: # the purpose.  Unless the ncurses tic implementation and the Lisp code were
                   11041: # making perfectly synchronized mistakes which I then failed to catch by
                   11042: # eyeball, the translation was correct and perfectly information-preserving.
                   11043: #
                   11044: # Here is a log of the changes since then:
                   11045: #
1.1       deraadt  11046: # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
                   11047: #      * First terminfo master translated from 8.3.
                   11048: # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
                   11049: #      * Replaced Wyse entries with updated entries supplied by vendor.
                   11050: #
                   11051: # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
                   11052: #      * Added contact & status info from G. Clark Brown <clark@sssi.com>.
                   11053: # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
                   11054: #      * Better XENIX keycap translation.  Describe TC termcaps.
                   11055: #      * Contact and history info supplied by Qume.
                   11056: # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
1.5       tholo    11057: #      * Raided the Shuford FTP site for recent termcaps/terminfos.
1.1       deraadt  11058: #      * Added information on X3.64 and VT100 standard escape sequences.
                   11059: # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
                   11060: #      * Added a correct X11R6 xterm entry.
                   11061: #      * Fixed terminfo translations of padding.
                   11062: # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
                   11063: #      * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
                   11064: #      * Added u6/u7/u8/u9 capabilities.
                   11065: #      * Added PCVT entry.
                   11066: # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
                   11067: #      * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
                   11068: #        to use reverse-video standout so Emacs will look right.
                   11069: #      * Added el1 capability to ansi.
                   11070: #      * Added smacs/rmacs to ansi.sys.
                   11071: #
                   11072: # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
                   11073: #      * New mt70 entry.
                   11074: #      * Added COPYRIGHTS AND OTHER DELUSIONS.
                   11075: #      * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
                   11076: #        smartvid & smarterm, ampex 175 & 219 & 232,
                   11077: #        env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
                   11078: #        ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
                   11079: #        screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
                   11080: #        adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
                   11081: #      * Replaced the Perkin-Elmer entries with vendor's official ones.
                   11082: #      * Restored the old minimal-ansi entry, luna needs it.
                   11083: #      * Fixed some incorrect ip and proportional-padding translations.
                   11084: # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
                   11085: #      * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
                   11086: #      * Make the xterm entry 65 lines again; create xterm25 and xterm24
                   11087: #        to force a particular height.
                   11088: #      * Added beehive4 and reorganized other Harris entries.
                   11089: # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
                   11090: #      * Merged in DEC's official entries for its terminals.  The only old
                   11091: #        entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
                   11092: #      * Replaced the translated BBN Bitgraph entries with purpose-built
                   11093: #        ones from AT&T's SVr3.
                   11094: #      * Replaced the AT&T entries with AT&T's official terminfos.
                   11095: #      * Added teleray 16, vc415, cops10.
                   11096: #      * Merged in many individual capabilities from SCO terminfo files.
                   11097: # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
                   11098: #      * Typo fixes.
                   11099: #      * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
                   11100: # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
                   11101: #      * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
                   11102: #        pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
                   11103: #        simterm, citoh and variants.
                   11104: #      * Replaced sol entry with sol1 and sol2.
                   11105: #      * Replaced Qume QVT and Freedom-series entries with purpose-built
                   11106: #        terminfo entries.
                   11107: #      * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
                   11108: #        and dg200 entries using caps from from SCO.
                   11109: #      * Added the usual set of function-key mappings to ANSI entry.
                   11110: #      * Corrected xterm's function-key capabilities.
                   11111: # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
                   11112: #      * Fix in xterm entry, cub and cud are not reliable under X11R6.
                   11113: # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
                   11114: #      * Fix in xterm entry, get the arrow keys right.
                   11115: #      * Change some \0 escapes to \200.
                   11116: # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
                   11117: #      * Added apple (Videx card), adm1a, oadm31.
                   11118: #      * Fixed malformed ampex csr.
                   11119: #      * Fixed act4, cyb110; they had old-style prefix padding left in.
                   11120: #      * Changed mandatory to advisory padding in many entries.
                   11121: #      * Replaced HP entries up to hpsub with purpose-built ones.
                   11122: #      * Blank rmir/smir/rmdc/smdc capabilities removed.
                   11123: #      * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
                   11124: # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
                   11125: #      * Replaced the Ann Arbor entries with SCO's, the init strings are
                   11126: #        more efficient (but the entries otherwise identical).
                   11127: #      * Added dg211 from Shuford archive.
                   11128: #      * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
                   11129: #        adm42-nl, pc52, gs6300, xerox820, uts30.
                   11130: #      * Pull SCO's padding into vi200 entry.
                   11131: #      * Improved capabilities for tvi4107 and other Televideo and Viewpoint
                   11132: #        entries merged in from SCO's descriptions.
                   11133: #      * Fixed old-style prefix padding on zen50, h1500.
                   11134: #      * Moved old superbee entry to superbee-xsb, pulled in new superbee
                   11135: #        entry from SCO's description.
                   11136: #      * Reorganized the special entries.
                   11137: #      * Added lm#0 to cbunix and virtual entries.
                   11138: #
                   11139: # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
                   11140: #      * Restored cdc456tst.
                   11141: #      * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
                   11142: #      * Added megatek, beacon, microkit.
                   11143: #      * Freeze for ncurses-1.9 release.
                   11144: # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
                   11145: #      * Added historical data for TAB.
                   11146: #      * Comment fixes from David MacKenzie.
                   11147: #      * Added the new BSDI pc3 entry.
                   11148: # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
                   11149: #      * A change in the tic -C logic now ensures that all entries in
                   11150: #        the termcap translation will fit in < 1024 bytes.
                   11151: #      * Added `bobcat' and `gator' HP consoles and the Nu machine entries
                   11152: #        from GNU termcap file.  This merges in all their local information.
                   11153: # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
                   11154: #      * Changed tic -C logic to dump all capabilities used by GNU termcap.
                   11155: #      * Added warnings about entries with long translations (restoring
                   11156: #        all the GNU termcaps pushes a few over the edge).
                   11157: # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
                   11158: #      * Yet another tic change, and a couple of entry tweaks, to reduce the
                   11159: #        number of long (> 1024) termcap translations back to 0.
                   11160: #
                   11161: # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
                   11162: #      * Added kf13-kf20 to Linux entry.
                   11163: #      * Regularize Prime terminal names.
                   11164: #      * Historical data on Synertek.
                   11165: #      * Freeze for ncurses-1.9.1.
                   11166: # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
                   11167: #      * Added true xterm-color entry, renamed djm's pseudo-color entry.
                   11168: #      * Eliminate whitespace in short name fields, this tanks some scripts.
                   11169: #      * Name field changes to shorten some long entries.
                   11170: #      * Termcap translation now automatically generates empty rmir/smir
                   11171: #        when ich1/ich is present (copes with an ancient vi bug).
                   11172: #      * Added `screen' entries from FSF's screen-3.6.2.
                   11173: #      * Added linux-nic and xterm-nic entries.
                   11174: # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
                   11175: #      * Change linux entry to use smacs=\E[11m and have an explicit acsc,
                   11176: #        eliminating some special-case code in ncurses.
                   11177: #
                   11178: # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
                   11179: #      * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
                   11180: #        that captures everything unique from it.
                   11181: #      * Added reorder script generator.
                   11182: #      * Freeze for ncurses 1.9.2 release.
                   11183: # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
                   11184: #      * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
                   11185: #      * Added Olaf Siebert's corrections for adm12.
                   11186: #      * ansi-pc-color now includes the colors and pairs caps, so that
                   11187: #        entries which use it will inherit them automatically.
                   11188: #      * The linux entry can now recognize the center (keypad 5) key.
                   11189: #      * Removed some junk that found its way into Linux acsc.
                   11190: #
                   11191: # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
                   11192: #      * Add 50% cut mark as a desperate hack to reduce tic's core usage.
                   11193: #      * xterm doesn't try to use application keypad mode any more.
                   11194: #      * Freeze for ncurses-1.9.3 release.
                   11195: # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
                   11196: #      * Added corrected sun entry from vendor.
                   11197: #      * Added csr capability to linux entry.
                   11198: #      * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
                   11199: #      * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
                   11200: #      * Some commented-out caps in long entries come back in, my code
                   11201: #        for computing string-table lengths had a bug in it.
                   11202: #      * pcansi series modified to fit comm-program reality better.
                   11203: # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
                   11204: #      * BSD/OS actually ships the ibmpc3 bold entry as its console.
                   11205: #      * Correct some bad aliases in the pcansi series
                   11206: #      * Added entry for QNX console.
                   11207: #      * Clean up duplicate long names for use with 4.4 library.
                   11208: #      * Change vt100 standout to be normal reverse vide, not bright reverse;
                   11209: #        this makes the Emacs status line look better.
                   11210: # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
                   11211: #      * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
                   11212: #      * Minor surgery, mostly on name strings, to shorten termcap version.
1.2       deraadt  11213: #
                   11214: # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
                   11215: #      * Added dec-vt100 for use with the EWAN emulator.
                   11216: #      * Added kmous to xterm for use with xterm's mouse-tracking facility.
                   11217: #      * Freeze for 1.9.5 alpha release.
                   11218: # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
                   11219: #      * Changed xterm lines to 24, the X11R6 default.
                   11220: # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
                   11221: #      * Added 7 newly discovered, undocumented acsc characters to linux
                   11222: #        entry (the pryz{|} characters).
                   11223: #      * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
                   11224: #      * Correct two typos in the xterm entries introduced in 9.9.1.
                   11225: #      * I finally figured out how to translate ko capabilities.  Done.
                   11226: #      * Added tvi921 entries from Tim Theisen.
                   11227: #      * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
                   11228: #      * Removed mystery tec entry, it was neither interesting nor useful.
                   11229: #      * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
                   11230: #        vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
                   11231: #        trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
                   11232: #        by making them relative to use capabilities
                   11233: #      * Added cuf1=^L to tvi925 from deleted variant tvi925a.
                   11234: #      * fixed cup in adm22 entry and parametrized strings in vt320-k3.
                   11235: #      * added it#8 to entries that used to have :pt: -- tvi912, vi200,
                   11236: #        ampex80,
                   11237: #      * Translate all home=\E[;H capabilities to home=\E[H, they're
                   11238: #        equivalent.
                   11239: #      * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
                   11240: #        vt100 and ANSI-like terminals.
                   11241: # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
                   11242: #      * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
                   11243: #        does this now, too.
                   11244: #      * fviewpoint is gone, it duplicated screwpoint.
                   11245: #      * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
                   11246: #        ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
                   11247: #        versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
                   11248: #        The UW vi50 replaces the old one, which becomes vi50adm,
                   11249: #      * No more embedded commas in name fields.
                   11250: #
                   11251: # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
                   11252: #      * XENIX forms characters in fos, trs16, scoansi become acsc strings,
                   11253: #      * Introduced klone+* entries for describing Intel-console behavior.
                   11254: #      * Linux kbs is default-mapped to delete for some brain-dead reason.
                   11255: #      * -nsl -> -ns.  The -pp syntax is obsolete.
                   11256: #      * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
                   11257: #      * Make xterm entry do application-keypad mode again.  I got complaints
                   11258: #        that it was messing up someone's 3270 emulator.
                   11259: #      * Added some longname fields in order to avoid warning messages from
                   11260: #        older tic implementations.
                   11261: #      * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
                   11262: #        it! (This gives us pi, greater than, less than, and a few more.)
                   11263: #      * Freeze for ncurses-1.9.6 release.
                   11264: # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
                   11265: #      * Add xon to a number of console entries, they're memory-mapped and
                   11266: #        don't need padding.
                   11267: #      * Correct the use dependencies in the ansi series.
                   11268: #      * Hand-translate more XENIX capabilities.
                   11269: #      * Added hpterm entry for HP's X terminal emulator.
                   11270: #      * Added aixterm entries.
                   11271: #      * Shortened four names so everything fits in 14 chars.
                   11272: #
                   11273: # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
                   11274: #      * Added ibcs2 entry and info on iBCS2 standard.
                   11275: #      * Corrected hpa/vpa in linux entry.  They still fail the worm test.
                   11276: #      * We can handle the HP meml/memu capability now.
                   11277: #      * Added smacs to klone entries, just as documentation.
                   11278: #      * Carrected ansi.sys and cit-500 entries.
                   11279: #      * Added z39, vt320-k311, v220c, and avatar entries.
                   11280: #      * Make pcansi use the ansi.sys invis capability.
                   11281: #      * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
                   11282: #        tvi925, tvi950, dt80, ncr7900i, h19.
                   11283: #      * X3.64 has been withdrawn, change some references.
                   11284: #      * Removed function keys from ansi-m entry.
                   11285: #      * Corrected ansi.sys entry.
                   11286: #      * Freeze for ncurses-1.9.7 release.
                   11287: # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
                   11288: #      * Added rmam/smam capabilities to many entries based on init strings.
                   11289: #      * Added correct hpa/vpa to linux.
                   11290: #      * Reduced several entries relative to vt52.
                   11291: # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
                   11292: #      * Exiled some utterly unidentifiable custom and homebrew types to the
                   11293: #        UFO file; also, obsolete small-screen hardware; also, entries which
                   11294: #        look flat-out incorrect, garbled, or redundant.  These include the
                   11295: #        following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
                   11296: #        tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
                   11297: #        apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
                   11298: #        fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
                   11299: #        yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
                   11300: #        vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
                   11301: #        trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
                   11302: #        att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
                   11303: #        tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
                   11304: #        c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
                   11305: #        regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
                   11306: #        vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
                   11307: #        vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
                   11308: #      * Corrected pcvt25h as suggested by Brian C. Grayson
                   11309: #        <bgrayson@pine.ece.utexas.edu>.
                   11310: # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
                   11311: #      * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
                   11312: #      * Added kent=\EOM to xterm entry.
                   11313: #
                   11314: # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
                   11315: #      * Corrected gigi entry.
                   11316: #      * Restored cuf/cud1 to xterm, their apparent bugginess was due to
                   11317: #        bad hpa/vpa capabilities.
                   11318: #      * Corrected flash strings to have a uniform delay of .2 sec.  No
                   11319: #        more speed-dependent NUL-padding!
                   11320: #      * terminfo capabilities in comments bracketed with <>.
                   11321: # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
1.3       deraadt  11322: #      * Replaced pcvt with the 3.31 pcvt entries.
1.2       deraadt  11323: #      * Freeze for 1.9.7a.
1.3       deraadt  11324: # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
                   11325: #      * Added emu entry from the X11R6 contrib tape sources.
                   11326: #
                   11327: # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
                   11328: #      * Improved iris-ansi and sun entries.
                   11329: #      * More flash string improvements.
                   11330: #      * Corrected wy160 & wy160 as suggested by Robert Dunn
                   11331: #      * Added dim to at386.
                   11332: #      * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
                   11333: #        he's ready to start using the termcap generated from this one.
                   11334: #      * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
                   11335: #        ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
                   11336: #      * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
                   11337: #        att610, att620, att630,
                   11338: #      * Changed hazeltine name prefix from h to hz.
                   11339: #      * Sent t500 to the UFI file.
                   11340: #      * I think we've sucked all the juice out of BSDI's termcap file now.
                   11341: #      * Freeze for ncurses 1.9.8 release
                   11342: # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
                   11343: #      * Unfreeze, linux kbs needed to be fixed.
                   11344: #      * Tim Theisen pinned down a bug in the DMD firmware.
                   11345: # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
                   11346: #      * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
                   11347: #        (The broken ones had been shadowed by sgr.)
                   11348: # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
                   11349: #      * Added documentation on ECMA-48 standard.
                   11350: #      * New Amiga entry.
1.5       tholo    11351: # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
                   11352: #      * More ECMA-48 stuff
                   11353: #      * Corrected typo in minix entry, added pc-minix.
                   11354: #      * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
                   11355: #      * Added rxvt entry.
                   11356: #      * Added 1.3.x color-change capabilities to linux entry.
                   11357: # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
                   11358: #      * Corrected rxvt entry khome/kend.
                   11359: #      * Corrected linux color change capabilities.
                   11360: #      * NeXT entries from Dave Wetzel.
                   11361: #      * Cleaned up if and rf file names (all in /usr/share now).
                   11362: #      * Changed linux op capability to avoid screwing up a background color
                   11363: #        pair set by setterm.
                   11364: # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
                   11365: #      * Added xterm-sun.
                   11366: # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
                   11367: #      * Added visa50.
                   11368: #
                   11369: # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
                   11370: #      * Another sweep through the Shuford archive looking for new info.
                   11371: #      * Added dg100 alias to dg6053 based on a comp.terminals posting.
                   11372: #      * Added st52 from Per Persson.
                   11373: #      * Added eterm from the GNU Emacs 19.30 distribution.
                   11374: #      * Freeze for 1.9.9.
                   11375: # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
                   11376: #      * FreeBSD console entries from Andrew Chernov.
                   11377: #      * Removed duplicate Atari st52 name.
                   11378: # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
                   11379: #      * xterm doesn't actually have ACS_BLOCK.
                   11380: #      * Change klone+color setf/setb to simpler forms that can be
                   11381: #        translated into termcap.
                   11382: #      * Added xterm1.
                   11383: #      * Removed mechanically-generated junk capabilities from cons* entries.
                   11384: #      * Added color support to bsdos.
                   11385: # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
                   11386: #      * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
                   11387: #      * Created ecma+color, linux can use it.  Also added ech to linux.
                   11388: #      * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
                   11389: #      * Add descriptions to FreeBSD console entries.  Also shorten
                   11390: #        some aliases to <= 14 chars for portability.
                   11391: #      * Added x68k console
                   11392: #      * Added OTbs to several VT-series entries.
                   11393: # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
                   11394: #      * screen entry update for 3.7.1 from Michael Alan Dorfman.
                   11395: # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
                   11396: #      * kterm correction due to Kenji Rikitake.
                   11397: #      * ACS correction in vt320-kll due to Phillippe De Muyter.
                   11398: # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
                   11399: #      * Sun console entry correction from J.T. Conklin.
                   11400: #      * Changed all DEC VT300 and up terminals to use VT300 tab set
                   11401: # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
                   11402: #      * Added smul to linux entry (we never noticed it was missing
                   11403: #        because of sgr!).
                   11404: #      * Added rmln to hp+labels (deduced from other HP entries).
                   11405: #      * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
                   11406: #        pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
                   11407: #      * Corrected vt220 acsc.
                   11408: #      * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
                   11409: #        this corresponds to reality and helps prevent some tic warnings.
                   11410: #      * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
                   11411: #        hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
                   11412: #        adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
                   11413: #        qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
                   11414: #        wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
                   11415: #        adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
                   11416: #        f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
                   11417: #        owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
                   11418: #        lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
                   11419: #        dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
                   11420: #        ifmr, v3220, wy100q, tandem653, ibmaed.
                   11421: #      * Added DWK terminal description.
                   11422: # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996)
                   11423: #      * Many entries now have highlights inherited from adm+sgr.
                   11424: #      * xterm entry now corresponds to XFree86 3.1.2E, with color.
                   11425: #      * xtitle and xtitle-twm enable access to the X status line.
                   11426: #      * Added linux-1.3.6 color palette caps in conventional format.
                   11427: #      * Added adm1178 terminal.
                   11428: #      * Move fos and apollo terminals to obsolete category.
                   11429: #      * Aha! The BRL terminals file told us what the Iris extensions mean.
                   11430: #      * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
                   11431: #        commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
                   11432: #        cit500, adm11,
                   11433:
1.1       deraadt  11434: ######## REORDER
                   11435: #
                   11436: # Older termcap distributions featured a kluge called `reorder' intended to
                   11437: # time-optimize access to selected terminals by moving them to the front of
                   11438: # the file.  This is obsolete under terminfo, but for completeness's sake
                   11439: # we give a reorder script generator here (strip off the leading #s to use).
                   11440: #
                   11441: #: mkreorder --  generate script to optimize access to given terminal types
                   11442: #:
                   11443: #: entries named on command line will be sorted to the front in reverse order
                   11444: #echo "ed -- termcap <<EOF"
                   11445: #for x in $*
                   11446: #do
                   11447: #      echo "/^$x[|:]/;.,/^[a-z#]/-1m0"
                   11448: #done
                   11449: #echo "0a"
                   11450: #echo "."
                   11451: #echo "w termcap.sorted"
                   11452: #echo "q"
                   11453: #echo "EOF"
                   11454: #:end of script
                   11455: #
                   11456: # Invoke this script like this:
                   11457: #
                   11458: #      mkreorder h19 wy60 vt100 >reorder
                   11459: #
                   11460: # The following sets edit modes for GNU EMACS
                   11461: # Local Variables:
                   11462: # fill-prefix:"\t"
                   11463: # fill-column:75
                   11464: # End:
                   11465: ######## SHANTIH!  SHANTIH!  SHANTIH!