home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / ncurses-1.9.9e-src.tgz / tar.out / fsf / ncurses / misc / terminfo.src < prev   
Text File  |  1996-09-28  |  519KB  |  12,186 lines

  1. ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
  2. #
  3. #    Version 9.13.0
  4. #    terminfo syntax
  5. #
  6. #    Eric S. Raymond        (current maintainer)
  7. #    John Kunze, Berkeley
  8. #    Craig Leres, Berkeley
  9. #
  10. # Please e-mail changes to terminfo@ccil.org.  The old termcap@berkeley.edu
  11. # address is no longer valid.
  12. #
  13. # PURPOSE OF THIS FILE:
  14. #
  15. # This file describes the capabilities of various character-cell terminals,
  16. # as needed by software such as screen-oriented editors.
  17. #
  18. # Other terminfo and termcap files exist, supported by various OS vendors
  19. # or as relics of various older versions of UNIX.  This one is the longest
  20. # and most comprehensive one in existence.  It subsumes not only the entirety
  21. # of the historical 4.4BSD, GNU, System V and SCO termcap files, but also large
  22. # numbers of vendor-maintained termcap and terminfo entries more complete
  23. # and carefully tested than those in historical termcap/terminfo versions.
  24. #
  25. # Pointers to related resources (including the ncurses distribution) may
  26. # be found at <http://www.ccil.org/~esr/ncurses.html>.
  27. #
  28. # INTERNATIONALIZATION:
  29. #
  30. # This file assumes a US-ASCII character set. If you need to fix this, start
  31. # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
  32. # for your character set.  \E(A and \E)A enables the British character set
  33. # with the pound sign at position 2/3.
  34. #
  35. # FILE FORMAT:
  36. #
  37. # The version you are looking at may be in any of three formats: master
  38. # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
  39. # which by the format given in the header above.
  40. #
  41. # The master format is accepted and generated by the terminfo tools in the
  42. # ncurses suite; it differs from stock (System V-compatible) terminfo only
  43. # in that it admits a group of capabilities (prefixed `OT') equivalent to
  44. # various obsolete termcap capabilities.  You can, thus, convert from master
  45. # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
  46. # you have ncurses `tic -I' is nicer.
  47. #
  48. # The termcap version is generated automatically from the master version
  49. # using tic -C -RBSD.  This filtering leaves in the OT capabilities under 
  50. # their original termcap names.  All translated entries fit within the
  51. # 1023-byte string-table limit of archaic termcap libraries except where
  52. # explicitly noted below.  Note that the termcap translation assumes that
  53. # your termcap library can handle multiple tc capabilities in an entry.
  54. # 4.4BSD has this capability.  Older versions of GNU termcap, through 1.3, do
  55. # not. 
  56. #
  57. # For details on these formats, see terminfo(5) in the ncurses distribution,
  58. # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
  59. # curses has been declared obsolete by the caretakers of the 4.4BSD sources
  60. # as of June 1995; they are encouraging everyone to migrate to ncurses.
  61. #
  62. # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
  63. # no entry in this file has embedded comments.  This is so source translation
  64. # to termcap only has to carry over leading comments.  Also, no name field
  65. # contains embedded whitespace (such whitespace confuses rdist).
  66. #
  67. # Further note: older versions of this file were often installed with an editor
  68. # script (reorder) that moved the most common terminal types to the front of
  69. # the file.  This should no longer be necessary, as the file is now ordered
  70. # roughly by type frequency with ANSI/VT100 and other common types up front.
  71. #
  72. # Some information has been merged in from terminfo files distributed by
  73. # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
  74. # comes from vendors who maintain official terminfos for their hardware
  75. # (notably DEC and Wyse).
  76. #
  77. # A detailed change history is included at the end of this file.
  78. #
  79. # FILE ORGANIZATION:
  80. #
  81. # Comments in this file begin with # - they cannot appear in the middle
  82. # of a terminfo/termcap entry.  Individual capabilities are commented out by
  83. # placing a period between the colon and the capability name.
  84. #
  85. # The file is divided up into major sections (headed by lines beginning with 
  86. # the string "########") and minor sections (beginning with "####"); do
  87. #
  88. #    grep "^####" <file> | more
  89. #
  90. # to see a listing of section headings.  The intent of the divisions is
  91. # (a) to make it easier to find things, and (b) to order the database so
  92. # that important and frequently-encountered terminal types are near the
  93. # front (so that you'll get reasonable search efficiency even if you don't
  94. # use reorder).  Minor sections usually correspond to manufacturers or
  95. # standard terminal classes.  Parenthesized words following manufacturer
  96. # names are type prefixes or product line names used by that manufacturers.
  97. #
  98. # Finally, because this file is released in both terminfo and termcap formats,
  99. # most references to termcap names in comments are bracketed with colons (the
  100. # termcap separator) so they can be distinguished from terminfo capability
  101. # names.
  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:
  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
  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.
  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.
  128. #    -nam    No auto-margin - suppress <am> capability
  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.
  133. #    -vb    Use visible bell (<flash>) rather than <bel>.
  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. # Entries with embedded plus signs are designed to be included through use/tc
  138. # capabilities, not used as standalone entries. 
  139. #
  140. # To avoid search clashes, some older all-numeric names for terminals have
  141. # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
  142. # All primary names of terminals now have alphanumeric prefixes.
  143. #
  144. # Comments marked "esr" are mostly results of applying the termcap-compiler
  145. # code packaged with ncurses and contemplating the resulting error messages. 
  146. # In many cases, these indicated obvious fixes to syntax garbled by the
  147. # composers.  In a few cases, I was able to deduce corrected forms for garbled
  148. # capabilities by looking at context.  All the information in the original
  149. # entries is preserved in the comments.
  150. #
  151. # In the comments, terminfo capability names are bracketed with <> (angle
  152. # brackets).  Termcap capability names are bracketed with :: (colons).
  153. #
  154. # INTERPRETATION OF USER CAPABILITIES
  155. #
  156. # The System V Release 4 and XPG4 terminfo format defines ten string
  157. # capabilities for use by applications, <u0>...<u9>.   In this file, we use
  158. # certain of these capabilities to describe functions which are not covered
  159. # by terminfo.  The mapping is as follows:
  160. #
  161. #    u9    terminal enquire string (equiv. to ANSI/ECMA-48 DA)
  162. #    u8    terminal answerback description
  163. #    u7    cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
  164. #    u6    cursor position report (equiv. to ANSI/ECMA-48 CPR)
  165. #
  166. # The terminal enquire string <u9> should elicit an answerback response
  167. # from the terminal.  Common values for <u9> will be ^E (on older ASCII
  168. # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
  169. #
  170. # The cursor position request (<u7>) string should elicit a cursor position
  171. # report.  A typical value (for VT100 terminals) is \E[6n.
  172. #
  173. # The terminal answerback description (u8) must consist of an expected
  174. # answerback string.  The string may contain the following scanf(3)-like
  175. # escapes:
  176. #
  177. #    %c    Accept any character
  178. #    %[...]    Accept any number of characters in the given set
  179. #
  180. # The cursor position report (<u6>) string must contain two scanf(3)-style 
  181. # %d format elements.  The first of these must correspond to the Y coordinate
  182. # and the second to the %d.  If the string contains the sequence %i, it is
  183. # taken as an instruction to decrement each value after reading it (this is
  184. # the inverse sense from the cup string).  The typical CPR value is
  185. # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
  186. #
  187. # These capabilities are used by tac(1m), the terminfo action checker soon
  188. # to be distributed with ncurses.
  189. # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:
  190. #
  191. # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
  192. # character-cell terminals are increasingly replaced by X displays, much of
  193. # this file is becoming a historical document (this is part of the reason for
  194. # the new organization, which puts ANSI types, xterm, and vt100 up front in
  195. # confidence that this will catch 95% of new hardware).
  196. #
  197. # For the terminal types still alive, I'd like to have manufacturer's
  198. # contact data (Internet address and/or snail-mail + phone).
  199. #
  200. # I'm also interested in enriching the comments so that the latter portions of
  201. # the file do in fact become a potted history of VDT technology as seen by
  202. # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
  203. # include its live/dead/out-of-the-business status, and for as many
  204. # terminal types as possible to be tagged with information like years
  205. # of heaviest use, popularity, and interesting features.
  206. #
  207. # I'm especially interested in identifying the obscure entries listed under
  208. # `Manufacturer unknown' and `Utter unknowns', before the tribal wisdom 
  209. # about them gets lost.
  210. #
  211. # If you have been around long enough to contribute, please read the file
  212. # with this in mind and send me your annotations.
  213. #
  214. # COPYRIGHTS AND OTHER DELUSIONS
  215. #
  216. # The BSD ancestor of this file had a standard Regents of the University of
  217. # California copyright with dates from 1980 to 1993.
  218. #
  219. # Some information has been merged in from a terminfo file SCO distributes.
  220. # It has an obnoxious boilerplate copyright which I'm ignoring because they 
  221. # took so much of the content from the ancestral BSD versions of this file
  222. # and didn't attribute it, thereby violating the BSD Regents' copyright.
  223. #
  224. # Not that anyone should care.  However many valid functions copyrights may
  225. # serve, putting one on a termcap/terminfo file with hundreds of anonymous
  226. # contributors makes about as much sense as copyrighting a wall-full of
  227. # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
  228. #
  229. # This file deliberately has no copyright.  It belongs to no one and everyone.
  230. # If you claim you own it, you will merely succeed in looking like a fool. 
  231. # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
  232. # There are no guarantees anywhere.  Svaha!
  233.  
  234. ######## STANDARD AND SPECIAL TYPES
  235. #
  236. # This section describes terminal classes and maker brands that are still
  237. # quite common.
  238. #
  239.  
  240. #### Specials
  241. #
  242. # Special "terminals".  These are used to label tty lines when you don't
  243. # know what kind of terminal is on it.  The characteristics of an unknown
  244. # terminal are the lowest common denominator - they look about like a ti 700.
  245. #
  246.  
  247. dumb|80-column dumb tty, 
  248.     am, 
  249.     cols#80, 
  250.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  251. unknown|unknown terminal type, 
  252.     gn, use=dumb,
  253. lpr|printer|line printer, 
  254.     hc, os, 
  255.     cols#132, lines#66, 
  256.     bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J, 
  257. glasstty|classic glass tty interpreting ASCII control characters, 
  258.     am, 
  259.     cols#80, 
  260.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, 
  261.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  262.  
  263. #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
  264. #
  265. # See the end-of-file comment for more on these.
  266. #
  267.  
  268. # The IBM PC alternate character set.  Plug this into any Intel console entry.
  269. # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
  270. # ROM graphics for control characters such as the diamond, up- and down-arrow.
  271. # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
  272. # will work with any Intel console, they all seem to have inherited \E[11m
  273. # from the ANSI.SYS de-facto standard.
  274. klone+acs|alternate character set for ansi.sys displays, 
  275.     acsc=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\054\021+^P0\333p\304r\304y\363z\362{\343|\330}\234, 
  276.     rmacs=\E[10m, smacs=\E[11m, 
  277.  
  278. # Highlight controls corresponding to the ANSI.SYS standard.  Most 
  279. # console drivers for Intel boxes obey these.  Makes the same assumption
  280. # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
  281. # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
  282. klone+sgr|attribute control for ansi.sys displays, 
  283.     blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, 
  284.     rmacs=\E[10m, rmpch=\E[10m, rmso=\E[m, rmul=\E[m, 
  285.     sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
  286.     sgr0=\E[0;10m, smacs=\E[11m, smpch=\E[11m, 
  287.     smso=\E[7m, smul=\E[4m, 
  288.  
  289. # Highlight controls corresponding to the ANSI.SYS standard.  *All*
  290. # console drivers for Intel boxes obey these.  Does not assume \E[11m will
  291. # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
  292. # diamond and arrow characters under curses.
  293. klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m), 
  294.     blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, 
  295.     rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
  296.     sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m, 
  297.     sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, 
  298.     smul=\E[4m, 
  299.  
  300. # ANSI.SYS color control.  The setb/setf caps depend on the coincidence
  301. # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
  302. # but equivalent strings that don't rely on that coincidence:
  303. # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
  304. # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
  305. # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
  306. klone+color|color control for ansi.sys and ISO6429-compatible displays, 
  307.     colors#8, ncv#3, pairs#64, 
  308.     op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  309.     setb=\E[%p1%{40}%+%dm, setf=\E[%p1%{30}%+%dm, 
  310.  
  311. # For comparison, here are all the capabilities implied by the Intel
  312. # Binary Compatibility Standard (level 2) that fit within terminfo.
  313. # For more detail on this rather pathetic standard, see the comments
  314. # near the end of this file.
  315. ibcs2|Intel Binary Compatibility Standard prescriptions, 
  316.     cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB, 
  317.     cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, 
  318.     cuu=\E[%p1%dA, dch=\E[%p1%dP, dispc=\E=%p1%dg, 
  319.     ech=\E[%p1%dX, hpa=\E[%i%p1%dG, hts=\EH, 
  320.     ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, 
  321.     rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7, 
  322.     smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd, 
  323.  
  324. #### ANSI/ECMA-48 terminals and terminal emulators
  325. #
  326. # See near the end of this file for details on ANSI conformance.
  327. # Don't mess with these entries!  Lots of other entries depend on them!
  328. #
  329. # This section lists entries in a least-capable to most-capable order.
  330. # if you're in doubt about what `ANSI' matches yours, try them in that
  331. # order and back off from the first that breaks.
  332.  
  333. ansi-mini|any ansi terminal with pessimistic assumptions, 
  334.     am, 
  335.     cols#80, it#8, lines#24, 
  336.     clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, 
  337.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  338.     el=\E[K, home=\E[H, ht=^I, 
  339.  
  340. # Procomm and some other ANSI emulations don't recognize all of the ANSI-
  341. # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and 
  342. # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>, 
  343. # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to 
  344. # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
  345. # to confuse many emulators.  On the other hand, we can count on these programs
  346. # doing <rmacs>/<smacs>/<sgr>.  # Older versions of this entry featured 
  347. # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
  348. # ANSI.SYS influence.
  349. # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
  350. pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode), 
  351.     am, mir, msgr, 
  352.     cols#80, it#8, lines#24, 
  353.     bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D, 
  354.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  355.     cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, 
  356.     home=\E[H, ht=^I, hts=\EH, il1=\E[L, ind=^J, 
  357.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  358.     kcuu1=\E[A, khome=\E[H, tbc=\E[2g, use=klone+sgr-dumb,
  359. pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode), 
  360.     lines#25, use=pcansi-m,
  361. pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode), 
  362.     lines#33, use=pcansi-m,
  363. pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode), 
  364.     lines#43, use=pcansi-m,
  365. # The color versions.  All PC emulators do color...
  366. pcansi|ibm-pc terminal programs claiming to be ansi, 
  367.     use=klone+color,use=pcansi-m,
  368. pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines, 
  369.     lines#25, use=pcansi,
  370. pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines, 
  371.     lines#33, use=pcansi,
  372. pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines, 
  373.     lines#43, use=pcansi,
  374.  
  375. # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
  376. # If you want pound signs rather than dollars, replace `B' with `A'
  377. # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
  378. # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
  379. ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes, 
  380.     mc5i, 
  381.     cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
  382.     cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM, 
  383.     ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I, 
  384.     ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, 
  385.     kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
  386.     kcuf1=\E[C, kcuu1=\E[A, kich1=\E[L, mc4=\E[4i, 
  387.     mc5=\E[5i, nel=\r\E[S, rep=%p1%c\E[%p2%{1}%-%db, 
  388.     rin=\E[%p1%dT, s0ds=\E(B, s1ds=\E)B, s2ds=\E*B, 
  389.     s3ds=\E+B, tbc=\E[2g, vpa=\E[%i%p1%dd, use=pcansi-m,
  390.  
  391. # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
  392. # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color
  393. # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
  394. ansi|ansi/pc-term compatible with color, 
  395.     u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c, 
  396.     u9=\E[c, use=klone+color,use=klone+acs,use=klone+sgr,use=ansi-m,
  397.  
  398. #
  399. # ANSI.SYS entries
  400. #
  401. # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
  402. # documentation (except for the keyboard key reassignment feature, which
  403. # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
  404. # though undocumented.  The <pfkey> capability is untested but should work for
  405. # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
  406. # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
  407. ansi.sys-old|ANSI.SYS under PC-DOS 2.1, 
  408.     am, mir, msgr, xon, 
  409.     cols#80, lines#25, 
  410.     clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  411.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, 
  412.     home=\E[H, is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, 
  413.     kcuf1=^L, kcuu1=^K, khome=^^, 
  414.     pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u, 
  415.     rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR, 
  416.     u7=\E[6n, use=klone+color,use=klone+acs,use=klone+sgr,
  417. ansi.sys|ANSI.SYS 3.1 and later versions, 
  418.     el=\E[K, use=ansi.sys-old,
  419.  
  420. #
  421. # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
  422. # This should only be used when the terminal emulator cannot redefine the keys.
  423. # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
  424. # definitions must be restored.  If the terminal emulator is quit while in vi
  425. # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
  426. # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
  427. # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
  428. # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
  429. # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
  430. # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
  431. # Consequently the End keypad key could not be set (it is relatively safe and
  432. # actually useful because it sends ^@ O, which beeps and opens a line above).
  433. ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi, 
  434.     is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
  435.     rmkx=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p, 
  436.     smkx=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p, use=ansi.sys,
  437. #
  438. # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
  439. nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS, 
  440.     dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
  441.     is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys,
  442. #
  443. # See ansi.sysk and nansi.sys above.
  444. nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi, 
  445.     dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
  446.     is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, use=ansi.sysk,
  447.  
  448. #### ANSI console types
  449. #
  450.  
  451. # This entry is good for the 1.2.13 version of the Linux console driver.
  452. #
  453. # Note: there are numerous broken linux entries out there, which didn't screw
  454. # up BSD termcap but hose ncurses's smarter cursor-movement optimization.
  455. # One common pathology is an incorrect tab length of 4.
  456. #
  457. # ***************************************************************************
  458. # *                                                                         *
  459. # *                           WARNING:                                      *
  460. # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
  461. # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
  462. # * character. Here are the keymap replacement lines that will set this up: *
  463. # *                                                                         *
  464. #    keycode  15 = Tab             Tab
  465. #        alt     keycode  15 = Meta_Tab
  466. #        shift    keycode  15 = F26
  467. #    string F26 ="\033[Z"
  468. # *                                                                         *
  469. # * This has to use a key slot which is unfortunate (any unused one will    *
  470. # # do, F26 is the higher-numbered one).  The change ought to be built      *
  471. # * into the kernel tables.                                                 *
  472. # *                                                                         *
  473. # ***************************************************************************
  474. #
  475. # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
  476. # and it matters, turn off <ccc>.  The %02x escape used to implement this is
  477. # not back-portable to SV curses and not supported in ncurses versions before
  478. # 1.9.9.
  479. #
  480. # From: Eric S. Raymond <esr@snark.thyrsus.com> 15 Dec 1995
  481. linux|linux console, 
  482.     am, bce, ccc, eo, mir, msgr, xenl, xon, 
  483.     cols#80, it#8, lines#25, 
  484.     bel=^G, civis=\E[?25l, clear=\E[H\E[J, 
  485.     cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  486.     cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  487.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  488.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  489.     flash=\E[?5h\E[?5l$<200/>, home=\E[H, 
  490.     hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  491.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  492.     initc=\E]P%p1%x%p2%02x%p3%02x%p4%02x, kb2=\E[G, 
  493.     kbs=\177, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
  494.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, 
  495.     kf1=\E[[A, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
  496.     kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
  497.     kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[[B, 
  498.     kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, 
  499.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  500.     khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  501.     kspd=^Z, nel=^M^J, oc=\E]R, op=\E[m, rc=\E8, 
  502.     rev=\E[7m, ri=\EM, rmir=\E[4l, rmul=\E[24m, 
  503.     rs1=\Ec, sc=\E7, 
  504.     sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
  505.     smir=\E[4h, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, 
  506.     u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, use=klone+sgr,use=klone+color,use=klone+acs,
  507. linux-m|Linux console no color, 
  508.     colors@, pairs@, 
  509.     setab@, setaf@, setb@, setf@, use=linux,
  510.  
  511. # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
  512. linux-nic|linux with ich/ich1 suppressed for non-curses programs, 
  513.     ich@, ich1@, use=linux,
  514.  
  515. # SCO console and SOS-Syscons console for 386bsd
  516. # (scoansi: had unknown capabilities
  517. #    :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
  518. #    :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
  519. #    :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
  520. #    :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
  521. #    :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
  522. # I renamed GS/GE/HM/EN/PU/PD/RT -- esr)
  523. scoansi|SCO Extended ANSI standard crt, 
  524.     am, eo, xon, 
  525.     cols#80, it#8, lines#25, 
  526.     blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, 
  527.     cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
  528.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  529.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  530.     ich1=\E[@, il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, 
  531.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, 
  532.     kf1=\E[M, kf10=\E[V, kf2=\E[N, kf3=\E[O, kf4=\E[P, 
  533.     kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, 
  534.     khome=\E[H, knp=\E[G, kpp=\E[I, ri=\E[T, 
  535.     rmacs=\E[10m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  536.     smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
  537.  
  538. # This actually describes the generic SVr4 display driver for Intel boxes.
  539. # The <dim=\E[2m> isn't documented and therefore may not be reliable.
  540. # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
  541. att6386|at386|386at|AT&T WGS 6386 console, 
  542.     am, bw, eo, xon, 
  543.     cols#80, it#8, lines#25, 
  544.     acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
  545.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  546.     civis=\E[=C, clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, 
  547.     cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
  548.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  549.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  550.     dim=\E[2m, dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, 
  551.     ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%dG, 
  552.     ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[1@, 
  553.     il=\E[%p1%dL, il1=\E[1L, ind=\E[S, indn=\E[%p1%dS, 
  554.     invis=\E[9m, is2=\E[0;10;39m, kbs=^H, kcbt=^], 
  555.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  556.     kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, 
  557.     kf11=\EOZ, kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  558.     kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX, 
  559.     khome=\E[H, kich1=\E[@, knp=\E[U, kpp=\E[V, 
  560.     krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m, ri=\E[T, 
  561.     rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
  562.     sc=\E7, 
  563.     sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m, 
  564.     sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, 
  565.     smul=\E[4m, tbc=\E[2g, vpa=\E[%i%p1%dd, use=klone+color,
  566. # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
  567. pc6300plus|AT&T 6300 plus, 
  568.     am, xon, 
  569.     cols#80, lines#24, 
  570.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C, 
  571.     clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, 
  572.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, 
  573.     cuu1=\E[A, dch1=\E[1P, dim=\E[2m, dl1=\E[1M, 
  574.     ed=\E[0J, el=\E[0K, home=\E[H, hts=\EH, ich1=\E[1@, 
  575.     il1=\E[1L, ind=^J, invis=\E[9m, kbs=^H, kcub1=\E[D, 
  576.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOc, 
  577.     kf10=\EOu, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
  578.     kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk, nel=^M^J, 
  579.     rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  580.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  581.  
  582. #
  583. #    Terminfo entry for the AT&T Unix PC 7300
  584. #    from escape(7) in Unix PC 7300 Manual.
  585. #    Somewhat similar to a vt100-am (but different enough
  586. #    to redo this from scratch.)
  587. #
  588. #    /***************************************************************
  589. #    *
  590. #    *           FONT LOADING PROGRAM FOR THE UNIX PC
  591. #    *
  592. #    *     This routine loads a font defined in the file ALTFONT
  593. #    *     into font memory slot #1.  Once the font has been loaded,
  594. #    *     it can be used as an alternative character set.
  595. #    *
  596. #    *     The call to ioctl with the argument WIOCLFONT is the key 
  597. #    *     to this routine.  For more information, see window(7) in 
  598. #    *     the PC 7300 documentation.
  599. #    ***************************************************************/
  600. #    #include <string.h>        /* needed for strcpy call */
  601. #    #include <sys/window.h>         /* needed for ioctl call */
  602. #    #define FNSIZE    60        /* font name size */
  603. #    #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
  604. #    /*
  605. #    *     The file /usr/lib/wfont/special.8.ft comes with the
  606. #    *     standard PC software.  It defines a graphics character set
  607. #    *     similar to that of the Teletype 5425 terminal.  To view
  608. #    *     this or other fonts in /usr/lib/wfont, use the command
  609. #    *     cfont <filename>.  For further information on fonts see
  610. #    *     cfont(1) in the PC 7300 documentation.
  611. #    */
  612. #    
  613. #    struct altfdata     /* structure for alt font data */
  614. #    {
  615. #    short    altf_slot;        /* memory slot number */
  616. #    char    altf_name[FNSIZE];    /* font name (file name) */
  617. #    };
  618. #    ldfont()
  619. #    {
  620. #        int wd;        /* window in which altfont will be */
  621. #        struct altfdata altf;
  622. #        altf.altf_slot=1;
  623. #        strcpy(altf.altf_name,ALTFONT);
  624. #        for (wd =1; wd < 12; wd++) {
  625. #             ioctl(wd, WIOCLFONT,&altf);
  626. #            }
  627. #    }
  628. #
  629. # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
  630. # they're confirmed by the man page for the System V display---esr)
  631. #
  632. att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300, 
  633.     am, xenl, xon, 
  634.     cols#80, it#8, lines#24, 
  635.     bel=^G, bold=\E[7m, cbt=\E^I, civis=\E[=C, 
  636.     clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, 
  637.     cub=\E[%p1%dD, cud=\E[%p1%dB, cud1=\E[B, 
  638.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  639.     cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
  640.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, 
  641.     home=\E[H, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
  642.     ind=^J, invis=\E[9m, is1=^O, kBEG=\EBG, kCAN=\ECN, 
  643.     kCPY=\ECP, kCRT=\ECR, kDC=\EDC, kDL=\EDL, 
  644.     kEND=\EEN, kEOL=\ECI, kFND=\EFI, kHLP=\EHL, 
  645.     kHOM=\EHM, kIC=\ENJ, kLFT=\EBW, kMOV=\EMV, 
  646.     kNXT=\ENX, kOPT=\EOT, kPRV=\EPV, kRDO=\ERO, 
  647.     kRIT=\EFW, kRPL=\ERP, kSAV=\ESV, kUND=\EUD, 
  648.     kbeg=\Ebg, kbs=^H, kcan=\Ecn, kcbt=\E^I, kclo=\Ecl, 
  649.     kclr=\Ece, kcmd=\Ecm, kcpy=\Ecp, kcrt=\Ecr, 
  650.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  651.     kdch1=\Edc, ked=\Ece, kel=\Eci, kend=\Een, 
  652.     kext=\Eex, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  653.     kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kfnd=\Efi, 
  654.     khlp=\Ehl, khome=\Ehm, kich1=\Eim, kind=\Erd, 
  655.     kmov=\Emv, kmrk=\Emk, knp=\Epg, knxt=\Enx, 
  656.     kopn=\Eop, kopt=\Eot, kpp=\EPG, kprt=\Epr, 
  657.     kprv=\Epv, krdo=\Ero, kref=\Ere, krfr=\Erf, 
  658.     kri=\Eru, krpl=\Erp, krst=\Ers, ksav=\Esv, 
  659.     kslt=\Esl, kund=\Eud, nel=\EE, rev=\E[7m, ri=\EM, 
  660.     rmacs=\E[10m, rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, 
  661.     smacs=\E[11m, smso=\E[7m, smul=\E[4m, 
  662.  
  663. # From: davis@unidata.ucar.edu
  664. # (iris-ansi: added rmam/smam based on init string -- esr)
  665. iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal, 
  666.     am, 
  667.     cols#80, it#8, lines#40, 
  668.     bel=^G, bold=\E[1m, clear=\E[H\E[2J, 
  669.     cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD, 
  670.     cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
  671.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  672.     cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h, 
  673.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  674.     el1=\E[1K, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
  675.     il1=\E[L, ind=\ED, 
  676.     is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, 
  677.     kDC=\E[P, kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, 
  678.     kPRT=\E[210q, kRIT=\E[167q, kSPD=\E[218q, kbs=^H, 
  679.     kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  680.     kcuu1=\E[A, kdch1=\177, kend=\E[146q, kent=^M, 
  681.     kf1=\E[001q, kf10=\EOQ, kf11=\EOR, kf12=\EOS, 
  682.     kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, kf5=\E[005q, 
  683.     kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, kf9=\EOP, 
  684.     khome=\E[H, kich1=\E[139q, knp=\E[154q, 
  685.     kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, 
  686.     kspd=\E[217q, nel=\EE, 
  687.     pfkey=\EP101;%p1%d.y%p2%s\E\\, rc=\E8, rev=\E[7m, 
  688.     ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7, 
  689.     sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m, 
  690.     tbc=\E[3g, 
  691.  
  692. # The following is a version of the ibm-pc entry distributed with PC/IX,
  693. # (Interactive Systems' System 3 for the Big Blue), modified by Richard
  694. # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
  695. # (the former is untrue, and the latter failed under UCB/man); standout and
  696. # underline modes have been added.  Note: this entry describes the "native"
  697. # capabilities of the PC monochrome display, without ANY emulation; most
  698. # communications packages (but NOT PC/IX connect) do some kind of emulation.
  699. pcix|PC/IX console, 
  700.     am, bw, eo, 
  701.     cols#80, lines#24, 
  702.     clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  703.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, 
  704.     el=\E[K, home=\E[H, rmso=\E[m, rmul=\E[m, 
  705.     smso=\E[7m, smul=\E[4m, 
  706.  
  707. # (ibmpcx: this entry used to be known as ibmx.
  708. # It formerly included the following extension capabilities:
  709. #    :GC=b:GL=v:GR=t:RT=^J:\
  710. #    :GH=\E[196g:GV=\E[179g:\
  711. #    :GU=\E[193g:GD=\E[194g:\
  712. #    :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
  713. #    :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
  714. #    :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
  715. # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
  716. # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
  717. # what was there before. -- esr)
  718. ibmpcx|xenix|ibmx|IBM PC xenix console display, 
  719.     am, msgr, 
  720.     cols#80, lines#25, 
  721.     clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  722.     cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  723.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, 
  724.     il1=\E[L, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  725.     kcuf1=\E[C, kcuu1=\E[A, kend=\E[d, kf1=\E[K, 
  726.     kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e, 
  727.     kpp=\E[Z, use=klone+acs,use=klone+sgr,
  728.  
  729.  
  730. # QNX 4.0 Console
  731. # Michael's original version of this entry had <am@>, <smcup=\Ei>,
  732. # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
  733. # right corner without triggering a scroll.  The ncurses terminfo library can
  734. # handle this case with the <ich1> capability, and prefers am for optimization.
  735. # From: Michael Hunter <mphunter@qnx.com> 25 Aug 1995
  736. qnx|qnx4|qnx console, 
  737.     am, daisy, km, mir, msgr, xhpa, xt, 
  738.     colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8, 
  739.     acsc=l\332m\300k\277j\331q\304x\263u\264t\303n\305v\301w\302O\333a\261o\337s\334, 
  740.     bel=^G, blink=\E{, bold=\E<, civis=\Ey0, 
  741.     clear=\EH\EJ, cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, 
  742.     cuf1=\EC, cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, 
  743.     cvvis=\Ey2, dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, 
  744.     home=\EH, ht=^I, ich1=\Ee, il1=\EE, ind=^J, 
  745.     kBEG=\377\356, kCAN=\377\263, kCMD=\377\267, 
  746.     kCPY=\377\363, kCRT=\377\364, kDL=\377\366, 
  747.     kEND=\377\301, kEOL=\377\311, kEXT=\377\367, 
  748.     kFND=\377\370, kHLP=\377\371, kHOM=\377\260, 
  749.     kIC=\377\340, kLFT=\377\264, kMOV=\377\306, 
  750.     kMSG=\377\304, kNXT=\377\272, kOPT=\377\372, 
  751.     kPRT=\377\275, kPRV=\377\262, kRDO=\377\315, 
  752.     kRES=\377\374, kRIT=\377\266, kRPL=\377\373, 
  753.     kSAV=\377\307, kSPD=\377\303, kUND=\377\337, 
  754.     kbeg=\377\300, kcan=\377\243, kcbt=\377\200, 
  755.     kclo=\377\343, kclr=\377\341, kcmd=\377\245, 
  756.     kcpy=\377\265, kcrt=\377\305, kctab=\377\237, 
  757.     kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246, 
  758.     kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274, 
  759.     ked=\377\314, kel=\377\310, kend=\377\250, 
  760.     kent=\377\320, kext=\377\270, kf1=\377\201, 
  761.     kf10=\377\212, kf11=\377\256, kf12=\377\257, 
  762.     kf13=\377\213, kf14=\377\214, kf15=\377\215, 
  763.     kf16=\377\216, kf17=\377\217, kf18=\377\220, 
  764.     kf19=\377\221, kf2=\377\202, kf20=\377\222, 
  765.     kf21=\377\223, kf22=\377\224, kf23=\377\333, 
  766.     kf24=\377\334, kf25=\377\225, kf26=\377\226, 
  767.     kf27=\377\227, kf28=\377\230, kf29=\377\231, 
  768.     kf3=\377\203, kf30=\377\232, kf31=\377\233, 
  769.     kf32=\377\234, kf33=\377\235, kf34=\377\236, 
  770.     kf35=\377\276, kf36=\377\277, kf37=\377\321, 
  771.     kf38=\377\322, kf39=\377\323, kf4=\377\204, 
  772.     kf40=\377\324, kf41=\377\325, kf42=\377\326, 
  773.     kf43=\377\327, kf44=\377\330, kf45=\377\331, 
  774.     kf46=\377\332, kf47=\377\316, kf48=\377\317, 
  775.     kf5=\377\205, kf6=\377\206, kf7=\377\207, 
  776.     kf8=\377\210, kf9=\377\211, kfnd=\377\346, 
  777.     khlp=\377\350, khome=\377\240, khts=\377\342, 
  778.     kich1=\377\253, kil1=\377\273, kind=\377\261, 
  779.     kmov=\377\351, kmrk=\377\355, kmsg=\377\345, 
  780.     knp=\377\252, knxt=\377\312, kopn=\377\357, 
  781.     kopt=\377\353, kpp=\377\242, kprt=\377\255, 
  782.     kprv=\377\302, krdo=\377\336, kref=\377\354, 
  783.     kres=\377\360, krfr=\377\347, kri=\377\271, 
  784.     krmir=\377\313, krpl=\377\362, krst=\377\352, 
  785.     ksav=\377\361, kslt=\377\247, kspd=\377\335, 
  786.     ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, 
  787.     op=\ER, rep=\Eg%p2%' '%+%c%p1%c, rev=\E(, ri=\EI, 
  788.     rmcup=\ER, rmso=\E), rmul=\E], rs1=\ER, 
  789.     scp=\E@%p1%02d, 
  790.     sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;, 
  791.     sgr0=\E}\E]\E>\E), smso=\E(, smul=\E[, 
  792.  
  793. #### FreeBSD and NetBSD consoles
  794. #
  795. # pcvt termcap database entries (corresponding to release 3.31)
  796. # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
  797. #
  798. # (For the terminfo master file, I translated these into terminfo syntax.
  799. # Then I dropped all the pseudo-HP entries. we don't want and can't use
  800. # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
  801. # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
  802.  
  803. # NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if
  804. # both <ich1> and <smir> are specified (an original VT220 
  805. # shows the same buggy behaviour!), <ich1> has been taken
  806. # out of this entry. for reference, it should be <ich1=\E[@>.
  807. pcvtXX|pcvt vt200 emulator (DEC VT220), 
  808.     am, km, mir, msgr, xenl, 
  809.     it#8, vt#3, 
  810.     acsc=llmmkkjjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++\054\054hhII00yyzz, 
  811.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
  812.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
  813.     cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
  814.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  815.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  816.     dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, 
  817.     ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
  818.     il1=\E[L, ind=\ED, indn=\E[%p1%dS, 
  819.     is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177, 
  820.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  821.     kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
  822.     kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, 
  823.     kf8=\E[25~, khome=\E[1~, kich1=\E[2~, kll=\E[4~, 
  824.     knp=\E[6~, kpp=\E[5~, nel=\EE, rc=\E8, rev=\E[7m, 
  825.     rf=/usr/share/tabset/vt100, ri=\EM, rin=\E[%p1%dT, 
  826.     rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
  827.     rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
  828.     rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  829.     sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
  830.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  831.  
  832. #    NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
  833. #    termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
  834. #    50 lines entries; 80 columns
  835. pcvt25|dec vt220 emulation with 25 lines, 
  836.     cols#80, lines#25, 
  837.     is2=\E[1;25r\E[25;1H, use=pcvtXX,
  838. pcvt28|dec vt220 emulation with 28 lines, 
  839.     cols#80, lines#28, 
  840.     is2=\E[1;28r\E[28;1H, use=pcvtXX,
  841. pcvt35|dec vt220 emulation with 35 lines, 
  842.     cols#80, lines#35, 
  843.     is2=\E[1;35r\E[35;1H, use=pcvtXX,
  844. pcvt40|dec vt220 emulation with 40 lines, 
  845.     cols#80, lines#40, 
  846.     is2=\E[1;40r\E[40;1H, use=pcvtXX,
  847. pcvt43|dec vt220 emulation with 43 lines, 
  848.     cols#80, lines#43, 
  849.     is2=\E[1;43r\E[43;1H, use=pcvtXX,
  850. pcvt50|dec vt220 emulation with 50 lines, 
  851.     cols#80, lines#50, 
  852.     is2=\E[1;50r\E[50;1H, use=pcvtXX,
  853.  
  854. #    NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
  855. #    termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
  856. #    50 lines entries; 132 columns
  857. pcvt25w|dec vt220 emulation with 25 lines and 132 cols, 
  858.     cols#132, lines#25, 
  859.     is2=\E[1;25r\E[25;1H, use=pcvtXX,
  860. pcvt28w|dec vt220 emulation with 28 lines and 132 cols, 
  861.     cols#132, lines#28, 
  862.     is2=\E[1;28r\E[28;1H, use=pcvtXX,
  863. pcvt35w|dec vt220 emulation with 35 lines and 132 cols, 
  864.     cols#132, lines#35, 
  865.     is2=\E[1;35r\E[35;1H, use=pcvtXX,
  866. pcvt40w|dec vt220 emulation with 40 lines and 132 cols, 
  867.     cols#132, lines#40, 
  868.     is2=\E[1;40r\E[40;1H, use=pcvtXX,
  869. pcvt43w|dec vt220 emulation with 43 lines and 132 cols, 
  870.     cols#132, lines#43, 
  871.     is2=\E[1;43r\E[43;1H, use=pcvtXX,
  872. pcvt50w|dec vt220 emulation with 50 lines and 132 cols, 
  873.     cols#132, lines#50, 
  874.     is2=\E[1;50r\E[50;1H, use=pcvtXX,
  875.  
  876. #### 386BSD and BSD/OS Consoles
  877. #
  878.  
  879. # This was the original 386BSD console entry (I think).  
  880. # Some places it's named oldpc3|oldibmpc3.
  881. # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
  882. origpc3|origibmpc3|IBM PC 386BSD Console, 
  883.     am, bw, eo, xon, 
  884.     cols#80, lines#25, 
  885.     acsc=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305, 
  886.     bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, 
  887.     cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
  888.     ed=\E[J, el=\E[K, home=\E[H, ind=\E[S, kcub1=\E[D, 
  889.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[Y, 
  890.     ri=\E[T, rmso=\E[1;0x\E[2;7x, rmul=\E[1;0x\E[2;7x, 
  891.     sgr0=\E[m\E[1;0x\E[2;7x, smso=\E[1;7x\E[2;0x, 
  892.     smul=\E[1;7x\E[2;0x, 
  893.  
  894. # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
  895. oldpc3|oldibmpc3|old IBM PC BSD/386 Console, 
  896.     km, 
  897.     lines#25, 
  898.     bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, 
  899.     dl1=\E[M, ht=^I, il1=\E[L, ind=^J, kbs=^H, 
  900.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  901.     khome=\E[H, kich1=\E[L, kll=\E[F, knp=\E[G, 
  902.     kpp=\E[I, nel=^M^J, sgr0=\E[=R, 
  903.  
  904. # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
  905. # Note, the emulator supports many of the additional console features
  906. # listed in the iBCS2 (e.g. color and character-set selection) though
  907. # not all are described here.  This entry really ought to be upgraded.
  908. # Also note, the console will also work with fewer lines after doing
  909. # "stty rows NN", e.g. to use 24 lines.
  910. bsdos|BSD/OS console, 
  911.     am, bw, eo, km, xon, 
  912.     cols#80, it#8, lines#25, 
  913.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
  914.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  915.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  916.     cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[=8F, dl=\E[%p1%dM, 
  917.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  918.     il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, 
  919.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  920.     kich1=\E[L, kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, 
  921.     rc=\E8, rev=\E[7m, rmso=\E[0m, sc=\E7, sgr0=\E[0m, 
  922.     smso=\E[7m, 
  923. bsdos-bold|IBM PC BSD/386 Console with bold instead of underline, 
  924.     rmul=\E[0m, smul=\E[1m, use=bsdos,
  925.  
  926. # If you are BSDI, you want the following entries, for the moment.  
  927. # In release 2.0 they will probably phase out the pc3 and ibmpc3 names
  928. pc3|IBM PC BSD/386 Console, 
  929.     use=bsdos,
  930. ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline, 
  931.     smul=\E[1m, use=bsdos-bold,
  932.  
  933. #### DEC VT100 and compatibles
  934. #
  935. # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
  936. # the basis of some emulations) are collected here. Older DEC terminals and
  937. # micro consoles can be found in the `obsolete' section.  More details on
  938. # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
  939. # found near the end of this file.
  940. #
  941. # Except where noted, these entries are DEC's official terminfos.
  942. # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
  943. # Engineering for more information.  Updated terminfos and termcaps 
  944. # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
  945. #
  946.  
  947. vt52|dec vt52, 
  948.     cols#80, it#8, lines#24, 
  949.     bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, 
  950.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  951.     cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, 
  952.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  953.     nel=^M^J, ri=\EI, 
  954.  
  955. # NOTE:  Any VT100 emulation, whether in hardware or software, almost
  956. # certainly includes what DEC called the `Level 1 editing extension' codes;
  957. # only the very oldest VT100s lacked these and there probably aren't any of
  958. # those left alive.  To capture these, use one of the VT102 entries.
  959. #
  960. # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
  961. # since the cursor is left in a different position while in the
  962. # weird state (concept at beginning of next line, vt100 at end
  963. # of this line) so all versions of vi before 3.7 don't handle
  964. # <xenl> right on vt100. The correct way to handle <xenl> is when
  965. # you output the char in column 80, immediately output CR LF
  966. # and then assume you are in column 1 of the next line. If <xenl>
  967. # is on, am should be on too.
  968. # I assume you have smooth scroll off or are at a slow enough baud
  969. # rate that it doesn't matter (1200? or less). Also this assumes
  970. # that you set auto-nl to "on", if you set it off use vt100-nam 
  971. # below.
  972. # The padding requirements listed here are guesses. It is strongly
  973. # recommended that xon/xoff be enabled, as this is assumed here.
  974. # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the 
  975. # tab settings are in non-volatile memory and don't need to be 
  976. # reset upon login. Also setting the number of columns glitches 
  977. # the screen annoyingly. You can type "reset" to get them set.
  978. #
  979. # This is how the keypad gets assigned in Application Keypad mode.
  980. #    PF1 = kf1      PF2 = kf2        PF3   = kf3          PF4 = kf4
  981. #    7   = kf9      8   = kf10        9     = kf0          - 
  982. #    4   = kf5      5   = kf6        6     = kf7          ,   = kf8
  983. #    1   = ka1      2   = kb2        3     = ka3
  984. #    0   = kc1      .   = kc3        ENTER = kent
  985. #
  986. # And here, for those of you with orphaned VT100s lacking documentation, is
  987. # a description of the soft switches invoked when you do `Set Up'.
  988. #  Scroll 0-Jump               Shifted 3   0-#
  989. #  |      1-Smooth             |           1-British pound sign
  990. #  | Autorepeat 0-Off          | Wrap Around 0-Off
  991. #  | |          1-On           | |           1-On
  992. #  | | Screen 0-Dark Bkg       | | New Line 0-Off
  993. #  | | |      1-Light Bkg      | | |        1-On
  994. #  | | | Cursor 0-Underline    | | | Interlace 0-Off
  995. #  | | | |      1-Block        | | | |         1-On
  996. #  | | | |                     | | | |
  997. #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
  998. #                | | | |                     | | | |
  999. #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
  1000. #                | | |               1-On    | | |       1-50 Hz
  1001. #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
  1002. #                | |           1-ANSI        | |                1-8 Bits
  1003. #                | Keyclick 0-Off            | Parity 0-Off
  1004. #                |          1-On             |        1-On
  1005. #                Margin Bell 0-Off           Parity Sense 0-Odd
  1006. #                            1-On                         1-Even
  1007. #
  1008. # The following SET-UP modes are assumed for normal operation:
  1009. #    ANSI_MODE    AUTO_XON/XOFF_ON    NEWLINE_OFF    80_COLUMNS
  1010. #    WRAP_AROUND_ON  JUMP_SCROLL_OFF
  1011. # Other SET-UP modes may be set for operator convenience or communication
  1012. # requirements; I recommend
  1013. #    AUTOREPEAT_ON    BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
  1014. # Unless you have a graphics add-on such as Digital Engineering's VT640
  1015. # (and even then, whenever it can be arranged!) you should set
  1016. #    INTERLACE_OFF
  1017. #
  1018. # (I added <rmam>/<smam> based on the init string -- esr)
  1019. vt100|vt100-am|dec vt100 (w/advanced video), 
  1020.     am, msgr, xenl, xon, 
  1021.     cols#80, it#8, lines#24, vt#3, 
  1022.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1023.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  1024.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1025.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  1026.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  1027.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  1028.     cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, 
  1029.     el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, 
  1030.     hts=\EH, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, 
  1031.     kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, 
  1032.     kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
  1033.     kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  1034.     kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, 
  1035.     rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, 
  1036.     rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
  1037.     rmul=\E[m$<2>, 
  1038.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  1039.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  1040.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, 
  1041.     smkx=\E[?1h\E=, smso=\E[7m$<2>, smul=\E[4m$<2>, 
  1042.     tbc=\E[3g, 
  1043. vt100nam|vt100-nam|vt100 no automargins, 
  1044.     am@, xenl@, use=vt100-am,
  1045.  
  1046. # Ordinary vt100 in 132 column ("wide") mode.
  1047. vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video), 
  1048.     cols#132, lines#24, 
  1049.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am,
  1050. vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin), 
  1051.     cols#132, lines#14, vt@, 
  1052.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam,
  1053.  
  1054. # vt100 with no advanced video.
  1055. vt100-nav|vt100 without advanced video option, 
  1056.     xmc#1, 
  1057.     blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, 
  1058.     smso=\E[7m, smul@, use=vt100,
  1059. vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option), 
  1060.     cols#132, lines#14, use=vt100-nav,
  1061.  
  1062. # vt100 with one of the 24 lines used as a status line.
  1063. # We put the status line on the top.
  1064. vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline, 
  1065.     eslok, hs, 
  1066.     lines#23, 
  1067.     clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr, 
  1068.     cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, 
  1069.     dsl=\E7\E[1;24r\E8, fsl=\E8, home=\E[2;1H, 
  1070.     is2=\E7\E[2;24r\E8, tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am,
  1071.  
  1072. # Status line at bottom. 
  1073. # Clearing the screen will clobber status line.
  1074. vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline, 
  1075.     eslok, hs, 
  1076.     lines#23, 
  1077.     dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H, 
  1078.     tsl=\E7\E[24;%p1%dH\E[1K, use=vt100-am,
  1079.  
  1080. # Most of the `vt100' emulators out there actually emulate a vt102
  1081. # This entry (or vt102-nsgr) is probably the right thing to use for
  1082. # these.  
  1083. vt102|dec vt102, 
  1084.     mir, 
  1085.     dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, 
  1086.     smir=\E[4h, use=vt100,
  1087. vt102-w|dec vt102 in wide mode, 
  1088.     lines#132, 
  1089.     rs3=\E[?3h, use=vt102,
  1090.  
  1091. # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
  1092. # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
  1093. # string in the canonical vt100 entry above leaves the screen littered
  1094. # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
  1095. # after highlight turnoffs.  This entry should fix that, and even leave
  1096. # ACS support working, at the cost of making multiple-highlight changes 
  1097. # slightly more expensive.
  1098. # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
  1099. vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes), 
  1100.     sgr@, sgr0=\E[m, use=vt102,
  1101.  
  1102. # VT125 Graphics CRT.  Clear screen also erases graphics
  1103. vt125|vt125 graphics terminal, 
  1104.     clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100,
  1105.  
  1106. # This isn't a DEC entry, it came from University of Wisconsin.
  1107. # (vt131: I added <rmam>/<smam> based on the init string -- esr)
  1108. vt131|dec vt131, 
  1109.     am, xenl, 
  1110.     cols#80, it#8, lines#24, vt#3, 
  1111.     bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
  1112.     clear=\E[;H\E[2J$<50/>, cr=^M, 
  1113.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, 
  1114.     cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
  1115.     cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, 
  1116.     home=\E[H, ht=^I, is2=\E[1;24r\E[24;1H, kbs=^H, 
  1117.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  1118.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M^J, 
  1119.     rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>, rmam=\E[?7h, 
  1120.     rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
  1121.     rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  1122.     sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>, 
  1123.     smul=\E[4m$<2/>, 
  1124.  
  1125. # vt132 - like vt100 but slower and has ins/del line and such.
  1126. # I'm told that <smir>/<rmir> are backwards in the terminal from the
  1127. # manual and from the ANSI standard, this describes the actual 
  1128. # terminal. I've never actually used a vt132 myself, so this 
  1129. # is untested.
  1130. #
  1131. vt132|DEC vt132, 
  1132.     xenl, 
  1133.     dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, 
  1134.     ind=\n$<30>, ip=$<7>, rmir=\E[4h, smir=\E[4l, use=vt100,
  1135.  
  1136. # vt220:
  1137. # This vt220 description maps F5--F9 to the second block of function keys
  1138. # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
  1139. # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
  1140. # PF1--PF4 are used as F1--F4.
  1141. #
  1142. vt220|vt200|DEC VT220 in vt100 emulation mode, 
  1143.     am, mir, xenl, xon, 
  1144.     cols#80, lines#24, vt#3, 
  1145.     acsc=kkllmmjjnnwwqquuttvvxx, bel=^G, 
  1146.     blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l, 
  1147.     clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M, 
  1148.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, 
  1149.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, 
  1150.     dch1=\E[P, dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, 
  1151.     home=\E[H, ht=^I, if=/usr/share/tabset/vt100, 
  1152.     il1=\E[L, ind=\ED$<20/>, is2=\E[1;24r\E[24;1H, 
  1153.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  1154.     kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP, 
  1155.     kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  1156.     kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
  1157.     kf9=\E[21~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, 
  1158.     kpp=\E[5~, rc=\E8, rev=\E[7m$<2>, 
  1159.     rf=/usr/share/tabset/vt100, ri=\EM$<14/>, 
  1160.     rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
  1161.     rmso=\E[27m, rmul=\E[24m, 
  1162.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  1163.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
  1164.     sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, 
  1165.     smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  1166. vt220-w|vt200-w|DEC vt220 in wide mode, 
  1167.     cols#132, 
  1168.     rs3=\E[?3h, use=vt220,
  1169.  
  1170. #
  1171. # vt220d:
  1172. # This vt220 description regards F6--F10 as the second block of function keys
  1173. # at the top of the keyboard.  This mapping follows the description given
  1174. # in the VT220 Programmer Reference Manual and agrees with the labeling
  1175. # on some terminals that emulate the vt220.  There is no support for an F5.
  1176. # See vt220 for an alternate mapping. 
  1177. #
  1178. vt220d|DEC VT220 in vt100 mode with DEC function key labeling, 
  1179.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  1180.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
  1181.     kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, 
  1182.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, use=vt220,
  1183.  
  1184. vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins, 
  1185.     am@, 
  1186.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
  1187.  
  1188. vt220-8|dec vt220 8 bit terminal, 
  1189.     am, mc5i, mir, msgr, xenl, xon, 
  1190.     cols#80, it#8, lines#24, 
  1191.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1192.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
  1193.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
  1194.     cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
  1195.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  1196.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  1197.     dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
  1198.     el1=\E[1K, enacs=\E)0, flash=\E[?5h$<200/>\E[?5l, 
  1199.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  1200.     if=/usr/share/tabset/vt100, il=\E[%p1%dL, il1=\E[L, 
  1201.     ind=\ED, is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, 
  1202.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  1203.     kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
  1204.     kf13=\E[25~, kf14=\E[26~, kf17=\E[31~, kf18=\E[32~, 
  1205.     kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, 
  1206.     kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
  1207.     kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, khome=\E[H, 
  1208.     kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, 
  1209.     kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, 
  1210.     mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, 
  1211.     rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
  1212.     rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, rs1=\E[?3l, 
  1213.     sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, 
  1214.     smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  1215.  
  1216. # This was DEC's vt320.  Use the purpose-built one below instead 
  1217. #vt320|DEC VT320 in vt100 emulation mode,
  1218. #    use=vt220,
  1219.  
  1220. #
  1221. # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
  1222. #
  1223. vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode, 
  1224.     am@, 
  1225.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
  1226.  
  1227. # These entries are not DEC's official ones, they were purpose-built for the 
  1228. # VT320.  Here are the designer's notes:
  1229. # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to 
  1230. # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
  1231. # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
  1232. # Things that use <knxt> usually use tab anyways... and things that don't use
  1233. # tab usually use <knxt> instead...
  1234. # kprv is same as tab - Backtab is useless...
  1235. # I left out <sgr> because of its RIDICULOUS complexity,
  1236. # and the resulting fact that it causes the termcap translation of the entry
  1237. # to SMASH the 1k-barrier...
  1238. # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
  1239. vt320|vt300|dec vt320 7 bit terminal, 
  1240.     am, eslok, hs, mir, msgr, xenl, 
  1241.     cols#80, lines#24, wsl#80, 
  1242.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  1243.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  1244.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1245.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1246.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1247.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  1248.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
  1249.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  1250.     il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  1251.     is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  1252.     ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, 
  1253.     kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  1254.     kcuu1=\EOA, kdch1=\E[3~, kel=\E[4~, kent=\EOM, 
  1255.     kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
  1256.     kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
  1257.     kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
  1258.     kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  1259.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[1~, 
  1260.     kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~, 
  1261.     kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, 
  1262.     mc5=\E[?5i, nel=\EE, rc=\E8, rev=\E[7m, 
  1263.     rf=/usr/share/tabset/vt100, ri=\EM, rmacs=\E(B, 
  1264.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
  1265.     rmul=\E[m, 
  1266.     rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  1267.     sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, 
  1268.     smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  1269.     tbc=\E[3g, tsl=\E[1$}\E[H\E[K, 
  1270. vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy, 
  1271.     am@, 
  1272.     is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
  1273.     rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, use=vt320,
  1274. # We have to init 132-col mode, not 80-col mode.
  1275. vt320-w|vt300-w|dec vt320 wide 7 bit terminal, 
  1276.     cols#132, wsl#132, 
  1277.     is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  1278.     rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, use=vt320,
  1279. vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am, 
  1280.     am@, 
  1281.     is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
  1282.     rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, use=vt320-w,
  1283.  
  1284. # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
  1285. #   which are pretty much a superset of the VT320.  They have the
  1286. #   host writable status line, yet another different DRCS matrix size,
  1287. #   and such, but they add the DEC Technical character set, Multiple text
  1288. #   pages, selectable length pages, and the like.  The difference between
  1289. #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
  1290. #   monitor, the former has 4 planes and a color monitor.  These terminals
  1291. #   support VT131 and ANSI block mode, but as with much of these things,
  1292. #   termcap/terminfo doesn't deal with these features.
  1293. #
  1294. # Note that this entry is are set up in what was the standard way for GNU
  1295. # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
  1296. # keys were switched into application mode at the same time the numeric pad
  1297. # is switched into application mode.  This changes the definitions of the
  1298. # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
  1299. # your termcap entry,
  1300. #
  1301. # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
  1302. # (vt340: string capability "sb=\E[M" corrected to "sr";
  1303. # also, added <rmam>/<smam> based on the init string -- esr)
  1304. vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page, 
  1305.     am, eslok, hs, mir, msgr, xenl, xon, 
  1306.     cols#80, it#8, lines#24, vt#3, 
  1307.     blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  1308.     clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
  1309.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1310.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1311.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1312.     cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, 
  1313.     dl=\E[%p1%dM, dl1=\E[M, 
  1314.     dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
  1315.     flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, 
  1316.     ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
  1317.     il1=\E[L, ind=\ED, 
  1318.     is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  1319.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  1320.     kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  1321.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  1322.     lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, nel=^M\ED, 
  1323.     rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, 
  1324.     ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
  1325.     rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
  1326.     rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
  1327.     smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
  1328.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  1329.     tsl=\E[2$~\E[1$}\E[1;%dH, 
  1330.  
  1331. # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
  1332. # (originally written with vt420 as its primary name, and usable for it).
  1333. # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple 
  1334. #    text pages and long text pages with selectable length of the vt340, along
  1335. #    with left and right margins, rectangular area text copy, fill, and erase
  1336. #    operations, selected region character attribute change operations,
  1337. #    page memory and rectangle checksums, insert/delete column, reception
  1338. #    macros, and other features too numerous to remember right now.  TERMCAP
  1339. #    can only take advantage of a few of these added features.
  1340. #
  1341. # Note that this entry is are set up in what was the standard way for GNU
  1342. # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
  1343. # keys were switched into application mode at the same time the numeric pad
  1344. # is switched into application mode.  This changes the definitions of the
  1345. # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
  1346. # your termcap entry,
  1347. #
  1348. # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
  1349. # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
  1350. # also, added <rmam>/<smam> based on the init string -- esr)
  1351. vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap, 
  1352.     am, eslok, hs, mir, msgr, xenl, xon, 
  1353.     cols#80, it#8, lines#24, vt#3, 
  1354.     blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  1355.     clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M, 
  1356.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1357.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1358.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1359.     cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, 
  1360.     dl=\E[%p1%dM, dl1=\E[M, 
  1361.     dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>, 
  1362.     el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, 
  1363.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  1364.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  1365.     is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  1366.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  1367.     kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  1368.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  1369.     lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, nel=^M\ED, 
  1370.     rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, 
  1371.     ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
  1372.     rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
  1373.     rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m, 
  1374.     smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
  1375.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  1376.     tsl=\E[2$~\E[1$}\E[1;%dH, 
  1377.  
  1378. # (I removed <kf0>, it collided with <kf10>;
  1379. # I also added <rmam>/<smam> based on the init string -- esr)
  1380. vt420|DEC VT420, 
  1381.     am, mir, xenl, xon, 
  1382.     cols#80, lines#24, vt#3, 
  1383.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1384.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  1385.     clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1386.     cub1=^H, cud1=\E[B, cuf1=\E[C, 
  1387.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
  1388.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, 
  1389.     ht=^I, if=/usr/share/tabset/vt100, il1=\E[L, 
  1390.     ind=\ED, is2=\E[1;24r\E[24;1H, 
  1391.     is3=\E[?67h\E[64;1"p, kbs=^H, kcub1=\E[D, 
  1392.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, 
  1393.     kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
  1394.     kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, 
  1395.     kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, 
  1396.     knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, 
  1397.     rev=\E[7m$<2>, rf=/usr/share/tabset/vt100, ri=\EM, 
  1398.     rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
  1399.     rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  1400.     rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, 
  1401.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
  1402.     sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, 
  1403.     smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
  1404.  
  1405. #
  1406. #  DECUDK   
  1407. #               if (key < 16) then  value = key;
  1408. #               else if (key < 21) then value = key + 1; 
  1409. #               else if (key < 25) then value = key + 2;
  1410. #               else if (key < 27) then value = key + 3;
  1411. #               else if (key < 30) then value = key + 4;
  1412. #               else value = key + 5;
  1413. #
  1414. vt420pc|DEC VT420 w/PC keyboard, 
  1415.     kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~, 
  1416.     kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, 
  1417.     kf14=\E[12;2~, kf15=\E[13;2~, kf16=\E[14;2~, 
  1418.     kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, 
  1419.     kf2=\E[12~, kf20=\E[19;2~, kf21=\E[20;2~, 
  1420.     kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~, 
  1421.     kf25=\E[23~, kf26=\E[24~, kf27=\E[25~, kf28=\E[26~, 
  1422.     kf29=\E[28~, kf3=\E[13~, kf30=\E[29~, kf31=\E[31~, 
  1423.     kf32=\E[32~, kf33=\E[33~, kf34=\E[34~, kf35=\E[35~, 
  1424.     kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~, 
  1425.     kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, 
  1426.     kf41=\E[28;2~, kf42=\E[29;2~, kf43=\E[31;2~, 
  1427.     kf44=\E[32;2~, kf45=\E[33;2~, kf46=\E[34;2~, 
  1428.     kf47=\E[35;2~, kf48=\E[36;2~, kf5=\E[15~, 
  1429.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  1430.     khome=\E[H, pctrm=USR_TERM\072vt420pcdos\072, 
  1431.     pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, use=vt420,
  1432.  
  1433. vt420pcdos|DEC VT420 w/PC for DOS Merge, 
  1434.     lines#25, 
  1435.     dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;, 
  1436.     pctrm@, 
  1437.     rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  1438.     sgr@, sgr0=\E[m, smsc=\E[?1;2r\E[34h, use=vt420pc,
  1439.  
  1440. vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys, 
  1441.     kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
  1442.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  1443.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  1444.     kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
  1445.     kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
  1446.     kf9=\E[20~, khome=\E[H, lf1=\EOP, lf2=\EOQ, 
  1447.     lf3=\EOR, lf4=\EOS, use=vt420,
  1448.  
  1449. vt510|DEC VT510, 
  1450.     use=vt420,
  1451. vt510pc|DEC VT510 w/PC keyboard, 
  1452.     use=vt420pc,
  1453. vt510pcdos|DEC VT510 w/PC for DOS Merge, 
  1454.     use=vt420pcdos,
  1455.  
  1456. # VT520/VT525
  1457. #
  1458. # The VT520 is a monochrome text terminal capable of managing up to
  1459. # four independent sessions in the terminal.  It has multiple ANSI
  1460. # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
  1461. # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
  1462. # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
  1463. #
  1464. # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
  1465. # [Alt]/[Print Screen] depending upon which keyboard and which
  1466. # terminal mode is being used.  If Set-Up has been disabled or
  1467. # assigned to an unknown key, Set-Up may be entered by pressing
  1468. # [F3] as the first key after power up, regardless of keyboard type.
  1469. # (I added <rmam>/<smam> based on the init string -- esr)
  1470. vt520|DEC VT520, 
  1471.     am, mir, xenl, xon, 
  1472.     cols#80, lines#24, vt#3, 
  1473.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1474.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  1475.     clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1476.     cub1=^H, cud1=\E[B, cuf1=\E[C, 
  1477.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
  1478.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, 
  1479.     ht=^I, if=/usr/share/tabset/vt100, il1=\E[L, 
  1480.     ind=\ED, is2=\E[1;24r\E[24;1H, 
  1481.     is3=\E[?67h\E[64;1"p, kbs=^H, kcub1=\E[D, 
  1482.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, 
  1483.     kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, 
  1484.     kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, 
  1485.     kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, 
  1486.     kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, 
  1487.     pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
  1488.     rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt100, 
  1489.     ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
  1490.     rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  1491.     rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, 
  1492.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
  1493.     sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, 
  1494.     smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  1495.  
  1496. # (I added <rmam>/<smam> based on the init string -- esr)
  1497. vt525|DEC VT525, 
  1498.     am, mir, xenl, xon, 
  1499.     cols#80, lines#24, vt#3, 
  1500.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1501.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  1502.     clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1503.     cub1=^H, cud1=\E[B, cuf1=\E[C, 
  1504.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
  1505.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, 
  1506.     ht=^I, if=/usr/share/tabset/vt100, il1=\E[L, 
  1507.     ind=\ED, is2=\E[1;24r\E[24;1H, 
  1508.     is3=\E[?67h\E[64;1"p, kbs=^H, kcub1=\E[D, 
  1509.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, 
  1510.     kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, 
  1511.     kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, 
  1512.     kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, 
  1513.     kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, 
  1514.     pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
  1515.     rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt100, 
  1516.     ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
  1517.     rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  1518.     rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, 
  1519.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
  1520.     sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, 
  1521.     smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  1522.  
  1523. #### VT100 emulations
  1524. #
  1525.  
  1526. # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
  1527. # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
  1528. # to telnetd.  We'll guess that it's vt102-like but doesn't grok ^N/^O.
  1529. dec-vt100|EWAN telnet's vt100 emulation, 
  1530.     use=vt102-nsgr,
  1531.  
  1532. # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
  1533. # anyone who needs PC VT340 emulation. (or anything below that level, for
  1534. # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
  1535. # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
  1536. # I can send the address if requested.
  1537. # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
  1538. # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
  1539. z340|zstem vt340 terminal emulator 132col 42line, 
  1540.     lines#42, 
  1541.     is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
  1542.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, use=vt320-w,
  1543. z340-nam|zstem vt340 terminal emulator 132col 42line, 
  1544.     am@, 
  1545.     is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
  1546.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, use=z340,
  1547.  
  1548. #### X terminal emulators
  1549. #
  1550.  
  1551. # X10/6.6    11/7/86, minus alternate screen, plus (csr)
  1552. # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
  1553. # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
  1554. # as these seem not to work -- esr)
  1555. x10term|vs100-x10|xterm terminal emulator (X10 window system), 
  1556.     am, km, mir, msgr, xenl, xon, 
  1557.     cols#80, it#8, lines#65, 
  1558.     bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
  1559.     cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  1560.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  1561.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  1562.     il=\E[%p1%dL, il1=\E[L, ind=^J, 
  1563.     is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H, kcub1=\EOD, 
  1564.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
  1565.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, 
  1566.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
  1567.     rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
  1568.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  1569. # X11R6 xterm.  This is known good for the XFree86 version under Linux.
  1570. # It is *way* more featureful than the stock X consortium entry (has acsc,
  1571. # for starters).  The <kmous> key is actually the \E[M prefix returned by
  1572. # xterm's internal mouse-tracking facility; ncurses will interpret the
  1573. # following three bytes of mouse status information.
  1574. # From: Eric S. Raymond <esr@snark.thyrsus.com> 14 Dec 1995
  1575. xterm|vs100|xterm terminal emulator (X11R6 Window System), 
  1576.     am, km, mir, msgr, xenl, xon, 
  1577.     cols#80, it#8, lines#65, 
  1578.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00, 
  1579.     bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  1580.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1581.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1582.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1583.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  1584.     ed=\E[J, el=\E[K, enacs=\E(B\E)0, home=\E[H, ht=^I, 
  1585.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
  1586.     ind=^J, 
  1587.     is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
  1588.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  1589.     kcuu1=\EOA, kend=\EOe, kent=\EOM, kf1=\E[11~, 
  1590.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
  1591.     kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, 
  1592.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\EO\200, 
  1593.     kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
  1594.     rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
  1595.     rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
  1596.     rmso=\E[m, rmul=\E[m, rs1=^O, 
  1597.     rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<, 
  1598.     sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, 
  1599.     smcup=\E7\E[?47h, smir=\E[4h, smkx=\E[?1h\E=, 
  1600.     smso=\E[7m, smul=\E[4m, tbc=\E[3k, u6=\E[%i%d;%dR, 
  1601.     u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
  1602. xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold, 
  1603.     smso=\E[1m, use=xterm,
  1604. xterms|vs100s|xterm terminal emulator (small screen 24x80), 
  1605.     cols#80, lines#24, use=xterm,
  1606. # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
  1607. kterm|kterm kanji terminal emulator (X window system), 
  1608.     eslok, hs, 
  1609.     csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, fsl=\E[?F, 
  1610.     rc=\E8, sc=\E7, tsl=\E[?E\E[?%i%dT, use=xterm,
  1611.  
  1612. # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
  1613. xterm-nic|xterm with ich/ich1 suppressed for non-curses programs, 
  1614.     ich@, ich1@, use=xterm,
  1615.  
  1616. # Should work with the color xterm on the X11R6 contrib tape.
  1617. # Assumes the xterm attribute default is black on white.
  1618. # From: Eric S. Raymond <esr@snark.thyrsus.com> March 4 1996
  1619. xterm-color|xterm with color support, 
  1620.     op=\E[30;47m, use=xterm,use=klone+color,
  1621.  
  1622. # From: Thomas Dickey <dickey@clark.net> 13 Dec 1995
  1623. rxvt|rxvt terminal emulator, 
  1624.     kend=\EOw, khome=\E[H, kmous@, use=xterm,use=klone+color,
  1625.  
  1626. # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
  1627. # Here's a termcap entry I've been using for xterm_color, which comes
  1628. # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
  1629. # color stuff, I also have a status line defined as the window manager
  1630. # title bar. [I have translated it to terminfo -- ESR]
  1631. xterm-pcolor|xterm with color used for highlights and status line, 
  1632.     hs, 
  1633.     wsl#40, 
  1634.     bold=\E[1m\E[43m, dsl=\E]0;\007, fsl=^G, 
  1635.     rev=\E[7m\E[34m, smso=\E[7m\E[31m, 
  1636.     smul=\E[4m\E[42m, tsl=\E]0;, use=xterm,
  1637.  
  1638. # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
  1639. hpterm|X-hpterm|hp X11 terminal emulator, 
  1640.     am, da, db, mir, xhp, 
  1641.     cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, 
  1642.     pb#9600, xmc#0, 
  1643.     bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, 
  1644.     cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  1645.     cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
  1646.     dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK, 
  1647.     hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, 
  1648.     kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, 
  1649.     kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, 
  1650.     kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, 
  1651.     kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, 
  1652.     khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
  1653.     knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, 
  1654.     meml=\El, memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
  1655.     pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
  1656.     pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
  1657.     pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET, 
  1658.     rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, 
  1659.     rmso=\E&d@, rmul=\E&d@, 
  1660.     sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
  1661.     sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, 
  1662.     smln=\E&jB, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
  1663.     vpa=\E&a%p1%dY, 
  1664.  
  1665. # This entry describes an xterm with Sun-style function keys enabled
  1666. # via the X resource setting "xterm*sunFunctionKeys:true"
  1667. # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
  1668. # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
  1669. # because we want it to be seen as <kcpy>. 
  1670. # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
  1671. # with their Sun keyboard labels instead.
  1672. # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
  1673. xterm-sun|xterm with sunFunctionKeys true, 
  1674.     kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, 
  1675.     kf1=\E[224z, kf10=\E[233z, kf11=\E[192z, 
  1676.     kf12=\E[193z, kf13=\E[194z, kf14=\E[195z, 
  1677.     kf15=\E[196z, kf17=\E[198z, kf18=\E[199z, 
  1678.     kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, 
  1679.     kf3=\E[226z, kf31=\E[208z, kf32=\E[209z, 
  1680.     kf33=\E[210z, kf34=\E[211z, kf35=\E[212z, 
  1681.     kf36=\E[213z, kf38=\E[215z, kf4=\E[227z, 
  1682.     kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, 
  1683.     kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, 
  1684.     kf9=\E[232z, kfnd=\E[200z, khlp=\E[196z, 
  1685.     khome=\E[214z, kich1=\E[2z, knp=\E[222z, 
  1686.     kpp=\E[216z, kund=\E[195z, use=xterm,
  1687. xterms-sun|small (80x24) xterm with sunFunctionKeys true, 
  1688.     cols#80, lines#24, use=xterm-sun,
  1689.  
  1690. # This is for the extensible terminal emulator on the X11R6 contrib tape.
  1691. emu|emu native mode, 
  1692.     mir, msgr, xon, 
  1693.     colors#15, cols#80, it#8, lines#24, pairs#64, 
  1694.     vt#200, 
  1695.     acsc=a\202f\260g261j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244, 
  1696.     bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ, 
  1697.     clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, 
  1698.     csr=\Ek%p1%d;%p2%d;, cub=\Eq-%p1%d;, cub1=^H, 
  1699.     cud=\Ep%p1%d;, cud1=\EB, cuf=\Eq%p1%d;, cuf1=\ED, 
  1700.     cup=\EE%p1%d;%p2%d;, cuu=\Ep-%p1%d;, cuu1=\EA, 
  1701.     cvvis=\Ea, dch=\EI%p1%d;, dch1=\EI1;, dl=\ER%p1%d;, 
  1702.     dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN, el=\EK, el1=\EL, 
  1703.     enacs=\200, home=\EE0;0;, ht=^I, hts=\Eh, 
  1704.     il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, 
  1705.     is2=\ES\Er0;\Es0;, kbs=^H, kcub1=\EC, kcud1=\EB, 
  1706.     kcuf1=\ED, kcuu1=\EA, kdch1=\177, kent=^M, 
  1707.     kf0=\EF00, kf1=\EF01, kf10=\EF10, kf11=\EF11, 
  1708.     kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15, 
  1709.     kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, 
  1710.     kf2=\EF02, kf20=\EF20, kf3=\EF03, kf4=\EF04, 
  1711.     kf5=\EF05, kf6=\EF06, kf7=\EF07, kf8=\EF08, 
  1712.     kf9=\EF09, kfnd=\Efind, kich1=\Eins, knp=\Enext, 
  1713.     kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;, rev=\ES\ET, 
  1714.     ri=\EF, rmacs=\200, rmir=\EX, rmso=\ES, rmul=\ES, 
  1715.     rs2=\ES\Es0;\Er0;, 
  1716.     setab=\Es%i%p1%d; setaf=\Er%i%p1%d;, sgr0=\ES, 
  1717.     smacs=\200, smir=\EY, smso=\ES\ET, smul=\ES\EV, 
  1718.     tbc=\Ej, 
  1719.  
  1720. ######## UNIX VIRTUAL TERMINALS AND VIRTUAL CONSOLES
  1721. #
  1722.  
  1723. # Columbus UNIX virtual terminal. This terminal also appears in 
  1724. # UNIX 4.0 and successors as line discipline 1 (?), but is 
  1725. # undocumented and does not really work quite right.
  1726. cbunix|cb unix virtual terminal, 
  1727.     am, da, db, 
  1728.     cols#80, lines#24, lm#0, 
  1729.     bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, 
  1730.     cuf1=\EC, cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, 
  1731.     dl1=\EN, ed=\EL, el=\EK, ich1=\EO, il1=\EP, ind=^J, 
  1732.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  1733.     khome=\EE, rmso=\Eb^D, rmul=\Eb^A, smso=\Ea^D, 
  1734.     smul=\Ea^A, 
  1735. # (vremote: removed obsolete ":nl@:" -- esr)
  1736. vremote|virtual remote terminal, 
  1737.     am@, 
  1738.     cols#79, use=cbunix,
  1739. pty|4bsd pseudo teletype, 
  1740.     cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, 
  1741.     rmul=\Eb!, smso=\Ea$, smul=\Ea!, use=cbunix,
  1742.  
  1743. # The codes supported by the term.el terminal emulation in GNU Emacs 19.30 
  1744. eterm|gnu emacs term.el terminal emulation, 
  1745.     am, mir, xenl, 
  1746.     cols#80, lines#24, 
  1747.     bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
  1748.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1749.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1750.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1751.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  1752.     ed=\\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I, 
  1753.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  1754.     rev=\E[7m, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
  1755.     rmso=\E[m, rmul=\E[m, sgr0=\E[m, smcup=\E7\E[?47h, 
  1756.     smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  1757.  
  1758. # Entries for use by the FSF's `screen' program.  The screen and
  1759. # screen-w came with version 3.6.2.  The screen2 and screen3 entries
  1760. # come from University of Wisconsin and may be older.
  1761.  
  1762. screen|VT 100/ANSI X3.64 virtual terminal, 
  1763.     am, km, mir, msgr, xenl, 
  1764.     cols#80, it#8, lines#24, 
  1765.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00, 
  1766.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  1767.     clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1768.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  1769.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  1770.     cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, 
  1771.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  1772.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  1773.     il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, 
  1774.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  1775.     kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
  1776.     kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  1777.     kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
  1778.     kf9=\E[20~, khome=\E[1~, kich1=\E[2~, kll=\E[4~, 
  1779.     knp=\E[6~, kpp=\E[5~, nel=\EE, rc=\E8, rev=\E[7m, 
  1780.     ri=\EM, rmacs=^O, rmir=\E[4l, rmkx=\E[?1l\E>, 
  1781.     rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7, 
  1782.     sgr0=\E[m, smacs=^N, smir=\E[4h, smkx=\E[?1h\E=, 
  1783.     smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
  1784. screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols, 
  1785.     cols#132, use=screen,
  1786.  
  1787. screen2|VT 100/ANSI X3.64 virtual terminal, 
  1788.     cols#80, it#8, lines#24, 
  1789.     cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, 
  1790.     cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
  1791.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  1792.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  1793.     dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, hts=\EH, 
  1794.     ich=\E[%p1%d@, ich1=, il=\E[%p1%dL, il1=\E[L, 
  1795.     ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  1796.     kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, 
  1797.     kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
  1798.     kf9=\E0I, khome=\EH, nel=^M^J, rc=\E8, ri=\EM, 
  1799.     rmir=\E[4l, rmso=\E[23m, rmul=\E[24m, rs1=\Ec, 
  1800.     sc=\E7, smir=\E[4h, smso=\E[3m, smul=\E[4m, 
  1801.     tbc=\E[3g, 
  1802. # (screen3: removed unknown ":xv:LP:G0:" -- esr)
  1803. screen3|VT 100/ANSI X3.64 virtual terminal, 
  1804.     km, mir, msgr, 
  1805.     cols#80, it#8, lines#24, 
  1806.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  1807.     clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1808.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  1809.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  1810.     cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, 
  1811.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  1812.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  1813.     il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, 
  1814.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  1815.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, 
  1816.     rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E>, 
  1817.     rmso=\E[23m, rmul=\E[24m, rs1=\Ec, sc=\E7, 
  1818.     sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m, 
  1819.     smul=\E[4m, tbc=\E[3g, 
  1820.  
  1821. ######## WORKSTATION CONSOLES
  1822. #
  1823.  
  1824. #### Sun consoles
  1825. #
  1826.  
  1827. # :is1: resets scrolling region in case a previous user had used "tset vt100"
  1828. oldsun|Sun Microsystems Workstation console, 
  1829.     am, km, mir, msgr, 
  1830.     cols#80, it#8, lines#34, 
  1831.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, 
  1832.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  1833.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  1834.     ed=\E[J, el=\E[K, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
  1835.     il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E[1r, 
  1836.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  1837.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
  1838.     rmso=\E[m, smso=\E[7m, 
  1839. # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
  1840. sun|sun1|sun2|Sun Microsystems Inc. workstation console, 
  1841.     am, km, msgr, 
  1842.     cols#80, lines#35, 
  1843.     bel=^G, bold=\E[1m, clear=^L, cr=^M, cub1=^H, 
  1844.     cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  1845.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  1846.     dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, ich=\E[%p1%d@, 
  1847.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  1848.     kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  1849.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[220z, 
  1850.     kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, 
  1851.     kf12=\E[235z, kf2=\E[225z, kf3=\E[226z, 
  1852.     kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, 
  1853.     kf8=\E[231z, kf9=\E[232z, khome=\E[214z, 
  1854.     knp=\E[222z, kopt=\E[194z, kpp=\E[216z, 
  1855.     kres=\E[193z, kund=\E[195z, rev=\E[7m, rmso=\E[m, 
  1856.     rmul=\E[m, rs2=\E[s, 
  1857.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
  1858.     sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  1859. # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
  1860. # (sun-s: I added lines#34 because the Lukyanov entry for sun has 35 -- esr)
  1861. sun-s|Sun Microsystems Workstation window with status line, 
  1862.     hs, 
  1863.     lines#34, 
  1864.     dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun,
  1865. sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs, 
  1866.     hs, 
  1867.     dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,
  1868. sun-48|Sun 48-line window, 
  1869.     cols#80, lines#48, use=sun,
  1870. sun-34|Sun 34-line window, 
  1871.     cols#80, lines#34, use=sun,
  1872. sun-24|Sun 24-line window, 
  1873.     cols#80, lines#24, use=sun,
  1874. sun-17|Sun 17-line window, 
  1875.     cols#80, lines#17, use=sun,
  1876. sun-12|Sun 12-line window, 
  1877.     cols#80, lines#12, use=sun,
  1878. sun-1|Sun 1-line window for sysline, 
  1879.     eslok, hs, 
  1880.     cols#80, lines#1, 
  1881.     dsl=^L, fsl=\E[K, tsl=^M, use=sun,
  1882. sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character, 
  1883.     ich1@, rmir@, smir@, use=sun,
  1884. sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history, 
  1885.     rmcup=\E[>4h, smcup=\E[>4l, use=sun,
  1886.  
  1887. #### Iris consoles
  1888. #
  1889.  
  1890. # (wsiris: this had extension capabilities
  1891. #    :HS=\E7F2:HE=\E7F7:\
  1892. #    :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
  1893. # (wsiris: removed suboptimal <clear=\EH\EJ>:" -- esr)
  1894. wsiris|iris40|iris emulating a 40 line visual 50 (approximately), 
  1895.     am, 
  1896.     cols#80, it#8, lines#40, 
  1897.     clear=\Ev, cnorm=\E>, cub1=^H, cuf1=\EC, 
  1898.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  1899.     cvvis=\E;, dl1=\EM, ed=\EJ, el=\EK, home=\EH, 
  1900.     ht=^I, il1=\EL, is2=\E7B0\E7F7\E7C2\E7R3, 
  1901.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  1902.     kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, 
  1903.     kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, 
  1904.     ri=\EI, rmso=\E0@, rmul=\E7R3\E0@, smso=\E9P, 
  1905.     smul=\E7R2\E9P, 
  1906.  
  1907. #### NeWS consoles
  1908. #
  1909. # Console terminal windows under the NeWS (Sun's Display Postscript windowing
  1910. # environment).   Note: these have nothing to do with Sony's News workstation
  1911. # line.
  1912. #
  1913.  
  1914. # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
  1915. # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
  1916. psterm|psterm-basic|NeWS psterm-80x34, 
  1917.     am, hs, km, ul, 
  1918.     cols#80, it#8, lines#34, 
  1919.     blink=\EOb, bold=\EOd, clear=^L, 
  1920.     csr=\EE%p1%d;%p2%d;, cub1=\ET, cud1=\EP, cuf1=\EV, 
  1921.     cup=\E%p1%d;%p2%d;, cuu1=\EY, dch1=\EF, dl1=\EK, 
  1922.     ed=\EB, el=\EC, flash=\EZ, fsl=\ENl, home=\ER, 
  1923.     ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D, 
  1924.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, 
  1925.     rev=\EOr, ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, 
  1926.     rmul=\ENu, sc=^], sgr0=\EN*, smcup=\EOt, smir=\EOi, 
  1927.     smso=\EOo, smul=\EOu, tsl=\EOl, 
  1928. psterm-96x48|NeWS psterm 96x48, 
  1929.     cols#96, lines#48, use=psterm,
  1930. psterm-90x28|NeWS psterm 90x28, 
  1931.     cols#90, lines#28, use=psterm,
  1932. psterm-80x24|NeWS psterm 80x24, 
  1933.     cols#80, lines#24, use=psterm,
  1934. # This is a faster termcap for psterm.  Warning:  if you use this termcap,
  1935. # some control characters you type will do strange things to the screen.
  1936. # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
  1937. psterm-fast|NeWS psterm fast version (flaky ctrl chars), 
  1938.     am, hs, km, ul, 
  1939.     cols#80, it#8, lines#34, 
  1940.     blink=^Ob, bold=^Od, clear=^L, 
  1941.     csr=\005%p1%d;%p2%d;, cub1=^T, cud1=^P, cuf1=^V, 
  1942.     cup=\004%p1%d;%p2%d;, cuu1=^Y, dch1=^F, dl1=^K, 
  1943.     ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I, 
  1944.     il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, 
  1945.     kcuf1=\E[C, kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, 
  1946.     ri=^X, rmcup=^Nt, rmir=^Ni, rmso=^No, rmul=^Nu, 
  1947.     sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi, smso=^Oo, 
  1948.     smul=^Ou, tsl=^Ol, 
  1949.  
  1950. #### Apollo consoles
  1951. #
  1952. # Apollo got bought by Hewlett-Packard.  The Apollo workstations are 
  1953. # labeled HP700s now.
  1954. #
  1955.  
  1956. # From: Gary Darland <goodmanc@garnet.berkeley.edu>
  1957. apollo|apollo console, 
  1958.     am, mir, 
  1959.     cols#88, lines#53, 
  1960.     clear=^L, cub1=^H, cud1=\EB, cuf1=\EC, 
  1961.     cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, 
  1962.     dl1=\EL, ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, 
  1963.     ind=\EE, ri=\ED, rmcup=\EX, rmir=\ER, rmso=\ET, 
  1964.     rmul=\EV, smcup=\EW, smir=\EQ, smso=\ES, smul=\EU, 
  1965.     vpa=\EO+ , 
  1966.  
  1967. # We don't know whether or not the apollo guys replicated DEC's firmware bug
  1968. # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
  1969. # both these capabilities.
  1970. apollo_15P|apollo 15 inch display, 
  1971.     rmir@, smir@, use=vt132,
  1972. apollo_19L|apollo 19 inch display, 
  1973.     rmir@, smir@, use=vt132,
  1974. apollo_color|apollo color display, 
  1975.     rmir@, smir@, use=vt132,
  1976.  
  1977. #### NeXT Consoles
  1978. #
  1979. # Use `glasstty' for the Workspace application
  1980.  
  1981. # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
  1982. next|NeXT console, 
  1983.     am, xt, 
  1984.     cols#80, it#8, lines#24, 
  1985.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
  1986.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  1987.     el=\E[K, home=\E[H, ht=^I, ind=^J, kbs=^H, 
  1988.     kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E[4;1m, 
  1989.     smso=\E[4;2m, 
  1990. nextshell|NeXT Shell application, 
  1991.     am, 
  1992.     cols#80, 
  1993.     bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, 
  1994.     kcub1=^H, kcud1=^J, nel=^M^J, 
  1995.  
  1996. #### Fortune Systems consoles
  1997. #
  1998.  
  1999. # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
  2000. # (This had extension capabilities
  2001. #    :rv=\EH:re=\EI:rg=0:GG=0:\
  2002. #    :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
  2003. #    :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
  2004. #    :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
  2005. # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
  2006. # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
  2007. # to force both magic cookie glitches off.  Once upon a time, I
  2008. # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
  2009. # function keys; thus the "Al" value for HM was certainly an error.  I renamed
  2010. # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.  
  2011. # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
  2012. # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
  2013. # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
  2014. fos|fortune|Fortune system, 
  2015.     am, bw, 
  2016.     cols#80, lines#25, 
  2017.     acsc=l m"k(j*v%w#q&x-, bel=^G, blink=\EN, 
  2018.     civis=\E], clear=\014$<20>, cnorm=\E\\, cr=^M, 
  2019.     cub1=^H, cud1=\n$<3>, 
  2020.     cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>, 
  2021.     cvvis=\E\072, dch1=\034W$<5>, dl1=\034R$<15>, 
  2022.     ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z, 
  2023.     ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., 
  2024.     kbs=^H, kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, 
  2025.     kcuu1=^Ax\r, kend=^Ak\r, kent=^Aq, kf1=^Aa\r, 
  2026.     kf2=^Ab\r, kf3=^Ac\r, kf4=^Ad\r, kf5=^Ae\r, 
  2027.     kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r, khome=^A?\r, 
  2028.     knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH, rmacs=^O, 
  2029.     rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo, 
  2030.     smso=^\H`, smul=^\HP, 
  2031.  
  2032. ######## COMMON TERMINAL TYPES
  2033. #
  2034. # This section describes terminal classes and maker brands that are still
  2035. # quite common, but have proprietary command sets not blessed by ANSI.
  2036.  
  2037. #### Altos
  2038. #
  2039. # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
  2040. # His comments suggest they were shipped with the system.
  2041. #
  2042.  
  2043. # (altos2: had extension capabilities
  2044. #    :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
  2045. #    :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
  2046. #    :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
  2047. #    :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
  2048. #    :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
  2049. #    :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
  2050. #    :HL=^AP\r:SP=\E[i:\
  2051. #    :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
  2052. #    :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
  2053. # Comparison with the k* capabilities makes it obvious that the c* things are
  2054. # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
  2055. # :sr: was given as a boolean-- esr)
  2056. altos2|alt2|altos-2|altos II, 
  2057.     cols#80, it#8, lines#24, xmc#0, 
  2058.     clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, 
  2059.     cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, 
  2060.     dch1=\E[P, dl=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
  2061.     ht=^I, ich1=\E[@, if=/usr/share/tabset/vt100, 
  2062.     il1=\E[L, ind=^J, 
  2063.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r, 
  2064.     kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, 
  2065.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  2066.     kdch1=^AM\r, kel=^AN\r, kf0=^AI\r, kf1=^A@\r, 
  2067.     kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, kf33=^Aa\r, 
  2068.     kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
  2069.     kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, 
  2070.     kf41=^Ai\r, kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, 
  2071.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
  2072.     khome=\E[f, kil1=^AJ\r, kind=^AO\r, nel=^M^J, 
  2073.     rmam=\E[?7l, rmso=\E[m, rmul=\E[m, smam=\E[?7h, 
  2074.     smso=\E[7m, smul=\E[4m, 
  2075. # (altos3: had extension capabilities
  2076. #    :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
  2077. #    :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
  2078. #    :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
  2079. #    :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
  2080. #    :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
  2081. #    :HL=^AP\r:SP=\E[i:\
  2082. #    :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
  2083. altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V, 
  2084.     blink=\E[5p, ri=\EM, sgr0=\E[p, use=altos2,
  2085. altos4|alt4|altos-4|altos IV, 
  2086.     use=wy50,
  2087. # (altos7: had extension capabilities:
  2088. #    :GG#0:GI=\EH8:GF=\EH7:\
  2089. #    :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
  2090. #    :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
  2091. #    :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
  2092. #    :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
  2093. # Comparison with the k* capabilities makes it obvious that the c* things are
  2094. # shift keys.  I have renamed them to keys 32 and up accordingly -- esr)
  2095. altos7|alt7|altos VII, 
  2096.     am, mir, 
  2097.     cols#80, lines#24, xmc#0, 
  2098.     acsc=l2m1k3j5t4u9v=w0q\072x6n8, blink=\EG2, 
  2099.     bold=\EGt, clear=\E+^^, cr=^M, cub1=^H, cud1=^J, 
  2100.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  2101.     dch1=\EW, dim=\EGp, dl=\ER, ed=\EY, el=\ET, 
  2102.     home=^^, ht=^I, il1=\EE, ind=^J, invis=\EG1, 
  2103.     is2=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, 
  2104.     kDL=^Am\r, kEOL=^An\r, kbs=^H, kcbt=^AK\r, 
  2105.     kclr=^AL\r, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  2106.     kdch1=^AM\r, kel=^AN\r, kf0=^AI\r, kf1=^A@\r, 
  2107.     kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, kf33=^Aa\r, 
  2108.     kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
  2109.     kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, 
  2110.     kf41=^Ai\r, kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, 
  2111.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
  2112.     khome=^^, kil1=^AJ\r, kind=^AO\r, knp=\EK, kpp=\EJ, 
  2113.     mc4=\EJ, mc5=\Ed#, nel=^M^J, rev=\EG4, ri=\Ej, 
  2114.     rmir=\Er, rmso=\EG0, rmul=\EG0, sgr0=\EG0, 
  2115.     smir=\Eq, smso=\EG4, smul=\EG8, 
  2116. altos7pc|alt7pc|altos PC VII, 
  2117.     kend=\ET, use=altos7,
  2118.  
  2119. #### Hewlett-Packard (hp)
  2120. #
  2121. #    Hewlett-Packard
  2122. #    8000 Foothills Blvd 
  2123. #    Roseville, CA 95747
  2124. #    Vox: 1-(916)-785-4363    (Technical response line for VDTs)
  2125. #         1-(800)-633-3600    (General customer support)
  2126. #
  2127.  
  2128. # Generic HP terminal - this should (hopefully) work on any HP terminal.
  2129. hpgeneric|hp|hewlett-packard generic terminal, 
  2130.     am, da, db, mir, xhp, 
  2131.     cols#80, lines#24, lm#0, vt#6, 
  2132.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, 
  2133.     cuf1=\EC, cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, 
  2134.     dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, 
  2135.     ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H, kcbt=\Ei, 
  2136.     rmir=\ER, rmso=\E&d@, rmul=\E&d@, smir=\EQ, 
  2137.     smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
  2138.  
  2139. hp110|hewlett-packard model 110 portable, 
  2140.     lines#16, use=hpgeneric,
  2141.  
  2142. hp+pfk+cr|hp function keys with CR, 
  2143.     kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, 
  2144.     kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, 
  2145.  
  2146. hp+pfk-cr|hp function keys w/o CR, 
  2147.     kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
  2148.     kf6=\Eu, kf7=\Ev, kf8=\Ew, 
  2149.  
  2150. # The 2621s use the same keys for the arrows and function keys, 
  2151. # but not separate escape sequences. These definitions allow the 
  2152. # user to use those keys as arrow keys rather than as function 
  2153. # keys.
  2154. hp+pfk+arrows|hp alternate arrow definitions, 
  2155.     kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, 
  2156.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
  2157.     khome=\Ep\r, kind=\Er\r, kll=\Eq\r, kri=\Es\r, 
  2158.  
  2159. hp+arrows|hp arrow definitions, 
  2160.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  2161.     khome=\Eh, kind=\ES, kll=\EF, kri=\ET, 
  2162.  
  2163. # Generic stuff from the HP 262x series
  2164. #
  2165. hp262x|HP 262x terminals, 
  2166.     xhp, 
  2167.     blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, 
  2168.     ind=\ES, invis=\E&dS, ip=$<2>, kcub1=\ED, 
  2169.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, 
  2170.     kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, 
  2171.     kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET, 
  2172.     krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, 
  2173.     rmul=\E&d@, 
  2174.     sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c, 
  2175.     sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, 
  2176.  
  2177. # Note: no <home> on HP's since that homes to top of memory, not screen.
  2178. # Due to severe 2621 braindamage, the only way to get the arrow keys to
  2179. # transmit anything at all is to turn on the function key labels
  2180. # with <smkx>, and even then the user has to hold down shift!
  2181. # The default 2621 turns off the labels except when it has to to 
  2182. # enable the function keys. If your installation prefers labels 
  2183. # on all the time, or off all the time (at the "expense" of the 
  2184. # function keys) move the # 2621-nl or 2621-wl labels to the 
  2185. # front using reorder.
  2186. # Note: there are newer ROMs for 2621's that allow you to set 
  2187. # strap A so the regular arrow keys xmit \EA, etc, as with the 
  2188. # 2645. However, even with this strap set, the terminal stops 
  2189. # xmitting if you reset it, until you unset and reset the strap!
  2190. # Since there is no way to set/unset the strap with an escape 
  2191. # sequence, we don't use it in the default.
  2192. # If you like, you can use 2621-ba (brain-damaged arrow keys).
  2193. hp2621-ba|2621-ba|2621 w/new rom and strap A set, 
  2194.     rmkx@, smkx@, use=hp+arrows,use=hp2621,
  2195.  
  2196. # hp2621 with function labels. Most of the time they are off,
  2197. # but inside vi, the function key labels appear. You have to
  2198. # hold down shift to get them to xmit.
  2199. hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels, 
  2200.     is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl,
  2201. hp2621-fl|2621-fl|hp 2621, 
  2202.     xhp@, xon, 
  2203.     pb#19200, 
  2204.     cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, 
  2205.     ht=\011$<2>, ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, 
  2206.     rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smkx=\E&jB, 
  2207.     smso=\E&dD, smul=\E&dD, use=hp+pfk+cr,use=hpgeneric,
  2208.  
  2209. # To use 2621p printer, setenv TERM=2621p, PRINTER=2612p
  2210. hp2621p|2621p|2621P|hp 2621 with printer, 
  2211.     mc4=\E&p13C, mc5=\E&p11C, use=hp2621,
  2212.  
  2213. hp2621p-a|2621p-a|hp2621p with fn as arrows, 
  2214.     use=hp+pfk+arrows,use=hp2621p,
  2215.  
  2216. # hp2621 with k45 keyboard
  2217. hp2621-k45|hp2621k45|2621k45|k45|hp 2621 with 45 keyboard, 
  2218.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  2219.     khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, use=hp2621,
  2220.  
  2221. # 2621 using all 48 lines of memory, only 24 visible at any time.  
  2222. hp2621-48|48 line 2621, 
  2223.     lines#48, 
  2224.     cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, use=hp2621,
  2225.  
  2226. # 2621 with no labels ever. Also prevents vi delays on escape.
  2227. hp2621-nl|hp 2621 with no labels, 
  2228.     kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, 
  2229.     smkx@, use=hp2621-fl,
  2230.  
  2231. # Needed for UCB ARPAVAX console, since lsi-11 expands tabs 
  2232. # (wrong).
  2233. #
  2234. hp2621-nt|hp 2621 w/no tabs, 
  2235.     ht@, use=hp2621,
  2236.  
  2237. # Hp 2624 B with 4 or 10 pages of memory.
  2238. # Some assumptions are made with this entry. These settings are 
  2239. # NOT set up by the initialization strings.
  2240. # Port Configuration
  2241. #     RecvPace=Xon/Xoff
  2242. #     XmitPace=Xon/Xoff
  2243. #     StripNulDel=Yes
  2244. # Terminal Configuration
  2245. #     InhHndShk=Yes
  2246. #     InhDC2=Yes
  2247. #     XmitFnctn(A)=No
  2248. #     InhEolWrp=No
  2249. # Note: the 2624 DOES have a true <home>, believe it or not!
  2250. # The 2624 has an "error line" to which messages can be sent. 
  2251. # This is CLOSE to what is expected for a "status line". However,
  2252. # after a message is sent to the "error line", the next carriage 
  2253. # return is EATEN and the "error line" is turned back off again! 
  2254. # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
  2255. # This entry supports emacs (and any other program that uses raw 
  2256. # mode) at 4800 baud and less. I couldn't get the padding right 
  2257. # for 9.6.
  2258. #
  2259. # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
  2260. hp2624|hp2624a|hp2624b|hp2624b-4p|2624-4p|2624|2624a|2624b|Hewlett Packard 2624 B, 
  2261.     da, db, 
  2262.     lm#96, 
  2263.     flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, use=hp+labels,use=scrhp,
  2264.  
  2265. # This hp2626 entry does not use any of the fancy windowing stuff 
  2266. # of the 2626.
  2267. # Indeed, terminfo does not yet handle such stuff. Since changing 
  2268. # any window clears memory, it is probably not possible to use 
  2269. # this for screen opt.
  2270. # ed is incredibly slow most of the time - I am guessing at the 
  2271. # exact padding. Since the terminal uses xoff/xon this is intended 
  2272. # only for cost computation, so that the terminal will prefer el 
  2273. # or even dl1 which is probably faster!
  2274. # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only 
  2275. # extra slow on the last line of the window. 
  2276. # The padding probably should be changed.
  2277. #
  2278. hp2626|hp2626a|hp2626p|2626|2626a|2626p|2626A|2626P|hp 2626, 
  2279.     da, db, 
  2280.     lm#0, pb#19200, 
  2281.     ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>, 
  2282.     is2=\E&j@\r, rin=\E&r%p1%dU, use=hp+pfk+cr,use=hp+labels,use=scrhp,
  2283.  
  2284. # This entry is for sysline. It allocates a 23 line window with 
  2285. # a 115 line workspace for regular use, and a 1 line window for 
  2286. # the status line.
  2287. # This assumes port 2 is being used.
  2288. # Turn off horizontal line, Create ws #1 with 115 lines,
  2289. # Create ws #2 with 1 line, Create window #1 lines 1-23,
  2290. # Create window #2 lines 24-24, Attach cursor to workspace #1.
  2291. # Note that this clears the tabs so it must be done by tset before
  2292. # it sets the tabs.
  2293. #
  2294. hp2626-s|2626-s|hp 2626 using only 23 lines, 
  2295.     eslok, hs, 
  2296.     lines#23, 
  2297.     fsl=\E&d@\E&w7f2p1I\E&w4f1I, 
  2298.     is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r, 
  2299.     tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, use=hp2626,
  2300. # Force terminal back to 24 lines after being 23.
  2301. hp2626-ns|2626-ns|hp 2626 using all 24 lines, 
  2302.     is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, use=hp2626,
  2303. # Various entries useful for small windows on 2626.
  2304. hp2626-12|2626-12|hewlett-packard 2626 12 lines, 
  2305.     lines#12, use=hp2626,
  2306. hp2626-12x40|2626-12x40|hewlett-packard 2626 12 lines 40 columns, 
  2307.     cols#40, lines#12, use=hp2626,
  2308. hp2626-x40|2626-x40|hewlett-packard 2626 40 columns, 
  2309.     cols#40, use=hp2626,
  2310. hp2626-12-s|2626-12-s|hewlett-packard 2626 11 lines plus status, 
  2311.     lines#11, use=hp2626-s,
  2312.  
  2313. #
  2314. # hp2627 color tubes from University of Wisconsin
  2315. #
  2316. hp2627a-rev|hp 2627 with reverse video colors, 
  2317.     cr=^M, cud1=^J, ht=^I, ind=^J, 
  2318.     is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r, 
  2319.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  2320.     rmul=\E&v0S\E&d@, smul=\E&dD\E&v1S, use=hp2621-nl,
  2321. hp2627a|2627|hp 2627 color terminal with no labels, 
  2322.     cr=^M, cud1=^J, ht=^I, ind=^J, 
  2323.     is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r, 
  2324.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S, 
  2325.     rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S, use=hp2621-nl,
  2326. hp2627c|hp 2627 color (cyan) terminal with no labels, 
  2327.     cr=^M, cud1=^J, ht=^I, ind=^J, 
  2328.     is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r, 
  2329.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, use=hp2627a,
  2330.  
  2331. # 2640a doesn't have the Y cursor addressing feature, and C is 
  2332. # memory relative instead of screen relative, as we need.
  2333. #
  2334. hp2640a|2640a|hp 2640a, 
  2335.     cup@, rmkx@, smkx@, use=hp2645,
  2336.  
  2337. hp2640b|hp2644a|hp 264x series, 
  2338.     rmkx@, smkx@, use=hp2645,
  2339.  
  2340. # This terminal should be used at 4800 baud or less. It needs padding for
  2341. # plain characters at 9600, I guessed at an appropriate cr delay.  It really
  2342. # wants ^E/^F handshaking, but that doesn't work well even if you write
  2343. # software to support it.
  2344. hp2645|hp45|HP 2645 series, 
  2345.     pb#9600, 
  2346.     blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, 
  2347.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  2348.     kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
  2349.     khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, 
  2350.     kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB, 
  2351.     rmkx=\E&s0A, 
  2352.     sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c, 
  2353.     sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, use=hpgeneric,
  2354. # You should use this terminal at 4800 baud or less.
  2355. hp2648|hp2648a|2648a|2648A|2648|HP 2648a graphics terminal, 
  2356.     clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>, 
  2357.     dch1=\EP$<7>, ip=$<5>, use=hp2645,
  2358.  
  2359. # The HP 150 terminal is a fairly vanilla HP terminal, with the 
  2360. # clreol standout problem. It also has graphics capabilities and 
  2361. # a touch screen, which we don't describe here.
  2362. hp150|hewlett packard Model 150, 
  2363.     use=hp2622,
  2364.  
  2365. # Hp 2382a terminals, "the little ones." They don't have any 
  2366. # alternate character set support and sending out ^N/^O will 
  2367. # leave the screen blank.
  2368. hp2382a|hp2382|hewlett packard 2382a, 
  2369.     da, db, 
  2370.     lh#1, lm#48, 
  2371.     acsc@, 
  2372.     pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
  2373.     rmacs@, 
  2374.     sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c, 
  2375.     sgr0=\E&d@, smacs@, use=hp+labels,use=scrhp,
  2376.  
  2377. hp2621-a|hp2621a-a|2621-a|hp2621 with fn as arrows, 
  2378.     use=hp+pfk+arrows,use=hp2621-fl,
  2379.  
  2380. # newer hewlett packard terminals
  2381.  
  2382. newhpkeyboard|generic entry for HP extended keyboard, 
  2383.     kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, 
  2384.     kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, 
  2385.     kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, kind=\ET, 
  2386.     kll=\EF, knp=\EU, kpp=\EV, kri=\ES, krmir=\ER, 
  2387.     rmkx=\E&s0A, smkx=\E&s1A, use=hp+pfk-cr,
  2388.  
  2389. newhp|generic entry for new hewlett packard terminals, 
  2390.     am, bw, mir, xhp, xon, 
  2391.     cols#80, lines#24, pb#4800, 
  2392.     acsc=T1R!U2S"W3O#V4P$t5u6w7v8\072'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\0724>q\\\054x.n/, 
  2393.     bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, 
  2394.     cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, 
  2395.     dim=\E&dH, dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, 
  2396.     hts=\E1, il1=\EL, ind=^J, invis=\E&dS, ip=$<2>, 
  2397.     is1=\E&jB$<8>, nel=^M^J, 
  2398.     pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s, 
  2399.     pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s, 
  2400.     pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET, 
  2401.     rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, 
  2402.     rs1=\Eg, 
  2403.     sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c%?%p9%t\016%e\017%;, 
  2404.     sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, 
  2405.     smul=\E&dD, tbc=\E3, use=newhpkeyboard,
  2406.  
  2407. memhp|memory relative addressing for new HP ttys, 
  2408.     vt#6, 
  2409.     clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, 
  2410.     cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, 
  2411.     cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR, home=\EH, 
  2412.     hpa=\E&a%p1%dC, ll=\E&a23R\r, 
  2413.     mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp,
  2414.  
  2415. scrhp|screen relative addressing for new HP ttys, 
  2416.     clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC, 
  2417.     cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, 
  2418.     cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR, 
  2419.     home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA, 
  2420.     mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp,
  2421.  
  2422. hp+labels|"standard" label info for new HP ttys, 
  2423.     lh#2, lw#8, nlab#8, 
  2424.     pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
  2425.     smln=\E&jB, 
  2426.  
  2427. hp+printer|"standard" printer info for HP ttys, 
  2428.     ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, 
  2429.     mc5=\E&p11C, 
  2430.  
  2431.  
  2432. # The new hp2621b is kind of a cross between the old 2621 and the
  2433. # new 262x series of machines. It has dip-switched options. 
  2434. # The firmware has a bug in it such that if you give it a null 
  2435. # length label, the following character is eaten!
  2436. hp2621b|2621b|hp 2621b with old style keyboard, 
  2437.     lh#1, lm#48, lw#8, nlab#8, 
  2438.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  2439.     khome=\Eh, kind=\ET, kll=\EF, kri=\ES, 
  2440.     pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%'o'%p1%+%c\r, 
  2441.     smln=\E&jB, use=hp2621,
  2442.  
  2443. hp2621b-p|2621b-p|hp 2621b with printer, 
  2444.     use=hp+printer,use=hp2621b,
  2445.  
  2446. # hp2621b - new 2621b with new extended keyboard
  2447. # these are closer to the new 26xx series than the other 2621b
  2448. hp2621b-kx|2621b-kx|hp 2621b with extended keyboard, 
  2449.     use=newhpkeyboard,use=hp2621b,
  2450.  
  2451. hp2621b-kx-p|2621b-kx-p|hp 2621b with new keyboard & printer, 
  2452.     use=hp+printer,use=hp2621b-kx,
  2453.  
  2454. # Some assumptions are made in the following entries.
  2455. # These settings are NOT set up by the initialization strings.
  2456. #    Port Configuration
  2457. # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff    StripNulDel=Yes
  2458. #    Terminal Configuration
  2459. # InhHndShk(G)=Yes    InhDC2(H)=Yes
  2460. # XmitFnctn(A)=No        InhEolWrp=No
  2461. #
  2462. # Hp 2622a & hp2623a display and graphics terminals
  2463. #
  2464. hp2622|hp2622a|2622|2622a|hp 2622, 
  2465.     da, db, 
  2466.     lm#0, pb#19200, 
  2467.     is2=\E&dj@\r, use=hp+pfk+cr,use=hp+labels,use=scrhp,
  2468.  
  2469. # The 2623 is a 2622 with extra graphics hardware.
  2470. hp2623|hp2623a|2623|2623a|hp 2623, 
  2471.     use=hp2622,
  2472.  
  2473. hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer, 
  2474.     use=hp+printer,use=hp2624,
  2475.  
  2476. # The hewlett packard B can have an optional extra 6 pages of memory.
  2477. hp2624-10p|hp2624a-10p|hp2624b-10p|2624-10p|2624a-10p|2624b-10p|hewlett packard 2624 B w/ 10 pages of memory, 
  2478.     lm#240, use=hp2624,
  2479.  
  2480. hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer, 
  2481.     lm#240, use=hp2624b-p,
  2482.  
  2483. # Color manipulations for HP terminals
  2484. hp+color|hp with colors, 
  2485.     ccc, 
  2486.     colors#16, ncv#17, pairs#7, 
  2487.     initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a\n%?%p3%{1000}%=%t1%e.%p3%d%;b\n%?%p4%{1000}%=%t1%e.%p4%d%;c\n%?%p5%{1000}%=%t1%e.%p5%d%;x\n%?%p6%{1000}%=%t1%e.%p6%d%;y\n%?%p7%{1000}%=%t1%e.%p7%d%;z\n%p1%dI, 
  2488.     oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I, 
  2489.     op=\E&v0S, scp=\E&v%p1%dS, 
  2490.  
  2491. # <is2> sets the screen to be 80 columns wide
  2492. hp2397a|2397a|hp2397|2397|hewlett packard 2397A color terminal, 
  2493.     is2=\E&w6f80X, use=memhp,use=hp+labels,use=hp+color,
  2494.  
  2495. #  HP 700/44 Setup parameters:  
  2496. # Terminal Mode        HP-PCterm
  2497. # Inhibit Auto Wrap    NO
  2498. # Status Line        Host Writable
  2499. # PC Character Set    YES
  2500. # Twenty-Five Line Mode    YES
  2501. # XON/XOFF        @128 or 64 (sc)
  2502. # Keycode Mode         NO   or YES (sc)
  2503. # Backspace Key        BS or BS/DEL
  2504. #
  2505. # <is2>     sets pcterm; autowrap; 25 lines; pc char set; prog DEL key; 
  2506. # \E\\? does not turn off keycode mode
  2507. # <smsc>    sets alternate start/stop; keycode on
  2508. hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode, 
  2509.     am, eo, xenl, xon, 
  2510.     cols#80, lines#25, 
  2511.     acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263, 
  2512.     bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H, 
  2513.     cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, 
  2514.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  2515.     dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
  2516.     ht=^I, ich1=\E[@, il1=\E[L, ind=^J, 
  2517.     is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\, 
  2518.     kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
  2519.     kcuf1=\E[C, kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, 
  2520.     kf10=\E[28~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, 
  2521.     kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
  2522.     kf9=\E[26~, khome=\E[1~, knp=\E[6~, kpp=\E[5~, 
  2523.     rmam=\E[?7l, rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, 
  2524.     rmso=\E[m, rmul=\E[m, smam=\E[?7h, 
  2525.     smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m, 
  2526.     smul=\E[4m, xoffc=g, xonc=e, 
  2527. #
  2528. hp2392|2392|2393|239x series, 
  2529.     cols#80, 
  2530.     cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, 
  2531.     kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, 
  2532.     kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, khome=\Eh, 
  2533.     kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV, rmul=\E&d@, 
  2534.     smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY, use=hpsub,
  2535.  
  2536. hpsub|hp terminals -- capability subset, 
  2537.     am, da, db, mir, xhp, xon, 
  2538.     lines#24, 
  2539.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, 
  2540.     cuf1=\EC, cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, 
  2541.     el=\EK, hpa=\E&a%p1%dC, ht=^I, 
  2542.     if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, 
  2543.     is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB, 
  2544.     kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmir=\ER, 
  2545.     rmkx=\E&s0A, rmso=\E&d@, smkx=\E&s1A, smso=\E&dB, 
  2546.  
  2547. # hpex:
  2548. #    May be used for most 24 x 80 hp terminals,
  2549. # but has no padding added, so may allow runover in some terminals at high 
  2550. # baud rates.  Will not work for 2640a or 2640b terminals, 98x6 and 98x5
  2551. # terminal emulators or 98x6 consoles.  
  2552. #     Adds xy-cursor addressing, vertical cursor addressing, home, 
  2553. # last line, and underline capabilities.
  2554. #
  2555. # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:" -- esr)
  2556. hpex|hp extended capabilites, 
  2557.     cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, 
  2558.     ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  2559.     rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY, use=hpsub,
  2560.  
  2561. # HP 236 console
  2562. # From: <ddavis@ic.berkeley.edu>
  2563. hp236|hp236 internal terminal emulator, 
  2564.     am, 
  2565.     cols#80, lines#24, 
  2566.     clear=\EF, cnorm=\EDE, cub1=^H, 
  2567.     cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  2568.     cvvis=\EDB, dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, 
  2569.     il1=\EG, rmso=\ECI, smso=\EBI, 
  2570.  
  2571. # This works on a hp300 console running Utah 4.3 BSD
  2572. # From: Craig Leres <leres@okeeffe.berkeley.edu>
  2573. hp300h|HP Catseye console, 
  2574.     am, da, db, mir, xhp, 
  2575.     cols#128, lines#51, lm#0, xmc#0, 
  2576.     bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, 
  2577.     cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, 
  2578.     dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, 
  2579.     ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, 
  2580.     ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  2581.     kcuu1=\EA, khome=\Eh, rmir=\ER, rmkx=\E&s0A, 
  2582.     rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smir=\EQ, 
  2583.     smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3, 
  2584.     vpa=\E&a%p1%dY, 
  2585. # From: Greg Couch <gregc@ernie.berkeley.edu>
  2586. hp9837|hp98720|hp98721|HP 9000/300 workstations, 
  2587.     am, da, db, mir, xhp, 
  2588.     cols#128, it#8, lines#46, lm#0, 
  2589.     bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, 
  2590.     cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, 
  2591.     dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, 
  2592.     ht=^I, hts=\E1, il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, 
  2593.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  2594.     kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
  2595.     kich1=\EQ, kil1=\EL, knp=\EU, kpp=\EV, rmir=\ER, 
  2596.     rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@, sgr0=\E&d@, 
  2597.     smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD, 
  2598.     tbc=\E3, vpa=\E&a%p1%dY, 
  2599. # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
  2600. # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>)
  2601. hp98550|hp98550a|HP 9000 Series 300 color console, 
  2602.     am, da, db, mir, xhp, 
  2603.     cols#128, it#8, lines#49, lm#0, 
  2604.     bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, 
  2605.     civis=\E*dR, clear=\EH\EJ, cnorm=\E*dQ, cr=^M, 
  2606.     cub1=^H, cud1=^J, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, 
  2607.     cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ, 
  2608.     el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
  2609.     if=/usr/share/tabset/std, il1=\EL, ind=^J, 
  2610.     invis=\E&ds, kbs=^H, kclr=\EJ, kctab=\E2, 
  2611.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  2612.     kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
  2613.     kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, 
  2614.     kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
  2615.     kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, 
  2616.     kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ, rmacs=^O, 
  2617.     rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
  2618.     sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, 
  2619.     smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
  2620. # From: Victor Duchovni <vic@fine.princeton.edu>
  2621. # (hp700-wy: removed obsolete ":nl=^J:";
  2622. # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
  2623. hp700-wy|HP700/41 emulating wyse30, 
  2624.     am, bw, mir, msgr, 
  2625.     cols#80, it#8, lines#24, xmc#1, 
  2626.     cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, 
  2627.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  2628.     dch1=\EW, dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, 
  2629.     ht=^I, hts=\E1, if=/usr/share/tabset/stdcrt, 
  2630.     il1=\EE$<0.7*/>, is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, 
  2631.     kbs=\177, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, 
  2632.     kcuf1=^L, kcuu1=^K, ked=\EY, kel=\ET, khome=^^, 
  2633.     khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K, ri=\Ej, 
  2634.     rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>, 
  2635.     smir=\Eq, smso=\EG4$<10/>, smul=\EG8$<10/>, 
  2636.     tbc=\E0, vpa=\E[%p1%{32}%+%c, 
  2637. hp70092|70092a|70092A|hp70092a|hp70092A|HP 700/92, 
  2638.     am, da, db, xhp, 
  2639.     cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, 
  2640.     bel=^G, blink=\E&dA, bold=\E&dB, cbt=\Ei, 
  2641.     clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
  2642.     cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
  2643.     dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
  2644.     hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, 
  2645.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  2646.     kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
  2647.     kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, 
  2648.     kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
  2649.     kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, 
  2650.     kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, 
  2651.     rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, 
  2652.     rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smacs=^N, 
  2653.     smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dJ, 
  2654.     smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
  2655.  
  2656. bobcat|sbobcat|HP 9000 model 300 console, 
  2657.     am, da, db, mir, xhp, 
  2658.     cols#128, it#8, lines#47, xmc#0, 
  2659.     cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, 
  2660.     cuf1=\EC, cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, 
  2661.     dl1=\EM$<10*/>, ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, 
  2662.     ht=^I, il1=\EL$<10*/>, ind=^J, kbs=^H, kcub1=\ED, 
  2663.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
  2664.     nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, 
  2665.     rmul=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB, 
  2666.     smul=\E&dD, vpa=\E&a%dY$<6/>, 
  2667. gator-t|HP 9000 model 237 emulating extra-tall AAA, 
  2668.     lines#94, use=gator,
  2669. gator|HP 9000 model 237 emulating AAA, 
  2670.     bw, km, mir, ul, 
  2671.     cols#128, it#8, lines#47, 
  2672.     bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, 
  2673.     cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  2674.     cuu1=\EM, dch=\E[%p1%dP$<4/>, dch1=\E[P, 
  2675.     dl=\E[%p1%dM$<1*/>, dl1=\E[M, ed=\E[J, el=\E[K, 
  2676.     home=\E[H, hpa=\E[%i%p1%d`, ht=^I, 
  2677.     ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>, 
  2678.     il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  2679.     rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m, 
  2680.     rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  2681. gator-52|HP 9000 model 237 emulating VT52, 
  2682.     cols#128, lines#47, use=vt52,
  2683. gator-52t|HP 9000 model 237 emulating extra-tall VT52, 
  2684.     lines#94, use=gator-52,
  2685.  
  2686. #### Honeywell-Bull
  2687. #
  2688. # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
  2689. #
  2690.  
  2691. # Honeywell Bull terminal.  Its cursor and function keys send single
  2692. # control characters and it has standout/underline glitch.  Most programs
  2693. # do not like these features/bugs.  Visual bell is realized by flashing the
  2694. # "keyboard locked" LED.
  2695. dku7003-dumb|Honeywell Bull DKU 7003 dumb mode, 
  2696.     cols#80, lines#25, 
  2697.     clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X, 
  2698.     cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K, 
  2699.     flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, 
  2700.     kcub1=^Y, kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], 
  2701.     nel=^M^J, 
  2702. dku7003|Honeywell Bull DKU 7003 all features described, 
  2703.     msgr, 
  2704.     xmc#1, 
  2705.     blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, 
  2706.     rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, 
  2707.     smul=\E[4m, use=dku7003-dumb,
  2708.  
  2709. #### Lear-Siegler (adm)
  2710. #
  2711. # These guys are long since out of the terminals business, but
  2712. # in 1995 many current terminals still have an adm type as one of their
  2713. # emulations (usually their stupidest, and usually labeled adm3, though
  2714. # these `adm3' emulations normally have adm3a+ capabilities).
  2715. #
  2716. # WARNING: Some early ADM terminals (including the ADM3 and ADM5) are 
  2717. # reputed to have had the weird `feature' that sending them a ^G would trigger
  2718. # a diagnostic dump to screen if one of the more obscure RS-232 pins
  2719. # (variously reported as 22 or as `Ring Indicator') was being held high during
  2720. # receipt of the ^G.  If you have a real ADM and think you've run into this,
  2721. # check it out with a breakout box and tell us if this rumor is correct!
  2722. # A quick fix might be to drop back to a cheesy 4-wire cable.
  2723. #
  2724.  
  2725. adm1a|adm1|lsi adm1a, 
  2726.     am, 
  2727.     cols#80, lines#24, 
  2728.     bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, 
  2729.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  2730.     home=^^, ind=^J, 
  2731. adm2|lsi adm2, 
  2732.     am, 
  2733.     cols#80, lines#24, 
  2734.     bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, 
  2735.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  2736.     dch1=\EW, dl1=\ER, ed=\EY, el=\ET, home=^^, 
  2737.     ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J, 
  2738.     kcuf1=^L, kcuu1=^K, khome=^^, 
  2739. # (adm3: removed obsolete ":ma=^K^P:" -- esr)
  2740. adm3|lsi adm3, 
  2741.     am, 
  2742.     cols#80, lines#24, 
  2743.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J, 
  2744. # The following ADM-3A switch settings are assumed for normal operation:
  2745. #    SPACE        U/L_DISP    CLR_SCRN    24_LINE
  2746. #    CUR_CTL        LC_EN        AUTO_NL        FDX
  2747. # Other switches may be set for operator convenience or communication
  2748. # requirements.  I recommend
  2749. #    DISABLE_KB_LOCK    LOCAL_OFF    103        202_OFF
  2750. #    ETX_OFF        EOT_OFF
  2751. # Most of these terminals required an option ROM to support lower case display.
  2752. # Open the case and look at the motherboard; if you see an open 24-pin DIP
  2753. # socket, you may be out of luck.
  2754. #
  2755. # (adm3a: removed obsolete ":ma=^K^P:" -- esr)
  2756. adm3a|lsi adm3a, 
  2757.     am, 
  2758.     cols#80, lines#24, 
  2759.     bel=^G, clear=\032$<1>, cr=^M, cub1=^H, cud1=^J, 
  2760.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  2761.     home=^^, ind=^J, 
  2762. adm3a+|adm3a plus, 
  2763.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, use=adm3a,
  2764. # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
  2765. adm5|lsi adm5, 
  2766.     xmc#1, 
  2767.     bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, 
  2768.     khome=^^, rmso=\EG, smso=\EG, use=adm3a+,
  2769. # From: <stephen%comp.lancs.ac.uk@ucl-cs.arpa>
  2770. # (adm11: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
  2771. adm11|lsi adm11, 
  2772.     am, hs, 
  2773.     cols#80, lines#24, 
  2774.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  2775.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dsl=\Eh, 
  2776.     ed=\EY, el=\ET, fsl=\E(\r, kbs=^H, kcub1=^H, 
  2777.     kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmso=\E(, 
  2778.     smso=\E), tsl=\EF\E), 
  2779. # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
  2780. # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
  2781. # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
  2782. adm12|lsi adm12, 
  2783.     am, mir, 
  2784.     cols#80, lines#24, 
  2785.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  2786.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  2787.     dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, 
  2788.     invis=\EG1, is2=\Eq, kcub1=^H, kcud1=^J, kcuf1=^L, 
  2789.     kcuu1=^K, kf0=^A0\r, kf1=^A1\r, kf2=^A2\r, 
  2790.     kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
  2791.     kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, 
  2792.     rmso=\EG0, rmul=\EG0, smir=\Eq, smso=\EG4, 
  2793.     smul=\EG8, 
  2794. # (adm20: removed obsolete ":kn#7:" -- esr)
  2795. adm20|lear siegler adm20, 
  2796.     am, 
  2797.     cols#80, it#8, lines#24, 
  2798.     bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L, 
  2799.     cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, 
  2800.     dch1=\EW, dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, 
  2801.     ich1=\EQ, il1=\EE, kf1=^A, kf2=^B, kf3=^W, kf4=^D, 
  2802.     kf5=^E, kf6=^X, kf7=^Z, rmso=\E(, smso=\E), 
  2803. adm21|lear siegler adm21, 
  2804.     xmc#1, 
  2805.     bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, 
  2806.     ed=\EY, el=\ET, ich1=\EQ, il1=30*\EE, ind=^J, 
  2807.     kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  2808.     khome=^^, rmso=\EG0, rmul=\EG0, smso=\EG4, 
  2809.     smul=\EG8, use=adm3a,
  2810. # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
  2811. # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
  2812. # removed bogus-looking \200 from before <cup>. -- esr)
  2813. adm22|lsi adm22, 
  2814.     am, 
  2815.     cols#80, lines#24, 
  2816.     bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, 
  2817.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  2818.     cuu1=^K, dch1=\EW, dl1=\ER, ed=\Ey, el=\Et, 
  2819.     home=^^, ht=\Ei, ich1=\EQ, il1=\EE, 
  2820.     is2=\E%\014\014\014\016\003\200\003\002\003\002\200\200\200\200\200\200\200\200\200\200\200, 
  2821.     kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  2822.     kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
  2823.     kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, khome=^^, lf1=F1, 
  2824.     lf2=F2, lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, 
  2825.     rmso=\E(, smso=\E), 
  2826. # ADM 31 DIP Switches
  2827. #
  2828. # This information comes from two versions of the manual for the
  2829. # Lear-Siegler ADM 31.
  2830. #
  2831. # Main board:
  2832. #                  rear of case
  2833. #   +-||||-------------------------------------+
  2834. #   + S1S2                              ||S    +
  2835. #   +                                   ||3    +
  2836. #   +                                          +
  2837. #   +                                ||S       +
  2838. #   +                                ||4       +
  2839. #   +                                          +
  2840. #   +                                          +
  2841. #   +                                          +
  2842. #   +                                          +
  2843. #   +                                          +
  2844. # +-+                                          +-+
  2845. # +                                              +
  2846. # +                               S5 S6 S7       +   
  2847. # +                               == == ==       +
  2848. # +----------------------------------------------+
  2849. #            front of case (keyboard)
  2850. #
  2851. #  S1 - Data Rate - Modem
  2852. #  S2 - Data Rate - Printer
  2853. # ------------------------
  2854. # Data Rate   Setting
  2855. # -------------------
  2856. # 50          0 0 0 0
  2857. # 75          1 0 0 0
  2858. # 110         0 1 0 0
  2859. # 134.5       1 1 0 0
  2860. # 150         0 0 1 0
  2861. # 300         1 0 1 0
  2862. # 600         0 1 1 0
  2863. # 1200        1 1 1 0
  2864. # 1800        0 0 0 1
  2865. # 2000        1 0 0 1
  2866. # 2400        0 1 0 1
  2867. # 3600        1 1 0 1
  2868. # 4800        0 0 1 1
  2869. # 7200        1 0 1 1
  2870. # 9600        0 1 1 1
  2871. # x           1 1 1 1
  2872. #
  2873. # S3 - Interface/Printer/Attributes
  2874. # ---------------------------------
  2875. # Printer Busy Control
  2876. # sw1   sw2   sw3
  2877. # ---------------
  2878. # off   off   off   Busy not active, CD disabled
  2879. # off   off   on    Busy not active, CD enabled
  2880. # off   on    off   Busy active on J5-20, CD disabled
  2881. # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
  2882. # on    off   on    Busy active on J5-19, CD enabled
  2883. #
  2884. # sw4   Used in conjuction with S4 for comm interface control - Fact 0
  2885. #
  2886. # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
  2887. #
  2888. # sw6   ON enables printer BUSY active LOW - Factory Setting
  2889. #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
  2890. #
  2891. # sw7   ON - steady cursor - Factory Setting
  2892. #       OFF - blinking cursor
  2893. #
  2894. # sw8   ON causes selected attribute character to be displayed
  2895. #       OFF causes SPACE to be displayed instead - Factory Setting
  2896. #
  2897. # S4 - Interface
  2898. # --------------
  2899. # Modem Interface
  2900. # S3    S4    S4    S4    S4
  2901. # sw4   sw1   sw2   sw3   sw4
  2902. # ---------------------------
  2903. # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
  2904. #                               Current Loop disabled - Factory Setting
  2905. # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
  2906. #                               disabled
  2907. # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
  2908. #                               Current Loop Disabled
  2909. #
  2910. # sw5   ON disables dot stretching mode - Factory Setting
  2911. #       OFF enables dot stretching mode
  2912. # sw6   ON enables blanking function
  2913. #       OFF enables underline function - Factory Setting
  2914. # sw7   ON causes NULLS to be displayed as NULLS
  2915. #       OFF causes NULLS to be displayed as SPACES - Factory Setting
  2916. #
  2917. # S5 - Word Structure
  2918. # -------------------
  2919. # sw1   ON enables BREAK key - Factory Setting
  2920. #       OFF disables BREAK key
  2921. # sw2   ON selects 50Hz monitor refresh rate
  2922. #       OFF selects 60Hz monitor refresh rate - Factory Setting
  2923. #
  2924. # Modem Port Selection
  2925. # sw3   sw4   sw5
  2926. # ---------------
  2927. # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
  2928. # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
  2929. # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
  2930. # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
  2931. # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
  2932. # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
  2933. # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
  2934. # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
  2935. #
  2936. # sw6   ON  sends bit 8 a 1 (mark)
  2937. #       OFF sends bit 8 as 0 (space) - Factory Setting
  2938. # sw7   ON  selects Block Mode
  2939. #       OFF selects Conversation Mode - Factory Setting
  2940. # sw8   ON  selects Full Duplex operation
  2941. #       OFF selects Half Duplex operation - Factory Setting
  2942. #
  2943. # S6 - Printer
  2944. # ------------
  2945. # sw1, sw2, sw6, sw7   Reserved - Factory 0
  2946. #
  2947. # Printer Port Selection
  2948. # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
  2949. #
  2950. # sw8   ON   enables Printer Port
  2951. #       OFF disables Printer Port - Factory Setting
  2952. #
  2953. # S7 - Polling Address
  2954. # --------------------
  2955. # sw1-7 Establish ASCII character which designates terminal polling address
  2956. #       ON  = logic 0
  2957. #       OFF = logic 1 - Factory Setting
  2958. # sw8   ON   enables Polling Option
  2959. #       OFF disables Polling Option - Factory Setting
  2960. #
  2961. #
  2962. # On some older ADM 31s, S4 does not exist, and S5-sw6 is not defined.
  2963. #
  2964. # If the adm31 gives you trouble with standout mode, check the DIP switch in
  2965. # position 6, bank @c11, 25% from back end of the circuit board.  Should be
  2966. # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
  2967. # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
  2968. adm31|lsi adm31, 
  2969.     am, mir, 
  2970.     cols#80, lines#24, 
  2971.     bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, 
  2972.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  2973.     dch1=\EW, dl1=\ER, ed=\EY, el=\ET, home=^^, 
  2974.     il1=\EE, ind=^J, is2=\Eu\E0, kcub1=^H, kcud1=^J, 
  2975.     kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
  2976.     kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, 
  2977.     kf6=^A6\r, kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, 
  2978.     rmir=\Er, rmso=\EG0, rmul=\EG0, smir=\Eq, 
  2979.     smso=\EG1, smul=\EG1, 
  2980. adm31-old|o31|old adm31, 
  2981.     rmul@, smso=\EG4, smul@, use=adm31,
  2982. # ADM36 in native mode (not VT52 emulation mode)
  2983. # Hmmm...this looks a lot like an incomplete and slightly botched description
  2984. # of a vt100 emulator.  Might be worth trying vt100 on this type and seeing
  2985. # if it flies.  Assuming there are any of these left alive... 
  2986. # (adm36: I added <rmam>/<smam> based on the initialization string -- esr)
  2987. adm36|lsi adm36, 
  2988.     am, mir, 
  2989.     cols#80, lines#24, 
  2990.     clear=\E[H\E[2J, cub1=^H, cuf1=\E[D, 
  2991.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[1M, 
  2992.     ed=\E[0J, el=\E[0K, il1=\E[1L$<100>, 
  2993.     is2=\E[6;?7h\E[4;20;?1;?3;?6;?4l\E(B\E)B\E>, 
  2994.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\E[A, 
  2995.     rmam=\E[?7l, rmir=\E[4l, smam=\E[?7h, smir=\E[4h, 
  2996. # (adm42: removed obsolete ":ma=^K^P:" -- esr)
  2997. adm42|lsi adm42, 
  2998.     am, 
  2999.     cols#80, lines#24, 
  3000.     bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, 
  3001.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  3002.     cuu1=^K, cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, 
  3003.     ed=\EY, el=\ET, ht=^I, il1=\EE$<270>, ind=^J, 
  3004.     ip=$<6*>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  3005.     khome=^^, pad=\177, rmir=\Er, rmso=\EG0, smir=\Eq, 
  3006.     smso=\EG4, 
  3007. # The following termcap for the Lear Siegler ADM-42 leaves the 
  3008. # "system line" at the bottom of the screen blank (for those who 
  3009. # find it distracting otherwise)
  3010. adm42-ns|lsi adm-42 with no system line, 
  3011.     cbt=\EI\EF \011, clear=\E;\EF \011, 
  3012.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011, 
  3013.     dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011, 
  3014.     el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011, 
  3015.     smir=\Eq\EF \011, use=adm42,
  3016.  
  3017. #### Prime
  3018. #
  3019. # Yes, Prime makes terminals.  These entries were posted by Kevin J. Cummings
  3020. # <cummings@primerd.Prime.COM> on 14 Dec 1992 and lightly edited by esr.
  3021.  
  3022. pt100|pt200|wren|fenix|prime pt100/pt200, 
  3023.     am, bw, mir, msgr, 
  3024.     cols#80, it#8, lines#24, 
  3025.     cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  3026.     cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C, 
  3027.     cup=\E0%p1%'!'%+%c%p2%'!'%+%c, cuu=\E[%p1%dA, 
  3028.     cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dl=\E[M, 
  3029.     ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P, 
  3030.     home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, 
  3031.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  3032.     khome=\E$A, nel=^M^J, rmir=\E[4l, rmkx=\E[>13l, 
  3033.     rmso=\E[m, rmul=\E[m, 
  3034.     smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q, 
  3035.     smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m, 
  3036. pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode, 
  3037.     cols#132, 
  3038.     cup=\E[%i%p1%d;%p2%dH, use=pt100,
  3039. pt250|Prime PT250, 
  3040.     smso@, use=pt100,
  3041. pt250w|Prime PT250 in 132-column mode, 
  3042.     smso@, use=pt100w,
  3043.  
  3044. #### Qume (qvt)
  3045. #
  3046. #    Qume, Inc.
  3047. #    3475-A North 1st Street
  3048. #    San Jose CA 95134
  3049. #    Vox: (800)-457-4447
  3050. #    Fax: (408)-473-1510
  3051. #    Net: josed@techsupp.wyse.com (Jose D'Oliveira)
  3052. #
  3053. # Qume was bought by Wyse, but still (as of early 1995) has its own support
  3054. # group and production division.
  3055. #
  3056. # Discontinued Qume models:
  3057. #
  3058. # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
  3059. # built to replace them, and a qvt119+ which was a 101+ with available wide
  3060. # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
  3061. # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
  3062. # ANSI-compatible terminals with the qvt323 and qvt61.
  3063. #
  3064. # Current Qume models (as of February 1995):
  3065. #
  3066. # All current Qume terminals have ANSI-compatible operation modes.
  3067. # Qume is still producing the qvt62, which features emulations for other
  3068. # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
  3069. # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
  3070. # with many emulations including Wyse370, Wyse 325, etc.  Their newest
  3071. # model is the qvt520, which is vt420-compatible.
  3072. #
  3073. # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
  3074.  
  3075. qvt101|qvt108|qume qvt 101 and QVT 108, 
  3076.     xmc#1, 
  3077.     rmso=\EG0, smso=\EG4, use=qvt101+,
  3078.  
  3079. # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
  3080. # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked 
  3081. # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
  3082. # What seems to be going on here is that this entry was designed so that
  3083. # the normal highlight is bold and standout is dim plus something else
  3084. # (reverse-video maybe?  But then, are there two <rev> sequences?)  
  3085. qvt101+|qvt101p|qume qvt 101 PLUS product, 
  3086.     am, bw, hs, ul, 
  3087.     cols#80, lines#24, xmc#0, 
  3088.     bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, 
  3089.     cub1=^H, cud1=^J, cuf1=^L, 
  3090.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  3091.     dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
  3092.     flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, 
  3093.     hts=\E1, ich1=\EQ, il1=\EE, ind=^J, kbs=^H, 
  3094.     kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  3095.     kdl1=\ER, ked=\EY, kel=\ET, kf1=^A@\r, kf10=^AI\r, 
  3096.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  3097.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
  3098.     khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, 
  3099.     rev=\EG4, rmso=\E(, rmul=\EG0, smso=\E0P\E), 
  3100.     smul=\EG8, tbc=\E3, tsl=\Eg\Ef, 
  3101. qvt102|qume qvt 102, 
  3102.     cnorm=\E., use=qvt101,
  3103. # (qvt103: added <rmam>/<smam> based on init string -- esr)
  3104. qvt103|qume qvt 103, 
  3105.     am, xenl, xon, 
  3106.     cols#80, it#8, lines#24, vt#3, 
  3107.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  3108.     clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  3109.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  3110.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  3111.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  3112.     cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, 
  3113.     home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, 
  3114.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  3115.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, 
  3116.     rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, 
  3117.     rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
  3118.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  3119.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
  3120.     sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=, 
  3121.     smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
  3122. qvt103-w|qume qvt103 132 cols, 
  3123.     cols#132, lines#24, 
  3124.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103,
  3125. qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals, 
  3126.     am, hs, mir, msgr, 
  3127.     cols#80, lines#24, xmc#0, 
  3128.     bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, 
  3129.     cub1=^H, cud1=^J, cuf1=^L, 
  3130.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  3131.     cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, 
  3132.     ed=\Ey, el=\Et, flash=\En0$<200>\En1, fsl=^M, 
  3133.     home=^^, ht=^I, hts=\E1, il1=\EE, ind=^J, 
  3134.     is2=\EDF\EC\EG0\Er\E(\E%EX, kbs=^H, kcub1=^H, 
  3135.     kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r, 
  3136.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  3137.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
  3138.     khome=^^, mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, 
  3139.     rmso=\EG0, rmul=\EG0, smir=\Eq, smso=\EG4, 
  3140.     smul=\EG8, tbc=\E3, tsl=\Eg\Ef, 
  3141. qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines, 
  3142.     lines#25, use=qvt119+,
  3143. qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode, 
  3144.     cols#132, 
  3145.     is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+,
  3146. qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25, 
  3147.     lines#25, use=qvt119+,
  3148. qvt203|qvt203+|qume qvt 203 Plus, 
  3149.     dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, 
  3150.     ind=\n$<30>, ip=$<7>, kf0=\E[29~, kf1=\E[17~, 
  3151.     kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, 
  3152.     kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[28~, 
  3153.     rmir=\E[4l, smir=\E[4h, use=qvt103,
  3154. qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video), 
  3155.     cols#132, lines#24, 
  3156.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203,
  3157. #
  3158. #    Since a command is present for enabling 25 data lines,
  3159. #    a specific terminfo entry may be generated for the 203.
  3160. #    If one is desired for the QVT 119 PLUS then 25 lines must
  3161. #    be selected in the status line (setup line 9).
  3162. #
  3163. qvt203-25|QVT 203 PLUS with 25 by 80 column mode, 
  3164.     cols#80, lines#25, 
  3165.     is2=\E[=40h\E[?3l, use=qvt203,
  3166. qvt203-25-w|QVT 203 PLUS with 25 by 132 columns, 
  3167.     cols#132, lines#25, 
  3168.     rs2=\E[?3h\E[=40h, use=qvt203,
  3169.  
  3170. #### Televideo (tvi)
  3171. #
  3172. #    TeleVideo
  3173. #    550 East Brokaw Road
  3174. #    PO Box 49048    95161
  3175. #    San Jose CA 95112
  3176. #    Vox: (408)-954-8333
  3177. #    Fax: (408)-954-0623
  3178. #
  3179. #
  3180. # There are some tvi terminals that require incredible amounts of padding and
  3181. # some that don't.  I'm assuming 912 and 920 are the old slow ones,
  3182. # and 912b, 912c, 920b, 920c are the new ones that don't need padding.
  3183. #
  3184. # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
  3185. # Televideo terminals are ANSI and PC-ANSI compatible.
  3186.  
  3187. tvi803|televideo 803, 
  3188.     clear=\E*$<10>, use=tvi950,
  3189.  
  3190. # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
  3191. # Switch settings are:
  3192. # S1  1 2 3 4
  3193. #     D D D D  9600
  3194. #     D D D U    50
  3195. #     D D U D    75
  3196. #     D D U U   110
  3197. #     D U D D   135
  3198. #     D U D U   150
  3199. #     D U U D   300
  3200. #     D U U U   600
  3201. #     U D D D  1200
  3202. #     U D D U  1800
  3203. #     U D U D  2400
  3204. #     U D U U  3600
  3205. #     U U D D  4800
  3206. #     U U D U  7200
  3207. #     U U U D  9600
  3208. #     U U U U 19200
  3209. # S1  5 6 7 8
  3210. #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
  3211. #     U D X U  7N2
  3212. #     U U D D  7O1
  3213. #     U U D U  7O2
  3214. #     U U U D  7E1
  3215. #     U U U U  7E2
  3216. #     D D X D  8N1
  3217. #     D D X U  8N2
  3218. #     D U D D  8O1
  3219. #     D U U U  8E2
  3220. # S1  9  Autowrap
  3221. #     U  on
  3222. #     D  off
  3223. # S1 10  CR/LF
  3224. #     U  do CR/LF when CR received
  3225. #     D  do CR when CR received
  3226. # S2  1  Mode
  3227. #     U  block
  3228. #     D  conversational
  3229. # S2  2  Duplex
  3230. #     U  half
  3231. #     D  full
  3232. # S2  3  Hertz
  3233. #     U  50
  3234. #     D  60
  3235. # S2  4  Edit mode
  3236. #     U  local
  3237. #     D  duplex
  3238. # S2  5  Cursor type
  3239. #     U  underline
  3240. #     D  block
  3241. # S2  6  Cursor down key
  3242. #     U  send ^J
  3243. #     D  send ^V
  3244. # S2  7  Screen colour
  3245. #     U  green on black
  3246. #     D  black on green
  3247. # S2  8  DSR status (pin 6)
  3248. #     U  disconnected
  3249. #     D  connected
  3250. # S2  9  DCD status (pin 8)
  3251. #     U  disconnected
  3252. #     D  duplex
  3253. # S2 10  DTR status (pin 20)
  3254. #     U  disconnected
  3255. #     D  duplex
  3256. # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
  3257. # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
  3258. tvi910|televideo model 910, 
  3259.     am, msgr, 
  3260.     cols#80, it#8, lines#24, xmc#1, 
  3261.     bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, 
  3262.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  3263.     ed=\EY, el=\ET, home=\E=\001\001, 
  3264.     hpa=\E]%p1%{32}%+%c, ht=^I, 
  3265.     if=/usr/share/tabset/stdcrt, ind=^J, kbs=^H, 
  3266.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, 
  3267.     kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
  3268.     kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
  3269.     kf9=^AH\r, khome=^^, rmso=\EG0, rmul=\EG0, 
  3270.     smso=\EG4, smul=\EG8, vpa=\E[%p1%{32}%+%c, 
  3271. # From: Alan R. Rogers <rogers%albany@csnet-relay>
  3272. # as subsequently hacked over by someone at SCO
  3273. # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
  3274. #
  3275. # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
  3276. #
  3277. # S1  1 2 3 4:
  3278. #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
  3279. #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
  3280. #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
  3281. #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
  3282. #
  3283. # S1  5 6 7 8:
  3284. #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
  3285. #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
  3286. #     D U D D  8O1     D U U U  8E2
  3287. # S1  9  Autowrap            (U = on, D = off)
  3288. # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
  3289. # S2  1  Mode                (U = block, D = conversational)
  3290. # S2  2  Duplex              (U =  half, D = full)
  3291. # S2  3  Hertz               (U = 50, D = 60)
  3292. # S2  4  Edit mode           (U = local, D = duplex)
  3293. # S2  5  Cursor type         (U = underline, D = block)
  3294. # S2  6  Cursor down key     (U = send ^J, D = send ^V)
  3295. # S2  7  Screen colour       (U = green on black, D = black on green)
  3296. # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
  3297. # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
  3298. # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
  3299. #
  3300. tvi910+|910+|televideo 910+, 
  3301.     dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, 
  3302.     il1=\EE$<33*>, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, 
  3303.     kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, 
  3304.     kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, ll=\E=7 , use=tvi910,
  3305.  
  3306. # (tvi912: removed obsolete ":ma=^K^P^L :" -- esr)
  3307. tvi912|tvi914|tvi920|old televideo 912/914/920, 
  3308.     am, 
  3309.     cols#80, it#8, lines#24, xmc#1, 
  3310.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  3311.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  3312.     dl1=\ER$<33*>, ed=\Ey, el=\ET, home=^^, ht=^I, 
  3313.     hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt, 
  3314.     il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
  3315.     kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r, 
  3316.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  3317.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
  3318.     rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El, tbc=\E3, 
  3319. # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
  3320. # The 920 has this plus real function keys that xmit different things.
  3321. # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
  3322. tvi912c|tvi912b|912c|912b|tvi|new televideo 912, 
  3323.     dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912,
  3324. # set to page 1 when entering curses application (\E-17 )
  3325. # reset to page 0 when exiting curses application (\E-07 )
  3326. tvi912-2p|tvi920-2p|912-2p|920-2p|tvi-2p|televideo w/2 pages, 
  3327.     rmcup=\E-07 , smcup=\E-17 , use=tvi912,
  3328. # We got some new tvi912c terminals that act really weird on the regular 
  3329. # termcap, so one of our gurus worked this up. Seems that cursor 
  3330. # addressing is broken.
  3331. tvi912cc|tvi912 at cowell college, 
  3332.     cup@, use=tvi912c,
  3333.  
  3334. # Here are the switch settings for the TVI 920c:
  3335. #
  3336. # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
  3337. # 2: 9600    3: 4800        4: 2400        5: 1200
  3338. # 6:  600    7:  300        8:  150        9:   75
  3339. # 10: 110
  3340. #
  3341. # S2 UART/Terminal options:
  3342. #         Up            Down
  3343. # 1:        Not used        Not allowed
  3344. # 2:    Alternate character set      Standard character set
  3345. # 3:        Full duplex            Half duplex
  3346. # 4:        50 Hz refresh        60 Hz refresh
  3347. # 5:          No parity             Send parity
  3348. # 6:         2 stop bits         1 stop bit
  3349. # 7:         8 data bits         7 data bits
  3350. # 8:        Not used        Not allowed on Rev E or lower
  3351. # 9:         Even parity         Odd parity
  3352. # 10:        Steady cursor        Blinking cursor
  3353. #     (On Rev E or lower, use W25 instead of switch 10.)
  3354. # S5 UART/Terminal options:
  3355. #         Open            Closed
  3356. # 1:    P3-6 Not connected    DSR received on P3-6
  3357. # 2:    P3-8 Not connected    DCD received on P3-8
  3358. #
  3359. # 3 Open, 4 Open:        P3-20 Not connected
  3360. # 3 Open, 4 Closed:    DTR on when terminal is on
  3361. # 3 Closed, 4 Open:    DTR is connected to RTS
  3362. # 3 Closed, 4 Closed:    Not allowed
  3363. #
  3364. # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
  3365. #         all data transmitted out of the modem port (P3) will also be
  3366. #         transmitted out of the printer port (P4).
  3367. #
  3368. # 6 Open, 7 Open:        Not allowed
  3369. # 6 Open, 7 Closed:    20ma current loop input
  3370. # 6 Closed, 7 Open:    RS232 input
  3371. # 6 Closed, 7 Closed:    Not allowed
  3372. #
  3373. # Jumper options:
  3374. # If the jumper is installed, the effect will occur (the next time the terminal
  3375. # is switched on).
  3376. #
  3377. # S4/W31:    Enables automatic LF upon receipt of CR from
  3378. #         remote or keyboard.
  3379. # S4/W32:    Enables transmission of EOT at the end of Send.  If not 
  3380. #         installed, a carriage return is sent.
  3381. # S4/W33:    Disables automatic carriage return in column 80.
  3382. # S4/W34:    Selects Page Print Mode as initial condition.  If not 
  3383. #         installed, Extension Mode is selected.
  3384. #
  3385. tvi920b|tvi920c|new televideo 920, 
  3386.     dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r, 
  3387.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  3388.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, use=tvi912,
  3389.  
  3390. # Televideo 921 and variants
  3391. # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
  3392. # (tvi921: removed :ko=bt: before translation, I see no backtab cap -- esr)
  3393. tvi921|televideo model 921 with sysline same as page & real vi function, 
  3394.     am, hs, xenl, xhp, 
  3395.     cols#80, lines#24, xmc#0, 
  3396.     clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, 
  3397.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, 
  3398.     cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, 
  3399.     dsl=\Ef\r\Eg, ed=\EY, el=\ET, fsl=\Eg, home=^^, 
  3400.     ht=^I, ich1=\EQ, if=/usr/share/tabset/stdcrt, 
  3401.     il1=\EE, ind=^J, is2=\El\E"\EF1\E.3\017\EA\E<, 
  3402.     kbs=^H, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, 
  3403.     kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>, ked=\EY, 
  3404.     kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%, 
  3405.     rmir=, rmso=\EG0, rmul=\EG0, smacs=\E$, smir=, 
  3406.     smso=\EG4, smul=\EG8, tsl=\Ef\EG0, 
  3407. # without the beeper
  3408. # (tvi92B: removed :ko=bt: before translation, I see no backtab cap -- esr)
  3409. tvi92B|televideo model 921 with sysline same as page & real vi function, 
  3410.     am, hs, xenl, xhp, 
  3411.     cols#80, lines#24, xmc#0, 
  3412.     clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, 
  3413.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, 
  3414.     cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, 
  3415.     dsl=\Ef\r\Eg, ed=\EY, el=\ET, flash=\Eb$<200/>\Ed, 
  3416.     fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
  3417.     if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
  3418.     is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, 
  3419.     kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
  3420.     kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, 
  3421.     kil1=\EE, nel=^M^J, rmacs=\E%, rmir=, rmso=\EG0, 
  3422.     rmul=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, 
  3423.     tsl=\Ef\EG0, 
  3424. # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
  3425. tvi92D|tvi92B with DTR instead of XON/XOFF & better padding, 
  3426.     dl1=\ER$<2*/>, il1=\EE$<2*/>, 
  3427.     is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>, 
  3428.     kil1=\EE$<2*/>, use=tvi92B,
  3429.  
  3430. # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
  3431. # in from a BSD termcap file because it looks like they do something the
  3432. # old ones skip -- esr)
  3433. tvi924|televideo tvi924, 
  3434.     am, bw, hs, in, mir, msgr, xenl, xon, 
  3435.     cols#80, it#8, lines#24, wsl#80, xmc#0, 
  3436.     bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, 
  3437.     clear=\E*0, cnorm=\E.3, cr=^M, 
  3438.     csr=\E_%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V, 
  3439.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  3440.     cvvis=\E.1, dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, 
  3441.     ed=\Ey, el=\Et, flash=\Eb$<200>\Ed, fsl=\031\Es1, 
  3442.     home=^^, ht=^I, hts=\E1, ich1=\EQ, 
  3443.     if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
  3444.     invis=\EG1, 
  3445.     is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0, kbs=^H, 
  3446.     kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
  3447.     kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, 
  3448.     kf1=^AA\r, kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, 
  3449.     kf13=^AM\r, kf14=^AN\r, kf15=^AO\r, kf2=^AB\r, 
  3450.     kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, 
  3451.     kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^, 
  3452.     kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, 
  3453.     lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, 
  3454.     lf8=F9, lf9=F10, pfkey=\E|%p1%'1'%+%c%p2%s\031, 
  3455.     ri=\Ej, rmso=\EG0, rmul=\EG0, sgr0=\EG0, smso=\EG4, 
  3456.     smul=\EG8, tbc=\E3, tsl=\Ef, 
  3457.  
  3458. # TVI925 DIP switches.  In each of these, D = Down and U = Up,
  3459. #
  3460. # Here are the settings for the external (baud) switches (S1):
  3461. #
  3462. #             Position        Baud
  3463. # 7    8    9    10        [Printer]
  3464. # 1    2    3    4        [Main RS232]
  3465. # -----------------------------------------------------
  3466. # D    D    D    D    9600
  3467. # D    D    D    U      50
  3468. # D    D    U    D      75
  3469. # D    D    U    U     110
  3470. # D    U    D    D     135
  3471. # D    U    D    U     150
  3472. # D    U    U    D     300
  3473. # D    U    U    U     600
  3474. # U    D    D    D    1200
  3475. # U    D    D    U    1800
  3476. # U    D    U    D    2400
  3477. # U    D    U    U    3600
  3478. # U    U    D    D    4800
  3479. # U    U    D    U    7200
  3480. # U    U    U    D    9600
  3481. # U    U    U    U    19200
  3482. # Settings for word length and stop-bits (S1)
  3483. #
  3484. #  Position    Description
  3485. # 5    6    
  3486. # ---------------------------
  3487. # U    -    7-bit word
  3488. # D    -    8-bit word
  3489. # -    U    2 stop bits
  3490. # -    D    1 stop bit
  3491. # S2 (external) settings
  3492. #
  3493. # Position    Up    Dn    Description
  3494. # --------------------------------------------
  3495. # 1        X        Local edit
  3496. #             X    Duplex edit (transmit editing keys)
  3497. # --------------------------------------------
  3498. # 2        X        912/920 emulation
  3499. #             X    925
  3500. # --------------------------------------------
  3501. # 3            X
  3502. # 4            X    No parity
  3503. # 5            X    
  3504. # --------------------------------------------
  3505. # 3            X
  3506. # 4            X    Odd parity
  3507. # 5        X    
  3508. # --------------------------------------------
  3509. # 3            X
  3510. # 4        X        Even parity
  3511. # 5        X    
  3512. # --------------------------------------------
  3513. # 3        X    
  3514. # 4            X    Mark parity
  3515. # 5        X        
  3516. # --------------------------------------------
  3517. # 3        X
  3518. # 4        X        Space parity
  3519. # 5        X
  3520. # --------------------------------------------
  3521. # 6        X        White on black display
  3522. #             X    Black on white display
  3523. # --------------------------------------------
  3524. # 7            X    Half Duplex
  3525. # 8            X
  3526. # --------------------------------------------
  3527. # 7        X        Full Duplex
  3528. # 8            X    
  3529. # --------------------------------------------
  3530. # 7            X    Block mode
  3531. # 8        X    
  3532. # --------------------------------------------
  3533. # 9            X    50 Hz
  3534. #         X        60 Hz
  3535. # --------------------------------------------
  3536. # 10        X        CR/LF (Auto LF)
  3537. #             X    CR only
  3538. # S3 (internal switch) settings:
  3539. # Position    Up    Dn    Description
  3540. # --------------------------------------------
  3541. # 1        X        Keyclick off 
  3542. #             X    Keyclick on
  3543. # --------------------------------------------
  3544. # 2            X    English
  3545. # 3            X    
  3546. # --------------------------------------------
  3547. # 2            X    German
  3548. # 3        X        
  3549. # --------------------------------------------
  3550. # 2        X        French
  3551. # 3            X    
  3552. # --------------------------------------------
  3553. # 2        X        Spanish
  3554. # 3        X    
  3555. # --------------------------------------------
  3556. # 4            X    Blinking block cursor
  3557. # 5            X    
  3558. # --------------------------------------------
  3559. # 4            X    Blinking underline cursor
  3560. # 5        X        
  3561. # --------------------------------------------
  3562. # 4        X        Steady block cursor
  3563. # 5            X    
  3564. # --------------------------------------------
  3565. # 4        X        Steady underline cursor
  3566. # 5        X    
  3567. # --------------------------------------------
  3568. # 6        X        Screen blanking timer (ON)
  3569. #             X    Screen blanking timer (OFF)
  3570. # --------------------------------------------
  3571. # 7        X        Page attributes
  3572. #             X    Line attributes
  3573. # --------------------------------------------
  3574. # 8        X        DCD disconnected
  3575. #             X    DCD connected
  3576. # --------------------------------------------
  3577. # 9        X        DSR disconnected
  3578. #             X    DSR connected
  3579. # --------------------------------------------
  3580. # 10        X        DTR Disconnected
  3581. #             X    DTR connected
  3582. # --------------------------------------------
  3583. #
  3584. # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
  3585. tvi925|925|televideo 925, 
  3586.     am, bw, hs, ul, 
  3587.     cols#80, lines#24, xmc#1, 
  3588.     bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, 
  3589.     cub1=^H, cud1=^V, cuf1=^L, 
  3590.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  3591.     cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, 
  3592.     el=\ET, flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, 
  3593.     ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J, 
  3594.     is2=\El\E", kbs=^H, kclr=^Z, kcub1=^H, kcud1=^V, 
  3595.     kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
  3596.     kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
  3597.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  3598.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  3599.     kich1=\EQ, kil1=\EE, ri=\Ej, rmso=\EG0, rmul=\EG0, 
  3600.     smso=\EG4, smul=\EG8, tbc=\E3, tsl=\Eh\Ef, 
  3601.  
  3602. # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
  3603. # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
  3604. # for additional capabilities, 
  3605. # The following tvi descriptions from B:pjphar and virus!mike
  3606. # is for all 950s.  It sets the following attributes:
  3607. # full duplex (\EDF)        write protect off (\E()
  3608. # conversation mode (\EC)    graphics mode off (\E%)
  3609. # white on black (\Ed)        auto page flip off (\Ew)
  3610. # turn off status line (\Eg)    clear status line (\Ef\r)
  3611. # normal video (\E0)        monitor mode off (\EX or \Eu)
  3612. # edit mode (\Er)        load blank char to space (\Ee\040)
  3613. # line edit mode (\EO)        enable buffer control (^O)
  3614. # protect mode off (\E\047)    duplex edit keys (\El)
  3615. # program unshifted send key to send line all (\E016)
  3616. # program shifted send key to send line unprotected (\E004)
  3617. # set the following to nulls:
  3618. #    field delimiter (\Ex0\200\200)
  3619. #    line delimiter (\Ex1\200\200)
  3620. #    start-protected field delimiter (\Ex2\200\200)
  3621. #    end-protected field delimiter (\Ex3\200\200)
  3622. # set end of text delimiter to carriage return/null (\Ex4\r\200)
  3623. #                     TVI 950 Switch Setting Reference Charts
  3624. #                                     TABLE 1:
  3625. #      S1     1     2     3     4     5     6     7     8     9    10
  3626. #          +-----------------------+-----+-----+-----------------------+
  3627. #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
  3628. #          |                       |Bits |Bits |                       |
  3629. #   +------+-----------------------+-----+-----+-----------------------+
  3630. #   |  Up  |        See            |  7  |  2  |        See            |
  3631. #   +------+-----------------------+-----+-----+-----------------------+
  3632. #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
  3633. #   +------+-----------------------+-----+-----+-----------------------+
  3634. #      S2     1     2     3     4     5     6     7     8     9    10
  3635. #          +-----+-----+-----------------+-----+-----------+-----+-----+
  3636. #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
  3637. #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
  3638. #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
  3639. #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
  3640. #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
  3641. #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
  3642. #  
  3643. #                                    TABLE 2:
  3644. #             +-----------+-----+-----+-----+-----+-----------+
  3645. #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
  3646. #             +-----------+-----+-----+-----+-----+           |
  3647. #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
  3648. #             +-----------+-----+-----+-----+-----+-----------+
  3649. #                         |  D  |  D  |  D  |  D  |   9600    |
  3650. #                         |  U  |  D  |  D  |  D  |     50    |
  3651. #                         |  D  |  U  |  D  |  D  |     75    |
  3652. #                         |  U  |  U  |  D  |  D  |    110    |
  3653. #                         |  D  |  D  |  U  |  D  |    135    |
  3654. #                         |  U  |  D  |  U  |  D  |    150    |
  3655. #                         |  D  |  U  |  U  |  D  |    300    |
  3656. #                         |  U  |  U  |  U  |  D  |    600    |
  3657. #                         |  D  |  D  |  D  |  U  |   1200    |
  3658. #                         |  U  |  D  |  D  |  U  |   1800    |
  3659. #                         |  D  |  U  |  D  |  U  |   2400    |
  3660. #                         |  U  |  U  |  D  |  U  |   3600    |
  3661. #                         |  D  |  D  |  U  |  U  |   4800    |
  3662. #                         |  U  |  D  |  U  |  U  |   7200    |
  3663. #                         |  D  |  U  |  U  |  U  |   9600    |
  3664. #                         |  U  |  U  |  U  |  U  |  19200    |
  3665. #                         +-----+-----+-----+-----+-----------+
  3666. #                                    TABLE 3:
  3667. #                         +-----+-----+-----+-----------+
  3668. #                         |  3  |  4  |  5  |   Parity  |
  3669. #                         +-----+-----+-----+-----------+
  3670. #                         |  X  |  X  |  D  |    None   |
  3671. #                         |  D  |  D  |  U  |     Odd   |
  3672. #                         |  D  |  U  |  U  |    Even   |
  3673. #                         |  U  |  D  |  U  |    Mark   |
  3674. #                         |  U  |  U  |  U  |   Space   |
  3675. #                         +-----+-----+-----+-----------+
  3676. #                                 X = don't care
  3677. #                                     CHART:
  3678. #                         +-----+-----+-----------------+
  3679. #                         |  7  |  8  | Communication   |
  3680. #                         +-----+-----+-----------------+
  3681. #                         |  D  |  D  |  Half Duplex    |
  3682. #                         |  D  |  U  |  Full Duplex    |
  3683. #                         |  U  |  D  |     Block       |
  3684. #                         |  U  |  U  |     Local       |
  3685. #                         +-----+-----+-----------------+
  3686. # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:". 
  3687. # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich> 
  3688. # should be present and all tvi native modes use the same string for this.
  3689. # Finally, note that BSD has cud1=^V. -- esr) 
  3690. tvi950|950|televideo 950, 
  3691.     am, hs, mir, msgr, xenl, xon, 
  3692.     cols#80, it#8, lines#24, xmc#1, 
  3693.     acsc=d\rc\014e\nb\011i\013, bel=^G, cbt=\EI, 
  3694.     clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  3695.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  3696.     dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, 
  3697.     flash=\Eb$<200/>\Ed, fsl=^M, home=^^, ht=^I, 
  3698.     hts=\E1, ich1=\EQ, il1=\EE, ind=^J, 
  3699.     is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\Ef\r, 
  3700.     kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, 
  3701.     kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, 
  3702.     kel=\Et, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r, 
  3703.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  3704.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  3705.     kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, 
  3706.     rmacs=^X, rmir=\Er, rmso=\EG0, rmul=\EG0, smacs=^U, 
  3707.     smir=\Eq, smso=\EG4, smul=\EG8, tbc=\E3, 
  3708.     tsl=\Eg\Ef, 
  3709. #
  3710. # is for 950 with two pages adds the following:
  3711. #    set 48 line page (\E\\2)
  3712. #    place cursor at page 0, line 24, column 1 (\E-07 )
  3713. #    set local (no send) edit keys (\Ek)
  3714. #
  3715. # two page 950 adds the following:
  3716. #    when entering ex, set 24 line page (\E\\1)
  3717. #    when exiting ex, reset 48 line page (\E\\2)
  3718. #             place cursor at 0,24,1 (\E-07 )
  3719. #    set duplex (send) edit keys (\El) when entering vi
  3720. #    set local (no send) edit keys (\Ek) when exiting vi
  3721. #
  3722. tvi950-2p|950-2p|televideo950 w/2 pages, 
  3723.     is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07 \011, 
  3724.     rmcup=\E\\2\E-07 , rmkx=\Ek, smcup=\E\\1\E-07 , 
  3725.     smkx=\El, use=tvi950,
  3726. #
  3727. # is for 950 with four pages adds the following:
  3728. #    set 96 line page (\E\\3)
  3729. #    place cursor at page 0, line 24, column 1 (\E-07 )
  3730. #
  3731. # four page 950 adds the following:
  3732. #    when entering ex, set 24 line page (\E\\1)
  3733. #    when exiting ex, reset 96 line page (\E\\3)
  3734. #             place cursor at 0,24,1 (\E-07 )
  3735. #
  3736. tvi950-4p|950-4p|televideo950 w/4 pages, 
  3737.     is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07 \011, 
  3738.     rmcup=\E\\3\E-07 , rmkx=\Ek, smcup=\E\\1\E-07 , 
  3739.     smkx=\El, use=tvi950,
  3740. #
  3741. # <is2> for reverse video 950 changes the following:
  3742. #    set reverse video (\Ed)
  3743. #
  3744. # set vb accordingly (\Ed ...delay... \Eb)
  3745. #
  3746. tvi950-rv|950-rv|televideo950 rev video, 
  3747.     flash=\Ed$<200/>\Eb, 
  3748.     is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200, use=tvi950,
  3749.  
  3750. # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
  3751. tvi950-rv-2p|950-rv-2p|televideo950 rev video w/2 pages, 
  3752.     flash=\Ed$<200/>\Eb, 
  3753.     is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07 , 
  3754.     rmcup=\E\\2\E-07 , rmkx=\Ek, smcup=\E\\1\E-07 , 
  3755.     smkx=\El, use=tvi950,
  3756.  
  3757. # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
  3758. tvi950-rv-4p|950-rv-4p|televideo950 rev video w/4 pages, 
  3759.     flash=\Ed$<200/>\Eb, 
  3760.     is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07 , 
  3761.     rmcup=\E\\3\E-07 , rmkx=\Ek, smcup=\E\\1\E-07 , 
  3762.     smkx=\El, use=tvi950,
  3763. # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
  3764. # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
  3765. # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
  3766. # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
  3767. # the :ko: string had :cl: in it, which means that one of the original
  3768. # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
  3769. # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
  3770. # ko implies -- esr)
  3771. # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
  3772. # also work.
  3773. tvi955|televideo 955, 
  3774.     mc5i, msgr@, 
  3775.     it#8, xmc@, 
  3776.     acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2, 
  3777.     civis=\E.0, cnorm=\E.2, cud1=^V, 
  3778.     cup=\E[%i%p1%d;%p2%dH, cvvis=\E.1, dim=\E[=5h, 
  3779.     ind@, invis=\EG1, 
  3780.     is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, 
  3781.     khts=\E1, knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, 
  3782.     mc0=\EP, rev=\EG4, rmacs=\E%, rmam=\E[=7l, 
  3783.     rmxon=^N, 
  3784.     rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\200\E0p\E4\200\Ef\r, 
  3785.     sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O, use=tvi950,
  3786. tvi955-w|955-w|televideo955 w/132 cols, 
  3787.     cols#132, 
  3788.     is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955,
  3789. # use half-intensity as normal mode, full intensity as <bold>
  3790. tvi955-hb|955-hb|televideo955 half-bright, 
  3791.     bold=\E[=5l, dim@, 
  3792.     is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El, sgr0=\EG0\E[=5h, use=tvi955,
  3793. # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
  3794. # (tvi970: removed ":sg#0:" -- esr)
  3795. tvi970|televideo 970, 
  3796.     da, db, mir, msgr, 
  3797.     cols#80, it#8, lines#24, 
  3798.     cbt=\E[Z, clear=\E[H\E[2J, cub1=^H, cud1=\ED, 
  3799.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, cuu1=\EM, 
  3800.     cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r, 
  3801.     ed=\E[0J, el=\E[0K, flash=\E[5;m$<200/>\E[0;m, 
  3802.     ht=^I, il1=\E[L, 
  3803.     is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J, 
  3804.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  3805.     kcuu1=\E[A, kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, 
  3806.     kf5=\E?e, kf6=\E?f, kf7=\E?g, kf8=\E?h, kf9=\E?i, 
  3807.     khome=\E[H, ri=\EM, rmacs=\E(B, rmir=\E[4l, 
  3808.     rmso=\E[m, rmul=\E[m, smacs=\E(B, smir=\E[4h, 
  3809.     smso=\E[7m, smul=\E[4m, 
  3810. # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
  3811. # per line (rather than 40), Esc K chooses the normal character set.  Not sure
  3812. # padding is needed, but adapted from the tvi920c termcap.  The :so: and :us:
  3813. # strings are klutzy, but at least use no screen space.
  3814. # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>. -- esr)
  3815. # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84. 
  3816. tvipt|televideo personal terminal, 
  3817.     am, 
  3818.     cols#80, lines#24, 
  3819.     cbt=\EI, clear=^Z, cub1=^H, cuf1=^L, 
  3820.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  3821.     dl1=\ER$<5*>, el=\ET, home=^^, 
  3822.     if=/usr/share/tabset/stdcrt, il1=\EE$<5*>, 
  3823.     is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J, 
  3824.     kcuf1=^L, kcuu1=^K, rmso=\EF, rmul=\EF, smam=\Ev, 
  3825.     smso=\EG1@A\EH, smul=\EG1B@\EH, 
  3826.  
  3827. #### Visual (vi)
  3828. #
  3829. # In September 1993, Visual Technology of Westboro, Massachusetts,
  3830. # merged with White Pine Software of Nashua, New Hampshire.
  3831. #
  3832. # White Pine Software may be contacted at +1 603/886-9050.
  3833. # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
  3834. #
  3835.  
  3836. # vi50 is from University of Wisconsin
  3837. # This is a provisional vi50 termcap entry.  It was copied from vi500
  3838. # entry.  Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
  3839. # disguise; <kf7>-<kf9> are really l1-l3.  No highlighting enabled at present.
  3840. vi50|visual 50, 
  3841.     am, msgr, 
  3842.     cols#80, it#8, lines#24, 
  3843.     cbt=\Ez$<4/>, clear=\Ev, cr=^M, cub1=^H, cud1=\EB, 
  3844.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  3845.     cuu1=\EA, dl1=\EM$<3*/>, ed=\Ek, el=\EK$<16/>, 
  3846.     home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H, 
  3847.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  3848.     kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV, kf5=\EE, 
  3849.     kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH, 
  3850.     nel=^M^J, 
  3851. # this one was BSD & SCO's vi50
  3852. vi50adm|visual 50 in adm3a mode, 
  3853.     am, msgr, 
  3854.     cols#80, it#8, lines#24, 
  3855.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  3856.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM, 
  3857.     ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, 
  3858.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  3859.     khome=\EH, rmso=\ET, smso=\EU, 
  3860. # From: Jeff Siegal <jbs@athena.mit.edu>
  3861. vi55|Visual 55, 
  3862.     am, mir, msgr, 
  3863.     cols#80, it#8, lines#24, 
  3864.     clear=\Ev, csr=\E_%p1%'A'%+%c%p2%'A'%+%c, cub1=^H, 
  3865.     cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  3866.     cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, 
  3867.     home=\EH, ht=^I, il1=\EL, 
  3868.     is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED, 
  3869.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, 
  3870.     rmso=\ET, smir=\Ea, smso=\EU, 
  3871.  
  3872. # The Visual 200 beeps when you type a character in insert mode.
  3873. # This is a horribly obnoxious misfeature, and some of the entries
  3874. # below try to get around the problem by ignoring the feature or
  3875. # turning it off when inputting a character.  They are said not to
  3876. # work well at 300 baud.  (You could always cut the wire to the bell!)
  3877. # (vi200: this used to use ich1=\Ei\s\010\Ej but it's more effective to
  3878. # use <smir>/<rmir> directly -- esr)
  3879. # From: <mike@brl-vgr> Mon Nov 14 08:34:29 1983
  3880. vi200|vis200|visual 200 with function keys, 
  3881.     am, 
  3882.     cols#80, it#8, lines#24, 
  3883.     bel=^G, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H, 
  3884.     cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  3885.     cuu1=\EA, cvvis=\Ed, dch1=\EO$<4*>, dl1=\EM$<4*>, 
  3886.     ed=\Ey, el=\Ex$<4*>, home=\EH, ht=^I, il1=\EL, 
  3887.     ind=^J, is2=\E3\Eb\Ej\E\\\El\EG\Ec\Ek, kcub1=\ED, 
  3888.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EP, kf1=\EQ, 
  3889.     kf2=\ER, kf3=\E , kf4=\E!, kf5=\E", kf6=\E#, 
  3890.     kf7=\E$, kf8=\E%, kf9=\E&, khome=\EH, ri=\EI, 
  3891.     rmir=\Ej, rmso=\E3, smir=\Ei, smso=\E4, 
  3892. # The older Visuals didn't come with function keys. This entry uses
  3893. # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
  3894. # If your version of vi doesn't support function keys you may want
  3895. # to use vi200-f.
  3896. vi200-f|visual|visual 200 no function keys, 
  3897.     is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q, 
  3898.     kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, 
  3899.     kf7=\E?w, kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, 
  3900.     smkx=\E=, smso@, use=vi200,
  3901. vi200-rv|visual 200 reverse video, 
  3902.     cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200,
  3903.  
  3904. # the function keys are programmable but we don't reprogram them to their
  3905. # default values with <is2> because programming them is very verbose. maybe
  3906. # an initialization file should be made for the 300 and they could be stuck
  3907. # in it.
  3908. # (vi300: added <rmam>/<smam> based on init string -- esr)
  3909. vi300|visual 300 ansi x3.64, 
  3910.     am, bw, mir, xenl, 
  3911.     cols#80, lines#24, 
  3912.     bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, 
  3913.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  3914.     cuu1=\E[A, dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, 
  3915.     el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=^J, 
  3916.     is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s, 
  3917.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  3918.     kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, 
  3919.     kf4=\E_D\E\\, kf5=\E_E\E\\, kf6=\E_F\E\\, 
  3920.     kf7=\E_G\E\\, kf8=\E_H\E\\, kf9=\E_I\E\\, 
  3921.     khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l, 
  3922.     rmso=\E[m, rmul=\E[m, smam=\E[?7h, smir=\E[4h, 
  3923.     smso=\E[1m, smul=\E[4m, 
  3924. # some of the vi300s have older firmware that has the command
  3925. # sequence for setting editing extent reversed.
  3926. vi300-old|visual 300 with old firmware (set edit extent reversed), 
  3927.     is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s, use=vi300,
  3928.  
  3929. # Visual 500 prototype entry from University of Wisconsin.
  3930. # The best place to look for the escape sequences is page A1-1 of the
  3931. # Visual 500 manual.  The initialization sequence given here may be
  3932. # overkill, but it does leave out some of the initializations which can
  3933. # be done with the menus in set-up mode.
  3934. # The :xp: line below is so that emacs can understand the padding requirements
  3935. # of this slow terminal.  :xp: is 10 time the padding factor.
  3936. # (vi500: removed unknown :xp#4: termcap -- esr)
  3937. vi500|visual 500, 
  3938.     am, mir, msgr, 
  3939.     cols#80, it#8, lines#33, 
  3940.     cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M, 
  3941.     csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB, 
  3942.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  3943.     cuu1=\EA, dch1=\EO$<3*/>, dl1=\EM$<3*/>, 
  3944.     ed=\Ey$<3*/>, el=\Ex$<16/>, home=\EH, ht=\011$<8/>, 
  3945.     il1=\EL\Ex$<3*/>, ind=^J, 
  3946.     is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\, 
  3947.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  3948.     khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G, 
  3949.     rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, 
  3950.     smul=\E^D, 
  3951.  
  3952. # The visual 550 is a visual 300 with tektronix graphics,
  3953. # and with 33 lines. clear screen is modified here to
  3954. # also clear the graphics.
  3955. vi550|visual 550 ansi x3.64, 
  3956.     lines#33, 
  3957.     clear=\030\E[H\E[2J, use=vi300,
  3958.  
  3959. vi603|visual603|visual 603, 
  3960.     hs, mir, 
  3961.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
  3962.     csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C, 
  3963.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  3964.     dl1=\E[M, dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, 
  3965.     fsl=\E\\, il1=\E[L, ind=\ED, 
  3966.     is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r, rev=\E[7m, 
  3967.     ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
  3968.     sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  3969.     tsl=\EP2~, use=vt100,
  3970.  
  3971. #### Wyse (wy)
  3972. #
  3973. #    Wyse Technology
  3974. #    3471 North First Street
  3975. #    San Jose, CA 95134
  3976. #    Vox: (408)-473-1200
  3977. #    Fax: (408) 473-1222
  3978. #
  3979. # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
  3980. # (800)-800-WYSE (option 5 gets you a human).
  3981. #
  3982. # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
  3983. # So these are the people to talk with about all Link terminals.
  3984. #
  3985. # All the following entries until (but not including) wy100q are direct from
  3986. # Wyse technical support and represent their best knowledge as of January 1995.
  3987. # I canceled the bel capacities in the vb entries.
  3988. # I made two trivial syntax fixes in the wyse30 entry.
  3989. #
  3990. # Note: The wyse75, wyse85, and wyse99 have been discontinued.
  3991.  
  3992. #       Although the Wyse 30 can support more than one attribute
  3993. #    it requires magic cookies to do so.  Many applications do not
  3994. #    function well with magic cookies.  The following terminfo uses
  3995. #    the protect mode to support one attribute (dim) without cookies.
  3996. #    If more than one attribute is needed then the wy30-mc terminfo
  3997. #    should be used.
  3998. #
  3999. wy30|wyse30|Wyse 30, 
  4000.     am, bw, hs, mc5i, mir, msgr, xon, 
  4001.     cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, 
  4002.     wsl#45, 
  4003.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
  4004.     civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, 
  4005.     cub1=^H, cud1=^J, cuf1=^L, 
  4006.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  4007.     dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>, dsl=\EF\r, 
  4008.     ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
  4009.     home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>, 
  4010.     ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024, 
  4011.     kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, 
  4012.     kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
  4013.     kel=\ET, kent=\E7, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
  4014.     kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  4015.     kf8=^AG\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EK, 
  4016.     kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, 
  4017.     mc5=^X, nel=^M^J, pfx=\Ez%p1%'?'%+%c%p2%s\177, 
  4018.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), 
  4019.     ri=\Ej$<3>, rmacs=\EH^C, rmir=\Er, rmln=\EA11, 
  4020.     rmso=\E(, 
  4021.     sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  4022.     sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
  4023.     smso=\E`7\E), tbc=\E0, tsl=\EF, 
  4024. #
  4025. #    This terminal description uses the non-hidden attribute mode
  4026. #    (with magic cookie).
  4027. #
  4028. wy30-mc|wyse30-mc|wyse 30 with magic cookies, 
  4029.     msgr@, 
  4030.     ma@, xmc#1, 
  4031.     blink=\EG2, dim=\EGp, invis=\EG1, prot=\EG0\E), 
  4032.     rev=\EG4, rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0, 
  4033.     rmul=\EG0, 
  4034.     sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  4035.     sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smso=\EG4, 
  4036.     smul=\EG8, use=wy30,
  4037. #    The mandatory pause used by <flash> does not work with
  4038. #    older versions of terminfo.  If you see this effect then
  4039. #    unset xon and delete the / from the delay.
  4040. #    i.e. change $<100/> to $<100>
  4041. wy30-vb|wyse30-vb|wyse 30 visible bell, 
  4042.     bel@, use=wy30,
  4043. #
  4044. #       The Wyse 50 can support one attribute (e.g. Dim, Inverse,
  4045. #    Normal) without magic cookies by using the protect mode.
  4046. #    The following description uses this feature, but when more
  4047. #    than one attribute is put on the screen at once, all attributes
  4048. #    will be changed to be the same as the last attribute given.
  4049. #       The Wyse 50 can support more attributes when used with magic
  4050. #    cookies.  The wy50-mc terminal description uses magic cookies
  4051. #    to correctly handle multiple attributes on a screen.
  4052. #
  4053. wy50|wyse50|Wyse 50, 
  4054.     am, bw, hs, mc5i, mir, msgr, xon, 
  4055.     cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, 
  4056.     wsl#45, 
  4057.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
  4058.     civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
  4059.     cub1=^H, cud1=^J, cuf1=^L, 
  4060.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  4061.     dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r, 
  4062.     ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
  4063.     home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, 
  4064.     ip=$<1>, is1=\E`\072\E`9$<30>, is2=\016\024\E'\E(, 
  4065.     kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, 
  4066.     kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
  4067.     kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
  4068.     kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, 
  4069.     kf15=^AN\r, kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, 
  4070.     kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  4071.     kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
  4072.     kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
  4073.     ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, 
  4074.     pfx=\Ez%p1%'?'%+%c%p2%s\177, 
  4075.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), 
  4076.     rev=\E`6\E), ri=\Ej, rmacs=\EH^C, rmir=\Er, 
  4077.     rmln=\EA11, rmso=\E(, 
  4078.     sgr=%?%p1%p3%|%t\E`6\E)\n%e%p5%p8%|%t\E`7\E)%e\E(%;\n%?%p9%t\EH\002%e\EH\003%;, 
  4079.     sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
  4080.     smso=\E`6\E), tbc=\E0, tsl=\EF, 
  4081. #
  4082. #    This terminal description uses the non-hidden attribute mode
  4083. #    (with magic cookie).
  4084. #
  4085. #    The mandatory pause used by flash does not work with some
  4086. #    older versions of terminfo.  If you see this effect then
  4087. #    unset <xon> and delete the / from the delay.
  4088. #    i.e. change $<100/> to $<100>
  4089. wy50-mc|wyse50-mc|wyse 50 with magic cookies, 
  4090.     msgr@, 
  4091.     ma@, xmc#1, 
  4092.     blink=\EG2, dim=\EGp, invis=\EG1, prot=\EG0\E), 
  4093.     rev=\EG4, rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0, 
  4094.     rmul=\EG0, 
  4095.     sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  4096.     sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smso=\EGt, 
  4097.     smul=\EG8, use=wy50,
  4098. wy50-vb|wyse50-vb|wyse 50 visible bell, 
  4099.     bel@, use=wy50,
  4100. wy50-w|wyse50-w|wyse 50 132-column, 
  4101.     cols#132, lw#7, nlab#16, wsl#97, 
  4102.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, 
  4103.     is1=\E`;\E`9$<30>, use=wy50,
  4104. wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell, 
  4105.     bel@, use=wy50-w,
  4106. #
  4107. #    The Wyse 350 is a Wyse 50 with color.
  4108. #    Unfortunately this means that it has magic cookies.
  4109. #    The color attributes are designed to overlap the reverse, dim and
  4110. #    underline attributes.  This is nice for monochrome applications
  4111. #    because you can make underline stuff green (or any other color)
  4112. #    but for true color applications it's not so hot because you cannot
  4113. #    mix color with reverse, dim or underline.
  4114. #        To further complicate things one of the attributes must be
  4115. #    black (either the foreground or the background).  In reverse video
  4116. #    the background changes color with black letters.  In normal video
  4117. #    the foreground changes colors on a black background.  
  4118. #        This terminfo uses some of the more advanced features of curses
  4119. #    to display both color and blink.  In the final analysis I am not
  4120. #    sure that the wy350 runs better with this terminfo than it does
  4121. #    with the wy50 terminfo (with user adjusted colors).
  4122. #
  4123. #    The mandatory pause used by flash does not work with
  4124. #    older versions of terminfo.  If you see this effect then
  4125. #    unset xon and delete the / from the delay.
  4126. #    i.e. change $<100/> to $<100>
  4127. #
  4128. wy350|wyse350|Wyse 350, 
  4129.     am, bw, hs, mc5i, mir, xon, 
  4130.     colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, 
  4131.     nlab#8, pairs#8, wsl#45, xmc#1, 
  4132.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, 
  4133.     blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<20>, 
  4134.     cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  4135.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  4136.     dch1=\EW$<1>, dim=\EGp, dl1=\ER, dsl=\EF\r, 
  4137.     ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
  4138.     home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, 
  4139.     invis=\EG1, ip=$<1>, is1=\E`\072\E`9$<30>, 
  4140.     is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, 
  4141.     kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  4142.     kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, 
  4143.     kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, 
  4144.     kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
  4145.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  4146.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
  4147.     khome=^^, kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, 
  4148.     kprt=\EP, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, 
  4149.     mc5=^X, nel=^M^J, oc=\E%?, op=\EG0, 
  4150.     pfx=\Ez%p1%'?'%+%c%p2%s\177, 
  4151.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\EG0\E), rev=\EG4, 
  4152.     ri=\Ej, rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, 
  4153.     rmso=\EG0, rmul=\EG0, setb= , 
  4154.     setf=%?%p1%{0}%=%t%{76}\n%e%p1%{1}%=%t%{64}\n%e%p1%{2}%=%t%{8}\n%e%p1%{3}%=%t%{72}\n%e%p1%{4}%=%t%{4}\n%e%p1%{5}%=%t%{68}\n%e%p1%{6}%=%t%{12}\n%e%p1%{7}%=%t%{0}\n%;%PC\n\EG%gC%gA%+%'0'%+%c, 
  4155.     sgr=%{0}%?%p4%t%{2}%|%;\n%?%p7%t%{1}%|%;%PA\n\EG%?%gC%t%gC%e\n%{0}%?%p1%t%{4}%|%;\n%?%p2%t%{8}%|%;\n%?%p3%t%{4}%|%;\n%?%p5%t%{64}%|%;\n%;%gA%+%'0'%+%c\n%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  4156.     sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, 
  4157.     smacs=\EG0\EH\002, smir=\Eq, smln=\EA10, smso=\EG4, 
  4158.     smul=\EG8, tbc=\E0, tsl=\EF, 
  4159. wy350-vb|wyse350-vb|wyse 350 visible bell, 
  4160.     bel@, use=wy350,
  4161. wy350-w|wyse350-w|wyse 350 132-column, 
  4162.     cols#132, lw#7, nlab#16, wsl#97, 
  4163.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, 
  4164.     is1=\E`;\E`9$<30>, use=wy350,
  4165. wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell, 
  4166.     bel@, use=wy350-w,
  4167. #
  4168. #    This terminfo description is untested.
  4169. #
  4170. wy100|wyse 100, 
  4171.     hs, mir, 
  4172.     cols#80, lines#24, xmc#1, 
  4173.     bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, 
  4174.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  4175.     dch1=\EW, dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, 
  4176.     fsl=^M, il1=\EE, ind=^J, is2=\Eu\E0, kbs=^H, 
  4177.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
  4178.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  4179.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{, 
  4180.     rmir=\Er, rmso=\EG0, rmul=\EG0, smir=\Eq, 
  4181.     smso=\EG4, smul=\EG8, tsl=\EF, 
  4182. #
  4183. #    The Wyse 120/150 has most of the features of the Wyse 60.
  4184. #    This terminal does not need padding up to 9600 baud!
  4185. #    <msgr> should be set but the clear screen fails when in
  4186. #    alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
  4187. #    then set <msgr>.
  4188. #
  4189. wy120|wyse120|wy150|wyse150|Wyse 120/150, 
  4190.     am, bw, hs, km, mc5i, mir, msgr, xon, 
  4191.     cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, 
  4192.     pb#9601, wsl#45, 
  4193.     acsc=+/\\\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
  4194.     bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, 
  4195.     clear=\E+$<50>, cnorm=\E`1, cr=^M, cub1=^H, 
  4196.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  4197.     cuu1=^K, dch1=\EW$<7>, dim=\EGp, dl1=\ER$<3>, 
  4198.     dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
  4199.     flash=\E`8$<100/>\E`9, fsl=^M, home=^^, 
  4200.     ht=\011$<1>, hts=\E1, il1=\EE$<3>, ind=\n$<3>, 
  4201.     invis=\EG1, ip=$<2>, is1=\EcB0\EcC1, 
  4202.     is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
  4203.     is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, 
  4204.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
  4205.     kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, 
  4206.     kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, 
  4207.     kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf2=^AA\r, 
  4208.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  4209.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  4210.     kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, 
  4211.     krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, mc5=\Ed#, 
  4212.     nel=\r\n$<3>, pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
  4213.     pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
  4214.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), rev=\EG4, 
  4215.     ri=\Ej$<2>, rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, 
  4216.     rmir=\Er, rmln=\EA11, rmso=\EG0, rmul=\EG0, 
  4217.     rmxon=\Ec20, rs1=\E~!\E~4$<30>, 
  4218.     rs2=\EeF\E`\072$<70>, rs3=\EwG\Ee($<100>, 
  4219.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  4220.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
  4221.     smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, 
  4222.     smul=\EG8, smxon=\Ec21\ntbc=\E0, tsl=\EF, 
  4223. #
  4224. wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column, 
  4225.     cols#132, lw#7, nlab#16, wsl#97, 
  4226.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
  4227.     rs2=\E`;$<70>, use=wy120,
  4228. #
  4229. wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines, 
  4230.     lh@, lines#25, lw@, nlab@, 
  4231.     pln@, rs3=\EwG\Ee)$<100>, use=wy120,
  4232. #
  4233. wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines, 
  4234.     lh@, lines#25, lw@, nlab@, 
  4235.     pln@, rs3=\EwG\Ee)$<100>, use=wy120-w,
  4236. #
  4237. wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell, 
  4238.     bel@, use=wy120,
  4239. #
  4240. wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell, 
  4241.     bel@, use=wy120-w,
  4242. #
  4243. #    The Wyse 60 is like the Wyse 50 but with more padding.
  4244. #    The reset strings are slow and the pad times very depending
  4245. #    on other parameters such as font loading.  I have tried
  4246. #    to follow the following outline:
  4247. #
  4248. #        <rs1> -> set personality
  4249. #        <rs2> -> set number of columns
  4250. #        <rs3> -> set number of lines
  4251. #        <is1> -> select the proper font
  4252. #        <is2> -> do the initialization
  4253. #        <is3> -> set up display memory (2 pages)
  4254. #
  4255. #    The Wyse 60's that have vt100 emulation are slower than the
  4256. #    older Wyse 60's.  This change happened mid-1987.
  4257. #    The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
  4258. #
  4259. #    The meta key is only half right.  This terminal will return the
  4260. #    high order bit set when you hit CTRL-function_key
  4261. #
  4262. #    It may be useful to assign two function keys with the
  4263. #    values  \E=(\s  look at old data in page 1
  4264. #            \E=W,   look at bottom of page 1
  4265. #    where \s is a space ( ).
  4266. #
  4267. #    Note:
  4268. #       The Wyse 60 runs faster when the XON/XOFF
  4269. #       handshake is turned off.
  4270. #
  4271. # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
  4272. # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
  4273. wy60|wyse60|Wyse 60, 
  4274.     am, bw, hs, km, mc5i, mir, msgr, 
  4275.     cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45, 
  4276.     acsc=+/\\\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
  4277.     bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, 
  4278.     clear=\E+$<100>, cnorm=\E`1, cr=^M, cub1=^H, 
  4279.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  4280.     cuu1=^K, dch1=\EW$<11>, dclk=\E`b, dim=\EGp, 
  4281.     dl1=\ER$<5>, dsl=\EF\r, ed=\EY$<100>, el=\ET, 
  4282.     flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, 
  4283.     ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>, 
  4284.     invis=\EG1, ip=$<3>, is1=\EcB0\EcC1, 
  4285.     is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
  4286.     is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, 
  4287.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
  4288.     kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, 
  4289.     kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, 
  4290.     kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf2=^AA\r, 
  4291.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  4292.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  4293.     kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, 
  4294.     krpl=\Er, ll=\E{^K, mc0=\EP, mc4=^T, mc5=\Ed#, 
  4295.     nel=\r\n$<3>, pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
  4296.     pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
  4297.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), rev=\EG4, 
  4298.     ri=\Ej$<7>, rmacs=\EcD, rmam=\Ed., rmclk=\E`c, 
  4299.     rmcup=\Ew1, rmir=\Er, rmln=\EA11, rmso=\EG0, 
  4300.     rmul=\EG0, rmxon=\Ec20, rs1=\E~!\E~4$<150>, 
  4301.     rs2=\EeG$<150>, rs3=\EwG\Ee($<200>, 
  4302.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  4303.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
  4304.     smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, 
  4305.     smul=\EG8, smxon=\Ec21, tbc=\E0, tsl=\EF, 
  4306. #
  4307. wy60-w|wyse60-w|wyse 60 132-column, 
  4308.     cols#132, lw#7, nlab#16, wsl#97, 
  4309.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>, 
  4310.     rs2=\EeF$<150>\E`;$<150>, use=wy60,
  4311. #
  4312. wy60-25|wyse60-25|wyse 60 80-column 25-lines, 
  4313.     lh@, lines#25, lw@, nlab@, 
  4314.     pln@, rs3=\EwG\Ee)$<200>, use=wy60,
  4315. wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines, 
  4316.     lh@, lines#25, lw@, nlab@, 
  4317.     pln@, rs3=\EwG\Ee)$<200>, use=wy60-w,
  4318. #
  4319. wy60-42|wyse60-42|wyse 60 80-column 42-lines, 
  4320.     lines#42, 
  4321.     clear=\E+$<260>, 
  4322.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>, dch1=\EW$<16>, 
  4323.     dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>, 
  4324.     ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>, 
  4325.     ri=\Ej$<10>, rs3=\Ee*$<150>, use=wy60,
  4326. wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines, 
  4327.     cols#132, lw#7, nlab#16, wsl#97, 
  4328.     clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
  4329.     dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, 
  4330.     ip=$<6>, nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, use=wy60-42,
  4331. #
  4332. wy60-43|wyse60-43|wyse 60 80-column 43-lines, 
  4333.     lh@, lines#43, lw@, nlab@, 
  4334.     pln@, rs3=\Ee+$<150>, use=wy60-42,
  4335. wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines, 
  4336.     lh@, lines#43, lw@, nlab@, 
  4337.     pln@, rs3=\Ee+$<150>, use=wy60-42-w,
  4338. #
  4339. wy60-vb|wyse60-vb|Wyse 60 visible bell, 
  4340.     bel@, use=wy60,
  4341. wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell, 
  4342.     bel@, use=wy60-w,
  4343.  
  4344. #    The Wyse-99GT looks at lot like the Wyse 60 except that it
  4345. #    does not have the 42/43 line mode.  In the Wyse-60 the "lines"
  4346. #    setup parameter controls the number of lines on the screen.
  4347. #    For the Wyse 99GT the "lines" setup parameter controls the
  4348. #    number of lines in a page.  The screen can display 25 lines max.
  4349. #        The Wyse-99GT also has personalities for the VT220 and
  4350. #    Tektronix 4014.  But this has no bearing on the native mode.
  4351. #
  4352. #    (msgr) should be set but the clear screen fails when in
  4353. #    alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
  4354. #    then set msgr, else use msgr@.
  4355. #
  4356. #    u0 -> enter Tektronix mode
  4357. #    u1 -> exit Tektronix mode
  4358. #
  4359. wy99gt|wyse99gt|Wyse 99gt, 
  4360.     msgr@, 
  4361.     clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, 
  4362.     ed=\Ey$<130>, el=\Et$<5>, flash=\E`8$<100/>\E`9, 
  4363.     ht=\011$<1>, il1=\EE$<4>, ind=\n$<4>, ip=$<2>, 
  4364.     is3=\Ew0$<20>, nel@, ri=\Ej$<3>, rmcup=\Ew0, 
  4365.     rs2=\E`\072$<150>, smcup=\Ew1, u0=\E~>\E8, 
  4366.     u1=\E[42h, use=wy60,
  4367. #
  4368. wy99gt-w|wyse99gt-w|wyse 99gt 132-column, 
  4369.     cols#132, lw#7, nlab#16, wsl#97, 
  4370.     clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
  4371.     dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, 
  4372.     rs2=\E`;$<150>, use=wy99gt,
  4373. #
  4374. wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines, 
  4375.     lh@, lines#25, lw@, nlab@, 
  4376.     pln@, rs2=\E`\072$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt,
  4377. #
  4378. wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines, 
  4379.     lh@, lines#25, lw@, nlab@, 
  4380.     pln@, rs2=\E`;$<150>, use=wy99gt-w,
  4381. #
  4382. wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell, 
  4383.     bel@, use=wy99gt,
  4384. #
  4385. wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell, 
  4386.     bel@, use=wy99gt-w,
  4387. #
  4388. #    The Wyse 160 is combination of the WY-60 and the WY-99gt.
  4389. #    The reset strings are slow and the pad times very depending
  4390. #    on other parameters such as font loading.  I have tried
  4391. #    to follow the following outline:
  4392. #
  4393. #        <rs1> -> set personality
  4394. #        <rs2> -> set number of columns
  4395. #        <rs3> -> set number of lines
  4396. #        <is1> -> select the proper font
  4397. #        <is2> -> do the initialization
  4398. #        <is3> -> set up display memory (2 pages)
  4399. #
  4400. #    The display memory may be used for either text or graphics.
  4401. #    When "Display Memory = Shared" the terminal will have more pages
  4402. #    but garbage may be left on the screen when you switch from
  4403. #    graphics to text.  If "Display Memory = Unshared" then the
  4404. #    text area will be only one page long.
  4405. #
  4406. # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
  4407. # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
  4408. wy160|wyse160|Wyse 160, 
  4409.     am, bw, hs, km, mc5i, mir, msgr, 
  4410.     cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38, 
  4411.     acsc=+/\\\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
  4412.     bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, 
  4413.     clear=\E+$<30>, cnorm=\E`1, cr=^M, cub1=^H, 
  4414.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  4415.     cuu1=^K, dch1=\EW$<5>, dclk=\E`b, dim=\EGp, 
  4416.     dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>, el=\ET$<5>, 
  4417.     flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I, 
  4418.     hts=\E1, il1=\EE$<1>, ind=\n$<1>, invis=\EG1, 
  4419.     ip=$<2>, is1=\EcB0\EcC1, 
  4420.     is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
  4421.     is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, 
  4422.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
  4423.     kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, 
  4424.     kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, 
  4425.     kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf2=^AA\r, 
  4426.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  4427.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  4428.     kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, 
  4429.     krpl=\Er, ll=\E{^K, mc0=\EP, mc4=^T, mc5=\Ed#, 
  4430.     nel=\r\n$<1>, pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
  4431.     pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
  4432.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), rev=\EG4, 
  4433.     ri=\Ej$<1>, rmacs=\EcD, rmam=\Ed., rmclk=\E`c, 
  4434.     rmcup=\Ew0, rmir=\Er, rmln=\EA11, rmso=\EG0, 
  4435.     rmul=\EG0, rmxon=\Ec20, rs1=\E~!\E~4$<70>, 
  4436.     rs2=\E`\072$<100>, rs3=\EwG\Ee($<140>, 
  4437.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  4438.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
  4439.     smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, 
  4440.     smul=\EG8, smxon=\Ec21, tbc=\E0, tsl=\EF, 
  4441. #
  4442. wy160-w|wyse160-w|wyse 160 132-column, 
  4443.     cols#132, lw#7, nlab#16, wsl#90, 
  4444.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>, 
  4445.     rs2=\EeF$<150>\E`;$<150>, use=wy160,
  4446. #
  4447. wy160-25|wyse160-25|wyse 160 80-column 25-lines, 
  4448.     lh@, lines#25, lw@, nlab@, 
  4449.     pln@, rs3=\EwG\Ee)$<200>, use=wy160,
  4450. wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines, 
  4451.     lh@, lines#25, lw@, nlab@, 
  4452.     pln@, rs3=\EwG\Ee)$<200>, use=wy160-w,
  4453. #
  4454. wy160-42|wyse160-42|wyse 160 80-column 42-lines, 
  4455.     lines#42, 
  4456.     clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, 
  4457.     il1=\EE$<2>, ind=\n$<2>, is1=\EcB2\EcC3, 
  4458.     nel=\r\n$<2>, ri=\Ej$<2>, rs3=\Ee*$<150>, use=wy160,
  4459. wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines, 
  4460.     cols#132, lw#7, nlab#16, wsl#90, 
  4461.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>, 
  4462.     rs2=\EeF$<150>\E`;$<150>, use=wy160-42,
  4463. #
  4464. wy160-43|wyse160-43|wyse 160 80-column 43-lines, 
  4465.     lh@, lines#43, lw@, nlab@, 
  4466.     pln@, rs3=\Ee+$<150>, use=wy160-42,
  4467. wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines, 
  4468.     lh@, lines#43, lw@, nlab@, 
  4469.     pln@, rs3=\Ee+$<150>, use=wy160-42-w,
  4470. #
  4471. wy160-vb|wyse160-vb|Wyse 160 visible bell, 
  4472.     bel@, use=wy160,
  4473. wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell, 
  4474.     bel@, use=wy160-w,
  4475. #
  4476. #    The Wyse 75 is a vt100 lookalike without advanced video.
  4477. #
  4478. #       The Wyse 75 can support one attribute (e.g. Dim, Inverse,
  4479. #    Underline) without magic cookies.  The following description
  4480. #    uses this capability, but when more than one attribute is
  4481. #    put on the screen at once, all attributes will be changed
  4482. #    to be the same as the last attribute given.
  4483. #       The Wyse 75 can support more attributes when used with magic
  4484. #    cookies.  The wy75-mc terminal description uses magic cookies
  4485. #    to correctly handle multiple attributes on a screen.
  4486. #
  4487. wy75|wyse75|wyse 75, 
  4488.     am, hs, mc5i, mir, msgr, xenl, xon, 
  4489.     cols#80, lines#24, ma#1, pb#1201, wsl#78, 
  4490.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  4491.     bel=^G, cbt=\E[Z, civis=\E[?25l, 
  4492.     clear=\E[H\E[J$<30>, cnorm=\E[?25h, cr=^M, 
  4493.     csr=\E[%i%p1%d;%p2%dr$<2>, cub=\E[%p1%dD, cub1=^H, 
  4494.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  4495.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  4496.     dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[0t\E[2m, 
  4497.     dl=\E[%p1%dM$<1*>, dl1=\E[M, 
  4498.     dsl=\E[>\\\054\001\001\E[>-\001\001, ech=\E[%p1%dX, 
  4499.     ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>, 
  4500.     enacs=\E)0, flash=\E[30h\E\\\054\E[30l$<250>, 
  4501.     fsl=^A, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
  4502.     ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, 
  4503.     il1=\E[L$<2>, ind=\n$<2>, ip=$<1>, 
  4504.     is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h, 
  4505.     is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy, 
  4506.     kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, 
  4507.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, 
  4508.     kel=\E[K, kent=\EOM, kf1=\E[?5i, kf10=\E[21~, 
  4509.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  4510.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  4511.     kf19=\E[33~, kf2=\E[?3i, kf20=\E[34~, kf21=\E[35~, 
  4512.     kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, 
  4513.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
  4514.     khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, 
  4515.     knp=\E[6~, kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, 
  4516.     mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, 
  4517.     rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, 
  4518.     rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, 
  4519.     rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, 
  4520.     rs3=\E[?5l, sc=\E7, 
  4521.     sgr=%?%p5%t\E[0t%;%?%p3%p1%|%t\E[1t%;%?%p2%t\E[2t%;%?%p4%t\E[3t%;%?%p1%p2%p3%p4%p5%|%|%|%|%t\E[7m%e\E[m%;%?%p9%t\016%e\017%;, 
  4522.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  4523.     smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, 
  4524.     smul=\E[2t\E[4m, tbc=\E[3g, tsl=\E[>\\\054\001, 
  4525. #
  4526. #    This terminal description uses the non-hidden attribute mode
  4527. #    (with magic cookie).
  4528. #
  4529. wy75-mc|wyse75-mc|wyse 75 with magic cookies, 
  4530.     msgr@, 
  4531.     ma@, xmc#1, 
  4532.     blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p, 
  4533.     rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, 
  4534.     rmul=\E[0p, 
  4535.     sgr=\E[%{0}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{16}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{1}%|%;%?%p7%t%{4}%|%;%dp%?%p9%t\016%e\017%;, 
  4536.     sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, 
  4537.     smul=\E[8p, use=wy75,
  4538. wy75-vb|wyse75-vb|wyse 75 with visible bell, 
  4539.     pb@, 
  4540.     bel@, use=wy75,
  4541. wy75-w|wyse75-w|wyse 75 in 132 column mode, 
  4542.     cols#132, wsl#130, 
  4543.     rs2=\E[35h\E[?3h$<80>, use=wy75,
  4544. wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns, 
  4545.     pb@, 
  4546.     bel@, use=wy75-w,
  4547. #
  4548. #    Wyse 85 emulating a vt220 7 bit mode.
  4549. #        24 line screen with status line.
  4550. #
  4551. #    The vt220 mode permits more function keys but it wipes out
  4552. #    the escape key.  I strongly recommend that <f11> be set to
  4553. #    escape (esc).
  4554. #    The terminal may have to be set for 8 data bits and 2 stop
  4555. #    bits for the arrow keys to work.
  4556. #    The Wyse 85 runs faster with XON/XOFF enabled.  Also the
  4557. #    <dch> and <ich> work best when XON/XOFF is set.  <ich> and
  4558. #    <dch> leave trash on the screen when used without XON/XOFF.
  4559. #
  4560. wy85|wyse85|wyse 85, 
  4561.     am, hs, mc5i, mir, msgr, xenl, xon, 
  4562.     cols#80, it#8, lines#24, wsl#80, 
  4563.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  4564.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  4565.     civis=\E[?25l, clear=\E[H\E[J$<110>, cnorm=\E[?25h, 
  4566.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
  4567.     cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
  4568.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH$<1>, 
  4569.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>, 
  4570.     dch1=\E[P$<3>, dim=\E[2m, dl=\E[%p1%dM$<3*>, 
  4571.     dl1=\E[M$<3>, dsl=\E[40l, ech=\E[%p1%dX, 
  4572.     ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, enacs=\E)0, 
  4573.     flash=\E[30h\E\\\054\E[30l$<300>, fsl=\E[1;24r\E8, 
  4574.     home=\E[H, ht=\011$<1>, hts=\EH, 
  4575.     ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, 
  4576.     il1=\E[L$<5>, ind=\n$<3>, invis=\E[8m, ip=$<3>, 
  4577.     is1=\E[62;1"p\E[?5W, 
  4578.     is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>, 
  4579.     is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, 
  4580.     kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, 
  4581.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, 
  4582.     kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
  4583.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  4584.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  4585.     kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
  4586.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  4587.     kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~, 
  4588.     knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, 
  4589.     lf3=PF3, lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
  4590.     rc=\E8, rev=\E[7m, ri=\EM$<3>, rmacs=^O, 
  4591.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, 
  4592.     rmul=\E[m, rs1=\E[13l\E[3l\E!p, 
  4593.     rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7, 
  4594.     sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  4595.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  4596.     smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  4597.     tsl=\E[40h\E7\E[25;%i%p1%dH, 
  4598. #
  4599. #    Wyse 85 with visual bell.
  4600. wy85-vb|wyse85-vb|wyse 85 with visible bell, 
  4601.     bel@, flash=\E[30h\E\\\054\E[30l$<300>, use=wy85,
  4602. #
  4603. #    Wyse 85 in 132-column mode.
  4604. wy85-w|wyse85-w|wyse 85 in 132-column mode, 
  4605.     cols#132, wsl#132, 
  4606.     rs2=\E[35h\E[?3h$<70>, use=wy85,
  4607. #
  4608. #    Wyse 85 in 132-column mode with visual bell.
  4609. wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns, 
  4610.     bel@, use=wy85-w,
  4611. #
  4612. #    Wyse 185 emulating a vt320 7 bit mode.
  4613. #
  4614. #    This terminal always displays 25 lines.  These lines may be used
  4615. #    as 24 data lines and a terminal status line (top or bottom) or
  4616. #    25 data lines.  The 48 and 50 line modes change the page size
  4617. #    and not the number of lines on the screen.
  4618. #
  4619. #    The Compose Character key can be used as a meta key if changed
  4620. #    by set-up.
  4621. #
  4622. wy185|wyse185|wyse 185, 
  4623.     am, hs, km, mc5i, mir, msgr, xenl, xon, 
  4624.     cols#80, it#8, lines#24, wsl#80, 
  4625.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  4626.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  4627.     civis=\E[?25l, clear=\E[H\E[J$<40>, 
  4628.     cnorm=\E[34h\E[?25h, cr=^M, 
  4629.     csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
  4630.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  4631.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  4632.     cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, 
  4633.     dch1=\E[P$<3>, dim=\E[2m, dl=\E[%p1%dM$<2*>, 
  4634.     dl1=\E[M$<2>, dsl=\E7\E[99;0H\E[K\E8, 
  4635.     ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K, 
  4636.     enacs=\E)0, flash=\E[30h\E\\\054\E[30l$<100>, 
  4637.     fsl=\E[1;24r\E8, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, 
  4638.     hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, 
  4639.     il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, 
  4640.     is1=\E[?5W, 
  4641.     is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h, 
  4642.     is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, 
  4643.     kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, 
  4644.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  4645.     kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
  4646.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  4647.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  4648.     kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, 
  4649.     kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
  4650.     kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, 
  4651.     kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, 
  4652.     lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, 
  4653.     mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
  4654.     ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, 
  4655.     rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
  4656.     rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, 
  4657.     rs2=\E[35h\E[?3l, rs3=\E[?5l\E[47h\E[40l\E[r, 
  4658.     sc=\E7, 
  4659.     sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  4660.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
  4661.     smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
  4662.     tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd, 
  4663. #
  4664. #    Wyse 185 with 24 data lines and top status (terminal status)
  4665. wy185-24|wyse185-24|wyse 185 with 24 data lines, 
  4666.     hs@, 
  4667.     dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy185,
  4668. #
  4669. #    Wyse 185 with visual bell.
  4670. wy185-vb|wyse185-vb|wyse 185+flash, 
  4671.     bel@, use=wy185,
  4672. #
  4673. #    Wyse 185 in 132-column mode.
  4674. wy185-w|wyse185-w|wyse 185 in 132-column mode, 
  4675.     cols#132, wsl#132, 
  4676.     dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, 
  4677.     ich=\E[%p1%d@$<7>, ip=$<7>, rs2=\E[35h\E[?3h, use=wy185,
  4678. #
  4679. #    Wyse 185 in 132-column mode with visual bell.
  4680. wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols, 
  4681.     bel@, use=wy185-w,
  4682.  
  4683. # wy325 terminfo entries
  4684. # Done by Joe H. Davis        3-9-92
  4685.  
  4686. # lines 25  columns 80
  4687. #
  4688. wy325|wyse325|Wyse epc, 
  4689.     am, bw, hs, mc5i, mir, 
  4690.     cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, 
  4691.     wsl#45, 
  4692.     acsc=+/\\\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
  4693.     bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, 
  4694.     clear=\E+$<50>, cnorm=\E`1, cr=^M, cub1=^H, 
  4695.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  4696.     cuu1=^K, dch1=\EW$<7>, dim=\EGp, dl1=\ER$<3>, 
  4697.     dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
  4698.     flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, 
  4699.     hts=\E1, il1=\EE$<3>, ind=\n$<3>, invis=\EG1, 
  4700.     ip=$<2>, is1=\EcB0\EcC1, 
  4701.     is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
  4702.     is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, 
  4703.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
  4704.     kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, 
  4705.     kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, 
  4706.     kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf2=^AA\r, 
  4707.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  4708.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  4709.     kich1=\Eq, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, 
  4710.     krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, mc5=\Ed#, 
  4711.     pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
  4712.     pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
  4713.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), rev=\EG4, 
  4714.     ri=\Ej$<2>, rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, 
  4715.     rmir=\Er, rmln=\EA11, rmso=\EG0, rmul=\EG0, 
  4716.     rs1=\E~!\E~4$<30>, rs2=\EeF\E`\072$<70>, 
  4717.     rs3=\EwG\Ee($<100>, 
  4718.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  4719.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
  4720.     smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, 
  4721.     smul=\EG8, tbc=\E0, tsl=\EF, 
  4722.  
  4723. #
  4724. # lines 24  columns 80  vb 
  4725. #
  4726. wy325-vb|wyse325-vb|wyse-325 with visual bell, 
  4727.     bel@, use=wy325,
  4728.  
  4729. #
  4730. # lines 24  columns 132
  4731. #
  4732. wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode, 
  4733.     cols#132, lw#7, nlab#16, wsl#97, 
  4734.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
  4735.     rs2=\E`;$<70>, use=wy325,
  4736. #
  4737. # lines 25  columns 80
  4738. #
  4739. wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines, 
  4740.     lh@, lines#25, lw@, nlab@, 
  4741.     pln@, rs3=\EwG\Ee)$<100>, use=wy325,
  4742. #
  4743. # lines 25  columns 132
  4744. #
  4745. wy325-25w|wyse325-25w|wy325 132 columns, 
  4746.     lh@, lines#25, lw@, nlab@, 
  4747.     pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
  4748. #
  4749. # lines 25  columns 132  vb 
  4750. #
  4751. wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video, 
  4752.     bel@, use=wy325-w,
  4753.  
  4754. #
  4755. # lines 42  columns 80
  4756. #
  4757. wy325-42|wyse325-42|wyse-325 42 lines, 
  4758.     lh@, lines#42, lw@, nlab@, 
  4759.     pln@, rs3=\EwG\Ee)$<100>, use=wy325,
  4760. #
  4761. # lines 42  columns 132
  4762. #
  4763. wy325-42w|wyse325-42w|wyse-325 42 lines wide mode, 
  4764.     lh@, lines#42, lw@, nlab@, 
  4765.     pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
  4766. #
  4767. # lines 42  columns 132  vb 
  4768. #
  4769. wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell, 
  4770.     bel@, use=wy325-w,
  4771. #
  4772. # lines 43  columns 80
  4773. #
  4774. wy325-43|wyse325-43|wyse-325 43 lines, 
  4775.     lh@, lines#43, lw@, nlab@, 
  4776.     pln@, use=wy325,
  4777. #
  4778. # lines 43  columns 132
  4779. #
  4780. wy325-43w|wyse325-43w|wyse-325 43 lines wide mode, 
  4781.     lh@, lines#43, lw@, nlab@, 
  4782.     pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
  4783. #
  4784. # lines 43  columns 132  vb 
  4785. #
  4786. wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell, 
  4787.     bel@, use=wy325-w,
  4788.  
  4789. #    Wyse 370 -- 24 line screen with status line.
  4790. #
  4791. #    The terminal may have to be set for 8 data bits and 2 stop
  4792. #    bits for the arrow keys to work.
  4793. #
  4794. #    If you change keyboards the terminal will send different
  4795. #    escape sequences.
  4796. #    The following definition is for the basic terminal without
  4797. #    function keys.
  4798. #
  4799. #    <u0> -> enter Tektronix 4010/4014 mode
  4800. #    <u1> -> exit  Tektronix 4010/4014 mode
  4801. #    <u2> -> enter ASCII mode (from any ANSI mode)
  4802. #    <u3> -> exit  ASCII mode (goto native ANSI mode)
  4803. #    <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
  4804. #    <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
  4805. #
  4806. wy370-nk|wyse 370 without function keys, 
  4807.     am, ccc, hs, mc5i, mir, msgr, xenl, xon, 
  4808.     colors#64, cols#80, it#8, lines#24, ncv#48, 
  4809.     pairs#64, wsl#80, 
  4810.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  4811.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  4812.     civis=\E[?25l, clear=\E[H\E[J$<40>, 
  4813.     cnorm=\E[34h\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  4814.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  4815.     cuf=\E[%p1%dC, cuf1=\E[C, 
  4816.     cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, 
  4817.     cuu1=\E[A, cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, 
  4818.     dch1=\E[P$<1>, dclk=\E[31h, dim=\E[2m, 
  4819.     dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[40l, 
  4820.     ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>, el=\E[K$<10>, 
  4821.     el1=\E[1K$<12>, enacs=\E)0, 
  4822.     flash=\E[30h\E\\\054\E[30l$<300>, fsl=\E[1;24r\E8, 
  4823.     home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH, 
  4824.     ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, 
  4825.     il1=\E[L$<2>, ind=\n$<2>, 
  4826.     initc=\E[66;%p1%d;\n%?%p2%{250}%<%t%{0}\n%e%p2%{500}%<%t%{16}\n%e%p2%{750}%<%t%{32}%e%{48}%;\n%?%p3%{250}%<%t%{0}\n%e%p3%{500}%<%t%{4}\n%e%p3%{750}%<%t%{8}%e%{12}%;\n%?%p4%{250}%<%t%{0}\n%e%p4%{500}%<%t%{1}\n%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw, 
  4827.     invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>, 
  4828.     is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h, 
  4829.     is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, 
  4830.     mc4=\E[4i, mc5=\E[5i, 
  4831.     oc=\E[60w\E[63;0w\n\E[66;1;4w\n\E[66;2;13w\n\E[66;3;16w\n\E[66;4;49w\n\E[66;5;51w\n\E[66;6;61w\n\E[66;7;64w, 
  4832.     op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, 
  4833.     rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l, 
  4834.     rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
  4835.     rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>, 
  4836.     rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, 
  4837.     setf=\E[61;%p1%dw, 
  4838.     sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  4839.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
  4840.     smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
  4841.     tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH, 
  4842.     u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, 
  4843.     u3=\E~B, u4=\E[92;76"p, u5=\E%!1\E[90;1"p, 
  4844.     vpa=\E[%i%p1%dd, 
  4845. #
  4846. #    Function key set for the ASCII (wy-50 compatible) keyboard
  4847. #    This is the default 370.
  4848. #
  4849. wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard, 
  4850.     kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
  4851.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, 
  4852.     kent=\EOM, kf1=\E[?4i, kf10=\E[21~, kf11=\E[23~, 
  4853.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  4854.     kf16=\E[29~, kf2=\E[?3i, kf3=\E[2i, kf4=\E[@, 
  4855.     kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
  4856.     kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP, 
  4857.     knp=\E[U, kpp=\E[V, use=wy370-nk,
  4858. #
  4859. #    Function key set for the VT-320 (and wy85) compatible keyboard
  4860. #
  4861. wy370-105k|Wyse 370 with 105 key keyboard, 
  4862.     ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, 
  4863.     kc3=\EOs, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  4864.     kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP, 
  4865.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  4866.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
  4867.     kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, 
  4868.     kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
  4869.     kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
  4870.     khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  4871.     kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, use=wy370-nk,
  4872. #
  4873. #    Function key set for the PC compatible keyboard
  4874. #
  4875. wy370-EPC|Wyse 370 with 102 key keyboard, 
  4876.     kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
  4877.     kcuf1=\E[C, kcuu1=\E[A, kend=\E[1~, kent=\EOM, 
  4878.     kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
  4879.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~, 
  4880.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
  4881.     kich1=\E[2~, knp=\E[U, kpp=\E[V, use=wy370-nk,
  4882. #
  4883. #    Wyse 370 with visual bell.
  4884. wy370-vb|Wyse 370 with visible bell, 
  4885.     bel@, use=wy370,
  4886. #
  4887. #    Wyse 370 in 132-column mode.
  4888. wy370-w|Wyse 370 in 132-column mode, 
  4889.     cols#132, wsl#132, 
  4890.     rs2=\E[35h\E[?3h$<70>, use=wy370,
  4891. #
  4892. #    Wyse 370 in 132-column mode with visual bell.
  4893. wy370-wvb|Wyse 370 with visible bell 132-columns, 
  4894.     flash=\E[30h\E\\\054\E[30l$<300>, use=wy370-w,
  4895. wy370-rv|Wyse 370 reverse video, 
  4896.     rs3=\E[32h\E[?5h, use=wy370,
  4897. #
  4898. #    Wyse 99gt Tektronix 4010/4014 emulator,
  4899. #
  4900. wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator, 
  4901.     am, os, 
  4902.     cols#74, lines#35, 
  4903.     bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, 
  4904.     cuf1= , 
  4905.     cup=\035%{3040}%{89}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037, 
  4906.     cuu1=^K, ff=^L, 
  4907.     hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
  4908.     home=^]7`x @\037, 
  4909.     hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
  4910.     is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h, 
  4911. #
  4912. #    Wyse 160 Tektronix 4010/4014 emulator,
  4913. #
  4914. wy160-tek|Wyse 160 Tektronix 4010/4014 emulator, 
  4915.     cup=\035%{3103}%{91}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037, 
  4916.     home=^]8`g @\037, use=wy99gt-tek,
  4917. #
  4918. #    Wyse 370 Tektronix 4010/4014 emulator,
  4919. #
  4920. wy370-tek|Wyse 370 Tektronix 4010/4014 emulator, 
  4921.     am, os, 
  4922.     cols#80, lines#36, 
  4923.     bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, 
  4924.     cuf1= , 
  4925.     cup=\035%{775}%{108}%p1%*%{5}%/%-%Py\n%p2%{64}%*%{4}%+%{5}%/%Px\n%gy%{32}%/%{31}%&%{32}%+%c\n%gy%{31}%&%{96}%+%c\n%gx%{32}%/%{31}%&%{32}%+%c\n%gx%{31}%&%{64}%+%c\037, 
  4926.     cuu1=^K, ff=^L, 
  4927.     hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
  4928.     home=^]8g @\037, 
  4929.     hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
  4930.     is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, 
  4931.     kcuu1=^K, nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0, 
  4932.  
  4933. # Vendor-supplied Wyse entries end here.
  4934.  
  4935. # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
  4936. # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
  4937. # file and we don't know what <hts> is -- esr)
  4938. wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on, 
  4939.     am, 
  4940.     cols#80, it#8, lines#24, 
  4941.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  4942.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW, 
  4943.     dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, 
  4944.     ind=^J, is2=\E`\072\E`9\017\Er, kbs=^H, kcub1=^U, 
  4945.     kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, ll=^A^Z, 
  4946.     nel=^M^J, rmir=\Er, rmso=^O, rmul=^O, 
  4947.     rs1=\E`\072\E`9\017\Er, smir=\Eq, smso=^N, smul=^N, 
  4948.  
  4949. wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad, 
  4950.     is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=, 
  4951.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  4952.     kcuu1=\EOA, khome=\EOH, rmkx=\E[?1l\E>$<10/>, 
  4953.     smkx=\E[?1h\E=$<10/>, use=wy75,
  4954.  
  4955. # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
  4956. wy100q|Wyse 100 for Quotron, 
  4957.     cols#80, lines#24, xmc#1, 
  4958.     cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L, 
  4959.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  4960.     dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, 
  4961.     is2=\E`\072\200\EC\EDF\E0\E'\E(\EA21, kcub1=^H, 
  4962.     kcud1=^J, kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, 
  4963.     rmso=\EG0, rmul=\EG0, smir=\Eq, smso=\EG4, 
  4964.     smul=\EG8, 
  4965.  
  4966. #### Kermit terminal emulations
  4967. #
  4968. # Obsolete Kermit versions may be listed in the section describing obsolete
  4969. # non-ANSI terminal emulators later in the file.
  4970. #
  4971.  
  4972. # KERMIT standard all versions.
  4973. # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
  4974. # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
  4975. # From: greg small <gts@populi.berkeley.edu> 9-25-84
  4976. kermit|standard kermit, 
  4977.     cols#80, lines#24, 
  4978.     clear=\EE, cub1=^H, cuf1=\EC, 
  4979.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  4980.     el=\EK, home=\EH, 
  4981.     is2=K0 Standard Kermit  9-25-84\n, kcub1=^H, 
  4982.     kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
  4983. kermit-am|standard kermit plus auto-margin, 
  4984.     am, 
  4985.     is2=K1 Standard Kermit plus Automatic Margins\n, use=kermit,
  4986. # IBMPC Kermit 1.2.
  4987. # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
  4988. # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
  4989. # line).
  4990. # From: greg small <gts@populi.berkeley.edu> 8-30-84
  4991. pckermit|pckermit12|UCB IBMPC Kermit 1.2, 
  4992.     am, 
  4993.     lines#25, 
  4994.     clear=\EH\EJ, ed@, el@, 
  4995.     is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit,
  4996. # IBMPC Kermit 1.20
  4997. # Cannot use line 25, now acts funny like ansi special scrolling region.
  4998. # Initialization must escape from that region by cursor position to line 24.
  4999. # Cannot use character insert because 1.20 goes crazy if insert at col 80.
  5000. # Does not use :am: because autowrap is lost when kermit dropped and restarted.
  5001. # From: greg small <gts@populi.berkeley.edu> 12-19-84
  5002. pckermit120|UCB IBMPC Kermit 1.20, 
  5003.     it#8, lines#24, 
  5004.     cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, 
  5005.     ht=^I, il1=\EL, 
  5006.     is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n, 
  5007.     rmir@, rmso=\Eq, smir@, smso=\Ep, use=kermit,
  5008. # MS-DOS Kermit 2.27 for the IBMPC
  5009. # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
  5010. # Cannot use line 25, now acts funny like ansi special scrolling region.
  5011. # Initialization must escape from that region by cursor position to line 24.
  5012. # Does not use am: because autowrap is lost when kermit dropped and restarted.
  5013. # Reverse video for standout like H19.
  5014. # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
  5015. # From: greg small <gts@populi.berkeley.edu> 3-17-85
  5016. msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC, 
  5017.     am@, 
  5018.     cols#80, it#8, lines#24, 
  5019.     clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
  5020.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  5021.     cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, 
  5022.     el=\EK, home=\EH, ht=^I, il1=\EL, 
  5023.     is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n, 
  5024.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
  5025.     rc=\Ek, rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, 
  5026.     smso=\Ep, 
  5027. # MS-DOS Kermit 2.27 with automatic margins
  5028. # From:    greg small <gts@populi.berkeley.edu> 3-17-85
  5029. msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins, 
  5030.     am, 
  5031.     cvvis=\EO\Eq\EG\EvK5, 
  5032.     is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n, use=msk227,
  5033. # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
  5034. # Automatic margins now default.  Use ansi <sgr> for highlights.
  5035. # Define function keys.
  5036. # (msk22714: removed obsolete ":kn#10:" -- esr)
  5037. # From: greg small <gts@populi.berkeley.edu> 3-17-85
  5038. msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC, 
  5039.     am, 
  5040.     bold=\E[1m, cvvis=\EO\Eq\EG\EvK6, 
  5041.     is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n, 
  5042.     kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, 
  5043.     kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, 
  5044.     rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  5045.     smso=\E[1m, smul=\E[4m, use=mskermit227,
  5046. # This was designed for a VT320 emulator, but it is probably a good start
  5047. # at support for the VT320 itself.
  5048. # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
  5049. # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
  5050. vt320-k3|MS-Kermit 3.00's vt320 emulation, 
  5051.     am, eslok, hs, km, mir, msgr, xenl, 
  5052.     cols#80, it#8, lines#49, pb#9600, vt#3, 
  5053.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  5054.     clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M, 
  5055.     csr=\E[%i%p1%d;%p1%dr, cub=\E[%p1%dD, cub1=^H, 
  5056.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  5057.     cup=\E[%i%p1%d;%p1%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  5058.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  5059.     dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
  5060.     flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l, 
  5061.     fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, 
  5062.     hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
  5063.     ind=^J, is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, 
  5064.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  5065.     kdl1=\E[3~, kf0=\E[21~, kf1=\EOP, kf2=\EOQ, 
  5066.     kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
  5067.     kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~, 
  5068.     kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
  5069.     nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rin=\E[%p1%dL, 
  5070.     rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
  5071.     rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
  5072.     rs1=\E(B\E)B\E>\E F\E[4;20l\E[12h\E[?1;5;6;38;42l\E[?7;25h\E4i\E?4i\E[m\E[r\E[2$~, 
  5073.     sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, 
  5074.     smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  5075.     tbc=\E[3g, tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd, 
  5076. # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
  5077. # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
  5078. vt320-k311|dec vt320 series as defined by kermit 3.11, 
  5079.     am, eslok, hs, mir, msgr, xenl, xon, 
  5080.     cols#80, it#8, lines#24, vt#3, 
  5081.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  5082.     clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M, 
  5083.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  5084.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  5085.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  5086.     cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, 
  5087.     dl=\E[%p1%dM, dl1=\E[M, 
  5088.     dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
  5089.     flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, 
  5090.     hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
  5091.     il1=\E[L$<3/>, ind=\ED, 
  5092.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  5093.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  5094.     kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  5095.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  5096.     lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, nel=^M\ED, 
  5097.     rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, 
  5098.     ri=\EM, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, 
  5099.     rmso=\E[27m, rmul=\E[24m, rs1=\E[?3l, sc=\E7, 
  5100.     sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
  5101.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  5102.     tsl=\E[2$~\E[1$}\E[1;%dH, 
  5103.  
  5104. ######## NON-ANSI TERMINAL EMULATIONS
  5105. #
  5106.  
  5107. #### Avatar
  5108. #
  5109. # These entries attempt to describe Avatar, a terminal emulation used with
  5110. # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
  5111. # capabilities, but with cheaper (shorter) control sequences.  Messy design,
  5112. # excessively dependent on PC idiosyncracies, but apparently rather popular
  5113. # in the BBS world.
  5114. #
  5115. # No color support.  Avatar doesn't fit either of the Tektronix or HP color
  5116. # models that terminfo knows about.  An Avatar color attribute is the
  5117. # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
  5118. #
  5119. # I wrote these entries while looking at the Avatar spec.  I don't have
  5120. # the facilities to test them.  Let me know if they work, or don't.
  5121. #
  5122. # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
  5123. # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
  5124. # tell ncurses that the corresponding highlights exist; it should use <sgr>,
  5125. # which is the only method that will actually work for multiple highlights.)
  5126. avatar0|avatar terminal emulator level 0, 
  5127.     am, bce, msgr, 
  5128.     cols#80, it#8, lines#25, 
  5129.     blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, 
  5130.     cud1=^V^D, cuf1=^V^F, cup=\026\010%p1%c%p2%c, 
  5131.     cuu1=^V^C, el=^V^G, ind=^J, invis=^V^A\200, 
  5132.     rep=\031%p1%c%p2%d, rev=^A^Vp, rs2=^L, 
  5133.     sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;, 
  5134.     sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A, use=klone+acs,
  5135. # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
  5136. avatar0+|avatar terminal emulator level 0+, 
  5137.     dch1=^V^N, rmir=\026\n\200\200\200\200, smir=^V^I, use=avatar0,
  5138. # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
  5139. avatar|avatar1|avatar terminal emulator level 1, 
  5140.     civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, 
  5141.     il1=^V+, rmam=^V", rmir=^V^P, smam=^V$, use=avatar0+,
  5142.  
  5143. ######## OLDER TERMINAL TYPES
  5144. #
  5145. # This section is devoted to older commercial terminal brands that are now
  5146. # discontinued, but known to be still in use or represented by emulations.
  5147. #
  5148.  
  5149. #### AT&T (att, tty)
  5150. #
  5151. # This section also includes Teletype-branded VDTs.
  5152. #
  5153. # The AT&T/Teletype terminals group was sold to SunRiver Data Systems; for
  5154. # details, see the header comment on the ADDS section.
  5155. #
  5156. # These are AT&T's official terminfo entries.  All-caps aliases have been
  5157. # removed.
  5158. #
  5159. att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode, 
  5160.     am, eo, mir, msgr, xon, 
  5161.     cols#80, it#8, lines#24, 
  5162.     bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, 
  5163.     cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
  5164.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  5165.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  5166.     dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, 
  5167.     ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
  5168.     ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J, kcub1=\E[D, 
  5169.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
  5170.     kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r, 
  5171.     kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r, 
  5172.     kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, 
  5173.     kf5=\E[5r, kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, 
  5174.     kf9=\E[9r, khome=\E[H, kich1=\E[@, kil1=\E[L, 
  5175.     mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rev=\E[7m, 
  5176.     rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h, 
  5177.     smso=\E[7m, 
  5178. att2350|AT&T 2350 Video Information Terminal 80 column mode, 
  5179.     mc0@, mc4@, mc5@, use=att2300,
  5180.  
  5181. # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
  5182. # Seems upward compatible with vt100, plus ins/del line/char.
  5183. # On sgr, the protection parameter is ignored.
  5184. # No check is made to make sure that only 3 parameters are output.
  5185. #     standout= reverse + half-intensity = 3 | 5.
  5186. #     bold= reverse + underline = 2 | 3.
  5187. # note that half-bright blinking doesn't look different from normal blinking.
  5188. # NOTE:you must program the function keys first, label second!
  5189. # (att4410: a BSD entry has been seen with the following capabilities: 
  5190. # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
  5191. # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
  5192. att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1, 
  5193.     am, hs, mir, msgr, xon, 
  5194.     cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, 
  5195.     wsl#80, 
  5196.     acsc=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--\\\054\\\054.., 
  5197.     bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, 
  5198.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, 
  5199.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  5200.     dch1=\E[P, dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K, 
  5201.     fsl=\E8, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
  5202.     ind=^J, invis=\E[8m, is1=\E[?3l\E)0, 
  5203.     is3=\E[1;03q   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW, 
  5204.     kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
  5205.     kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
  5206.     kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, 
  5207.     kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H, 
  5208.     nel=^M^J, 
  5209.     pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s, 
  5210.     pln=\E[%p1%d;00q%p2%\072-16s, rc=\E8, rev=\E[7m, 
  5211.     ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, 
  5212.     rs2=\Ec\E[?3l\E[2;0y, sc=\E7, 
  5213.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  5214.     sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
  5215.     tsl=\E7\E[25;%p1%{1}%+%dH, 
  5216.  
  5217. att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1, 
  5218.     cols#132, wsl#132, 
  5219.     is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1,
  5220.  
  5221. att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2, 
  5222.     pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s, use=att5410v1,
  5223.  
  5224. att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode, 
  5225.     cols#132, wsl#132, 
  5226.     is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410,
  5227.  
  5228. # 5410 in terms of a vt100
  5229. # (v5410: added <rmam>/<smam> based on init string -- esr)
  5230. v5410|5410 in terms of a vt100, 
  5231.     am, mir, msgr, xon, 
  5232.     cols#80, it#8, lines#24, vt#3, 
  5233.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  5234.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  5235.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  5236.     cub1=^H, cud1=^J, cuf1=\E[C$<2>, 
  5237.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, 
  5238.     dch1=\E[P, dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, 
  5239.     el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, 
  5240.     hts=\EH, ich1=\E[@, il1=\E[L, ind=^J, ka1=\EOq, 
  5241.     ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, 
  5242.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  5243.     kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, 
  5244.     kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
  5245.     kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, 
  5246.     ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, 
  5247.     rmso=\E[m$<2>, rmul=\E[m$<2>, 
  5248.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  5249.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  5250.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, 
  5251.     smkx=\E[?1h\E=, smso=\E[1;7m$<2>, smul=\E[4m$<2>, 
  5252.     tbc=\E[3g, 
  5253.  
  5254. # Teletype Model 5420 -- A souped up 5410, with multiple windows,
  5255. # even! the 5420 has three modes: scroll, window or page mode
  5256. # this terminfo should work in scroll or window mode, but doesn't
  5257. # take advantage of any of the differences between them.
  5258. #
  5259. # Has memory below (2 lines!)
  5260. # 3 pages of memory (plus some spare)
  5261. # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
  5262. # <hpa>, <hts> would work for these, but these work in both scroll and window
  5263. # mode... Unset insert character so insert mode works
  5264. # <is1> sets 80 column mode,
  5265. # <is2> escape sequence:
  5266. # 1) turn off all fonts
  5267. # 2) function keys off, keyboard lock off, control display off,
  5268. #    insert mode off, erasure mode off,
  5269. # 3) full duplex, monitor mode off, send graphics off, nl on lf off
  5270. # 4) reset origin mode
  5271. # 5) set line wraparound
  5272. # 6) exit erasure mode, positional attribute mode, and erasure extent mode
  5273. # 7) clear margins
  5274. # 8) program ENTER to transmit ^J,
  5275. # We use \212 to program the ^J because a bare ^J will get translated by
  5276. # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
  5277. #     1      2            3              4     5     6    7  8
  5278. # <is3> set screen color to black,
  5279. # No representation in terminfo for the delete word key: kdw1=\Ed
  5280. # Key capabilities assume the power-up send sequence...
  5281. # This <rmcup> is not strictly necessary, but it helps maximize 
  5282. # memory usefulness: <rmcup=\Ez>,
  5283. # Alternate sgr0:    <sgr0=\E[m\EW^O>,
  5284. # Alternate sgr:    <sgr=\E[%?%p1%t2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t^N%e^O%;>,
  5285. # smkx programs the SYS PF keys to send a set sequence.
  5286. # It also sets up labels f1, f2, ..., f8, and sends edit keys.
  5287. # This string causes them to send the strings <kf1>-<kf8>
  5288. # when pressed in SYS PF mode.
  5289. # (att4415: I added <rmam>/<smam> based on the init string -- esr)
  5290. att4415|tty5420|att5420|AT&T 4415/5420 80 cols, 
  5291.     db, mir, xon, 
  5292.     lh#2, lm#78, lw#8, nlab#8, wsl#55, 
  5293.     cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, 
  5294.     cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
  5295.     cup=\E[%i%p1%d;%p2%dx, cuu=\E[%p1%dA, 
  5296.     cvvis=\E[11;1j, dch=\E[%p1%dP, dl=\E[%p1%dM, 
  5297.     ech=\E[%p1%ds\E[%p1%dD, flash=\E[?5h$<200>\E[?5l, 
  5298.     home=\E[x, hpa=\E[%p1%{1}%+%dG, hts=\EH, 
  5299.     ich=\E[%p1%d@, ich1@, il=\E[%p1%dL, indn=\E[%p1%dE, 
  5300.     is1=\E[?3l$<100>, 
  5301.     is2=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212, 
  5302.     is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, 
  5303.     kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, 
  5304.     kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
  5305.     kf6=\EOh, kf7=\EOi, kf8=\EOj, kich1=\E[4h, 
  5306.     kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, kpp=\E[V, 
  5307.     kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
  5308.     lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, 
  5309.     mc4=\E[?9i, mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt, 
  5310.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s, 
  5311.     pln=\E[%p1%d;0;0;0q%p2%\072-16.16s, prot=\EV, 
  5312.     rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l, 
  5313.     rmkx=\E[19;0j\E[21;1j\212, rmln=\E|, 
  5314.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  5315.     sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h, 
  5316.     smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g, 
  5317.     tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, use=att4410,
  5318.  
  5319. att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols, 
  5320.     cols#132, lm#54, wsl#97, 
  5321.     is1=\E[?3h$<100>, use=att4415,
  5322.  
  5323. att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv, 
  5324.     flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, use=att4415,
  5325.  
  5326. att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv, 
  5327.     cols#132, lm#54, wsl#97, 
  5328.     flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, 
  5329.     is3=\E[?5h, use=att4415,
  5330.  
  5331. # Note that this mode permits programming USER PF KEYS and labels
  5332. # However, when you program user pf labels you have to reselect
  5333. # user pf keys to make them appear! 
  5334. att4415+nl|4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels, 
  5335.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
  5336.     pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s, 
  5337.     pln=\E[%p1%d;0;0;1q%p2%\072-16.16s, 
  5338.  
  5339. att4415-nl|4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels, 
  5340.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,use=att4415,
  5341.  
  5342. att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels, 
  5343.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,use=att4415-rv,
  5344.  
  5345. att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels, 
  5346.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,use=att4415-w,
  5347.  
  5348. att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels, 
  5349.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,use=att4415-w-rv,
  5350.  
  5351. att5420_2|AT&T 5420 model 2 80 cols, 
  5352.     am, db, hs, mir, msgr, xon, 
  5353.     cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, 
  5354.     wsl#55, 
  5355.     blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, 
  5356.     cnorm=\E[11;0j, cr=\EG, csr=\E[%i%p1%d;%p2%dr, 
  5357.     cub=\E[%p1%dD, cub1=^H, cud1=\E[1B, cuf=\E[%p1%dC, 
  5358.     cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  5359.     cvvis=\E[11;1j, dch=\E[%p1%dP, dch1=\E[P, 
  5360.     dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
  5361.     ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K, 
  5362.     el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, 
  5363.     home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, 
  5364.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
  5365.     ind=^J, indn=\E[%p1%dE, invis=\E[8m, 
  5366.     is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;0j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, 
  5367.     kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, 
  5368.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  5369.     kdch1=\E[P, kdl1=\E[M, kel=\E[2K, kend=\Ez, 
  5370.     kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, 
  5371.     kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H, 
  5372.     kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, 
  5373.     knp=\E[U, kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, 
  5374.     lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, 
  5375.     ll=\Ew, mc0=\E[?;2i, mc4=\E[4i, mc5=\E[5i, 
  5376.     mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J, 
  5377.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~, 
  5378.     pln=\E[%p1%d;0;0;0q%p2%\072-16.16s\E~, prot=\EV, 
  5379.     rc=\E8, rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, 
  5380.     rmkx=\E[19;0j, rmln=\E|, rmso=\E[m, rmul=\E[m, 
  5381.     rs2=\Ec\E[?3l\E[2;0y, sc=\E7, 
  5382.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  5383.     sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~, 
  5384.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  5385.     tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
  5386. att5420_2-w|AT&T 5420 model 2 in 132 column mode, 
  5387.     cols#132, 
  5388.     is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;1j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, use=att5420_2,
  5389.  
  5390. att4418|att5418|AT&T 5418 80 cols, 
  5391.     am, xon, 
  5392.     cols#80, lines#24, 
  5393.     bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, 
  5394.     cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
  5395.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  5396.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, 
  5397.     dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
  5398.     ed=\E[0J, el=\E[0K, home=\E[H, ich=\E[%p1%d@, 
  5399.     ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J, 
  5400.     is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%, 
  5401.     kcub1=\E@, kcud1=\EU, kcuf1=\EA, kcuu1=\ES, 
  5402.     kent=\E[, kf1=\E[h, kf10=\E[m, kf11=\E[n, 
  5403.     kf12=\E[o, kf13=\E[H, kf14=\E[I, kf15=\E[J, 
  5404.     kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E, 
  5405.     kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, 
  5406.     kf3=\E[j, kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, 
  5407.     khome=\Ec, rc=\E8, rev=\E[7m, rmacs=^O, rmso=\E[m, 
  5408.     rmul=\E[m, sc=\E7, sgr0=\E[m\017, smacs=^N, 
  5409.     smso=\E[7m, smul=\E[4m, 
  5410. att4418-w|att5418-w|AT&T 5418 132 cols, 
  5411.     cols#132, 
  5412.     is1=\E[?3h, use=att5418,
  5413.  
  5414. att4420|tty4420|teletype 4420, 
  5415.     da, db, eo, msgr, ul, xon, 
  5416.     cols#80, lines#24, lm#72, 
  5417.     bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, 
  5418.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  5419.     cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\Ez, 
  5420.     home=\EH, il1=\EL, ind=\EH\EM\EY7 , kcbt=\EO, 
  5421.     kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC, 
  5422.     kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, 
  5423.     khome=\EH, kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET, 
  5424.     lf0=segment advance, lf3=cursor tab, rmdc@, 
  5425.     rmso=\E~, rmul=\EZ, smdc@, smso=\E}, smul=\E\\, 
  5426.  
  5427. #  The following is a termcap entry for the Teletype 4424
  5428. #  asynchronous keyboard-display terminal.  It supports
  5429. #  the vi editor.  The terminal must be "set up" as follows,
  5430. #     
  5431. #     HIGHLIGHT DEFINITION    3-TONE
  5432. #     DISPLAY FUNCTION    GROUP III
  5433. #     
  5434. #  The second entry below provides limited (a la adm3a)
  5435. #  operation under GROUP II.
  5436. #     
  5437. #  This must be used with DISPLAY FUNCTION GROUP I or III
  5438. #     and HIGHLIGHT DEFINITION 3-TONE
  5439. # The terminal has either bold or blink, depending on options
  5440. #
  5441. att4424|tty4424|teletype 4424, 
  5442.     am, xon, 
  5443.     cols#80, lines#24, 
  5444.     bel=^G, blink=\E3, bold=\E3, cbt=\EO, 
  5445.     clear=\E[H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  5446.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB, 
  5447.     cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH, 
  5448.     cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP, 
  5449.     dim=\EW, dl=\E[%p1%dM, dl1=\EM, ed=\EJ, el=\Ez, 
  5450.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  5451.     ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, 
  5452.     is2=\E[20l\E[?7h, kbs=^H, kclr=\EJ, kcub1=\E[D, 
  5453.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
  5454.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, nel=\EE, 
  5455.     rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~, rmul=\EZ, 
  5456.     sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m, 
  5457.     sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smcup=\E[1m, 
  5458.     smso=\E}, smul=\E\\, tbc=\EF, 
  5459.  
  5460. att4424-1|tty4424-1|teletype 4424 in display function group I, 
  5461.     kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  5462.     khome@, use=att4424,
  5463.  
  5464. # This entry is not one of AT&T's official ones, it was translated from the
  5465. # 4.4BSD termcap file.  The highlight strings are different from att4424.
  5466. # I have no idea why this is -- older firmware version, maybe?
  5467. # The following two lines are the comment originally attached to the entry:
  5468. # This entry appears to avoid the top line - I have no idea why.
  5469. # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
  5470. att4424m|tty4424m|teletype 4424M, 
  5471.     am, da, db, mir, 
  5472.     cols#80, it#8, lines#23, 
  5473.     bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, 
  5474.     cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, 
  5475.     dch1=\EP, dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, 
  5476.     il1=\EL, ind=^J, ip=$<2/>, is2=\E[m\E[2;24r, 
  5477.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  5478.     kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  5479.     khome=\E[H, nel=^M^J, ri=\ET, rmir=, rmso=\E[m, 
  5480.     rmul=\E[m, smir=, smso=\E[7m, smul=\E[4m, 
  5481.  
  5482. # The Teletype 5425 is really version 2 of the Teletype 5420. It 
  5483. # is quite similar, except for some minor differences. No page 
  5484. # mode, for example, so all of the <cup> sequences used above have 
  5485. # to change back to what's being used for the 5410. Many of the 
  5486. # option settings have changed their numbering as well.
  5487. # This has been tested on a preliminary model.
  5488. #
  5489. # (att5425: added <rmam>/<smam> based on the init string -- esr)
  5490. att5425|tty5425|att4425|AT&T 4425/5425, 
  5491.     am, da, db, hs, mir, msgr, xenl, xon, 
  5492.     cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, 
  5493.     wsl#55, 
  5494.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  5495.     bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
  5496.     clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M, 
  5497.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  5498.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  5499.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  5500.     cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, 
  5501.     dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
  5502.     ech=\E[%p1%ds\E[%p1%dD, ed=\E[J, el=\E[K, 
  5503.     el1=\E[1K, enacs=\E(B\E)0, 
  5504.     flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
  5505.     hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  5506.     il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
  5507.     invis=\E[8m, is1=\E<\E[?3l$<100>, 
  5508.     is2=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[25;1j\212, 
  5509.     is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
  5510.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  5511.     kdch1=\E[P, kdl1=\E[M, kel=\E[2K, kend=\Ez, 
  5512.     kent=\Eent, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, 
  5513.     kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H, 
  5514.     kich1=\E[4h, kil1=\E[L, kind=\E[T, kri=\E[S, 
  5515.     ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i, 
  5516.     nel=^M^J, 
  5517.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
  5518.     pln=\E[%p1%d;0;0;0q%p2%\072-16.16s, prot=\EV, 
  5519.     rc=\E8, rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, 
  5520.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, 
  5521.     rmln=\E|, rmso=\E[m, rmul=\E[m, 
  5522.     rs2=\Ec\E[?3l\E[2;0y, sc=\E7, 
  5523.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  5524.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  5525.     smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, 
  5526.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  5527.     tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
  5528.  
  5529. att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels, 
  5530.     smkx=\E[21;1j\E[25;4j\Eent, use=att4425,
  5531.  
  5532. att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode, 
  5533.     cols#132, lm#54, wsl#97, 
  5534.     is1=\E[?3h$<100>, use=tty5425,
  5535.  
  5536. # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:. 
  5537. # I also added <rmam>/<smam> -- esr)
  5538. att4426|tty4426|teletype 4426S, 
  5539.     am, da, db, xon, 
  5540.     cols#80, lines#24, lm#48, 
  5541.     bel=^G, bold=\E[5m, 
  5542.     clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V, cr=^M, 
  5543.     cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
  5544.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  5545.     cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP, 
  5546.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, 
  5547.     home=\E[H, hpa=\E[%p1%dG, ht=^I, hts=\E1, 
  5548.     ich=\E[%p1%d@, ich1=\E\^, il=\E[%p1%dL, il1=\EL, 
  5549.     ind=^J, indn=\E[%p1%dS, is1=\Ec\E[?7h, 
  5550.     is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO, kclr=\E[2J, 
  5551.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  5552.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, 
  5553.     kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, 
  5554.     kll=\E[24;1H, ll=\E[24H, nel=^M^J, rc=\E8, 
  5555.     rev=\E[7m, ri=\ET, rin=\E[%p1%dT, rmacs=\E(B, 
  5556.     rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
  5557.     rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, 
  5558.     smacs=\E(0, smam=\E[?7h, smso=\E[5m, smul=\E[4m, 
  5559.     tbc=\E[3g, vpa=\E[%p1%dd, 
  5560.  
  5561. # Terminfo entry for the AT&T 510 A Personal Terminal
  5562. # Function keys 9 - 16 are available only after the 
  5563. # screen labeled (soft keys/action blocks) are labeled.  Function key
  5564. # 9 corresponds to the leftmost touch target on the screen,
  5565. # function key 16 corresponds to the rightmost.
  5566. #
  5567. # This entry is based on one done by Ernie Rice at Summit, NJ and
  5568. # changed by Anne Gallup, Skokie, IL, ttrdc!anne
  5569. att510a|510a|bct510a|510A|AT&T 510A Personal Terminal, 
  5570.     am, mir, msgr, xenl, xon, 
  5571.     cols#80, lh#2, lines#24, lw#7, nlab#8, 
  5572.     acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\\\054h.e+g`b, 
  5573.     bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
  5574.     civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, 
  5575.     cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, 
  5576.     cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[C, 
  5577.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  5578.     cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P, 
  5579.     dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, 
  5580.     el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, 
  5581.     home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, 
  5582.     ind=^J, is1=\E(B\E)1\E[2l, is3=\E[21;1|\212, 
  5583.     kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, 
  5584.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  5585.     kf1=\EOm, kf10=\EOd, kf11=\EOe, kf12=\EOf, 
  5586.     kf13=\EOg, kf14=\EOh, kf15=\EOi, kf16=\EOj, 
  5587.     kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf, 
  5588.     kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, 
  5589.     mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE, 
  5590.     pln=\E[%p1%dp%p2%\072-16s, rc=\E8, rev=\E[7m, 
  5591.     ri=\EM, rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, 
  5592.     rmul=\E[m, sc=\E7, 
  5593.     sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;, 
  5594.     sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m, 
  5595.     smul=\E[4m, tbc=\E[3g, 
  5596.  
  5597. # Terminfo entry for the AT&T 510 D Personal Terminal
  5598. # Function keys 9 through 16 are accessed by bringing up the
  5599. # system blocks.
  5600. # Function key 9 corresponds to the leftmost touch target on the screen,
  5601. # function key 16 corresponds to the rightmost.
  5602. #
  5603. # There are problems with soft key labeling.  These are due to 
  5604. # strangenesses in the native terminal that are impossible to
  5605. # describe in a terminfo.  
  5606. att510d|510d|bct510d|510D|AT&T 510D Personal Terminal, 
  5607.     am, da, db, mir, msgr, xenl, xon, 
  5608.     cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8, 
  5609.     acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\\\054h.e+g`b, 
  5610.     bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
  5611.     clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, 
  5612.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, 
  5613.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  5614.     cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, 
  5615.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
  5616.     dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E[1K, 
  5617.     enacs=\E(B\E)1, ff=^L, home=\E[H, 
  5618.     hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  5619.     il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
  5620.     invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212, 
  5621.     kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, 
  5622.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  5623.     kf1=\EOm, kf10=\EOd, kf11=\EOe, kf12=\EOf, 
  5624.     kf13=\EOg, kf14=\EOh, kf15=\EOi, kf16=\EOj, 
  5625.     kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf, 
  5626.     kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, 
  5627.     ll=\E#2, mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, 
  5628.     mgc=\E\072, nel=\EE, pln=\E[%p1%dp%p2%\072-16s, 
  5629.     rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
  5630.     ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, 
  5631.     rmkx=\E[19;0|, rmln=\E<, rmso=\E[m, rmul=\E[m, 
  5632.     rmxon=\E[29;1|, rs2=\E[5;0|, sc=\E7, 
  5633.     sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  5634.     sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, 
  5635.     smir=\E[4h, smkx=\E[19;1|, smln=\E?, smso=\E[7m, 
  5636.     smul=\E[4m, smxon=\E[29;0|, tbc=\E[3g, 
  5637.     vpa=\E[%p1%{1}%+%dd, 
  5638.  
  5639. # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
  5640. att500|att513|500bct|513bct|AT&T 513 using page mode, 
  5641.     am, chts, mir, msgr, xenl, xon, 
  5642.     cols#80, lh#2, lines#24, lw#8, nlab#8, 
  5643.     acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\\\054h.e+g`b, 
  5644.     bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
  5645.     clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M, 
  5646.     csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  5647.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  5648.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  5649.     cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, 
  5650.     dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  5651.     el=\E[K, el1=\E[1K, enacs=\E(B\E)1, home=\E[H, 
  5652.     hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  5653.     il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
  5654.     invis=\E[8m, 
  5655.     is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l, 
  5656.     kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, 
  5657.     kCRT=\EON, kDC=\ENF, kDL=\ENE, kEND=\ENN, 
  5658.     kEOL=\EOA, kEXT=\EOK, kFND=\EOX, kHLP=\EOM, 
  5659.     kHOM=\ENM, kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, 
  5660.     kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ, 
  5661.     kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, 
  5662.     kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, 
  5663.     kbeg=\E9, kbs=^H, kcan=\EOw, kcbt=\E[Z, kclo=\EOV, 
  5664.     kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
  5665.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  5666.     kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, 
  5667.     kent=\Eent, kext=\EOk, kf1=\EOc, kf2=\EOd, 
  5668.     kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, 
  5669.     kf8=\EOj, kfnd=\EOx, khlp=\EOm, khome=\E[H, 
  5670.     kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi, 
  5671.     kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, 
  5672.     kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, 
  5673.     krdo=\EOt, kref=\EOb, kres=\EOq, krfr=\ENa, 
  5674.     kri=\E[T, krpl=\EOy, krst=\EOB, ksav=\EOo, 
  5675.     kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2, 
  5676.     mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, 
  5677.     mc5=\E[?98l\E[?4i, nel=\EE, 
  5678.     pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s, 
  5679.     pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s, 
  5680.     pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s, 
  5681.     pln=\E[%p1%dp%p2%\072-16s, rc=\E8, 
  5682.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
  5683.     rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l, 
  5684.     rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m, 
  5685.     rmul=\E[m, 
  5686.     rs1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l\E[2;0|\E[6;1|\E[8;0|\E[19;0|\E[1{\E[?99l, 
  5687.     rs2=\E[5;0|, sc=\E7, 
  5688.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  5689.     sgr0=\E[m\017, smacs=^N, smir=\E[4h, 
  5690.     smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m, 
  5691.     smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
  5692.  
  5693. # 01-07-88
  5694. # printer must be set to EMUL ANSI to accept ESC codes
  5695. # <cuu1> stops at top margin
  5696. # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
  5697. #    and alt font ascii,wrap on,tabs cleared
  5698. # <is2> disables newline on LF,Emphasized off
  5699. # The <u0> capability sets form length
  5700. att5310|att5320|AT&T Model 53210 or 5320 matrix printer, 
  5701.     xhpa, xvpa, 
  5702.     bufsz#8192, cols#132, cps#120, it#8, lines#66, 
  5703.     orc#10, orhi#100, orl#12, orvi#72, 
  5704.     cpi=%?%p1%{10}%=%t\E[w%e%p1%{12}%=%t\E[2w%e%p1%{5}%=%t\E[5w%e%p1%{13}%=%p1%{14}%=%O%t\E[3w%e%p1%{16}%=%p1%{17}%=%O%t\E[4w%e%p1%{6}%=%t\E[6w%e%p1%{7}%=%t\E[7w%e%p1%{8}%=%t\E[8w%;, 
  5705.     cr=^M, 
  5706.     csnm=%?%p1%{0}%=%tusascii%e%p1%{1}%=%tenglish%e%p1%{2}%=%tfinnish%e%p1%{3}%=%tjapanese%e%p1%{4}%=%tnorwegian%e%p1%{5}%=%tswedish%e%p1%{6}%=%tgermanic%e%p1%{7}%=%tfrench%e%p1%{8}%=%tcanadian_french%e%p1%{9}%=%titalian%e%p1%{10}%=%tspanish%e%p1%{11}%=%tline%e%p1%{12}%=%tsecurity%e%p1%{13}%=%tebcdic%e%p1%{14}%=%tapl%e%p1%{15}%=%tmosaic%;, 
  5707.     cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1= , 
  5708.     cuu1=\EM, ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, 
  5709.     is2=\E[20l\r, 
  5710.     lpi=%?%p1%{2}%=%t\E[4z%e%p1%{3}%=%t\E[5z%e%p1%{4}%=%t\E[6z%e%p1%{6}%=%t\E[z%e%p1%{8}%=%t\E[2z%e%p1%{12}%=%t\E[3z%;, 
  5711.     rshm=\E[m, 
  5712.     scs=%?%p1%{0}%=%t\E(B%e%p1%{1}%=%t\E(A%e%p1%{2}%=%t\E(C%e%p1%{3}%=%t\E(D%e%p1%{4}%=%t\E(E%e%p1%{5}%=%t\E(H%e%p1%{6}%=%t\E(K%e%p1%{7}%=%t\E(R%e%p1%{8}%=%t\E(Q%e%p1%{9}%=%t\E(Y%e%p1%{10}%=%t\E(Z%e%p1%{11}%=%t\E(0%e%p1%{12}%=%t\E(1%e%p1%{13}%=%t\E(3%e%p1%{14}%=%t\E(8%e%p1%{15}%=%t\E(}%;, 
  5713.     smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds, 
  5714.     smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, 
  5715.     sshm=\E[5m, u0=\E[%p1%dt, vpa=\E[%p1%dd, 
  5716.  
  5717. # 5620 terminfo  (2.0 or later ROMS with char attributes)
  5718. # assumptions: <ind> (scroll forward one line) is only done at screen bottom
  5719. # Be aware that older versions of the dmd have a firmware bug that affects
  5720. # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
  5721. # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
  5722. att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns, 
  5723.     am, npc, xon, 
  5724.     cols#88, it#8, lines#70, 
  5725.     bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H, 
  5726.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  5727.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  5728.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  5729.     home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
  5730.     il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, 
  5731.     kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
  5732.     kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, 
  5733.     nel=^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, 
  5734.     rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmso=\E[0m, 
  5735.     rmul=\E[0m, rs1=\Ec, sc=\E7, sgr0=\E[0m, 
  5736.     smso=\E[7m, smul=\E[4m, 
  5737. att5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer, 
  5738.     lines#24, use=att5620,
  5739. att5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer, 
  5740.     lines#34, use=att5620,
  5741.  
  5742. # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
  5743. #
  5744. # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
  5745. # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
  5746. att605|605bct|AT&T 605  80 column  102key keyboard, 
  5747.     am, eo, xon, 
  5748.     cols#80, lines#24, lw#8, nlab#8, wsl#80, 
  5749.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  5750.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  5751.     clear=\E[H\E[J, cr=^M, cub1=^H, cud1=\E[B, 
  5752.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  5753.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
  5754.     dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E8, 
  5755.     ht=^I, ich=\E[%p1%d@, ich1=\E[@, il1=\E[L, ind=^J, 
  5756.     invis=\E[8m, is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, 
  5757.     is2=\E[m\017, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, 
  5758.     kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
  5759.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
  5760.     kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq, 
  5761.     kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, 
  5762.     kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, 
  5763.     kf2=\EOd, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
  5764.     kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, 
  5765.     kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, 
  5766.     kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, 
  5767.     kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
  5768.     kf38=\EOu, kf39=\EOv, kf4=\EOf, kf40=\EOl, 
  5769.     kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp, 
  5770.     kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, 
  5771.     kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@, 
  5772.     kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, 
  5773.     ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
  5774.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
  5775.     pln=\E[%p1%d;0;0;0q%p2%\072-16.16s, rc=\E8, 
  5776.     rev=\E[7m, rmacs=^O, rmir=\E[4l, rmln=\E[2p, 
  5777.     rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7, 
  5778.     sgr0=\E[m\017, smacs=\E)0\016, smir=\E[4h, 
  5779.     smln=\E[p, smso=\E[7m, smul=\E[4m, 
  5780.     tsl=\E7\E[25;%i%p1%dx, 
  5781. att605-pc|605bct-pc|ATT 605 in pc term mode, 
  5782.     acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263, 
  5783.     cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
  5784.     cuu1=\E[A, dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, 
  5785.     il1=\E[L, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
  5786.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
  5787.     kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N, kf3=\E[O, 
  5788.     kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
  5789.     kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, 
  5790.     kpp=\E[I, rmsc=400\E[50;0|, 
  5791.     smsc=250\E[?11l\E[50;1|, xoffc=g, xonc=e, use=att605,
  5792. att605-w|605bct-w|AT&T 605-w 132 column 102 key keyboard, 
  5793.     cols#132, wsl#132, 
  5794.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0, use=att605,
  5795. # (att610: I added <rmam>/<smam> based on the init string.  I also
  5796. # added <indn> and <rin> because the BSD file says the 615s have them,
  5797. # and the 615 is like a 610 with a big keyboard, and most of their other
  5798. # smart terminals support the same sequence -- esr)
  5799. att610|610bct|AT&T 610; 80 column; 98key keyboard, 
  5800.     am, eslok, hs, mir, msgr, xenl, xon, 
  5801.     cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, 
  5802.     wsl#80, 
  5803.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  5804.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  5805.     civis=\E[?25l, clear=\E[H\E[J, 
  5806.     cnorm=\E[?25h\E[?12l, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  5807.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  5808.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  5809.     cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?12;25h, 
  5810.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
  5811.     dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  5812.     flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
  5813.     ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
  5814.     ind=\ED, indn=\E[%p1%dS, invis=\E[8m, 
  5815.     is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0, 
  5816.     is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, 
  5817.     kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, 
  5818.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOc, 
  5819.     kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, 
  5820.     kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
  5821.     kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
  5822.     kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, 
  5823.     mc5=\E[?5i, nel=\EE, 
  5824.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
  5825.     pln=\E[%p1%d;0;0;0q%p2%\072-16.16s, rc=\E8, 
  5826.     rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmacs=^O, 
  5827.     rmam=\E[?7l, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, 
  5828.     rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7, 
  5829.     sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  5830.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  5831.     smln=\E[p, smso=\E[7m, smul=\E[4m, 
  5832.     tsl=\E7\E[25;%i%p1%dx, 
  5833. att610-w|610bct-w|AT&T 610; 132 column; 98key keyboard, 
  5834.     cols#132, wsl#132, 
  5835.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610,
  5836.  
  5837. att610-103k|610-103k|610bct-103k|AT&T 610; 80 column; 103key keyboard, 
  5838.     kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, 
  5839.     kCRT=\EON, kDC=\ENF, kDL=\ENE, kEND=\ENN, 
  5840.     kEOL=\EOA, kEXT=\EOK, kFND=\EOX, kHLP=\EOM, 
  5841.     kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, 
  5842.     kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
  5843.     kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, 
  5844.     kbeg=\E9, kcan=\EOw, kclo=\EOV, kcmd=\EOu, 
  5845.     kcpy=\ENd, kcrt=\EOn, kdch1=\ENf, kdl1=\ENe, 
  5846.     kel=\EOa, kend=\E0, kent=^M, kext=\EOk, kf10@, 
  5847.     kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx, 
  5848.     khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, 
  5849.     kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, 
  5850.     kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, 
  5851.     krdo=\EOt, kref=\EOb, kres=\EOq, krfr=\ENa, 
  5852.     krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo, 
  5853.     kslt=\ENI, kspd=\EOp, kund=\EOs, use=att610,
  5854. att610-103k-w|610-103k-w|610bct-103k-w|AT&T 610; 132 column; 103key keyboard, 
  5855.     cols#132, wsl#132, 
  5856.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610-103k,
  5857. att615|615mt|AT&T 615; 80 column; 98key keyboard, 
  5858.     kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, 
  5859.     kf17=\EOE, kf18=\EOF, kf19=\EOG, kf20=\EOH, 
  5860.     kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, 
  5861.     kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, 
  5862.     kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
  5863.     kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, 
  5864.     kf37=\EOt, kf38=\EOu, kf39=\EOv, kf40=\EOl, 
  5865.     kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp, 
  5866.     kf45=\EOn, kf46=\EOM, use=att610,
  5867. att615-w|615-w|615mt-w|AT&T 615; 132 column; 98key keyboard, 
  5868.     kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, 
  5869.     kf17=\EOE, kf18=\EOF, kf19=\EOG, kf20=\EOH, 
  5870.     kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, 
  5871.     kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, 
  5872.     kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
  5873.     kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, 
  5874.     kf37=\EOt, kf38=\EOu, kf39=\EOv, kf40=\EOl, 
  5875.     kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp, 
  5876.     kf45=\EOn, kf46=\EOM, use=att610-w,
  5877. att615-103k|615-103k|615mt-103k|AT&T 615; 80 column; 103key keyboard, 
  5878.     kLFT=\E[ A, kRIT=\E[ @, use=att610-103k,
  5879. att615-103k-w|615-103k-w|615mt-103k-w|AT&T 615; 132 column; 103key keyboard, 
  5880.     kLFT=\E[ A, kRIT=\E[ @, use=att610-103k-w,
  5881. # (att620: I added <rmam>/<smam> based on the init string and
  5882. # <rin>/<indn> from a BSD termcap -- esr)
  5883. att620|620mtg|AT&T 620; 80 column; 98key keyboard, 
  5884.     am, eslok, hs, mir, msgr, xenl, xon, 
  5885.     cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, 
  5886.     wsl#80, 
  5887.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  5888.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  5889.     civis=\E[?25l, clear=\E[H\E[J, 
  5890.     cnorm=\E[?25h\E[?12l, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  5891.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  5892.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  5893.     cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?12;25h, 
  5894.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
  5895.     dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  5896.     flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
  5897.     ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
  5898.     ind=\ED, indn=\E[%p1%dS, invis=\E[8m, 
  5899.     is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h, 
  5900.     is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, 
  5901.     kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, 
  5902.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOc, 
  5903.     kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, 
  5904.     kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
  5905.     kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, 
  5906.     kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, 
  5907.     kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, 
  5908.     kf29=\EOP, kf3=\EOe, kf30=\EOQ, kf31=\EOR, 
  5909.     kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy, 
  5910.     kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, 
  5911.     kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
  5912.     kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, 
  5913.     kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, 
  5914.     khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H, 
  5915.     mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
  5916.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
  5917.     pln=\E[%p1%d;0;0;0q%p2%\072-16.16s, rc=\E8, 
  5918.     rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, 
  5919.     rmam=\E[?7l, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, 
  5920.     rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7, 
  5921.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  5922.     sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h, 
  5923.     smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
  5924.     tsl=\E7\E[25;%i%p1%dx, 
  5925. att620-w|620-w|620mtg-w|AT&T 620; 132 column; 98key keyboard, 
  5926.     cols#132, wsl#132, 
  5927.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620,
  5928. att620-103k|620-103k|620mtg-103k|AT&T 620; 80 column; 103key keyboard, 
  5929.     kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, 
  5930.     kCRT=\EON, kDC=\ENF, kDL=\ENE, kEND=\ENN, 
  5931.     kEOL=\EOA, kEXT=\EOK, kFND=\EOX, kHLP=\EOM, 
  5932.     kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, 
  5933.     kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
  5934.     kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, 
  5935.     kbeg=\E9, kcan=\EOw, kclo=\EOV, kcmd=\EOu, 
  5936.     kcpy=\ENd, kcrt=\EOn, kdch1=\ENf, kdl1=\ENe, 
  5937.     kel=\EOa, kend=\E0, kent=^M, kext=\EOk, kf10@, 
  5938.     kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@, 
  5939.     kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, 
  5940.     kf25@, kf26@, kf27@, kf28@, kf29@, kf30@, kf31@, 
  5941.     kf32@, kf33@, kf34@, kf35@, kf36@, kf37@, kf38@, 
  5942.     kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, 
  5943.     kf46@, kf9@, kfnd=\EOx, khlp=\EOm, kich1=\ENj, 
  5944.     kmov=\ENc, kmrk=\ENi, kmsg=\EOl, knp=\E[U, 
  5945.     knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V, 
  5946.     kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
  5947.     kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, 
  5948.     krst=\EOB, ksav=\EOo, kslt=\ENI, kspd=\EOp, 
  5949.     kund=\EOs, use=att620,
  5950.  
  5951. att620-103k-w|620-103k-w|620mtg-103k-w|AT&T 620; 132 column; 103key keyboard, 
  5952.     cols#132, wsl#132, 
  5953.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620-103k,
  5954.  
  5955. # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
  5956. att630|5630|5630DMD|630MTG|AT&T 630 windowing terminal, 
  5957.     am, da, db, mir, msgr, npc, xon, 
  5958.     cols#80, it#8, lines#60, lm#0, 
  5959.     bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, 
  5960.     cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, 
  5961.     cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  5962.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  5963.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
  5964.     dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, 
  5965.     ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
  5966.     il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m, 
  5967.     kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, 
  5968.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
  5969.     kdl1=\E[M, kent=^M, kf10=\ENp, kf11=\ENq, 
  5970.     kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\ENu, 
  5971.     kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy, 
  5972.     kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, 
  5973.     kf24=\EN~, kf9=\ENo, khome=\E[H, kich1=\E[@, 
  5974.     kil1=\E[L, mc4=\E[?4i, mc5=\E[?5i, nel=^M^J, 
  5975.     pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, 
  5976.     ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, 
  5977.     rmul=\E[m, rs2=\Ec, sc=\E7, 
  5978.     sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m, 
  5979.     sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  5980. att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines, 
  5981.     lines#24, use=att630,
  5982.  
  5983. # This entry was modified 3/13/90 by JWE.
  5984. # fixes include additions of <enacs>, correcting <rep>, and modification
  5985. # of <kHOM>.  (See comments below)
  5986. # att730 has status line of 80 chars
  5987. # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
  5988. # the <kf25> and up keys are used for shifted system Fkeys
  5989. # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is 
  5990. # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
  5991. # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
  5992. # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
  5993. # 102, 102+1, or 122 key keyboards
  5994. #       kHOM=\E[2J,
  5995. # (att730: I added <rmam>/<smam> based on the init string -- esr)
  5996. att730|730MTG|AT&T 730 windowing terminal, 
  5997.     am, da, db, eslok, hs, mir, msgr, npc, xenl, xon, 
  5998.     cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, 
  5999.     wsl#80, 
  6000.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6001.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  6002.     civis=\E[?25l, clear=\E[H\E[J, 
  6003.     cnorm=\E[?25h\E[?12l, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  6004.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  6005.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  6006.     cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?12;25h, 
  6007.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
  6008.     dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  6009.     enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8, 
  6010.     home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, 
  6011.     il1=\E[L, ind=\ED, invis=\E[8m, 
  6012.     is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B, 
  6013.     is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, 
  6014.     kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, 
  6015.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOc, 
  6016.     kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, 
  6017.     kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw, 
  6018.     kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, 
  6019.     kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~, 
  6020.     kf25=\EOC, kf26=\EOD, kf27=\EOE, kf28=\EOF, 
  6021.     kf29=\EOG, kf3=\EOe, kf30=\EOH, kf31=\EOI, 
  6022.     kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ, 
  6023.     kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, 
  6024.     kf4=\EOf, kf40=\EOV, kf41=\EOW, kf42=\EOX, 
  6025.     kf43=\EOY, kf44=\EOZ, kf45=\EO[, kf46=\EO , 
  6026.     kf47=\EO], kf48=\EO\^, kf5=\EOg, kf6=\EOh, 
  6027.     kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
  6028.     kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T, 
  6029.     mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
  6030.     pfx=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq   SYS     F%p1%\072-2d  %e;0;3q%;%p2%s, 
  6031.     pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%\072-16.16s%p2%s, 
  6032.     pln=\E[%p1%d;0;0;0q%p2%\072-16.16s, rc=\E8, 
  6033.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
  6034.     rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, 
  6035.     rmso=\E[27m, rmul=\E[24m, rmxon=\E[?21l, 
  6036.     rs2=\Ec\E[?3l, sc=\E7, 
  6037.     sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  6038.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  6039.     smln=\E[?13l, smso=\E[7m, smul=\E[4m, 
  6040.     smxon=\E[?21h, swidm=\E#6, tsl=\E7\E[;%i%p1%dx, 
  6041. att730-41|730MTG-41|AT&T 730-41 windowing terminal Version, 
  6042.     lines#41, use=att730,
  6043. att730-24|730MTG-24|AT&T 730-24 windowing terminal Version, 
  6044.     lines#24, use=att730,
  6045. att730r|730MTGr|AT&T 730 rev video windowing terminal Version, 
  6046.     flash=\E[?5l$<200>\E[?5h, 
  6047.     is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B, use=att730,
  6048. att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version, 
  6049.     lines#41, use=att730r,
  6050. att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version, 
  6051.     lines#24, use=att730r,
  6052.  
  6053. # The following represents the screen layout along with the associated
  6054. # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
  6055. # not appear on the screen but are shown to reference the bezel buttons.
  6056. # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
  6057. # position relative to the screen.
  6058. #
  6059. #
  6060. #
  6061. #      +----------------------------------------------------------------+
  6062. #      |                                                                |
  6063. # XXXX | kf0                                                       kf24 | XXXX
  6064. #      |                                                                |
  6065. #      |                                                                |
  6066. # XXXX | kf1                                                       kf23 | XXXX
  6067. #      |                                                                |
  6068. #      |                                                                |
  6069. # XXXX | kf2                                                       kf22 | XXXX
  6070. #      |                                                                |
  6071. #      |                                                                |
  6072. # XXXX | kf3                                                       kf21 | XXXX
  6073. #      |                                                                |
  6074. #      |                                                                |
  6075. # XXXX | kf4                                                       kf20 | XXXX
  6076. #      |                                                                |
  6077. #      |                                                                |
  6078. # XXXX | kf5                                                       kf19 | XXXX
  6079. #      |                                                                |
  6080. #      |                                                                |
  6081. # XXXX | kf6                                                       kf18 | XXXX
  6082. #      |                                                                |
  6083. #      |                                                                |
  6084. # XXXX |                                                                | XXXX
  6085. #      |                                                                |
  6086. #      |                                                                |
  6087. #      +----------------------------------------------------------------+
  6088. #
  6089. #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
  6090. #
  6091. # Note: XXXX represents the screen buttons
  6092. #                                                          CMD   REDRAW
  6093. #
  6094. #                                                          MAIL
  6095. #
  6096. # version 1 note: 
  6097. #    The character string sent by key 'kf26' may be user programmable
  6098. #       to send either \E[16s, or \E[26s.
  6099. #       The character string sent by key 'krfr' may be user programmable
  6100. #       to send either \E[17s, or \E[27s.
  6101. #
  6102. # Depression of the "CMD" key sends    \E!    (kcmd)
  6103. # Depression of the "MAIL" key sends   \E[26s (kf26)
  6104. # "REDRAW" same as "REFRESH" (krfr)
  6105. #
  6106. # "kf" functions adds carriage return to output string if terminal is in
  6107. # 'new line' mode.
  6108. #
  6109. # The following are functions not covered in the table above:
  6110. #
  6111. #       Set keyboard character (SKC): \EPn1;Pn2w
  6112. #                       Pn1= 0 Back Space key
  6113. #                       Pn1= 1 Break key
  6114. #                       Pn2=   Program char (hex)
  6115. #
  6116. #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
  6117. #                       Pn1=     Window number (1-39)
  6118. #                       Pn2-Pn5= Y;X;Y;X coordinates
  6119. #
  6120. #       Screen Selection (SSL): \E[Pnu
  6121. #                       Pn= Window number
  6122. #
  6123. #       Set Terminal Modes (SM): \E[Pnh
  6124. #                       Pn= 3 Graphics mode
  6125. #                       Pn= > Cursor blink
  6126. #                       Pn= < Enter new line mode
  6127. #                       Pn= = Enter reverse insert/replace mode
  6128. #                       Pn= ? Enter no scroll mode
  6129. #
  6130. #       Reset Terminal Mode (RM): \E[Pnl
  6131. #                       Pn= 3 Exit graphics mode
  6132. #                       Pn= > Exit cursor blink
  6133. #                       Pn= < Exit new line mode
  6134. #                       Pn= = Exit reverse insert/replace mode
  6135. #                       Pn= ? Exit no scroll mode
  6136. #
  6137. #       Screen Status Report (SSR): \E[Pnp
  6138. #                       Pn= 0 Request current window number
  6139. #                       Pn= 1 Request current window dimensions
  6140. #
  6141. #       Device Status Report (DSR): \E[6n    Request cursor position
  6142. #
  6143. #       Call Status Report (CSR): \E[Pnv
  6144. #                       Pn= 0 Call failed
  6145. #                       Pn= 1 Call successful
  6146. #
  6147. #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
  6148. #                       Pn1= Button number to be loaded
  6149. #                       Pn2= Character count of "string"
  6150. #                       Pn3= Key mode being loaded:
  6151. #                               0= Unshifted
  6152. #                               1= Shifted
  6153. #                               2= Control
  6154. #                       String= Text string (15 chars max)
  6155. #
  6156. #       Screen Number Report (SNR): \E[Pnp
  6157. #                       Pn= Screen number
  6158. #
  6159. #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
  6160. #                       Pn1= Number of rows available in window
  6161. #                       Pn2= Number of columns available in window
  6162. #
  6163. #       Cursor Position Report (CPR): \E[Pn1;Pn2R
  6164. #                       Pn1= "Y" Position of cursor
  6165. #                       Pn2= "X" Position of cursor
  6166. #
  6167. #       Request Answer Back (RAB): \E[c
  6168. #
  6169. #       Answer Back Response (ABR): \E[?;*;30;VSV
  6170. #                       *=  0 No printer available
  6171. #                       *=  2 Printer available
  6172. #                       V=  Software version number
  6173. #                       SV= Software sub version number
  6174. #    (printer-available field not documented in v1)
  6175. #
  6176. #       Screen Alignment Aid: \En
  6177. #
  6178. #       Bell (lower pitch): \E[x
  6179. #
  6180. #       Dial Phone Number: \EPdstring\
  6181. #                       string= Phone number to be dialed
  6182. #
  6183. #       Set Phone Labels: \EPpstring\
  6184. #                       string= Label for phone buttons
  6185. #
  6186. #       Set Clock: \EPchour;minute;second\
  6187. #
  6188. #       Position Clock: \EPsY;X\
  6189. #                       Y= "Y" coordinate
  6190. #                       X= "X" coordinate
  6191. #
  6192. #       Delete Clock: \Epr\
  6193. #
  6194. #       Programming The Function Buttons: \EPfPn;string\
  6195. #                       Pn= Button number (00-06, 18-24)
  6196. #                                         (kf00-kf06, kf18-kf24)
  6197. #                       string= Text to sent on button depression
  6198. #
  6199. # The following in version 2 only:
  6200. #
  6201. #       Request For Local Directory Data: \EPp12;\
  6202. #
  6203. #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
  6204. #
  6205. #    Request for Local Directory Data in print format: \EPp13;\
  6206. #
  6207. #    Enable 'Prt on Line' mode: \022 (DC2)
  6208. #
  6209. #    Disable 'Prt on Line' mode: \024 (DC4)
  6210. #
  6211.  
  6212. # 05-Aug-86:
  6213. # The following Terminfo entry describes functions which are supported by
  6214. # the AT&T 5430/pt505 terminal software version 2 and later.
  6215. att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal, 
  6216.     am, xon, 
  6217.     cols#80, it#8, lines#24, 
  6218.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H, 
  6219.     cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
  6220.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  6221.     cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  6222.     cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, 
  6223.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, 
  6224.     el1=\E2K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, 
  6225.     ind=^J, 
  6226.     is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l, 
  6227.     kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, 
  6228.     kcuf1=\E[C, kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, 
  6229.     kf18=\E[18s, kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, 
  6230.     kf21=\E[21s, kf22=\E[22s, kf23=\E[23s, kf24=\E24s, 
  6231.     kf26=\E26s, kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, 
  6232.     kf6=\E[06s, krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, 
  6233.     rc=\E8, rev=\E[7m, rmacs=\E[10m, rmam=\E[11;1j, 
  6234.     rmir=\E[4l, rmso=\E[m, rmul=\E[m, rs1=\Ec, sc=\E7, 
  6235.     sgr0=\E[m, smacs=\E[11m, smam=\E[11;0j, smir=\E[4h, 
  6236.     smso=\E[1m, smul=\E[4m, 
  6237.  
  6238. # The following Terminfo entry describes functions which are supported by
  6239. # the AT&T 5430/pt505 terminal software version 1.
  6240. att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines, 
  6241.     lines#24, 
  6242.     mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505,
  6243. tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines, 
  6244.     lines#22, use=att505,
  6245. #
  6246. # -------------------- TERMINFO FILE CAN BE SPLIT HERE -----------------------
  6247. # This cut mark helps make life less painful for people running ncurses tic
  6248. # on machines with relatively little RAM.  The file can be broken in half here
  6249. # cleanly and compiled in sections -- no `use' references cross this cut
  6250. # going forward.
  6251. #
  6252.  
  6253. #### Ampex (Dialogue)
  6254. #
  6255. # Yes, these are the same people who are better-known for making audio- and
  6256. # videotape.  I'm told they are located in Redwood City, CA.
  6257.  
  6258. # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
  6259. # (ampex80: some capabilities merged in from SCO's entry -- esr)
  6260. ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80, 
  6261.     am, bw, ul, 
  6262.     cols#80, it#8, lines#24, 
  6263.     bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, 
  6264.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  6265.     cuu1=^K, dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, 
  6266.     ht=^I, hts=\E1, ich1=\EQ, il1=\EE$<5*>, ind=^J, 
  6267.     is2=\EA, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El, 
  6268.     tbc=\E3, 
  6269. # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
  6270. ampex175|ampex d175, 
  6271.     am, 
  6272.     cols#80, lines#24, 
  6273.     bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, 
  6274.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  6275.     dch1=\EW, dl1=\ER, ed=\Ey, el=\Et, home=^^, 
  6276.     ich1=\EQ, il1=\EE, ind=^J, is2=\EX\EA\EF, kcub1=^H, 
  6277.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
  6278.     khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K, rmcup=\EF, 
  6279.     rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El, 
  6280. # No backspace key in the main QWERTY cluster. Fortunately, it has a
  6281. # NEWLINE/PAGE key just above RETURN that sends a strange single-character
  6282. # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
  6283. # mode), this key can be used as the erase key; I find I like this. Because
  6284. # some people and some systems may not, there is another termcap ("ampex175")
  6285. # that suppresses this little eccentricity by omitting the relevant capability.
  6286. ampex175-b|ampex d175 using left arrow for erase, 
  6287.     kbs=^_, use=ampex175,
  6288. # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
  6289. # (ampex210: removed obsolete ":kn#10:" -- esr)
  6290. ampex210|a210|ampex a210, 
  6291.     am, hs, xenl, 
  6292.     cols#80, it#8, lines#24, xmc#1, 
  6293.     cbt=\EI, clear=\E*, cub1=^H, cuf1=^L, 
  6294.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  6295.     dl1=\ER, ed=\Ey, el=\Et, 
  6296.     flash=\EU\EX\EU\EX\EU\EX\EU\EX, fsl=\E.2, home=^^, 
  6297.     ht=^I, ich1=\EQ, if=/usr/share/tabset/std, il1=\EE, 
  6298.     is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, 
  6299.     kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, 
  6300.     kf1=^A1\r, kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, 
  6301.     kf5=^A5\r, kf6=^A6\r, kf7=^A7\r, kf8=^A8\r, 
  6302.     kf9=^A9\r, khome=^^, rmso=\EG0, rmul=\EG0, 
  6303.     smso=\EG4, smul=\EG8, tsl=\E.0\Eg\E}\Ef, 
  6304. # (ampex219: I added <rmam>/<smam> based on the init string -- esr)
  6305. ampex219|ampex-219|amp219|Ampex with Automargins, 
  6306.     hs, xenl, 
  6307.     cols#80, it#8, lines#24, 
  6308.     bel=^G, blink=$<2>\E[5m, bold=$<2>\E[1m, cbt=\E[Z, 
  6309.     clear=$<50>\E[H\E[2J, cr=^M, 
  6310.     csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, 
  6311.     cuf1=$<2>\E[C, cup=$<5>\E[%i%p1%d;%p2%dH, 
  6312.     cuu1=$<2>\E[A, dim=\E[1m, ed=$<50>\E[J, 
  6313.     el=$<3>\E[K, home=\E[H, ht=^I, ind=^J, 
  6314.     is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  6315.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  6316.     kf0=\E[21~, kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, 
  6317.     kf4=\E[10~, kf5=\E[11~, kf6=\E[17~, kf7=\E[18~, 
  6318.     kf8=\E[19~, kf9=\E[20~, khome=\E[H, rev=\E[7m, 
  6319.     ri=$<5>\EM, rmam=\E[?7l, rmkx=\E>, rmso=$<2>\E[m, 
  6320.     rmul=$<2>\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=, 
  6321.     smso=$<2>\E[7m, smul=$<2>\E[4m, 
  6322. ampex219w|ampex-219w|amp219w|Ampex 132 cols, 
  6323.     cols#132, lines#24, 
  6324.     bel=^G, cr=^M, cud1=^J, cvvis=\E[?3h, ind=^J, 
  6325.     is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219,
  6326. # (ampex: removed <if=/usr/share/tabset/ampex>, no file and no <hts> -- esr) 
  6327. ampex232|ampex-232|Ampex Model 232, 
  6328.     am, 
  6329.     cols#80, lines#24, xmc#1, 
  6330.     cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, 
  6331.     cub1=^H, cud1=^V, cuf1=^L, 
  6332.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  6333.     dl1=\ER$<5*/>, ed=\EY, el=\ET, flash=\Eb$<200/>\Ed, 
  6334.     ht=^I, ich1=\EQ, il1=\EE$<5*/>, is2=\Eg\El, kbs=^H, 
  6335.     kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A@\r, 
  6336.     kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, 
  6337.     kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
  6338.     kf9=^AI\r, khome=^^, rmso=\EG0, rmul=\EG0, 
  6339.     smso=\EG4, smul=\EG8, 
  6340. # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr) 
  6341. ampex232w|Ampex Model 232 / 132 columns, 
  6342.     cols#132, lines#24, 
  6343.     is2=\E\034Eg\El, use=ampex232,
  6344.  
  6345. #### Ann Arbor (aa)
  6346. #
  6347.  
  6348. # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
  6349. # Highly modified 6/22 by Mike O'Brien.
  6350. # split out into several for the various screen sizes by dave-yost@rand
  6351. # Modifications made 3/82 by Mark Horton
  6352. # Modified by Tom Quarles at UCB for greater efficiency and more diversity
  6353. # status line moved to top of screen, <flash> removed 5/82
  6354. # Some unknown person at SCO then hacked the init strings to make them more
  6355. # efficient.
  6356. #
  6357. # assumes the following setup:
  6358. #   A menu: 0000 1010  0001 0000
  6359. #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
  6360. #   C menu: 56   66   0    0    9600  0110 1100
  6361. #   D menu: 0110 1001   1   0
  6362. #
  6363. #    Briefly, the settings are for the following modes:
  6364. #       (values are for bit set/clear with * indicating our preference
  6365. #        and the value used to test these termcaps)
  6366. #    Note that many of these settings are irrelevent to the terminfo
  6367. #    and are just set to the default mode of the terminal as shipped
  6368. #    by the factory.
  6369. #
  6370. # A menu: 0000 1010  0001 0000
  6371. #    Block/underline cursor*
  6372. #    blinking/nonblinking cursor*
  6373. #    key click/no key click*
  6374. #    bell/no bell at column 72*
  6375. #
  6376. #    key pad is cursor control*/key pad is numeric
  6377. #    return and line feed/return for <cr> key *
  6378. #    repeat after .5 sec*/no repeat
  6379. #    repeat at 25/15 chars per sec. *
  6380. #
  6381. #    hold data until pause pressed/process data unless pause pressed*
  6382. #    slow scroll/no slow scroll*
  6383. #    Hold in area/don't hold in area*
  6384. #    functions keys have default*/function keys disabled on powerup
  6385. #
  6386. #    show/don't show position of cursor during page transmit*
  6387. #    unused
  6388. #    unused
  6389. #    unused
  6390. #
  6391. # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
  6392. #    Baud rate (9600*)
  6393. #
  6394. #    2 bits of parity - 00=odd,01=even*,10=space,11=mark
  6395. #    1 stop bit*/2 stop bits
  6396. #    parity error detection off*/on
  6397. #
  6398. #    keyboard local/on line*
  6399. #    half/full duplex*
  6400. #    disable/do not disable keyboard after data transmission*
  6401. #
  6402. #    transmit entire page/stop transmission at cursor*
  6403. #    transfer/do not transfer protected characters*
  6404. #    transmit all characters/transmit only selected characters*
  6405. #    transmit all selected areas/transmit only 1 selected area*
  6406. #
  6407. #    transmit/do not transmit line separators to host*
  6408. #    transmit/do not transmit page tab stops tabs to host*
  6409. #    transmit/do not transmit column tab stop tabs to host*
  6410. #    transmit/do not transmit graphics control (underline,inverse..)*
  6411. #
  6412. #    enable*/disable auto XON/XOFF control
  6413. #    require/do not require receipt of a DC1 from host after each LF*
  6414. #    pause key acts as a meta key/pause key is pause*
  6415. #    unused
  6416. #
  6417. #    unused
  6418. #    unused
  6419. #    unused
  6420. #    unused
  6421. #
  6422. #    XON character (17*)
  6423. #    XOFF character (19*)
  6424. #
  6425. # C menu: 56   66   0    0    9600  0110 1100
  6426. #    number of lines to print data on (printer) (56*)
  6427. #
  6428. #    number of lines on a sheet of paper (printer) (66*)
  6429. #
  6430. #    left margin (printer) (0*)
  6431. #
  6432. #    number of pad chars on new line to printer (0*)
  6433. #
  6434. #    printer baud rate (9600*)
  6435. #
  6436. #    printer parity: 00=odd,01=even*,10=space,11=mark
  6437. #    printer stop bits: 2*/1
  6438. #    print/do not print guarded areas*
  6439. #
  6440. #    new line is: 01=LF,10=CR,11=CRLF*
  6441. #    unused
  6442. #    unused
  6443. #
  6444. # D menu: 0110 1001   1   0
  6445. #    LF is newline/LF is down one line, same column*
  6446. #    wrap to preceding line if move left from col 1*/don't wrap
  6447. #    wrap to next line if move right from col 80*/don't wrap
  6448. #    backspace is/is not destructive*
  6449. #
  6450. #    display*/ignore DEL character
  6451. #    display will not/will scroll*
  6452. #    page/column tab stops*
  6453. #    erase everything*/erase unprotected only
  6454. #
  6455. #    editing extent: 0=display,1=line*,2=field,3=area
  6456. #
  6457. #    unused
  6458. #
  6459.  
  6460. annarbor4080|aa4080|ann arbor 4080, 
  6461.     am, 
  6462.     cols#80, lines#40, 
  6463.     bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, 
  6464.     cuf1=^_, 
  6465.     cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c, 
  6466.     cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, 
  6467.     kcub1=^H, kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, 
  6468.     tbc=^\^P^P, 
  6469.  
  6470. # If you're using the GNU termcap library, add
  6471. #    :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
  6472. # to these capabilities.  This is the nonstandard GNU termcap scrolling
  6473. # capability, arguments are:
  6474. #   1. Total number of lines on the screen.
  6475. #   2. Number of lines above desired scroll region.
  6476. #   3. Number of lines below (outside of) desired scroll region.
  6477. #   4. Total number of lines on the screen, the same as the first parameter.
  6478. # The generic Ann Arbor entry is the only one that uses this.
  6479. aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly), 
  6480.     am, km, mc5i, mir, xon, 
  6481.     cols#80, it#8, 
  6482.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  6483.     clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, 
  6484.     cub1=^H, cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, 
  6485.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  6486.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  6487.     dl1=\E[M, ed=\E[J, el=\E[K$<5>, home=\E[H, 
  6488.     hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, 
  6489.     ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL, 
  6490.     il1=\E[L$<3>, ind=^K, invis=\E[8m, 
  6491.     is1=\E[m\E7\E[H\E9\E8, 
  6492.     is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z, 
  6493.     kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  6494.     kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf1=\EOA, 
  6495.     kf10=\EOJ, kf11=\EOK, kf12=\EOL, kf13=\EOM, 
  6496.     kf14=\EON, kf15=\EOO, kf16=\EOP, kf17=\EOQ, 
  6497.     kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT, 
  6498.     kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, 
  6499.     kf3=\EOC, kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, 
  6500.     kf8=\EOH, kf9=\EOI, khome=\E[H, kich1=\E[@, 
  6501.     kil1=\E[L, krmir=\E6, mc0=\E[0i, mc4=^C, mc5=\E[v, 
  6502.     mc5p=\E[%p1%dv, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, 
  6503.     rev=\E[7m, 
  6504.     rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\, 
  6505.     rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7, 
  6506.     sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
  6507.     sgr0=\E[m, 
  6508.     smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\, 
  6509.     smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
  6510.     vpa=\E[%p1%{1}%+%dd, 
  6511.  
  6512. aaa+rv|ann arbor ambassador in reverse video, 
  6513.     blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m, 
  6514.     is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, 
  6515.     rmul=\E[7m, rs1=\E[H\E[7m\E[J$<156>, 
  6516.     sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
  6517.     sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m, 
  6518. # Ambassador with the DEC option, for partial vt100 compatibility.
  6519. aaa+dec|ann arbor ambassador in dec vt100 mode, 
  6520.     acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}, 
  6521.     csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N, 
  6522.     sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;, 
  6523.     smacs=^O, 
  6524. aaa-18|ann arbor ambassador/18 lines, 
  6525.     lines#18, 
  6526.     is2=\E7\E[60;0;0;18p\E8, 
  6527.     rmcup=\E[60;0;0;18p\E[60;1H\E[K, 
  6528.     smcup=\E[18;0;0;18p, use=aaa+unk,
  6529. aaa-18-rv|ann arbor ambassador/18 lines+reverse video, 
  6530.     use=aaa+rv,use=aaa-18,
  6531. aaa-20|ann arbor ambassador/20 lines, 
  6532.     lines#20, 
  6533.     is2=\E7\E[60;0;0;20p\E8, 
  6534.     rmcup=\E[60;0;0;20p\E[60;1H\E[K, 
  6535.     smcup=\E[20;0;0;20p, use=aaa+unk,
  6536. aaa-22|ann arbor ambassador/22 lines, 
  6537.     lines#22, 
  6538.     is2=\E7\E[60;0;0;22p\E8, 
  6539.     rmcup=\E[60;0;0;22p\E[60;1H\E[K, 
  6540.     smcup=\E[22;0;0;22p, use=aaa+unk,
  6541. aaa-24|ann arbor ambassador/24 lines, 
  6542.     lines#24, 
  6543.     is2=\E7\E[60;0;0;24p\E8, 
  6544.     rmcup=\E[60;0;0;24p\E[60;1H\E[K, 
  6545.     smcup=\E[24;0;0;24p, use=aaa+unk,
  6546. aaa-24-rv|ann arbor ambassador/24 lines+reverse video, 
  6547.     use=aaa+rv,use=aaa-24,
  6548. aaa-26|ann arbor ambassador/26 lines, 
  6549.     lines#26, 
  6550.     is2=\E7\E[60;0;0;26p\E8, 
  6551.     rmcup=\E[60;0;0;26p\E[26;1H\E[K, 
  6552.     smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk,
  6553. aaa-28|ann arbor ambassador/28 lines, 
  6554.     lines#28, 
  6555.     is2=\E7\E[60;0;0;28p\E8, 
  6556.     rmcup=\E[60;0;0;28p\E[28;1H\E[K, 
  6557.     smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk,
  6558. aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status, 
  6559.     eslok, hs, 
  6560.     lines#29, 
  6561.     dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
  6562.     fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8, 
  6563.     rmcup=\E[60;1;0;30p\E[29;1H\E[K, 
  6564.     smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K, 
  6565.     tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
  6566. aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video, 
  6567.     use=aaa+rv,use=aaa-30-s,
  6568. aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context, 
  6569.     rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
  6570.     smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s,
  6571. aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context, 
  6572.     rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
  6573.     smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv,
  6574. aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines, 
  6575.     lines#30, 
  6576.     is2=\E7\E[60;0;0;30p\E8, 
  6577.     rmcup=\E[60;0;0;30p\E[30;1H\E[K, 
  6578.     smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk,
  6579. aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video, 
  6580.     use=aaa+rv,use=aaa-30,
  6581. aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context, 
  6582.     rmcup=\E[60;0;0;30p\E[60;1H\E[K, 
  6583.     smcup=\E[30;0;0;30p, use=aaa-30,
  6584. aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context, 
  6585.     rmcup=\E[60;0;0;30p\E[60;1H\E[K, 
  6586.     smcup=\E[30;0;0;30p, use=aaa+rv,use=aaa-30,
  6587. aaa-36|ann arbor ambassador/36 lines, 
  6588.     lines#36, 
  6589.     is2=\E7\E[60;0;0;36p\E8, 
  6590.     rmcup=\E[60;0;0;36p\E[36;1H\E[K, 
  6591.     smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk,
  6592. aaa-36-rv|ann arbor ambassador/36 lines+reverse video, 
  6593.     use=aaa+rv,use=aaa-36,
  6594. aaa-40|ann arbor ambassador/40 lines, 
  6595.     lines#40, 
  6596.     is2=\E7\E[60;0;0;40p\E8, 
  6597.     rmcup=\E[60;0;0;40p\E[40;1H\E[K, 
  6598.     smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk,
  6599. aaa-40-rv|ann arbor ambassador/40 lines+reverse video, 
  6600.     use=aaa+rv,use=aaa-40,
  6601. aaa-48|ann arbor ambassador/48 lines, 
  6602.     lines#48, 
  6603.     is2=\E7\E[60;0;0;48p\E8, 
  6604.     rmcup=\E[60;0;0;48p\E[48;1H\E[K, 
  6605.     smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk,
  6606. aaa-48-rv|ann arbor ambassador/48 lines+reverse video, 
  6607.     use=aaa+rv,use=aaa-48,
  6608. aaa-60-s|ann arbor ambassador/59 lines+status, 
  6609.     eslok, hs, 
  6610.     lines#59, 
  6611.     dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
  6612.     fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8, 
  6613.     tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
  6614. aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video, 
  6615.     use=aaa+rv,use=aaa-60-s,
  6616. aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video, 
  6617.     use=aaa+dec,use=aaa+rv,use=aaa-60-s,
  6618. aaa-60|ann arbor ambassador/60 lines, 
  6619.     lines#60, 
  6620.     is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, use=aaa+unk,
  6621. aaa-60-rv|ann arbor ambassador/60 lines+reverse video, 
  6622.     use=aaa+rv,use=aaa-60,
  6623. aaa-db|ann arbor ambassador 30/destructive backspace, 
  6624.     cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, use=aaa-30,
  6625.  
  6626. guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols, 
  6627.     lines#33, 
  6628.     flash=\E[>59h$<100>\E[>59l, 
  6629.     is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l, 
  6630.     rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, use=aaa+unk,
  6631. guru+rv|guru changes for reverse video, 
  6632.     flash=\E[>59l$<100>\E[>59h, is3=\E[>59h, 
  6633. guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video, 
  6634.     use=guru+rv,use=guru-33,
  6635. guru+s|guru status line, 
  6636.     eslok, hs, 
  6637.     dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
  6638.     fsl=\E[>51l, rmcup=\E[255;1p\E[255;1H\E[K, 
  6639.     tsl=\E[>51h\E[1;%p1%dH\E[2K, 
  6640. guru-nctxt|guru with no saved context, 
  6641.     smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru,
  6642. guru-s|guru-33-s|ann arbor guru/33 lines+status, 
  6643.     lines#32, 
  6644.     is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J, 
  6645.     smcup=\E[33;1p\E[255;1H\E[K, use=guru+s,use=guru+unk,
  6646. guru-24|ann arbor guru 24 lines, 
  6647.     cols#80, lines#24, 
  6648.     is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p, use=guru+unk,
  6649. guru-44|ann arbor guru 44 lines, 
  6650.     cols#97, lines#44, 
  6651.     is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p, use=guru+unk,
  6652. guru-44-s|ann arbor guru/44 lines+status, 
  6653.     lines#43, 
  6654.     is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J, 
  6655.     smcup=\E[44;1p\E[255;1H\E[K, use=guru+s,use=guru+unk,
  6656. guru-76|guru with 76 lines by 89 cols, 
  6657.     cols#89, lines#76, 
  6658.     is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p, use=guru+unk,
  6659. guru-76-s|ann arbor guru/76 lines+status, 
  6660.     cols#89, lines#75, 
  6661.     is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J, 
  6662.     smcup=\E[76;1p\E[255;1H\E[K, use=guru+s,use=guru+unk,
  6663. guru-76-lp|guru-lp|guru with page bigger than line printer, 
  6664.     cols#134, lines#76, 
  6665.     is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p, use=guru+unk,
  6666. guru-76-w|guru 76 lines by 178 cols, 
  6667.     cols#178, lines#76, 
  6668.     is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p, use=guru+unk,
  6669. guru-76-w-s|ann arbor guru/76 lines+status+wide, 
  6670.     cols#178, lines#75, 
  6671.     is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J, 
  6672.     smcup=\E[76;1p\E[255;1H\E[K, use=guru+s,use=guru+unk,
  6673. guru-76-wm|guru 76 lines by 178 cols with 255 cols memory, 
  6674.     cols#178, lines#76, 
  6675.     is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p, use=guru+unk,
  6676. aaa-rv-unk|ann arbor unknown type, 
  6677.     lh#0, lw#0, nlab#0, 
  6678.     blink=\E[5;7m, bold=\E[1;7m, home=\E[H, 
  6679.     invis=\E[7;8m, is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, 
  6680.     rmso=\E[7m, rmul=\E[7m, rs1=\E[H\E[7m\E[J, 
  6681.     sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
  6682.     sgr0=\E[7m, smso=\E[m, smul=\E[4;7m, 
  6683.  
  6684. #### Applied Digital Data Systems (adds)
  6685. #
  6686. # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
  6687. # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
  6688. # terminals was merged again.  Then AT&T sold the terminal business to
  6689. # SunRiver.  The engineers from Teletype, AT&T terminals, ADDS,
  6690. # and NCR (who are still there as of early 1995) are at:
  6691. #
  6692. #    SunRiver Data Systems
  6693. #    100 Marcus Boulevard
  6694. #    Hauppauge, NY 117883-762
  6695. #    Vox: (800)-231-5445
  6696. #    Fax: (516)-342-7378
  6697. #
  6698. # Their voice mail describes the place as "SunRiver (formerly ADDS)". 
  6699.  
  6700. # Regent: lowest common denominator, works on all regents.
  6701. # (regent: renamed ":bc:" to ":le:" -- esr)
  6702. regent|Adds Regent Series, 
  6703.     am, 
  6704.     cols#80, lines#24, 
  6705.     bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, 
  6706.     cuu1=^Z, home=\EY  , ind=^J, ll=^A, 
  6707. # Regent 100 has a bug where if computer sends escape when user is holding
  6708. # down shift key it gets confused, so we avoid escape.
  6709. regent100|Adds Regent 100, 
  6710.     xmc#1, 
  6711.     bel=^G, cup=\013%p1%{32}%+%c%p2%p2%{6}%*%+\020%c, 
  6712.     kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, 
  6713.     kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, 
  6714.     lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, 
  6715.     lf7=F8, rmso=\E0@, rmul=\E0@, smso=\E0P, smul=\E0`, use=regent,
  6716. regent20|Adds Regent 20, 
  6717.     bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, 
  6718.     el=\EK, use=regent,
  6719. regent25|Adds Regent 25, 
  6720.     bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
  6721.     khome=^A, use=regent20,
  6722. regent40|Adds Regent 40, 
  6723.     xmc#1, 
  6724.     bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, 
  6725.     kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, 
  6726.     kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, 
  6727.     lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, 
  6728.     rmso=\E0@, rmul=\E0@, smso=\E0P, smul=\E0`, use=regent25,
  6729. regent40+|Adds Regent 40+, 
  6730.     is2=\EB, use=regent40,
  6731. regent60|regent200|Adds Regent 60, 
  6732.     dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, 
  6733.     krmir=\EF, rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, 
  6734.     smso=\ER\E0P\EV, use=regent40+,
  6735. # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
  6736. # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
  6737. viewpoint|addsviewpoint|adds viewpoint, 
  6738.     am, 
  6739.     cols#80, lines#24, 
  6740.     bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, 
  6741.     cud1=^J, cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  6742.     cuu1=^Z, cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, 
  6743.     el=\EK$<16>, ind=^J, is2=\017\E0`, kcub1=^U, 
  6744.     kcud1=^J, kcuf1=^F, kcuu1=^Z, kf0=^B1, kf2=^B2, 
  6745.     kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A, 
  6746.     rmso=^O, rmul=^O, smso=^N, smul=^N, 
  6747. # Some viewpoints have bad ROMs that foo up on ^O
  6748. screwpoint|adds viewpoint with ^O bug, 
  6749.     cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint,
  6750.  
  6751. # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
  6752. # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.  
  6753. # Theory; the 3a+ wants \E0%c to set highlights, where normal=01000000,
  6754. # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
  6755. # invis=01000100 and %c is the logical or of desired attributes.
  6756. # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
  6757. vp3a+|viewpoint3a+|adds viewpoint 3a+, 
  6758.     am, bw, 
  6759.     cols#80, it#8, lines#24, 
  6760.     civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, 
  6761.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  6762.     cuu1=^K, ed=\EY$<80>, el=\ET, home=^^, ht=^I, 
  6763.     ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
  6764.     kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(, 
  6765.     sgr=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E), 
  6766.     sgr0=\E(, smso=\E0Q\E), 
  6767. vp60|viewpoint60|addsvp60|adds viewpoint60, 
  6768.     use=regent40,
  6769. #
  6770. # adds viewpoint 90 - from cornell
  6771. # Note:  emacs sends ei occasionally to insure the terminal is out of
  6772. #        insert mode. This unfortunately puts the viewpoint90 IN insert
  6773. #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
  6774. #   -    :ei=:im=: must be present in the termcap translation.)
  6775. #   -    <xhp> indicates glitch that attributes stick to location
  6776. #   -    <msgr> means it's safe to move in standout mode
  6777. #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
  6778. #               the status line
  6779. # Function key and label capabilities merged in from SCO.
  6780. vp90|viewpoint90|adds viewpoint 90, 
  6781.     bw, msgr, xhp, 
  6782.     cols#80, lines#24, 
  6783.     clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F, 
  6784.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE, 
  6785.     dl1=\El, ed=\Ek, el=\EK, home=\EY  , ht=^I, 
  6786.     ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, 
  6787.     kcud1=^J, kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, 
  6788.     kf10=^B;\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, 
  6789.     kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, kf8=^B9\r, 
  6790.     kf9=^B\072\r, khome=^A, lf0=F1, lf1=F2, lf10=F11, 
  6791.     lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, 
  6792.     lf8=F9, lf9=F10, ll=^A, rmso=\ER\E0@\EV, 
  6793.     rmul=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV, 
  6794. # Note: if return acts weird on a980, check internal switch #2
  6795. # on the top chip on the CONTROL pc board.
  6796. adds980|a980|adds consul 980, 
  6797.     am, 
  6798.     cols#80, lines#24, 
  6799.     bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, 
  6800.     cud1=^J, cuf1=\E^E01, 
  6801.     cup=\013%p1%'@'%+%c\E\005%p2%2d, dl1=\E\017$<13>, 
  6802.     il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1, kf2=\E2, 
  6803.     kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, 
  6804.     kf8=\E8, kf9=\E9, rmso=^O, smso=^Y^^^N, 
  6805.  
  6806. #### C. Itoh Electronics
  6807. #
  6808. # As of 1995 these people no longer make terminals (they're still in the
  6809. # printer business).  Their terminals were all clones of the DEC VT series.
  6810. # They're located in Orange County, CA.
  6811. #
  6812.  
  6813. # CIT 80  - vt-52 emulator, the termcap has been modified to remove
  6814. #           the delay times and do an auto tab set rather than the indirect
  6815. #           file used in vt100.
  6816. cit80|cit-80|citoh 80, 
  6817.     am, 
  6818.     cols#80, lines#24, 
  6819.     clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C, 
  6820.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, 
  6821.     ff=^L, ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, 
  6822.     kcuf1=\EOC, kcuu1=\EOA, rmkx=\E[?1l\E>, 
  6823.     smkx=\E[?1h\E=, 
  6824. # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
  6825. # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
  6826. cit101|citc|C.itoh fast vt100, 
  6827.     am, xenl, 
  6828.     cols#80, lines#24, 
  6829.     bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, 
  6830.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  6831.     cvvis=\E7\E[U, dch1=\E[P, dl1=\E[M, ed=\E[J, 
  6832.     el=\E[K, flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, 
  6833.     il1=\E[L, 
  6834.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g, 
  6835.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  6836.     rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  6837.     smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
  6838.     smul=\E[4m, 
  6839. # The CIT-500 was unusual in that it had a portrait-style display.
  6840. # (cit500: I added <rmam>/<smam> based on the init string -- esr)
  6841. # (This entry used to have lines#40, but Michael Coughlin <mikc@gnu.ai.mit.edu>
  6842. # says this is wrong, they actually have 64 lines.  Perhaps someone was 
  6843. # thinking in hex? -- esr)
  6844. cit500|cit-500|cit 500, 
  6845.     am, xenl, 
  6846.     cols#80, it#8, lines#64, 
  6847.     clear=\E[H\E[2J$<50/>, cub1=^H, cud1=\ED, 
  6848.     cuf1=\E[C$<2/>, cup=\E[%i%p1%2d;%p2%2dH$<5/>, 
  6849.     cuu1=\E[A$<2/>, dch1=\E[P, dl1=\E[M, ed=\E[J$<50/>, 
  6850.     el=\E[K$<3/>, ht=^I, if=/usr/share/tabset/vt100, 
  6851.     il1=\E[L, is2=\E(B\E)0\E>\E[?3l\E[?7h\E[?8h, 
  6852.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  6853.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
  6854.     ri=\EM$<5/>, rmam=\E[?7l, rmkx=\E[?1l\E>, 
  6855.     rmso=\E[m$<2/>, rmul=\E[m$<2/>, smam=\E[?7h, 
  6856.     smkx=\E[?1h\E=, smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
  6857.  
  6858. citoh|ci8510|8510|c.itoh 8510a, 
  6859.     cols#80, it#8, 
  6860.     bold=\E!, cub1@, 
  6861.     is2=\E(009\054017\054025\054033\054041\054049\054057\054065\054073., 
  6862.     rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY, 
  6863.     smul=\EX, use=lpr,
  6864. citoh-pica|citoh in pica, 
  6865.     is1=\EN, use=citoh,
  6866. citoh-elite|citoh in elite, 
  6867.     cols#96, 
  6868.     is1=\EE, 
  6869.     is2=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089., use=citoh,
  6870. citoh-comp|citoh in compressed, 
  6871.     cols#136, 
  6872.     is1=\EQ, 
  6873.     is2=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089\054097\054105\054113\054121\054129., use=citoh,
  6874. # citoh has infinite cols because we don't want lp ever inserting \n\t**.
  6875. citoh-prop|citoh-ps|ips|citoh in proportional spacing mode, 
  6876.     cols#32767, 
  6877.     is1=\EP, use=citoh,
  6878. citoh-6lpi|citoh in 6 lines per inch mode, 
  6879.     is3=\EA, use=citoh,
  6880. citoh-8lpi|citoh in 8 lines per inch mode, 
  6881.     lines#88, 
  6882.     is3=\EB, use=citoh,
  6883.  
  6884. #### Control Data (cdc)
  6885. #
  6886.  
  6887. cdc456|cdc 456 terminal, 
  6888.     am, 
  6889.     cols#80, lines#24, 
  6890.     bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, 
  6891.     cuf1=^L, cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
  6892.     dl1=\EJ, ed=^X, el=^V, home=^Y, il1=\EL, ind=^J, 
  6893.  
  6894. #### Getronics
  6895. #
  6896. # Getronics is a Dutch electronics company that at one time was called 
  6897. # `Geveke' and made async terminals; but (according to the company itself!)
  6898. # they've lost all their documentation on the command set.  The hardware
  6899. # documentation suggests the terminals were actually manufactured by a
  6900. # Taiwanese electronics company named Cal-Comp.  There are known
  6901. # to have been at least two models, the 33 and the 50.
  6902. #
  6903.  
  6904. # The 50 seems to be a top end vt220 clone, with the addition of a higher
  6905. # screen resolution, a larger screen, at least 1 page of memory above and
  6906. # below the screen, apparently pages of memory right and left of the screen
  6907. # which can be panned, and about 75 function keys (15 function keys x normal,
  6908. # shift, control, func A, func B). It also has more setup possibilities than
  6909. # the vt220. The monitor case is dated November 1978 and the keyboard case is
  6910. # May 1982.
  6911. #
  6912. # The vt100 emulation works as is.  The entry below describes the rather
  6913. # non-conformant (but more featureful) ANSI mode.
  6914. #
  6915. # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
  6916. visa50|geveke visa 50 terminal in ansi 80 character mode, 
  6917.     bw, mir, msgr, 
  6918.     cols#80, lines#25, 
  6919.     acsc=0_aaffggjjkkllmmnnqqttuuvvwwxxh ooss, bel=^G, 
  6920.     blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, 
  6921.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
  6922.     cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
  6923.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  6924.     cuu1=\E[A, dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, 
  6925.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  6926.     flash=\E[?5h\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, 
  6927.     ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
  6928.     il1=\E[L, ind=^J, invis=\E[8m, 
  6929.     is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h, 
  6930.     ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, 
  6931.     kc3=\EOS, kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, 
  6932.     kcuu1=\E[A, kdch1=\177, kdl1=\EOS, kf0=\E010, 
  6933.     kf1=\E001, kf10=\E011, kf2=\E002, kf3=\E003, 
  6934.     kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007, 
  6935.     kf8=\E008, kf9=\E009, khome=\E[f, 
  6936.     lf2=A delete char, lf3=A insert line, 
  6937.     lf4=A delete line, lf5=A clear, lf6=A ce of/cf gn, 
  6938.     lf7=A print, lf8=A on-line, lf9=A funcl0=A send, 
  6939.     nel=^M^J, rev=\E[7m, rmacs=\E[3l, rmam=\E[?7l, 
  6940.     rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m, rmul=\E[0m, 
  6941.     sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h, smir=\E[4h, 
  6942.     smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
  6943.     vpa=\E[%i%p1%dd, 
  6944.  
  6945. #### Human Designed Systems (Concept)
  6946. #
  6947. #    Human Designed Systems
  6948. #    400 Fehley Drive
  6949. #    King of Prussia, PA 19406
  6950. #    Vox: (610)-277-8300
  6951. #    Fax: (610)-275-5739
  6952. #    Net: support@hds.com
  6953. # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
  6954. # the character-terminal business now (1995) and making X terminals.  In
  6955. # particular, the whole `Concept' line described here was discontinued long
  6956. # ago.
  6957. #
  6958.  
  6959. # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
  6960. # Extensive changes to c108 by arpavax:eric Feb 1982
  6961. # Some unknown person at SCO then translated it to terminfo.
  6962. #
  6963. # There seem to be a number of different versions of the C108 PROMS
  6964. # (with bug fixes in its Z-80 program).
  6965. # The first one that we had would lock out the keyboard of you
  6966. # sent lots of short lines (like /usr/dict/words) at 9600 baud.
  6967. # Try that on your C108 and see if it sends a ^S when you type it.
  6968. # If so, you have an old version of the PROMs.
  6969. # You should configure the C108 to send ^S/^Q before running this.
  6970. # It is much faster (at 9600 baud) than the c100 because the delays
  6971. # are not fixed.
  6972. # new status line display entries for c108-8p:
  6973. # <is3> - init str #3 - setup term for status display - 
  6974. # set programmer mode, select window 2, define window at last 
  6975. # line of memory, set bkgnd stat mesg there, select window 0.
  6976. # <tsl> - to status line - select window 2, home cursor, erase to 
  6977. # end-of-window, 1/2 bright on, goto(line#0, col#?)
  6978. # <fsl> - from status line - 1/2 bright off, select window 0
  6979. # <dsl> - disable status display - set bkgnd status mesg with 
  6980. # illegal window #
  6981. # There are probably more function keys that should be added but 
  6982. # I don't know what they are.
  6983. #
  6984. # No delays needed on c108 because of ^S/^Q handshaking
  6985. #
  6986. c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages, 
  6987.     is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n, 
  6988.     rmcup=\Ev  \001\177p\Ep\r\n, use=c108-4p,
  6989. c108-4p|concept108-4p|concept 108 w/4 pages, 
  6990.     eslok, hs, xon, 
  6991.     pb@, 
  6992.     acsc=l\\qLkTxUmMjE, cnorm=\Ew, cr=^M, 
  6993.     cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c, 
  6994.     cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, 
  6995.     fsl=\Ee\E z , ind=^J, is1=\EK\E!\E F, 
  6996.     is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n, 
  6997.     rmacs=\Ej , rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!, 
  6998.     smcup=\EU\Ev  8p\Ep\r\E\025, 
  6999.     tsl=\E z"\E?\E\005\EE\Ea %+ , use=c100,
  7000. c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video, 
  7001.     rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r, use=c108-rv-4p,
  7002. c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video, 
  7003.     flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE, use=c108-4p,
  7004. c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode, 
  7005.     cols#132, 
  7006.     is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n, 
  7007.     smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p,
  7008.  
  7009. # Concept 100:
  7010. # These have only window relative cursor addressing, not screen 
  7011. # relative. To get it to work right here, smcup/rmcup (which 
  7012. # were invented for the concept) lock you into a one page 
  7013. # window for screen style programs.
  7014. # To get out of the one page window, we use a clever trick:
  7015. # we set the window size to zero ("\Ev    " in rmcup) which the 
  7016. # terminal recognizes as an error and resets the window to all 
  7017. # of memory.
  7018. # This trick works on c100 but does not on c108, sigh.
  7019. # Some tty drivers use cr3 for concept, others use nl3, hence 
  7020. # the delays on cr and ind below. This padding is only needed at 
  7021. # 9600 baud and up.  One or the other is commented out depending on 
  7022. # local conventions.
  7023. # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe 
  7024. # less than 6 but more than 2 will work.
  7025. # Note: can't use function keys f7-f10 because they are 
  7026. # indistinguishable from arrow keys (!), also, del char and 
  7027. # clear eol use xon/xoff so they probably won't work very well.
  7028. # Also note that we don't define insrt/del char/delline/eop/send 
  7029. # because they don't transmit unless we reset them - I figured 
  7030. # it was a bad idea to clobber their definitions.
  7031. # The <mc5> sequence changes the escape character to ^^ so that 
  7032. # escapes will be passed through to the printer. Only trouble 
  7033. # is that ^^ won't be - ^^ was chosen to be unlikely. 
  7034. # Unfortunately, if you're sending raster bits through to be 
  7035. # plotted, any character you choose will be likely, so we lose.
  7036. #
  7037. # \EQ"\EY(^W (send anything from printer to host, for xon/xoff) 
  7038. # cannot be # in is2 because it will hang a c100 with no printer 
  7039. # if sent twice.
  7040. c100|concept100|concept|c104|c100-4p|hds concept 100, 
  7041.     am, eo, mir, ul, xenl, 
  7042.     cols#80, lines#24, pb#9600, vt#8, 
  7043.     bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r, 
  7044.     cub1=^H, cud1=^J, cuf1=\E=, 
  7045.     cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;, 
  7046.     dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>, 
  7047.     ed=\E\005$<16*>, el=\E\025$<16>, 
  7048.     flash=\Ek$<200>\EK, ht=\011$<8>, il1=\E\022$<3*>, 
  7049.     ind=^J, invis=\EH, ip=$<16*>, is1=\EK, 
  7050.     is2=\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, 
  7051.     is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_, 
  7052.     kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, 
  7053.     kdch1=\E^Q, kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, 
  7054.     kf2=\E6, kf3=\E7, kf4=\E8, kf5=\E9, kf6=\E\072a, 
  7055.     kf7=\E\072b, kf8=\E\072c, khome=\E?, khts=\E], 
  7056.     kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E., 
  7057.     kri=\E\\, krmir=\E\200, mc4=\036o \E\EQ!\EYP\027, 
  7058.     mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI, 
  7059.     rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED, 
  7060.     rmcup=\Ev    $<6>\Ep\r\n, rmir=\E  , rmkx=\Ex, 
  7061.     rmso=\Ed, rmul=\Eg, sgr0=\EN@, 
  7062.     smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, 
  7063.     smkx=\EX, smso=\ED, smul=\EG, 
  7064. c100-rv|c100-rv-4p|concept100-rv|c100 rev video, 
  7065.     cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, 
  7066.     rmso=\Ee, smso=\EE, use=c100,
  7067. oc100|oconcept|c100-1p|old 1 page concept 100, 
  7068.     in, 
  7069.     is3@, use=c100,
  7070.  
  7071. # <ht> through <el> included to specify padding needed in raw mode.
  7072. avt-ns|concept avt no status line, 
  7073.     am, eo, mir, ul, xenl, xon, 
  7074.     cols#80, it#8, lines#24, lm#192, 
  7075.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  7076.     clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M, 
  7077.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  7078.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  7079.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  7080.     cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, 
  7081.     dl=\E[%p1%dM$<4*>, dl1=\E[M$<4>, ed=\E[J$<96>, 
  7082.     el=\E[K$<6>, home=\E[H, hpa=\E[%p1%{1}%+%dG, 
  7083.     ht=\011$<4>, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
  7084.     il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>, 
  7085.     invis=\E8m, ip=$<4>, is1=\E[=103l\E[=205l, 
  7086.     is2=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0\0720\07232!r\E[0*w\E[w\E2\r\n\E[2;27!t, 
  7087.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  7088.     kcuu1=\E[A, kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, 
  7089.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
  7090.     kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H, mc0=\E[0i, 
  7091.     mc4=\E[4i, mc5=\E[5i, pfloc=\E[%p1%d;0u#%p2%s#, 
  7092.     pfx=\E[%p1%d;1u#%p2%s#, prot=\E[99m, rc=\E8, 
  7093.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM$<4>, 
  7094.     rmacs=\016$<1>, rmcup=\E[w\E2\r\n, rmir=\E4l, 
  7095.     rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, 
  7096.     sc=\E7, 
  7097.     sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
  7098.     sgr0=\E[m, smacs=\017$<1>, 
  7099.     smcup=\E[=4l\E[1;24w\E2\r, smir=\E1, 
  7100.     smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m, 
  7101.     tbc=\E[2g, vpa=\E[%p1%{1}%+%dd, 
  7102. avt-rv-ns|concept avt in reverse video mode/no status line, 
  7103.     flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, use=avt-ns,
  7104. avt-w-ns|concept avt in 132 column mode/no status line, 
  7105.     is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, use=avt-ns,
  7106. avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video, 
  7107.     flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
  7108.     smcup=\E[H\E[1;24;1;132w, use=avt-ns,
  7109.  
  7110. # Concept AVT with status line. We get the status line using the
  7111. # "Background status line" feature of the terminal. We swipe the
  7112. # first line of memory in window 2 for the status line, keeping
  7113. # 191 lines of memory and 24 screen lines for regular use.
  7114. # The first line is used instead of the last so that this works
  7115. # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
  7116. # assumes an 8 page AVT but lm isn't currently used anywhere.)
  7117. #
  7118. avt+s|concept avt status line changes, 
  7119.     eslok, hs, 
  7120.     lm#191, 
  7121.     dsl=\E[0*w, fsl=\E[1;1!w, 
  7122.     is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n, 
  7123.     rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r, 
  7124.     tsl=\E[2;1!w\E[;%p1%dH\E[2K, 
  7125. avt|avt-s|concept-avt|avt w/80 columns, 
  7126.     use=avt+s,use=avt-ns,
  7127. avt-rv|avt-rv-s|avt reverse video w/sl, 
  7128.     flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, use=avt+s,use=avt-ns,
  7129. avt-w|avt-w-s|concept avt 132 cols+status, 
  7130.     is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, use=avt+s,use=avt-ns,
  7131. avt-w-rv|avt-w-rv-s|avt wide+status+rv, 
  7132.     flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
  7133.     smcup=\E[H\E[1;24;1;132w, use=avt+s,use=avt-ns,
  7134.  
  7135. #### Contel Business Systems. 
  7136. #
  7137.  
  7138. # Contel c300 and c320 terminals. 
  7139. contel300|contel320|c300|Contel Business Systems C-300 or C-320, 
  7140.     am, in, xon, 
  7141.     cols#80, lines#24, xmc#1, 
  7142.     bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, 
  7143.     cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, 
  7144.     cuu1=\EA, dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, 
  7145.     ed=\EJ$<5.5*>, el=\EI$<5.5>, 
  7146.     flash=\020\002$<200/>\020\003, home=\EH, hts=\E1, 
  7147.     ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
  7148.     kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, 
  7149.     kf4=\ERD, kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, 
  7150.     kf9=\ERI, ll=\EH\EA, rmso=\E!\200, smso=\E!\r, 
  7151.     tbc=\E3, 
  7152. # Contel c301 and c321 terminals.
  7153. contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321, 
  7154.     flash@, ich1@, ip@, rmso=\E!\200$<20>, 
  7155.     smso=\E!\r$<20>, use=contel300,
  7156.  
  7157. #### Data General (dg)
  7158. #
  7159. # According to James Carlson <carlson@xylogics.com> writing in January 1995,
  7160. # the terminals group at Data General was shut down in 1991; all these
  7161. # terminals have thus been discontinued.
  7162. #
  7163.  
  7164. # According to the 4.4BSD termcap file, the dg200 <cup> should be the
  7165. # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
  7166. # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
  7167. # maybe they were originally nuls (which would fit).
  7168. dg200|data general dasher 200, 
  7169.     am, bw, 
  7170.     cols#80, lines#24, 
  7171.     bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
  7172.     cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, 
  7173.     ind=^J, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, 
  7174.     kf0=^^z, kf1=^^q, kf2=^^r, kf3=^^s, kf4=^^t, 
  7175.     kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x, kf9=^^y, 
  7176.     khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U, 
  7177.     smso=^^D, smul=^T, 
  7178. # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
  7179. # courtesy of Carlos Rucalde of Vantage Software, Inc.
  7180. # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
  7181. # I suspect the d200 function keys actually work on the dg211, check it out.)
  7182. dg211|Data General d211, 
  7183.     cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, 
  7184.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
  7185.     kf9@, lf0@, nel=^M^Z, rmcup=^L, rmso=\036E$<\200/>, 
  7186.     smcup=^L^R, smso=\036D$<\200\200\200\200\200/>, use=dg200,
  7187.  
  7188. # dg450 from cornell
  7189. dg450|dg6134|data general 6134, 
  7190.     cub1@, cuf1=^X, use=dg200,
  7191.  
  7192. # Note: lesser Dasher terminals will not work with vi because vi insists upon
  7193. # having a command to move straight down from any position on the bottom line
  7194. # and scroll the screen up, or a direct vertical scroll command.  The 460 and
  7195. # above have both, the D210/211, for instance, has neither.  We must use ANSI
  7196. # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
  7197. # backspace on all terminals.  This is not so in DG mode.
  7198. # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
  7199. # grounds that there is no matching ":ml:"
  7200. # fixed garbled ":k9=\E[00\:z:" capability -- esr)
  7201. dg460-ansi|Data General Dasher 460 in ANSI-mode, 
  7202.     am, msgr, ul, 
  7203.     cols#80, it#8, lines#24, 
  7204.     blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B, 
  7205.     cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
  7206.     dch1=\E[P, dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K, 
  7207.     home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, 
  7208.     is2=^^F@, kbs=\E[D, kcub1=\E[D, kcud1=\E[B, 
  7209.     kcuf1=\E[C, kcuu1=\E[A, kf0=\E[001z, kf1=\E[002z, 
  7210.     kf2=\E[003z, kf3=\E[004z, kf4=\E[005z, kf5=\E[006z, 
  7211.     kf6=\E[007z, kf7=\E[008z, kf8=\E[009z, kf9=\E[010z, 
  7212.     khome=\E[H, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, 
  7213.     lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m, 
  7214.     ri=\E[T, rmso=\E[m, rmul=\E[05, sgr0=\E[m, 
  7215.     smso=\E[7m, smul=\E[4m, 
  7216. # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
  7217. # Data General 605x     
  7218. # Ought to work for a Model 6242, Type D210 as well as a 605x.
  7219. # Note that the cursor-down key transmits ^Z.  Job control users, beware!
  7220. # This also matches a posted description of something called A `Dasher 100'
  7221. # so there's a dg100 alias here. 
  7222. # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr) 
  7223. dg6053|dg100|data general 6053, 
  7224.     am, bw, ul, 
  7225.     cols#80, lines#24, 
  7226.     bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, 
  7227.     cud1=^Z, cuf1=^X, cup=\020%p2%c%p1%c, cuu1=^W, 
  7228.     cvvis=^L^R, el=^K, home=^H, ht=^I, is2=^R, kbs=^Y, 
  7229.     kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q, 
  7230.     kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, 
  7231.     kf6=^^w, kf7=^^x, kf8=^^y, khome=^H, nel=^M^Z, 
  7232.     rmcup=^L, rmso=\200^^E, rmul=^U, smcup=^L^R, 
  7233.     smso=\200\200\200\200\200\036D, smul=^T, 
  7234.  
  7235. #### Datamedia (dm)
  7236. #
  7237.  
  7238. cs10|colorscan|Datamedia Color Scan 10, 
  7239.     msgr, 
  7240.     cols#80, lines#24, 
  7241.     bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, 
  7242.     cuf1=\E[C, cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, 
  7243.     ed=\E[J, el=\E[K, ind=^J, kcub1=\E[D, kcud1=\E[B, 
  7244.     kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
  7245.     kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m, 
  7246.     smso=\E[7m, smul=\E[4m, 
  7247. cs10-w|Datamedia Color Scan 10 with 132 columns, 
  7248.     cols#132, 
  7249.     cup=\E[%i%p1%02d;%p2%03dH, use=cs10,
  7250.  
  7251. # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
  7252. dm1520|dm1521|datamedia 1520, 
  7253.     am, xenl, 
  7254.     cols#80, it#8, lines#24, 
  7255.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
  7256.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, 
  7257.     el=^], home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, 
  7258.     kcuf1=^\, kcuu1=^_, khome=^Y, 
  7259. dm2500|datamedia2500|datamedia 2500, 
  7260.     cols#80, lines#24, 
  7261.     bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\, 
  7262.     cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z, 
  7263.     dch1=\020\010\030\035$<10*>, 
  7264.     dl1=\020\032\030\035$<10*>, el=^W, home=^B, 
  7265.     ich1=\020\034\030\035$<10*>, 
  7266.     il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377, 
  7267.     rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^], 
  7268.     smdc=^P, smir=^P, smso=^N, 
  7269. # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
  7270. # also, has a meta-key.
  7271. # From: <goldberger@su-csli.arpa>
  7272. # (dmchat: ":MT:" changed to ":km:" -- esr)
  7273. dmchat|dmchat version of datamedia 2500, 
  7274.     km, 
  7275.     dl1=\020\032\030\035$<2/>, 
  7276.     il1=\020\n\030\035\030\035$<1*/>, use=dm2500,
  7277. # (dm3025: ":MT:" changed to ":km:" -- esr)
  7278. dm3025|datamedia 3025a, 
  7279.     km, 
  7280.     cols#80, it#8, lines#24, 
  7281.     bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, 
  7282.     cuf1=\EC, cup=\EY%p2%{32}%+%c%p1%{32}%+%c, 
  7283.     cuu1=\EA, dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, 
  7284.     ed=\EJ$<2>, el=\EK, home=\EH, ht=^I, 
  7285.     il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>, is2=\EQ\EU\EV, 
  7286.     rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP, smir=\EP, 
  7287.     smso=\EO1, 
  7288. dm3045|datamedia 3045a, 
  7289.     am, eo, km@, ul, xenl, 
  7290.     dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, 
  7291.     kcuu1=\EA, kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, 
  7292.     kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, 
  7293.     kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r, khome=\EH, 
  7294.     pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@, use=dm3025,
  7295. # Datamedia DT80 soft switches:
  7296. # 1    0=Jump  1=Smooth
  7297. #     Autorepeat     0=off  1=on
  7298. #     Screen        0=Dark 1=light
  7299. #     Cursor        0=u/l  1=block
  7300. # 2    Margin Bell    0=off  1=on
  7301. #     Keyclick    0=off  1=on
  7302. #     Ansi/VT52    0=VT52 1=Ansi
  7303. #     Xon/Xoff    0=Off  1=On
  7304. # 3    Shift3        0=Hash 1=UK Pound
  7305. #     Wrap        0=Off  1=On
  7306. #     Newline        0=Off  1=On
  7307. #     Interlace    0=Off  1=On
  7308. #     
  7309. # 4    Parity        0=Odd  1=Even
  7310. #     Parity        0=Off  1=On
  7311. #     Bits/Char    0=7    1=8
  7312. #     Power        0=60Hz 1=50Hz
  7313. # 5    Line Interface  0=EIA  1=Loop
  7314. #     Aux Interface   0=EIA  1=Loop
  7315. #     Local Copy        0=Off  1=On    
  7316. #     Spare
  7317. # 6    Aux Parity    0=Odd  1=Even
  7318. #     Aux Parity    0=Off  1=On
  7319. #     Aux Bits/Char   0=7    1=8
  7320. #     CRT Saver    0=Off  1=On
  7321. # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
  7322. dm80|dmdt80|dt80|datamedia dt80/1, 
  7323.     clear=\E[2J\E[H, cud1=^J, cuf1=\E[C, 
  7324.     cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  7325.     home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM, 
  7326.     rmso=\E[m, rmul=\E[m, smso=\E[7m, smul=\E[4m, use=vt100,
  7327. # except in 132 column mode, where it needs a little padding.
  7328. # This is still less padding than the vt100, and you can always turn on
  7329. # the ^S/^Q handshaking, so you can use vt100 flavors for things like
  7330. # reverse video.
  7331. dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode, 
  7332.     cols#132, 
  7333.     clear=\E[H\E[2J$<50/>, cud1=^J, 
  7334.     cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>, 
  7335.     ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80,
  7336. # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
  7337. dtx-sas|dt80-sas|Datamedia DT803/DTX for SAS usage, 
  7338.     am, bw, 
  7339.     cols#80, lines#24, 
  7340.     bel=^G, clear=^L, cr=^M, 
  7341.     csr=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2, 
  7342.     cub1=^H, cud1=\EB, cuf1=^\, 
  7343.     cup=\E=%p2%' '%+%c%p1%' '%+%c, cuu1=^_, dl1=\EM, 
  7344.     ed=^K, el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, 
  7345.     il1=\EL, ind=\EB, is2=\E)0\E<\EP\E'0\E$2, kclr=^L, 
  7346.     kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, ked=^K, 
  7347.     kel=^], khome=^Y, mc4=^O, mc5=^N, rev=\E$2\004, 
  7348.     ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF, 
  7349.     smso=\E$2\004, tbc=\E'0, 
  7350.  
  7351. #### Falco
  7352. #
  7353. #    Falco Data Products
  7354. #    440 Potrero Avenue
  7355. #    Sunnyvale, CA 940864-196
  7356. #    Vox: (800)-325-2648
  7357. #    Fax: (408)-745-7860
  7358. #    Net: techsup@charm.sys.falco.com
  7359. #
  7360. # Current Falco models as of 1995 are generally ANSI-compatible and support
  7361. # emulations of DEC VT-series, Wyse, and Televideo types.
  7362.  
  7363. # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
  7364. # This terminal was released around 1983 and was discontinued long ago.
  7365. falco|ts1|ts-1|falco ts-1, 
  7366.     am, 
  7367.     cols#80, it#8, lines#24, 
  7368.     bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, 
  7369.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  7370.     dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, 
  7371.     ht=^I, il1=\EE, ind=^J, is2=\Eu\E3, kcub1=^H, 
  7372.     kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, rmir=\Er, 
  7373.     rmso=\Eg0, rmul=\Eg0, smir=\Eq, smso=\Eg1, 
  7374.     smul=\Eg1, 
  7375. falco-p|ts1p|ts-1p|falco ts-1 with paging option, 
  7376.     am, da, db, mir, msgr, ul, 
  7377.     cols#80, it#8, lines#24, 
  7378.     bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, 
  7379.     cud1=\E[B, cuf1=\E[C, 
  7380.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A, 
  7381.     dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, 
  7382.     ht=^I, il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, 
  7383.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  7384.     rmcup=\E_b, rmir=\Er, rmso=\Eg0, rmul=\Eg0, 
  7385.     smcup=\E_d, smir=\Eq, smso=\Eg4, smul=\Eg1, 
  7386. # (ts100: I added <rmam>/<smam> based on the init string -- esr)
  7387. ts100|ts100-sp|falco ts100-sp, 
  7388.     am, mir, msgr, xenl, xon, 
  7389.     cols#80, it#8, lines#24, vt#3, 
  7390.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  7391.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  7392.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  7393.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  7394.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  7395.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  7396.     cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>, 
  7397.     el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, 
  7398.     home=\E[H, ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, 
  7399.     ind=^J, is1=\E~)\E~ea, ka1=\EOq, ka3=\EOs, 
  7400.     kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
  7401.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, 
  7402.     kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, 
  7403.     kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, 
  7404.     kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, 
  7405.     rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, 
  7406.     rmso=\E[m$<2>, rmul=\E[m$<2>, 
  7407.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  7408.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  7409.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, 
  7410.     smkx=\E[?1h\E=, smso=\E[1;7m$<2>, smul=\E[4m$<2>, 
  7411.     tbc=\E[3g, 
  7412. ts100-ctxt|falco ts-100 saving context, 
  7413.     rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100,
  7414.  
  7415. #### Florida Computer Graphics
  7416. #
  7417.  
  7418. # Florida Computer Graphics Beacon System, using terminal emulator program
  7419. # "host.com", as provided by FCG.  This description is for an early release
  7420. # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
  7421. # commented out.
  7422.  
  7423. # From: David Bryant <cbosg!djb> 1/7/83
  7424. beacon|FCG Beacon System, 
  7425.     am, da, db, 
  7426.     cols#80, lines#32, 
  7427.     bel=\ESTART\r\E37\r\EEND\r$<1>, 
  7428.     blink=\ESTART\r\E61\0541\r\EEND\r, clear=\EZ$<10>, 
  7429.     cr=^M, cub1=^H, cud1=^J, cuf1=\EV, 
  7430.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU, 
  7431.     dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, 
  7432.     il1=\EE, ind=^J, rev=\ESTART\r\E59\0541\r\EEND\r, 
  7433.     rmso=\ESTART\r\E70\0540\r\EEND\r$<20>, 
  7434.     rmul=\ESTART\r\E60\0540\r\EEND\r, 
  7435.     sgr0=\ESTART\r\E78\r\E70\0540\r\EEND\r$<20>, 
  7436.     smcup=\ESTART\r\E2\0540\r\E12\r\EEND\r$<10>, 
  7437.     smso=\ESTART\r\E70\0546\r\EEND\r$<20>, 
  7438.     smul=\ESTART\r\E60\0541\r\EEND\r, 
  7439.  
  7440. #### Fluke
  7441. #
  7442.  
  7443. # The 1720a differences from ANSI: no auto margin, destructive 
  7444. # tabs, # of lines, funny highlighting and underlining
  7445. f1720|f1720a|fluke 1720A, 
  7446.     xt, 
  7447.     cols#80, lines#16, xmc#1, 
  7448.     bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
  7449.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  7450.     ed=\E[J, el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, 
  7451.     kcud1=^], kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, 
  7452.     rmul=\E[m, smso=\E[7m, smul=\E[4m, 
  7453.  
  7454. #### Liberty Electronics (Freedom)
  7455. #
  7456. #    Liberty Electronics
  7457. #    48089 Fremont Blvd
  7458. #    Fremont CA 94538
  7459. #    Vox: (510)-623-6000
  7460. #    Fax: (510)-623-7021
  7461.  
  7462. # From: <faletti@berkeley.edu>
  7463. f100|freedom|freedom100|freedom model 100, 
  7464.     am, bw, hs, mir, msgr, xon, 
  7465.     cols#80, lines#24, 
  7466.     bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, 
  7467.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  7468.     dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, 
  7469.     el=\ET, flash=\Eb$<200>\Ed, fsl=^M, home=^^, 
  7470.     hpa=\E]%p1%{32}%+%c, ht=^I, hts=\E1, 
  7471.     il1=\EE$<8.5*>, ind=^J, ip=$<6>, is2=\Eg\Ef\r\Ed, 
  7472.     kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, 
  7473.     kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, 
  7474.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  7475.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, 
  7476.     rmacs=\E$, rmir=\Er, rmso=\EG0, rmul=\EG0, 
  7477.     smacs=\E%, smir=\Eq, smso=\EG4, smul=\EG8, tbc=\E3, 
  7478.     tsl=\Eg\Ef, vpa=\E[%p1%{32}%+%c, 
  7479. f100-rv|freedom-rv|freedom 100 in reverse video, 
  7480.     flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100,
  7481. # The f110 and f200 have problems with vi(1).  They use the ^V
  7482. # code for the down cursor key. When kcud1 is defined in terminfo
  7483. # as ^V, the Control Character Quoting capability (^V in insert mode)
  7484. # is lost! It cannot be remapped in vi because it is necessary to enter
  7485. # a ^V to to quote the ^V that is being remapped!!!
  7486. # f110 users will have to decide whether
  7487. # to lose the down cursor key or the quoting capability. We will opt
  7488. # initially for leaving the quoting capability out, since use of VI
  7489. # is not generally applicable to most interactive applications
  7490. # The same applies to f200 users, except that another option exists.
  7491. # This option has been chosen locally. It will not be distributed unless
  7492. # a user runs into this problem and requests assistance.  Very few users,
  7493. # if any, should run into this problem. The local solution is in
  7494. # vifix.local.ti.  The f200 has the ability to reprogram the down cursor
  7495. # key. The key is reprogrammed to ^J (linefeed). This value is remembered
  7496. # in non-volatile RAM, so powering the terminal off and on will not cause
  7497. # the change to be lost. The terminfo definition for the f200 is changed
  7498. # to identify <kcud1> as ^J instead of ^V.
  7499. # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
  7500. f110|freedom110|Liberty Freedom 110, 
  7501.     bw@, eslok, 
  7502.     it#8, wsl#80, 
  7503.     blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, 
  7504.     cud1=^V, cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r, 
  7505.     flash=\Eb$<200/>\Ed, il1=\EE, invis=\EG1, ip@, 
  7506.     is2@, kclr=^^, kdch1=\EW, kdl1=\ER, ked=\EY, 
  7507.     kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ, kil1=\EE, 
  7508.     mc4=\Ea, mc5=\E`, rev=\EG4, ri=\EJ, rmacs=\E%%, 
  7509.     rmir=\Er\EO, sgr0=\EG0, smacs=\E$, smir=\EO\Eq, 
  7510.     smso=\EG<, tsl=\Ef, use=f100,
  7511. f110-14|Liberty Freedom 110 14inch, 
  7512.     dch1@, use=f110,
  7513. f110-w|Liberty Freedom 110 - 132 cols, 
  7514.     cols#132, use=f110,
  7515. f110-14w|Liberty Freedom 110 14in/132 cols, 
  7516.     cols#132, 
  7517.     dch1@, use=f110,
  7518. f200|freedom200|Liberty Freedom 200, 
  7519.     am, eslok, hs, mir, msgr, xon, 
  7520.     cols#80, it#8, lines#24, wsl#80, 
  7521.     bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0, 
  7522.     clear=^Z, cnorm=\E.1, cr=^M, 
  7523.     csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V, 
  7524.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  7525.     cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, 
  7526.     ed=\EY, el=\ET, flash=\Eo$<200/>\En, fsl=^M, 
  7527.     home=^^, hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, 
  7528.     ind=^J, invis=\EG1, kbs=^H, kclr=^^, kcub1=^H, 
  7529.     kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
  7530.     ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
  7531.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  7532.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, kich1=\EQ, 
  7533.     kil1=\EE, mc4=\Ea, mc5=\E`, rev=\EG4, ri=\EJ, 
  7534.     rmacs=\E%%, rmir=\Er, rmso=\EG0, rmul=\EG0, 
  7535.     sgr0=\EG0, smacs=\E$, smir=\Eq, smso=\EG<, 
  7536.     smul=\EG8, tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, 
  7537. f200-w|Liberty Freedom 200 - 132 cols, 
  7538.     cols#132, use=f200,
  7539. f200vi|Liberty Freedom 200 for vi, 
  7540.     flash=\Eb$<200/>\Ed, kcud1=^J, use=f200,
  7541. f200vi-w|Liberty Freedom 200 - 132 cols for vi, 
  7542.     cols#132, use=f200vi,
  7543.  
  7544. #### GraphOn (go)
  7545. #
  7546. #    Graphon Corporation
  7547. #    544 Division Street
  7548. #    Campbell, CA 95008
  7549. #    Vox: (408)-370-4080
  7550. #    Fax: (408)-370-5047
  7551. #    Net: troy@graphon.com (Troy Morrison)
  7552. #
  7553. #
  7554. # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
  7555. # including one odd hybrid that starts out life on power-up as a character
  7556. # terminal, than can be switched to X graphics mode (driven over the serial
  7557. # line) by an escape sequence.  No info on this beast yet.
  7558. # (go140: I added <rmam>/<smam> based on the init string -- esr)
  7559. go140|graphon go-140, 
  7560.     cols#80, it#8, lines#24, 
  7561.     clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C, 
  7562.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, 
  7563.     dl1=\E[M, ed=\E[J$<10/>, el=\E[K, ht=^I, 
  7564.     if=/usr/share/tabset/vt100, il1=\E[L, 
  7565.     is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q, 
  7566.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  7567.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
  7568.     ri=\EM, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, 
  7569.     rmso=\E[m, rmul=\E[m, smam=\E[?7h, smir=\E[4h, 
  7570.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  7571. go140w|graphon go-140 in 132 column mode, 
  7572.     am, 
  7573.     cols#132, 
  7574.     is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, use=go140,
  7575. # Hacked up vt200 termcap to handle GO-225/VT220
  7576. # From: <edm@nwnexus.WA.COM>
  7577. # (go225: I added <rmam>/<smam> based on the init string -- esr)
  7578. go225|go-225|Graphon 225, 
  7579.     am, mir, xenl, 
  7580.     cols#80, it#8, lines#25, vt#3, 
  7581.     blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
  7582.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  7583.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  7584.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  7585.     il1=\E[L, ind=\ED, 
  7586.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H, 
  7587.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  7588.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
  7589.     rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, 
  7590.     ri=\EM, rmam=\E[?7l, rmcup=\E[!p\E[?7h\E[2;1;1#w, 
  7591.     rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
  7592.     rs1=\E[!p\E[?7h\E[2;1;1#w, sc=\E7, sgr0=\E[m, 
  7593.     smam=\E[?7h, smcup=\E[2;0#w\E[1;25r, smir=\E[4h, 
  7594.     smkx=\E=, smso=\E[7m, smul=\E[4m, 
  7595.  
  7596. #### Harris (Beehive)
  7597. #
  7598. # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
  7599. # Their terminal group is ancient history now (1995) though the parent
  7600. # company is still in business.
  7601. #
  7602.  
  7603. # Beehive documentation is undated and marked Preliminary and has no figures
  7604. # so we must have early Superbee2 (Model 600, according to phone conversation
  7605. # with mfr.). It has proved reliable except for some missing padding
  7606. # (notably after \EK and <nl> at bottom of screen).
  7607. # The key idea is that AEP mode is poison for <cup> & that US's in 
  7608. # the local memory should be avoided like the plague. That means 
  7609. # that the 2048 character local buffer is used as 25 lines of 80 
  7610. # characters, period. No scrolling local memory, folks. It also 
  7611. # appears that we cannot use naked INS LINE feature since it uses
  7612. # US. The sbi fakes <il1> with an 80-space insert that may be too 
  7613. # slow at low speeds; also spaces get converted to \040 which is 
  7614. # too long for some programs (not vi).  DEL LINE is ok but slow.
  7615. # The <nl> string is designed for last line of screen ONLY; cup to 
  7616. # 25th line corrects the motion inherent in scrolling to Page 1.
  7617. # There is one understood bug. It is that the screen appears to
  7618. # pop to a new (blank) page after a <nel>, or leave a half-line 
  7619. # ellipsis to a quad that is the extra 48 memory locations. The 
  7620. # data received is dumped into memory but not displayed.  Not to 
  7621. # worry if <cup> is being used; the lines not displayed will be, 
  7622. # whenever the cursor is moved up there. Since <cup> is addressed 
  7623. # relative to MEMORY of window, nothing is lost; but beware of 
  7624. # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
  7625. # therefore, is setenv MORE -c .
  7626. # WARNING: Not all features tested.
  7627. # Timings are assembled from 3 sources. Some timings may reflect 
  7628. # SB2/Model 300 that were used if more conservative.
  7629. # Tested on a Model 600 at 1200 and 9600 bd.
  7630. # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly 
  7631. # placed on the keyboard and useless because of AEP, is made 
  7632. # into a backspace key. In use ESC must be pressed twice (to send)
  7633. # and sending ^C must be prefixed by ESC to avoid that weird 
  7634. # transmit mode associated with ENTER key.
  7635. # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across 
  7636. # the screen, then it has dropped into ENTER mode; hit 
  7637. # RESET--ONLINE--!tset.
  7638. # As delivered this machine has a FATAL feature that will throw 
  7639. # it into that strange transmit state (SPOW) if the space bar is 
  7640. # hit after a CR is received, but before receiving a LF (or a 
  7641. # few others).
  7642. # The circuits MUST be modified to eliminate the SPOW latch. 
  7643. # This is done by strapping on chip A46 of the I/O board; cut 
  7644. # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that 
  7645. # chip. This mod has been checked out on a Mod 600 of Superbee II.
  7646. # With this modification absurdly high timings on cr are 
  7647. # unnecessary.
  7648. # NOTE WELL that the rear panel switch should be set to CR/LF, 
  7649. # not AEP!
  7650. #
  7651. sb1|beehive superbee, 
  7652.     am, bw, da, db, mir, ul, xsb, 
  7653.     cols#80, lines#25, xmc#1, 
  7654.     bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, 
  7655.     cr=$<1>\r, cub1=^H, cud1=^J, cuf1=\EC$<3>, 
  7656.     cup=\EF%p2%03d%p1%03d, cuu1=\EA$<3>, dch1=\EP$<3>, 
  7657.     dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>, 
  7658.     home=\EH$<1>, ht=^I, hts=\E1, 
  7659.     il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>, 
  7660.     ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, 
  7661.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  7662.     kdl1=\EM, ked=\EJ, kel=\EK, kf0=\E2, kf1=\Ep, 
  7663.     kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, 
  7664.     kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO, 
  7665.     krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmir=\ER, 
  7666.     rmso=\E_3, rmul=\E_3, smcup=\EO, smir=\EQ\EO, 
  7667.     smso=\E_1, smul=\E_0, tbc=\E3, 
  7668. sbi|superbee|beehive superbee at Indiana U., 
  7669.     xsb, 
  7670.     cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA, use=sb1,
  7671. # Alternate (older) description of Superbee - f1=escape, f2=^C.
  7672. # Note: there are at least 3 kinds of superbees in the world.  The sb1
  7673. # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
  7674. # The sb3 puts garbage on the bottom of the screen when you scroll with
  7675. # the switch in the back set to CRLF instead of AEP.  This description
  7676. # is tested on the sb2 but should work on all with either switch setting.
  7677. # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
  7678. # the other two if you want to try to hit that tiny escape key.
  7679. # This description is tricky: being able to use cup depends on there being
  7680. # 2048 bytes of memory and the hairy <nl> string.
  7681. superbee-xsb|beehive super bee, 
  7682.     am, da, db, xsb, 
  7683.     cols#80, it#8, lines#25, 
  7684.     clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, 
  7685.     cud1=^J, cuf1=\EC, cup=\EF%p2%3d%p1%3d, 
  7686.     cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, 
  7687.     ed=\EJ$<3>, el=\EK$<3>, home=\EH, ht=^I, hts=\E1, 
  7688.     ind=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET, 
  7689.     is2=\EH\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  7690.     kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, 
  7691.     kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\EH, 
  7692.     rmso=\E_3, smso=\E_1, tbc=\E3, 
  7693. # This loses on lines > 80 chars long, use at your own risk
  7694. superbeeic|super bee with insert char, 
  7695.     ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb,
  7696. sb2|sb3|fixed superbee, 
  7697.     xsb@, use=superbee,
  7698.  
  7699. # Reports are that most of these Beehive entries (except superbee) have not
  7700. # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
  7701.  
  7702. # (bee: <ich1> was empty, which is obviously bogus -- esr)
  7703. beehive|bee|harris beehive, 
  7704.     am, mir, 
  7705.     cols#80, lines#24, 
  7706.     cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
  7707.     cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  7708.     dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, home=\EH, 
  7709.     il1=\EL, kbs=^H, kcbt=\E>, kclr=\EE, kcub1=\ED, 
  7710.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, 
  7711.     kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL, 
  7712.     krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, 
  7713.     smir=\EQ, smso=\EdP, smul=\Ed`, 
  7714. # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
  7715. # good grief - does this entry make :sg:/:ug: when it doesn't have to?
  7716. # look at those spaces in <rmso>/<smso>.  Seems strange to me...
  7717. # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
  7718. # really care, cook up one using ^F -- esr)
  7719. beehive3|bh3m|beehiveIIIm|harris beehive 3m, 
  7720.     am, 
  7721.     cols#80, it#8, lines#20, 
  7722.     bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, 
  7723.     cuf1=^L, cuu1=^K, dl1=\021$<350>, ed=^R, el=^P, 
  7724.     home=^E, ht=^I, hts=^F, il1=\023$<160>, ind=^J, 
  7725.     ll=^E^K, rmso= ^_, smso=^] , 
  7726. beehive4|bh4|beehive 4, 
  7727.     am, 
  7728.     cols#80, lines#24, 
  7729.     bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, 
  7730.     cuf1=\EC, cuu1=\EA, ed=\EJ, el=\EK, home=\EH, 
  7731.     ind=^J, 
  7732. microb|microbee|micro bee series, 
  7733.     am, 
  7734.     cols#80, it#8, lines#24, 
  7735.     bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, 
  7736.     cuf1=\EC, cup=\EF%p1%{32}%+%c%p2%{32}%+%c, 
  7737.     cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J, kcub1=\ED, 
  7738.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq, 
  7739.     kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, 
  7740.     kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@ , rmul=\Ed@, 
  7741.     smso= \EdP, smul=\Ed`, 
  7742.  
  7743. # 8675, 8686, and bee from Cyrus Rahman
  7744. # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
  7745. ha8675|harris 8675, 
  7746.     is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F, 
  7747.     kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, 
  7748.     kf15=\Ei, kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, 
  7749.     kf6=^T, kf7=^H, kf8=\177, kf9=\Ee, use=bee,
  7750. # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
  7751. # in :is: -- esr)
  7752. ha8686|harris 8686, 
  7753.     is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU\E"*Z01\E"8F35021B7C83#\E"8F45021B7D83#\E"8F55021B7E83#\E"8F65021B7F83#\E"8F75021B7383#\E"8F851BD7#\E"8F95021B7083#\E"8FA5021B7183#\E"8FB5021B7283#, 
  7754.     kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, 
  7755.     kf12=\002\E{\003, kf13=\002\E|\003, 
  7756.     kf14=\002\E}\003, kf15=\002\E~\003, 
  7757.     kf16=\002\E\177\003, kf2=\002\Eq\003, 
  7758.     kf3=\002\Er\003, kf4=\002\Es\003, kf5=\E3, kf6=\EI, 
  7759.     kf7=\ER, kf8=\EJ, kf9=\E(, use=bee,
  7760.  
  7761. #### Hazeltine
  7762. #
  7763. # Hazeltine appears to be out of the business now (1995).  These guys were 
  7764. # co-owners of the Terminal Brain Damage Hall Of Fame along with Harris.
  7765. # They have a hazeltine.com domain and can be reached at:
  7766. #
  7767. #    Hazeltine
  7768. #    450 East Pulaski Road
  7769. #    Greenlawn, New York 11740
  7770. #
  7771. # As late as 1993, manuals for the terminal product line could still be
  7772. # purchased from:
  7773. #
  7774. #    TRW Customer Service Division
  7775. #    15 Law Drive
  7776. #    P.O. Box 2076
  7777. #    Fairfield, NJ 07007-2078
  7778. #
  7779.  
  7780. # Since <cuf1> is blank, when you want to erase something you
  7781. # are out of luck.  You will have to do ^L's a lot to
  7782. # redraw the screen.  h1000 is untested.  It doesn't work in
  7783. # vi - this terminal is too dumb for even vi.  (The code is
  7784. # there but it isn't debugged for this case.)
  7785. hz1000|hazeltine 1000, 
  7786.     cols#80, lines#12, 
  7787.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1= , 
  7788.     home=^K, ind=^J, 
  7789. # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
  7790. hz1420|hazeltine 1420, 
  7791.     am, 
  7792.     cols#80, lines#24, 
  7793.     bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, 
  7794.     cuf1=^P, cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, 
  7795.     dl1=\E^S, ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, 
  7796.     ind=^J, rmso=\E^Y, smso=\E^_, 
  7797. # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
  7798. # freakout with out-of-range args and tn3270.  No hz since it needs to
  7799. # receive tildes.
  7800. hz1500|hazeltine 1500, 
  7801.     am, hz, 
  7802.     cols#80, lines#24, 
  7803.     bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, 
  7804.     cuf1=^P, 
  7805.     cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%'`'%+%c%p1%'`'%+%c, 
  7806.     cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, 
  7807.     home=~^R, il1=~\032$<40>, ind=^J, kcub1=^H, 
  7808.     kcud1=^J, kcuf1=^P, kcuu1=~^L, khome=~^R, rmso=~^Y, 
  7809.     smso=~^_, 
  7810. # h1510 assumed to be in sane escape mode.  Else use h1500.
  7811. # (h1510: early versions of this entry apparently had "<rmso=\E^_>, 
  7812. # <smso=\E^Y>, but these caps were commented out in 8.3; also,
  7813. # removed incorrect and overridden ":do=^J:" -- esr)
  7814. hz1510|hazeltine 1510, 
  7815.     am, 
  7816.     cols#80, lines#24, 
  7817.     bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, 
  7818.     cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
  7819.     ed=\E^X, el=\E^O, il1=\E^Z, ind=^J, 
  7820. # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
  7821. hz1520|hazeltine 1520, 
  7822.     am, hz, 
  7823.     cols#80, lines#24, 
  7824.     bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, 
  7825.     cuf1=^P, cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, 
  7826.     dl1=~^S, ed=~^X, el=~^O, home=~^R, il1=~^Z, ind=^J, 
  7827.     rmso=~^Y, smso=~^_, 
  7828. # Note: the h1552 appears to be the first Hazeltine terminal which
  7829. # is not braindamaged.  It has tildes and backprimes and everything!
  7830. # Be sure the auto lf/cr switch is set to cr.
  7831. hz1552|hazeltine 1552, 
  7832.     cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, 
  7833.     kf3=\ER, lf1=blue, lf2=red, lf3=green, use=vt52,
  7834. hz1552-rv|hazeltine 1552 reverse video, 
  7835.     cud1=^J, rmso=\ET, smso=\ES, use=hz1552,
  7836. # Note: h2000 won't work well because of a clash between upper case and ~'s.
  7837. hz2000|hazeltine 2000, 
  7838.     am, 
  7839.     cols#74, lines#27, 
  7840.     bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J, 
  7841.     cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R, 
  7842.     il1=~\032$<6>, ind=^J, pad=\177, 
  7843. # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
  7844. # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
  7845. # to work ok. There is one problem though if one types a lot of garbage
  7846. # characters very fast vi seems not able to keep up and hangs while trying
  7847. # to insert. That's in insert mode while trying to insert in the middle of
  7848. # a line. It might be because the Esprit doesn't have insert char and delete
  7849. # char as a built in function. Vi has to delete to end of line and then 
  7850. # redraw the rest of the line.
  7851. esprit|Hazeltine Esprit I, 
  7852.     am, bw, 
  7853.     cols#80, lines#24, 
  7854.     bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, 
  7855.     cud1=\E^K, cuf1=^P, cup=\E\021%p2%c%p1%c, 
  7856.     cuu1=\E^L, dl1=\E^S, ed=\E^W, el=\E^O, home=\E^R, 
  7857.     il1=\E^Z, ind=^J, is2=\E?, kbs=^H, kcub1=^H, 
  7858.     kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J, 
  7859.     kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, 
  7860.     kf5=^B5^J, kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, 
  7861.     kf9=^B9^J, khome=\E^R, lf0=0, lf1=1, lf2=2, lf3=3, 
  7862.     lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9, rmkx=\E>, 
  7863.     rmso=\E^Y, smkx=\E<, smso=\E^_, 
  7864. esprit-am|hazeltine esprit auto-margin, 
  7865.     am, use=esprit,
  7866.  
  7867. #### IBM
  7868. #
  7869.  
  7870. ibm327x|line mode IBM 3270 style, 
  7871.     gn, 
  7872.     clear=^M^J, el=^M, home=^M, 
  7873.  
  7874. # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
  7875. # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
  7876. # (ibm3101: <if=/usr/share/tabset/ibm3101> removed, no such file -- esr)
  7877. ibm3101|i3101|IBM 3101-10, 
  7878.     am, xon, 
  7879.     cols#80, lines#24, 
  7880.     bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, 
  7881.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  7882.     cuu1=\EA, ed=\EJ, el=\EI, home=\EH, ht=^I, hts=\E0, 
  7883.     ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  7884.     kcuu1=\EA, nel=^M^J, tbc=\E1, 
  7885. #   Received from the IBM terminals division (given to DRB)
  7886. #   June 1988 for PS/2 OS 2.2.3 cut
  7887. ibm3151|i3151|IBM 3151, 
  7888.     rmso=\E4@, rmul=\E4@, 
  7889.     sgr=\E4%{64}%?%p1%{0}%>%p1%{4}%<%&%t%{8}%|%;%?%p1%{7}%=%t%{16}%|%;%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c, 
  7890.     sgr0=\E4@, smso=\E4A, smul=\E4B, use=ibm3163,
  7891. # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992 
  7892. # I've commented out or translated some IBM extensions.
  7893. ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display, 
  7894.     am, mir, msgr, 
  7895.     cols#80, it#8, lines#24, 
  7896.     acsc=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356, 
  7897.     bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, 
  7898.     cub1=\ED, cud1=\EB, cuf1=\EC, 
  7899.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  7900.     dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, 
  7901.     ind=^J, invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, 
  7902.     kctab=\E1, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  7903.     kcuu1=\EA, kdch1=\EQ, kdl1=\EO, ked=\EJ, kel=\EI, 
  7904.     kf1=\Ea\r, kf10=\Ej\r, kf11=\Ek\r, kf12=\El\r, 
  7905.     kf13=\E!a\r, kf14=\E!b\r, kf15=\E!c\r, kf16=\E!d\r, 
  7906.     kf17=\E!e\r, kf18=\E!f\r, kf19=\E!g\r, kf2=\Eb\r, 
  7907.     kf20=\E!h\r, kf21=\E!i\r, kf22=\E!j\r, kf23=\E!k\r, 
  7908.     kf24=\E!l\r, kf3=\Ec\r, kf4=\Ed\r, kf5=\Ee\r, 
  7909.     kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r, kf9=\Ei\r, 
  7910.     khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN, 
  7911.     ktbc=\E 1, rev=\E4A, rmcup=\E>A, rmso=\E4@, 
  7912.     rmul=\E4@, 
  7913.     sgr=\E4%'@'%?%p1%t%'A'%|%;\n%?%p2%t%'B'%|%;\n%?%p3%t%'A'%|%;\n%?%p4%t%'D'%|%;\n%?%p5%t%'@'%|%;\n%?%p6%t%'H'%|%;\n%?%p7%t%'P'%|%;%c\n%?%p9%t\E>A%e\E<@%;, 
  7914.     sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B, 
  7915.  
  7916. # How the 3164 sgr string works:
  7917. #    %{32}            # push space for no special video characteristics
  7918. #    %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
  7919. #    %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
  7920. #    %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
  7921. #    %c              # pop Pa1
  7922. #    %{39}%p1%-    # calculate 32 + (7 - p1) for foreground
  7923. #    %c        # pop Pa2 
  7924. #    %{64}        # use only black background for now
  7925. #    %c        # pop Pa3
  7926. ibm3164|i3164|IBM 3164, 
  7927.     blink=\E4D, bold=\E4H, 
  7928.     sgr=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c, 
  7929.     sgr0=\E4@, use=ibm3163,
  7930.  
  7931. ibmaed|IBM Experimental display, 
  7932.     am, eo, msgr, 
  7933.     cols#80, it#8, lines#52, 
  7934.     clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC, 
  7935.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  7936.     dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, flash=\EG, 
  7937.     home=\EH, ht=^I, ich1=\EP, il1=\EN, kbs=^H, 
  7938.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  7939.     rmso=\E0, smso=\E0, 
  7940. ibm-apl|apl|IBM apl terminal simulator, 
  7941.     lines#25, use=dm1520,
  7942. # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
  7943. # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
  7944. ibmmono|ibm5151|IBM workstation monochrome, 
  7945.     eslok, hs, 
  7946.     bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, 
  7947.     il1=\EL, invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, 
  7948.     kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, 
  7949.     kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY, khome=\EH, 
  7950.     kich1=\200, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG, 
  7951.     lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew, 
  7952.     sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, 
  7953.     tsl=\Ej\EY8%+ \Eo, use=ibm3101,
  7954. ibmega|ibm5154|IBM Enhanced Color Display, 
  7955.     cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
  7956.     kcud1=^J, nel=^M^J, use=ibmmono,
  7957. ibmega-c|ibm5154-c|IBM Enhanced Color Display, 
  7958.     rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, use=ibmmono,
  7959. ibmvga-c|IBM VGA display color termcap, 
  7960.     cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
  7961.     kcud1=^J, nel=^M^J, use=ibmega-c,
  7962. ibmvga|IBM VGA display, 
  7963.     cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
  7964.     kcud1=^J, nel=^M^J, use=ibmega,
  7965. # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
  7966. rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display, 
  7967.     lines#32, 
  7968.     dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono,
  7969. # Advanced Monochrome (6153) and Color (6154) Graphics Display:
  7970. ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display, 
  7971.     lines#31, 
  7972.     dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono,
  7973. ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display, 
  7974.     lines#31, 
  7975.     dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, 
  7976.     tsl=\Ej\EY?%+ \Eo, use=ibmega-c,
  7977. # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
  7978. # also in /usr/lpp/bos/bsdsysadmin.
  7979. # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
  7980. # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
  7981. # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
  7982. # I also added <rmam>/<smam> based on the terminal reset string.
  7983. # There was an unknown boolean ":ht:" which I assume was meant to set 
  7984. # hardware tabs, so I have inserted it#8. Finally, "ac=^N" paired with the
  7985. # ae looked like a typo for ":as=^N:" -- esr)
  7986. ibm8512|ibm8513|hft-c|IBM High Function Terminal, 
  7987.     am, mir, msgr, 
  7988.     cols#80, it#8, lines#25, 
  7989.     blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cub1=\E[D, 
  7990.     cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  7991.     cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, 
  7992.     ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL, 
  7993.     il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, 
  7994.     kcuu1=\E[A, kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, 
  7995.     kf3=\E[003q, kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, 
  7996.     kf7=\E[007q, kf8=\E[008q, kf9=\E[009q, khome=\E[H, 
  7997.     rc=\E[u, rev=\E[7m, rmacs=^O, rmam=\E[?7l, 
  7998.     rmcup=\E[20h, rmdc=\E[4l, rmir=\E[4l, rmso=\E[m, 
  7999.     rmul=\E[m, rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, 
  8000.     sgr0=\E[m, smacs=^N, smam=\E[?7h, 
  8001.     smcup=\E[20;4l\E[?7h\Eb, smdc=\E[4h, smir=\E[4h, 
  8002.     smso=\E[7m, smul=\E[4m, 
  8003. hft|AIWS High Function Terminal, 
  8004.     am, xon, 
  8005.     cols#80, lines#25, 
  8006.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
  8007.     cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  8008.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  8009.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  8010.     ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, 
  8011.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  8012.     kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, 
  8013.     kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
  8014.     kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q, 
  8015.     ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, 
  8016.     rmul=\E[m, sgr0=\E[m, smir=\E6, smso=\E[7m, 
  8017.     smul=\E[4m, 
  8018. ibm-system1|system1|ibm system/1 computer, 
  8019.     am, xt, 
  8020.     cols#80, lines#24, 
  8021.     bel=^G, clear=^Z, cub1=^H, cuf1=^\, 
  8022.     cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K, 
  8023.     ind=^J, 
  8024.  
  8025. # From: <pryor@math.berkeley.edu>
  8026. ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display, 
  8027.     eslok, hs, 
  8028.     lines#33, 
  8029.     dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmmono,
  8030. ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display, 
  8031.     eslok, hs, 
  8032.     lines#33, 
  8033.     dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c,
  8034. ibm8514|IBM 8514 color display, 
  8035.     eslok, hs, 
  8036.     lines#41, 
  8037.     cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, 
  8038.     ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  8039.     tsl=\Ej\EYI%+ \Eo, use=ibmega,
  8040. ibm8514-c|IBM 8514 color display, 
  8041.     eslok, hs, 
  8042.     lines#41, 
  8043.     cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, 
  8044.     ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  8045.     tsl=\Ej\EYI%+ \Eo, use=ibmega-c,
  8046.  
  8047. #
  8048. # AIX entries.  IBM ships these with AIX 3. 
  8049. # AIX extension caps are commented out,
  8050. # except for box1 which has been translated to an <acsc> string.
  8051. #
  8052. aixterm-m|IBM AIXterm Monochrome Terminal Emulator, 
  8053.     eslok, hs, 
  8054.     acsc=llqqkkxxjjmmwwuuvvttnn, bold=\E[1m, dsl=\E[?E, 
  8055.     fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
  8056.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
  8057.     sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6153,
  8058. aixterm-m-old|IBM AIXterm Monochrome Terminal Emulator, 
  8059.     eslok, hs, 
  8060.     bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@, 
  8061.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
  8062.     tsl=\E[?%p1%dT, use=ibm6153,
  8063. jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator, 
  8064.     acsc@, use=aixterm-m,
  8065.  
  8066. #### Infoton/General Terminal Corp.
  8067. #
  8068.  
  8069. # gt100 sounds like something DEC would come out with.  Let's hope they don't.
  8070. i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100), 
  8071.     am, 
  8072.     cols#80, lines#24, 
  8073.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
  8074.     cuf1=\EC, cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, 
  8075.     cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, 
  8076.     flash=\Eb$<200/>\Ea, home=\EH, il1=\EL, ind=^J, 
  8077.     rmso=\Ea, smso=\Eb, 
  8078. i400|infoton 400, 
  8079.     am, 
  8080.     cols#80, lines#25, 
  8081.     bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, 
  8082.     cuf1=\E[C, cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A, 
  8083.     dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N, 
  8084.     il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q, 
  8085. # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
  8086. addrinfo, 
  8087.     am, 
  8088.     cols#80, lines#24, 
  8089.     bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, 
  8090.     cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, 
  8091.     home=^H, ind=^J, ll=^H^\, 
  8092. # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
  8093. infoton, 
  8094.     am, 
  8095.     cols#80, lines#24, 
  8096.     bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, 
  8097.     cuu1=^\, ed=^K, ind=^J, ll=^H^\, 
  8098.  
  8099. #### Interactive Systems Corp
  8100. #
  8101. # ISC used to sell OEMed and customized hardware to support ISC UNIX.
  8102. # ISC UNIX still exists in 1995, but ISC itself is no more; they got
  8103. # bought out by Sun.
  8104. #
  8105.  
  8106. # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
  8107. # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
  8108. # ":le=^_:" later overridden -- esr)
  8109. intext|Interactive Systems Corporation modified owl 1200, 
  8110.     am, 
  8111.     cols#80, it#8, lines#24, xmc#1, 
  8112.     bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, 
  8113.     cud1=^J, cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, 
  8114.     cuu1=^\, dch1=\022$<5.5*>, dl1=\021$<5.5*>, 
  8115.     ed=\026J$<5.5*>, el=^Kp^R, ht=^I, il1=\020$<5.5*>, 
  8116.     ind=^J, ip=$<5.5*>, kbs=^H, kcub1=^_, kcud1=^J, 
  8117.     kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r, 
  8118.     kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, 
  8119.     kf6=^VF\r, kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, 
  8120.     khome=^Z, rmir=^V<, rmkx=^V9, rmso=^V# , smir=^V;, 
  8121.     smkx=\036\072\264\026%, smso=^V$\054, 
  8122. intext2|intextii|INTERACTIVE modified owl 1251, 
  8123.     am, bw, ul, 
  8124.     cols#80, lines#24, xmc#0, 
  8125.     bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, 
  8126.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  8127.     cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, 
  8128.     flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u, 
  8129.     hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, 
  8130.     ind=\E[S, kbs=^H, kcub1=\ED\r, kcud1=\EB\r, 
  8131.     kcuf1=\EC\r, kcuu1=\EA\r, kf0=\E@\r, kf1=\EP\r, 
  8132.     kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r, kf5=\EU\r, 
  8133.     kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r, 
  8134.     khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, 
  8135.     lf3=GOTO, lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, 
  8136.     lf7=-SRCH, lf8=LEFT, lf9=RIGHT, ri=\E[T, 
  8137.     rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D, 
  8138.     smul=\E[18 D, 
  8139.  
  8140. #### Kimtron (abm, kt)
  8141. #
  8142. # Kimtron entries include (undocumented) codes for: enter dim mode,
  8143. # enter bold mode, enter reverse mode, turn off all attributes.
  8144. #
  8145.  
  8146. # Kimtron ABM 85 added by Dual Systems
  8147. # (abm85: removed duplicated ":kd=^J:" -- esr)
  8148. abm85|Kimtron ABM 85, 
  8149.     am, bw, msgr, 
  8150.     cols#80, it#8, lines#24, xmc#1, 
  8151.     cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L, 
  8152.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  8153.     dl1=\ER, ed=\Ey, el=\Et, ht=^I, 
  8154.     if=/usr/share/tabset/stdcrt, il1=\EE, 
  8155.     is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, 
  8156.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
  8157.     rmir=\Er, rmso=\Ek, rmul=\Em, smir=\EQ, smso=\Ej, 
  8158.     smul=\El, 
  8159. # Kimtron ABM 85H added by Dual Systems.
  8160. # Some notes about the 85h entries:
  8161. # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
  8162. #    firmware revs prior to SP51
  8163. # 2) Make sure to use 85h entry if the terminal is in 85H mode and the
  8164. #    85e entry if it is in 920 emulation mode. They are incompatible in
  8165. #    some places and NOT software settable i.e., <is2> can't fix it)
  8166. # 3) In 85h mode, the arrow keys and special functions transmit when
  8167. #    the terminal is in dup-edit, and work only locally in local-edit.
  8168. #    Vi won't swallow `del char' for instance, but <smcup> turns on
  8169. #    dup-edit anyway so that the arrow keys will work right. If the
  8170. #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
  8171. #    <is2>.  Note that 920E mode does not have software commands to toggle
  8172. #    between dup and local edit, so you get whatever was set last on the
  8173. #    terminal.
  8174. # 4) <flash> attribute is nice, but seems too slow to work correctly
  8175. #    (\Eb<pad>\Ed)
  8176. # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
  8177. #    are selected, the <xmc@> entry should be removed.
  8178. # 6) auto new-line should be on (selectable from setup mode only)
  8179. #
  8180. # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
  8181. abm85h|Kimtron ABM 85H native mode, 
  8182.     hs, 
  8183.     xmc@, 
  8184.     bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, 
  8185.     flash@, fsl=^M, 
  8186.     is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El, 
  8187.     kcud1=^V, rev=\EG4, rmso=\EG0, rmul=\EG0, 
  8188.     sgr0=\E(\EG0, smir=\EZ, smso=\EG4, smul=\EG8, 
  8189.     tsl=\Eg\Ef, use=abm85,
  8190. abm85e|Kimtron ABM 85H in 920E mode, 
  8191.     xmc@, 
  8192.     bel=^G, dim=\E), flash@, 
  8193.     is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em, 
  8194.     rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
  8195. abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev., 
  8196.     xmc@, 
  8197.     bel=^G, dim=\E), 
  8198.     is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF, 
  8199.     rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
  8200. # From: <malman@bbn-vax.arpa>
  8201. # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
  8202. kt7|kimtron model kt-7, 
  8203.     am, 
  8204.     cols#80, it#8, lines#24, 
  8205.     cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L, 
  8206.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  8207.     dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, 
  8208.     ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, 
  8209.     is2=\El\E", kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, 
  8210.     kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
  8211.     ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
  8212.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  8213.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  8214.     kich1=\EQ, kil1=\EE, rmso=\EG0, rmul=\EG0, 
  8215.     smso=\EG4, smul=\EG8, tsl=\Ef, 
  8216.  
  8217. #### Microterm (act, mime)
  8218. #
  8219. # The mime1 entries refer to the Microterm Mime I or Mime II.
  8220. # The default mime is assumed to be in enhanced act iv mode.
  8221. #
  8222.  
  8223. # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
  8224. # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
  8225. # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
  8226. # since Sytek insists ^S means xoff.
  8227. # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
  8228. act4|microterm|microterm act iv, 
  8229.     am, 
  8230.     cols#80, lines#24, 
  8231.     bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, 
  8232.     cuf1=^X, 
  8233.     cup=\024%p1%{24}%+%c%p2%p2%?%'/'%>%t%'0'%+%;%'P'%+%c, 
  8234.     cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>, 
  8235.     ed=\037$<2.2*/>, el=\036$<.1*/>, home=^], 
  8236.     il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, 
  8237.     kcuf1=^X, kcuu1=^Z, 
  8238. # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
  8239. # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
  8240. # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
  8241. act5|microterm5|microterm act v, 
  8242.     kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, 
  8243.     uc=^H\EA, use=act4,
  8244. # Mimes using brightness for standout.  Half bright is really dim unless
  8245. # you turn up the brightness so far that lines show up on the screen.
  8246. mime-fb|full bright mime1, 
  8247.     is2=^S\E, rmso=^S, smso=^Y, use=mime,
  8248. mime-hb|half bright mime1, 
  8249.     is2=^Y\E, rmso=^Y, smso=^S, use=mime,
  8250. # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
  8251. # the more plausible ":do=^J:" -- esr)
  8252. # uc was at one time disabled to get around a curses bug, be wary of it
  8253. mime|mime1|mime2|mimei|mimeii|microterm mime1, 
  8254.     am, 
  8255.     cols#80, it#8, lines#24, vt#9, 
  8256.     bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, 
  8257.     cuf1=^X, 
  8258.     cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%'0'%+%;%'P'%+%c, 
  8259.     cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], 
  8260.     ht=\011$<2>, il1=\001$<80>, ind=^J, is2=^S\E^Q, 
  8261.     kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, 
  8262.     ri=\022$<3>, uc=^U, 
  8263. # These termcaps (for mime 2a) put the terminal in low intensity mode
  8264. # since high intensity mode is so obnoxious.
  8265. mime2a-s|microterm mime2a (emulating an enhanced soroc iq120), 
  8266.     am, 
  8267.     cols#80, lines#24, 
  8268.     bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, 
  8269.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, 
  8270.     dch1=\ED, dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, 
  8271.     home=^^, il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), 
  8272.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, ri=\EI, 
  8273.     rmir=^Z, rmso=\E;, rmul=\E7, smir=\EE, smso=\E\072, 
  8274.     smul=\E6, 
  8275. # This is the preferred mode (but ^X can't be used as a kill character)
  8276. mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52), 
  8277.     cols#80, it#8, lines#24, 
  8278.     bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, 
  8279.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  8280.     cuu1=\EA, dch1=^N, dl1=\027$<20*>, ed=\EQ$<20*>, 
  8281.     el=\EP, home=\EH, ht=^I, il1=\001$<20*>, ind=^J, 
  8282.     ip=$<2>, is2=^Y, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  8283.     kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9, rmul=\E5, 
  8284.     smir=^O, smso=\E8, smul=\E4, 
  8285. # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
  8286. mime3a|mime1 emulating 3a, 
  8287.     am@, 
  8288.     kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a,
  8289. mime3ax|mime-3ax|mime1 emulating enhanced 3a, 
  8290.     it#8, 
  8291.     dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, 
  8292.     il1=\001$<80>, use=mime3a,
  8293. # Wed Mar  9 18:53:21 1983
  8294. # We run our terminals at 2400 baud, so there might be some timing problems at
  8295. # higher speeds. The major improvements in this model are the terminal now 
  8296. # scrolls down and insert mode works without redrawing the rest of the line
  8297. # to the right of the cursor. This is done with a bit of a kludge using the
  8298. # exit graphics mode to get out of insert, but it does not appear to hurt
  8299. # anything when using vi at least. If you have some users using act4s with
  8300. # programs that use curses and graphics mode this could be a problem.
  8301. mime314|mm314|mime 314, 
  8302.     am, 
  8303.     cols#80, lines#24, 
  8304.     clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, 
  8305.     cuu1=^Z, dch1=^D, dl1=^W, ed=^_, el=^^, home=^], 
  8306.     ht=^I, il1=^A, kcub1=^H, kcud1=^K, kcuf1=^X, 
  8307.     kcuu1=^Z, rmir=^V, smir=^S, 
  8308. # Microterm mime 340 from University of Wisconsin
  8309. mm340|mime340|mime 340, 
  8310.     cols#80, lines#24, 
  8311.     clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  8312.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  8313.     dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>, 
  8314.     el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, 
  8315.     is2=\E\054, kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, 
  8316.     nel=^M^J, 
  8317. # This came from University of Wisconsin marked "astro termcap for jooss".
  8318. # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
  8319. # also added <rmam>/<smam> based  on the init string -- esr)
  8320. mt4520-rv|micro-term 4520 reverse video, 
  8321.     am, hs, msgr, xenl, xon, 
  8322.     cols#80, it#8, lines#24, wsl#80, 
  8323.     bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M, 
  8324.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
  8325.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  8326.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8327.     cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, 
  8328.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  8329.     flash=\E[?5l$<200/>\E[?5h, fsl=\E[?5l\E[?5h, 
  8330.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  8331.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  8332.     is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J, 
  8333.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  8334.     kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  8335.     khome=\E[H, ll=\E[24;1H, nel=\EE, rc=\E8, 
  8336.     rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l, 
  8337.     rmso=\E[0m, rmul=\E[24m, 
  8338.     rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J, 
  8339.     sc=\E7, smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
  8340.     tbc=\E[g, tsl=\E[25;1H, 
  8341.  
  8342. # Fri Aug  5 08:11:57 1983
  8343. # This entry works for the ergo 4000 with the following setups:
  8344. # ansi,wraparound,newline disabled, xon/xoff disabled in both
  8345. # setup a & c.
  8346. #    
  8347. # WARNING!!! There are multiple versions of ERGO 4000 microcode
  8348. # Be advised that very early versions DO NOT WORK RIGHT !!  
  8349. # Microterm does have a ROM exchange program- use it or lose big
  8350. # (ergo400: added <rmam>/<smam> based on the init string -- esr)
  8351. ergo4000|microterm ergo 4000, 
  8352.     da, db, msgr, 
  8353.     cols#80, lines#66, 
  8354.     bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, 
  8355.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  8356.     cuu1=\E[A, dch1=\E[1P$<80>, dl1=\E[1M$<5*>, 
  8357.     ed=\E[0J$<15>, el=\E[0K$<13>, ht=^I, il=\E[1L$<5*>, 
  8358.     ind=\ED$<20*>, 
  8359.     is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>, 
  8360.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  8361.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, 
  8362.     lf2=pf2, lf3=pf3, lf4=pf4, ri=\EM$<20*>, 
  8363.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E=$<4>, 
  8364.     rmso=\E[m$<20>, smam=\E[?7m, smir=\E[4h$<6>, 
  8365.     smkx=\E=$<4>, smso=\E[7m$<20>, 
  8366.  
  8367. #### NCR 
  8368. #
  8369. # NCR's terminal group was merged with AT&T's when AT&T bought the company.
  8370. # For what happened to that group, see the ADDS section.
  8371. #
  8372.  
  8373. # NCR7900 DIP switches:
  8374. #
  8375. # Switch A:
  8376. # 1-4 - Baud Rate
  8377. # 5   - Parity (Odd/Even)
  8378. # 6   - Don't Send or Do Send Spaces
  8379. # 7   - Parity Enable
  8380. # 8   - Stop Bits (One/Two)
  8381. # Switch B:
  8382. # 1   - Upper/Lower Shift
  8383. # 2   - Typewriter Shift
  8384. # 3   - Half Duplex / Full Duplex
  8385. # 4   - Light/Dark Background
  8386. # 5-6 - Carriage Return Without / With Line Feed
  8387. # 7   - Extended Mode
  8388. # 8   - Suppress Keyboard Display
  8389. # Switch C:
  8390. # 1   - End of line entry disabled/enabled
  8391. # 2   - Conversational mode / (Local?) Mode
  8392. # 3   - Control characters displayed / not displayed
  8393. # 4   - (2-wire?) / 4-wire communications
  8394. # 5   - RTS on and off for each character
  8395. # 6   - (50Hz?) / 60 Hz
  8396. # 7   - Exit after level zero diagnostics
  8397. # 8   - RS-232 interface
  8398. # Switch D:
  8399. # 1   - Reverse Channel (yes / no)
  8400. # 2   - Manual answer (no / yes)
  8401. # 3-4 - Cursor appearance
  8402. # 5   - Communication Rate
  8403. # 6   - Enable / Disable EXT turnoff
  8404. # 7   - Enable / Disable CR turnoff
  8405. # 8   - Enable / Disable backspace
  8406. #
  8407. # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
  8408. ncr7900i|7900i|ncr7900|7900|ncr 7900 model 1, 
  8409.     am, bw, ul, 
  8410.     cols#80, lines#24, xmc#1, 
  8411.     bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, 
  8412.     cud1=^J, cuf1=^F, cup=\E1%p2%c%p1%c, cuu1=^Z, 
  8413.     dim=\E0A, ed=\Ek, el=\EK, ind=^J, 
  8414.     is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, 
  8415.     kcuf1=^F, kcuu1=^Z, khome=^A, ll=^A, mc4=^T, 
  8416.     mc5=^R, rev=\E0P, rmso=\E0@, rmul=\E0@, 
  8417.     sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c, 
  8418.     sgr0=\E0@, smso=\E0Q, smul=\E0`, 
  8419. ncr7900iv|ncr 7900 model 4, 
  8420.     am, bw, eslok, hs, 
  8421.     cols#80, lines#24, 
  8422.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
  8423.     cup=\013%p1%'@'%+%c\E\005%p2%02d, dl1=\E^O, 
  8424.     dsl=\Ey1, fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, 
  8425.     ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  8426.     kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
  8427.     kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, 
  8428.     lf6=blue, lf7=red, lf8=white, nel=^M^J, 
  8429.     tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo, 
  8430. ncr7901|7901|ncr 7901 model, 
  8431.     am, bw, ul, 
  8432.     cols#80, lines#24, 
  8433.     bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, 
  8434.     cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  8435.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A, 
  8436.     ed=\Ek, el=\EK, 
  8437.     hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J, 
  8438.     is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, 
  8439.     kcuu1=^Z, khome=^H, ll=^A, mc4=^T, mc5=^R, 
  8440.     rev=\E0P, rmso=^O, rmul=^O, 
  8441.     sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016, 
  8442.     sgr0=^O, smso=\E0Q\016, smul=\E0`\016, 
  8443.     vpa=\013%p1%'@'%+%c, 
  8444.  
  8445. #### Perkin-Elmer (Owl)
  8446. #
  8447. # These are official terminfo entries from within Perkin-Elmer.
  8448. #
  8449.  
  8450. bantam|pe550|pe6100|perkin elmer 550, 
  8451.     cols#80, lines#24, 
  8452.     bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, 
  8453.     cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, 
  8454.     cuu1=\EA, el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA, 
  8455. fox|pe1100|perkin elmer 1100, 
  8456.     am, 
  8457.     cols#80, lines#24, 
  8458.     bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, 
  8459.     cud1=^J, cuf1=\EC, 
  8460.     cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
  8461.     ed=\EJ$<5.5*>, el=\EI, 
  8462.     flash=\020\002$<200/>\020\003, home=\EH, hts=\E1, 
  8463.     ind=^J, ll=\EH\EA, tbc=\E3, 
  8464. owl|pe1200|perkin elmer 1200, 
  8465.     am, in, 
  8466.     cols#80, lines#24, 
  8467.     bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, 
  8468.     cud1=^J, cuf1=\EC, 
  8469.     cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
  8470.     dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
  8471.     el=\EI$<5.5>, flash=\020\002$<200/>\020\003, 
  8472.     home=\EH, hts=\E1, ich1=\EN, il1=\EL$<5.5*>, 
  8473.     ind=^J, ip=$<5.5*>, kbs=^H, kf0=\ERJ, kf1=\ERA, 
  8474.     kf2=\ERB, kf3=\ERC, kf4=\ERD, kf5=\ERE, kf6=\ERF, 
  8475.     kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
  8476.     rmso=\E!\200, smso=\E!^H, tbc=\E3, 
  8477. pe1251|pe6300|pe6312|perkin elmer 1251, 
  8478.     am, 
  8479.     cols#80, it#8, lines#24, pb#300, vt#8, xmc#1, 
  8480.     bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, 
  8481.     cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, 
  8482.     cuu1=\EA, ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, 
  8483.     hts=\E1, ind=^J, kf0=\ERA, kf1=\ERB, kf10=\ERK, 
  8484.     kf2=\ERC, kf3=\ERD, kf4=\ERE, kf5=\ERF, kf6=\ERG, 
  8485.     kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3, 
  8486. # (pe7000m: this had
  8487. #     rmul=\E!\0, smul=\E!\040, 
  8488. # which is probably wrong, it collides with kf0
  8489. pe7000m|perkin elmer 7000 series monochrome monitor, 
  8490.     am, 
  8491.     cols#80, lines#24, 
  8492.     bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, 
  8493.     cud1=\EB, cuf1=\EC, 
  8494.     cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  8495.     el=\EI, home=\EH, ind=^J, 
  8496.     is1=\E!\200\EW  7o\Egf\ES7 , kbs=^H, kcub1=\E!V, 
  8497.     kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\200, 
  8498.     kf1=\E!^A, kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, 
  8499.     kf4=\E!^D, kf5=\E!^E, kf6=\E!^F, kf7=\E!^G, 
  8500.     kf8=\E!^H, kf9=\E!^I, khome=\E!S, ll=\ES7 , ri=\ER, 
  8501. pe7000c|perkin elmer 7000 series colour monitor, 
  8502.     is1=\E!\200\EW  7o\Egf\Eb0\Ec7\ES7 , rmso=\Eb0, 
  8503.     rmul=\E!\200, smso=\Eb2, smul=\E! , use=pe7000m,
  8504.  
  8505. #### Sperry Univac
  8506. #
  8507. # Sperry Univac has merged with Burroughs to form Unisys.
  8508. #
  8509.  
  8510. # This entry is for the Sperry UTS30 terminal running the TTY 
  8511. # utility under control of CP/M Plus 1R1. The functionality 
  8512. # provided is comparable to the DEC vt100.
  8513. # (uts30: I added <rmam>/<smam> based on the init string -- esr)
  8514. uts30|sperry uts30 with cp/m@1R1, 
  8515.     am, bw, hs, 
  8516.     cols#80, lines#24, wsl#40, 
  8517.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, 
  8518.     clear=^L, cnorm=\ES, cr=^M, 
  8519.     csr=\EU%p1%{32}%+%c%p2%{32}%+%c, cub=\E[%p1%dD, 
  8520.     cub1=^H, cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, 
  8521.     cuf1=\EC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  8522.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM, dl=\E[%p1%dM, 
  8523.     dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H, 
  8524.     ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, 
  8525.     il1=\EN, ind=^J, indn=\E[%p1%dB, 
  8526.     is2=\E[U 7\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
  8527.     kcuf1=\EOC, kcuu1=\EOA, khome=\E[H, rc=\EX, 
  8528.     rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI, 
  8529.     rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m, 
  8530.     rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  8531.     sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, 
  8532.     smso=\E[7m, smul=\E[4m, tsl=\E], uc=\EPB, 
  8533.  
  8534. #### Tandem
  8535. #
  8536. # Tandem builds these things for use with its line of fault-tolerant
  8537. # transaction-processing computers.  They aren't generally available
  8538. # on the merchant market, and so are fairly uncommon.
  8539. #
  8540.  
  8541. tandem6510|adm3a repackaged by Tandem, 
  8542.     use=adm3a,
  8543.  
  8544. # A funny series of terminal that TANDEM uses.  The actual model numbers
  8545. # have a fourth digit after 653 that designates minor variants.  These are
  8546. # natively block-mode and rather ugly, but they have a character mode which
  8547. # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
  8548. # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
  8549. # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
  8550. tandem653|t653x|Tandem 653x multipage terminal, 
  8551.     am, da, db, hs, 
  8552.     cols#80, lines#24, wsl#64, xmc#1, 
  8553.     clear=\EI, cub1=^H, cud1=^J, cuf1=\EC, 
  8554.     cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  8555.     dsl=\Eo\r, ed=\EJ, el=\EK, fsl=^M, home=\EH, 
  8556.     ind=\ES, ri=\ET, rmso=\E6 , rmul=\E6 , smso=\E6$, 
  8557.     smul=\E60, tsl=\Eo, 
  8558.  
  8559. #### Tandy/Radio Shack
  8560. #
  8561. # Tandy has a line of VDTs distinct from its microcomputers.
  8562. #
  8563.  
  8564. dmterm|deskmate terminal, 
  8565.     am, bw, 
  8566.     cols#80, lines#24, 
  8567.     bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, 
  8568.     cub1=^H, cud1=\EB, cuf1=\EC, 
  8569.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  8570.     dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I, 
  8571.     ich1=\EQ, il1=\EP, ind=\EX, kcub1=\ED, kcud1=\EB, 
  8572.     kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, 
  8573.     kf3=\E4, kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, 
  8574.     kf8=\E9, kf9=\E0, khome=\EH, lf0=f1, lf1=f2, 
  8575.     lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, 
  8576.     lf8=f9, lf9=f10, ll=\EE, rmso=\EG0, smso=\EG4, 
  8577. dt100|dt-100|Tandy DT-100 terminal, 
  8578.     xon, 
  8579.     cols#80, lines#24, xmc#1, 
  8580.     acsc=kkllmmjjnnwwvvttuuqqxx, bel=^G, civis=\E[?25l, 
  8581.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  8582.     csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, 
  8583.     cuf1=\E[C, cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  8584.     dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
  8585.     ht=^I, ich1=\E[@, il1=\E[L, ind=^J, 
  8586.     is2=\E[?3l\E)0\E(B, kcub1=\E[D, kcud1=\E[B, 
  8587.     kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i, kf10=\E[?5i, 
  8588.     kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~, 
  8589.     kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, 
  8590.     khome=\E[H, knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, 
  8591.     lf3=f3, lf4=f4, lf5=f5, lf6=f6, lf7=f7, lf8=f8, 
  8592.     ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, smacs=^N, 
  8593.     smso=\E[7m, smul=\E[4m, 
  8594. dt100w|dt-100w|Tandy DT-100 terminal (wide mode), 
  8595.     cols#132, use=dt100,
  8596. dt110|Tandy DT-110 emulating ansi, 
  8597.     xon, 
  8598.     cols#80, lines#24, 
  8599.     acsc=kkllmmjjnnwwvvuuttqqxx, bel=^G, civis=\E[?25l, 
  8600.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  8601.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, 
  8602.     cuf1=\E[C, cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, 
  8603.     dch1=\E[0P, dl1=\E[0M, ed=\E[0J, el=\E[0K, 
  8604.     enacs=\E(B\E)0, home=\E[H, ht=^I, ich1=\E[0@, 
  8605.     il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D, 
  8606.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K, 
  8607.     kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, 
  8608.     kf4=\E[4~, kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, 
  8609.     kf8=\E[8~, kf9=\E[9~, khome=\E[G, kich1=\E[@, 
  8610.     knp=\E[26~, kpp=\E[25~, lf0=f1, lf1=f2, lf2=f3, 
  8611.     lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9, 
  8612.     lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, 
  8613.     smacs=^N, smso=\E[7m, smul=\E[4m, 
  8614. pt210|TRS-80 PT-210 printing terminal, 
  8615.     hc, os, 
  8616.     cols#80, 
  8617.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  8618.  
  8619. #### Tektronix (tek)
  8620. #
  8621. # Tektronix tubes are graphics terminals.  Most of them use modified 
  8622. # oscilloscope technology incorporating a long-persistence green phosphor,
  8623. # and support vector graphics on a main screen with an attached "dialogue
  8624. # area" for interactive text.
  8625. #
  8626.  
  8627. tek|tek4012|4012|tektronix 4012, 
  8628.     os, 
  8629.     cols#75, lines#35, 
  8630.     bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, 
  8631.     cud1=^J, ff=\014$<1000>, is2=\E^O, 
  8632. tek4013|4013|tektronix 4013, 
  8633.     rmacs=\E^O, smacs=\E^N, use=tek4012,
  8634. tek4014|4014|tektronix 4014, 
  8635.     cols#81, lines#38, 
  8636.     is2=\E\017\E9, use=tek4012,
  8637. tek4015|4015|tektronix 4015, 
  8638.     rmacs=\E^O, smacs=\E^N, use=tek4014,
  8639. tek4014-sm|4014-sm|tektronix 4014 in small font, 
  8640.     cols#121, lines#58, 
  8641.     is2=\E\017\E\072, use=tek4014,
  8642. tek4015-sm|4015-sm|tektronix 4015 in small font, 
  8643.     rmacs=\E^O, smacs=\E^N, use=tek4014-sm,
  8644. tek4023|4023|tex|tektronix 4023, 
  8645.     am, 
  8646.     cols#80, lines#24, vt#4, 
  8647.     bel=^G, clear=\E\014$<4>, cr=^M, cub1=^H, cud1=^J, 
  8648.     cuf1=^I, cup=\034%p2%{32}%+%c%p1%{32}%+%c, ind=^J, 
  8649.     rmso=^_@, smso=^_P, 
  8650. # It is recommended that you run the 4025 at 4800 baud or less;
  8651. # various bugs in the terminal appear at 9600.  It wedges at the
  8652. # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
  8653. # on keyboard don't work.  You have to hit BREAK twice to get
  8654. # one break at any speed - this is a documented feature.
  8655. # Can't use cursor motion because it's memory relative, and 
  8656. # because it only works in the workspace, not the monitor.  
  8657. # Same for home. Likewise, standout only works in the workspace.
  8658. # <el> was commented out since vi and rogue seem to work better 
  8659. # simulating it with lots of spaces!
  8660. # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U 
  8661. # and didn't seem necessary.
  8662. #
  8663. tek4024|tek4025|tek4027|tektronix 4024/4025/4027, 
  8664.     am, da, db, 
  8665.     cols#80, it#8, lines#34, lm#0, 
  8666.     bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M, 
  8667.     cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r, 
  8668.     cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r, 
  8669.     cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r, 
  8670.     dl=\037dli %p1%d\r\006, dl1=\037dli\r\006, 
  8671.     ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010, 
  8672.     il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r, 
  8673.     ind=^F^J, 
  8674.     is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
  8675.     rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r, 
  8676.     smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r, 
  8677. tek4025-17|4025-17|4027-17|tek 4025 17 line window, 
  8678.     lines#17, use=tek4025,
  8679. tek4025-17-ws|4025-17-ws|4025-17ws|4027-17ws|4027-17-ws|tek 4025 17 line window in workspace, 
  8680.     is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r, 
  8681.     rmcup=\037mon h\r, rmso=\037att s\r, 
  8682.     smcup=\037wor h\r, smso=\037att e\r, use=tek4025-17,
  8683. tek4025-ex|tek4027-ex|tek 4025/4027 w/!, 
  8684.     is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r, 
  8685.     rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
  8686. # Tektronix 4025a
  8687. # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
  8688. # The following status modes are assumed for normal operation (replace the
  8689. # initial "!" by whatever the current command character is):
  8690. #    !COM 29            # NOTE: changes command character to GS (^])
  8691. #    ^]DUP
  8692. #    ^]ECH R
  8693. #    ^]EOL
  8694. #    ^]RSS T
  8695. #    ^]SNO N
  8696. #    ^]STO 9 17 25 33 41 49 57 65 73
  8697. # Other modes may be set according to communication requirements.
  8698. # If the command character is inadvertently changed, termcap can't restore it.
  8699. # Insert-character cannot be made to work on both top and bottom rows.
  8700. # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
  8701. # There also seems to be a problem with vertical motion, perhaps involving
  8702. # delete/insert-line, following a typed carriage return.  This terminal sucks.
  8703. # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  8704. # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
  8705. # work any more. -- esr)
  8706. tek4025a|4025a|Tektronix 4025A, 
  8707.     am, bw, da, db, xon, 
  8708.     cols#80, it#8, lines#34, 
  8709.     bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, 
  8710.     cmdch=^], cr=^M, cub=\035lef %p1%d;, cub1=^H, 
  8711.     cud=\035dow %p1%d;, cud1=^J, cuf=\035rig %p1%d;, 
  8712.     cuf1=\035rig;, cuu=\035up %p1%d;, cuu1=^K, 
  8713.     dch=\035dch %p1%d;, dch1=\035dch;, 
  8714.     dl=\035dli %p1%d;, dl1=\035dli;, el=\035dch 80;, 
  8715.     hpa=\r\035rig %p1%d;, ht=^I, il1=\013\035ili;, 
  8716.     ind=^J, indn=\035dow %p1%d;, tbc=\035sto;, 
  8717. # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
  8718. # Here's the command file that I use to get rogue to work on the 4025.
  8719. # It should work with any program using the old curses (e.g. it better
  8720. # not try to scroll, or cursor addressing won't work.  Also, you can't
  8721. # see the cursor.)
  8722. # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
  8723. tek4025-cr|4025-cr|tek 4025 for curses and rogue, 
  8724.     am, 
  8725.     cols#80, it#8, lines#33, 
  8726.     clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;, 
  8727.     cup=\037jum%i%p1%d\054%p2%d;, cuu1=^K, ht=^I, 
  8728.     ind=^F^J, 
  8729.     is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
  8730.     rmcup=\037wor 0, smcup=\037wor 33h, 
  8731. # next two lines commented out since curses only allows 128 chars, sigh.
  8732. #    :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:\
  8733. #    :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:
  8734. tek4025ex|4025ex|4027ex|tek 4025 w/!, 
  8735.     is2=\037com 33\r\n!sto 9\05417\05425\05433\05441\05449\05457\05465\05473\r, 
  8736.     rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
  8737. tek4105|4105|tektronix 4105, 
  8738.     am, mir, msgr, ul, xenl, xt, 
  8739.     cols#79, it#8, lines#29, 
  8740.     bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z, 
  8741.     clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C, 
  8742.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P, 
  8743.     dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, 
  8744.     home=\E[H, ht=^I, il1=\E[1L, ind=\E[S, 
  8745.     invis=\E[=6;<5, is1=\E%!1\E[m, 
  8746.     is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, 
  8747.     kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A, 
  8748.     rev=\E[=1;<3m, ri=\E[T, rmacs=\E[m, rmir=\E[4l, 
  8749.     rmso=\E[=0;<1m, rmul=\E[=0;<1m, sgr0=\E[=0;<1m, 
  8750.     smacs=\E[1m, smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, 
  8751.     smso=\E[=2;<3m, smul=\E[=5;<2m, tbc=\E[1g, 
  8752.  
  8753. # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
  8754. tek4105-30|4105-30|4015 emulating 30 line vt100, 
  8755.     am, mir, msgr, xenl, xon, 
  8756.     cols#80, it#8, lines#30, vt#3, 
  8757.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8758.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  8759.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  8760.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  8761.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  8762.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  8763.     cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, 
  8764.     el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, 
  8765.     hts=\EH, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, 
  8766.     kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, 
  8767.     kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
  8768.     kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  8769.     kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, 
  8770.     rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, 
  8771.     rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
  8772.     rmul=\E[m$<2>, 
  8773.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  8774.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  8775.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, 
  8776.     smkx=\E[?1h\E=, smso=\E[1;7m$<2>, smul=\E[4m$<2>, 
  8777.     tbc=\E[3g, 
  8778.  
  8779. tek4107|tek4109|4107|4109|tektronix terminals 4107 4109, 
  8780.     am, mir, msgr, ul, xenl, xt, 
  8781.     cols#79, it#8, lines#29, 
  8782.     bel=^G, blink=\E%!1\E[5m$<2>\E%!0, 
  8783.     bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, 
  8784.     cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  8785.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  8786.     cvvis=\E%!3, dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, 
  8787.     el=\EK, ht=^I, ind=^J, kbs=^H, kcub1=\ED, 
  8788.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  8789.     rev=\E%!1\E[7m$<2>\E%0, ri=\EI, 
  8790.     rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0, 
  8791.     sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0, 
  8792.     sgr0=\E%!1\E[m$<2>\E%!0, 
  8793.     smso=\E%!1\E[7;5m$<2>\E%!0, 
  8794.     smul=\E%!1\E[4m$<2>\E%!0, 
  8795. # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
  8796. # see the note attached to tek4207.
  8797. tek4207-s|Tektronix 4207 with sysline but no memory, 
  8798.     eslok, hs, 
  8799.     dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8, 
  8800.     is1=\E%!1\E[2;32r\E[132D\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J, 
  8801.     is2=\E7\E[?6l\E[2K\E[?6h\E8, 
  8802.     tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107,
  8803.  
  8804. # The 4110 series may be a wonderful graphics series, but they make the 4025
  8805. # look good for screen editing.  In the dialog area, you can't move the cursor
  8806. # off the bottom line.  Out of the dialog area, ^K moves it up, but there
  8807. # is no way to scroll.
  8808. # Note that there is a floppy for free from Tek that makes the 
  8809. # 4112 emulate the vt52 (use the vt52 termcap). There is also
  8810. # an expected enhancement that will use ANSI standard sequences.
  8811. # 4112 in non-dialog area pretending to scroll. It really wraps 
  8812. # but vi is said to work (more or less) in this mode.
  8813. # 'vi' works reasonably well with this entry.
  8814. #
  8815. otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series, 
  8816.     am, 
  8817.     cols#80, lines#34, 
  8818.     bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, 
  8819.     cuu1=^K, ind=^J, rmcup=\EKA1\ELV1, 
  8820.     smcup=\EKA0\ELV0\EMG0, 
  8821. # The 4112 with the ANSI compatibility enhancement
  8822. tek4112|tek4114|tektronix 4110 series, 
  8823.     am, db, 
  8824.     cols#80, lines#34, 
  8825.     cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C, 
  8826.     cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, 
  8827.     dl1=\E[M, ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L, 
  8828.     ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, 
  8829.     ri=\E7\E[0;0H\E[L\E8, rmso=\E[m, rmul=\E[m, 
  8830.     smso=\E[7m, smul=\E[4m, 
  8831. tek4112-nd|4112-nd|4112 not in dialog area, 
  8832.     cuu1=^K, use=tek4112,
  8833. tek4112-5|4112-5|4112 in 5 line dialog area, 
  8834.     lines#5, use=tek4112,
  8835. # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
  8836. # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
  8837. # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
  8838. # previously \0410 and \0411 sequences...I don't *think* they were supposed
  8839. # to be 4-digit octal -- esr)
  8840. tek4113|tektronix 4113 color graphics with 5 line dialog area, 
  8841.     am, da, eo, 
  8842.     cols#80, lines#5, 
  8843.     clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0, 
  8844.     flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
  8845.     is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0, 
  8846. tek4113-34|4113-34|tektronix 4113 color graphics with 34 line dialog area, 
  8847.     lines#34, 
  8848.     is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113,
  8849. # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not 
  8850. # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
  8851. # :vb: needs enough delay to let you see the background color being toggled.
  8852. tek4113-nd|4113-nd|tektronix 4113 color graphics with no dialog area, 
  8853.     am, eo, 
  8854.     cols#80, it#8, lines#34, 
  8855.     clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K, 
  8856.     cvvis=\ELZ\EKA0, 
  8857.     flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
  8858.     home=\ELF7l\177 @, ht=^I, 
  8859.     is2=\ELZ\EKA0\ELF7l\177 @, ll=\ELF hl @, 
  8860.     rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0, 
  8861. # This entry is from Tek. Inc.  (Brian Biehl)
  8862. # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
  8863. otek4115|Tektronix 4115, 
  8864.     am, da, db, eo, 
  8865.     cols#80, it#8, lines#34, 
  8866.     cbt=\E[Z, clear=\E[H\E[2J, 
  8867.     cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, 
  8868.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  8869.     cuu1=\E[A, cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, 
  8870.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  8871.     if=/usr/share/tabset/vt100, il1=\E[L, 
  8872.     is2=\E%!0\E%\014\ELV0\EKA1\ELBB2\ENU@=\ELLB2\ELM0\ELV1\EKYA?\E%!1\E[<1l\E[?7h\E[?8h\E[34;1H\E[34B\E[m, 
  8873.     kbs=^H, ri=\EM, rmam=\E[?7l, 
  8874.     rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l, 
  8875.     rmkx=\E>, rmso=\E[m, rmul=\E[m, smam=\E[?7h, 
  8876.     smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, 
  8877.     smso=\E[7m, smul=\E[4m, 
  8878. tek4115|newer tektronix 4115 entry with more ANSI capabilities, 
  8879.     am, xon, 
  8880.     cols#80, lines#34, 
  8881.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  8882.     clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  8883.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  8884.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8885.     dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  8886.     el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
  8887.     hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
  8888.     il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, 
  8889.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  8890.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l, 
  8891.     rmso=\E[m, rmul=\E[m, 
  8892.     sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
  8893.     sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
  8894.     tbc=\E[2g, vpa=\E[%p1%{1}%+%dd, 
  8895. # The tek4125 emulates a vt100 incorrectly - the scrolling region
  8896. # command is ignored.  The following entry replaces <csr> with the needed
  8897. # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
  8898. # chokes on; and adds a lot of initialization for the tek dialog area.
  8899. # Note that this entry uses all 34 lines and sets the cursor color to green.
  8900. # Steve Jacobson 8/85
  8901. # (tek4125: there were two "\!"s in the is that I replaced with "\E!" -- esr)
  8902. tek4125|tektronix 4125, 
  8903.     lines#34, 
  8904.     csr@, dl1=\E[1M, il1=\E[1L, 
  8905.     is2=\E%\E!0\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E!1\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  8906.     rc@, sc@, smir=\E1, smkx=\E=, use=vt100,
  8907.  
  8908. # From: <jcoker@ucbic>
  8909. # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
  8910. # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
  8911. # note that if jcoker wasn't confused you may be able to use this one. -- esr)
  8912. tek4207|Tektronix 4207 graphics terminal with memory, 
  8913.     am, bw, mir, ul, xenl, 
  8914.     cols#80, it#8, lines#32, 
  8915.     blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  8916.     clear=\E[H\E[J$<156/>, cub1=^H, cud1=^J, cuf1=\E[C, 
  8917.     cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P$<4/>, 
  8918.     dl1=\E[M$<3/>, ed=\E[J, el=\E[K$<5/>, home=\E[H, 
  8919.     ht=^I, ich1=\E[@$<4/>, il1=\E[L$<3/>, 
  8920.     is2=\E%!0\ELBP0\E%!1\E[H\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J, 
  8921.     kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, 
  8922.     khome=\E[H, rev=\E[7m, 
  8923.     rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m, 
  8924.     rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, 
  8925.     smso=\E[7m, smul=\E[4m, 
  8926.  
  8927. # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
  8928. # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
  8929. # Tab had been given as \E2I,that must be the tab-set capability -- esr)
  8930. tek4404|tektronix 4404, 
  8931.     cols#80, it#8, lines#32, 
  8932.     blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
  8933.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  8934.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  8935.     dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  8936.     hts=\E[2I, il1=\E[1L, kcub1=\E[D, kcud1=\E[B, 
  8937.     kcuf1=\E[C, kcuu1=\E[A, rc=\E8, 
  8938.     rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l, 
  8939.     rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, 
  8940.     sgr0=\E[m, smcup=\E%\E!1\E[1;32r\E[?6l\E>, 
  8941.     smir=\E[4h, smkx=\E[?1l, smso=\E[7m, smul=\E[4m, 
  8942. # Some unknown person wrote:
  8943. # I added the is string - straight Unix has ESC ; in the login 
  8944. # string which sets a ct8500 into monitor mode (aka 4025 snoopy 
  8945. # mode). The is string here cleans up a few things (but not 
  8946. # everything).
  8947. ct8500|tektronix ct8500, 
  8948.     am, bw, da, db, 
  8949.     cols#80, lines#25, 
  8950.     bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, 
  8951.     cud1=^J, cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, 
  8952.     cuu1=\ER, dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, 
  8953.     ht=^I, ich1=\E^\, il1=\E^L, ind=^J, is2=\037\EZ\Ek, 
  8954.     ri=\E^A, rmso=\E , rmul=\E , sgr0=\E , smso=\E$, 
  8955.     smul=\E!, 
  8956.  
  8957. # Tektronix 4205 terminal.
  8958. #
  8959. # am is not defined because the wrap around occurs not when the char.
  8960. # is placed in the 80'th column, but when we are attempting to type
  8961. # the 81'st character on the line.  (esr: hmm, this is like the vt100
  8962. # version of xenl, perhaps am + xenl would work!)
  8963. #
  8964. # Bold, dim, and standout are simulated by colors and thus not allowed
  8965. # with colors.  The tektronix color table is mapped into the RGB color
  8966. # table by setf/setb. All colors are reset to factory specifications by oc.
  8967. # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the 
  8968. # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
  8969. # interval then maps into pre-defined value.
  8970. tek4205|4205|tektronix 4205, 
  8971.     ccc, mir, msgr, 
  8972.     colors#8, cols#80, it#8, lines#30, ncv#49, 
  8973.     pairs#63, 
  8974.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8975.     bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z, 
  8976.     clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
  8977.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  8978.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8979.     dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX, 
  8980.     ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, 
  8981.     ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, 
  8982.     ind=\ED, 
  8983.     initc=\E%%!0\n\ETF4\n%?%p1%{0}%=%t0\n%e%p1%{1}%=%t4\n%e%p1%{2}%=%t3\n%e%p1%{3}%=%t5\n%e%p1%{4}%=%t2\n%e%p1%{5}%=%t6\n%e%p1%{6}%=%t7\n%e1%;\n%?%p2%{125}%<%t0\n%e%p2%{250}%<%tA2\n%e%p2%{375}%<%tA?\n%e%p2%{500}%<%tC8\n%e%p2%{625}%<%tD4\n%e%p2%{750}%<%tE1\n%e%p2%{875}%<%tE\072\n%eF4%;\n%?%p3%{125}%<%t0\n%e%p3%{250}%<%tA2\n%e%p3%{375}%<%tA?\n%e%p3%{500}%<%tC8\n%e%p3%{625}%<%tD4\n%e%p3%{750}%<%tE1\n%e%p3%{875}%<%tE\072\n%eF4%;\n%?%p4%{125}%<%t0\n%e%p4%{250}%<%tA2\n%e%p4%{375}%<%tA?\n%e%p4%{500}%<%tC8\n%e%p4%{625}%<%tD4\n%e%p4%{750}%<%tE1\n%e%p4%{875}%<%tE\072\n%eF4%;\n\E%%!1, 
  8984.     invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H, 
  8985.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  8986.     kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, 
  8987.     kf5=\EQ, kf6=\ER, kf7=\ES, 
  8988.     oc=\E%!0\n\ETFB0\n0000\n1F4F4F4\n2F400\n30F40\n4A4C<F4\n50F4F4\n6F40F4\n7F4F40\n\E%!1, 
  8989.     op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, 
  8990.     rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m, 
  8991.     setb=\E[=%?%p1%{0}%=%t0m\n%e%p1%{1}%=%t4m\n%e%p1%{2}%=%t3m\n%e%p1%{3}%=%t5m\n%e%p1%{4}%=%t2m\n%e%p1%{5}%=%t6m\n%e%p1%{6}%=%t7m\n%e1m%;, 
  8992.     setf=\E[<%?%p1%{0}%=%t0m\n%e%p1%{1}%=%t4m\n%e%p1%{2}%=%t3m\n%e%p1%{3}%=%t5m\n%e%p1%{4}%=%t2m\n%e%p1%{5}%=%t6m\n%e%p1%{6}%=%t7m\n%e1m%;, 
  8993.     sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N, 
  8994.     smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, 
  8995.     smso=\E[=2;<3m, smul=\E[4m, tbc=\E[1g, 
  8996.  
  8997. #### Teletype (tty)
  8998. #
  8999. # These are the hardcopy Teletypes from before AT&T bought the company,
  9000. # clattering electromechanical dinosaurs in Bakelite cases that printed on
  9001. # pulpy yellow roll paper.  If you remember these you go back a ways.
  9002. # Teletype-branded VDTs are listed in the AT&T section.
  9003. #
  9004. # The earliest UNIXes were designed to use these clunkers; nroff and a few
  9005. # other programs still default to emitting codes for the Model 37.
  9006. #
  9007.  
  9008. tty33|tty35|model 33 or 35 teletype, 
  9009.     hc, os, xon, 
  9010.     cols#72, 
  9011.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  9012. tty37|model 37 teletype, 
  9013.     hc, os, xon, 
  9014.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, 
  9015.     hu=\E8, ind=^J, 
  9016.  
  9017. # There are known to be at least three flavors of the tty40, all seem more
  9018. # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
  9019. # awful braindamage, such as printing a visible newline indicator after each
  9020. # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
  9021. # braindamaged but has hope and is described here.  The 40-4 is a 3270
  9022. # lookalike and beyond hope.  The terminal has visible bell but I don't know
  9023. # it - it's null here to prevent it from showing the BL character.
  9024. # There is an \EG in <nl> because of a bug in old vi (if stty says you have
  9025. # a "newline" style terminal (-crmode) vi figures all it needs is nl
  9026. # to get crlf, even if <cr> is not ^M.)
  9027. # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
  9028. tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2, 
  9029.     xon, 
  9030.     cols#80, lines#24, 
  9031.     clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB, 
  9032.     cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>, 
  9033.     ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1, 
  9034.     ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^], 
  9035.     kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, 
  9036.     rmso=\E4, rs2=\023\ER$<60>, smso=\E3, 
  9037.     tbc=\EH\E2$<80>, 
  9038. tty43|model 43 teletype, 
  9039.     am, hc, os, xon, 
  9040.     cols#132, 
  9041.     bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
  9042.  
  9043. #### Tymshare
  9044. #
  9045.  
  9046. # You can add <is2=\E<> to put this 40-column mode, though I can't
  9047. # for the life of me think why anyone would want to.
  9048. scanset|sc410|sc415|Tymshare Scan Set, 
  9049.     am, bw, msgr, 
  9050.     cols#80, lines#24, 
  9051.     acsc=l<m-k4j%q\\\054x5, bel=^G, clear=\EH\EJ, 
  9052.     cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
  9053.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, 
  9054.     el=\EK, home=\EH, ind=^J, kcub1=\ED, kcud1=\EB, 
  9055.     kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0, mc5=\E;0, 
  9056.     rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N, 
  9057.  
  9058. #### Volker-Craig (vc)
  9059. #
  9060.  
  9061. # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
  9062. # every other linefeed.
  9063. vc303|vc103|vc203|volker-craig 303, 
  9064.     am, 
  9065.     cols#80, lines#24, 
  9066.     bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, 
  9067.     cuf1=^I, cuu1=^N, home=\013$<40>, kcub1=^H, 
  9068.     kcud1=^J, kcuf1=^I, kcuu1=^N, ll=\017$<1>W, 
  9069. vc303a|vc403a|volker-craig 303a, 
  9070.     clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>, 
  9071.     home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303,
  9072. # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
  9073. vc404|volker-craig 404, 
  9074.     am, 
  9075.     cols#80, lines#24, 
  9076.     bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, 
  9077.     cuf1=^U, cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
  9078.     ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J, 
  9079.     kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, 
  9080. vc404-s|volker-craig 404 w/standout mode, 
  9081.     cud1=^J, rmso=^O, smso=^N, use=vc404,
  9082. # From: <wolfgang@cs.sfu.ca>
  9083. # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
  9084. vc414|vc414h|Volker-Craig 414H in sane escape mode., 
  9085.     am, 
  9086.     cols#80, lines#24, 
  9087.     clear=\E\034$<40>, cud1=\E^K, cuf1=^P, 
  9088.     cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3, 
  9089.     dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, 
  9090.     home=\E^R, ich1=\E\072, il1=\E\032$<40>, kcub1=^H, 
  9091.     kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=\EA, kf1=\EB, 
  9092.     kf2=\EC, kf3=\ED, kf4=\EE, kf5=\EF, kf6=\EG, 
  9093.     kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2, lf2=PF3, 
  9094.     lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8, 
  9095.     rmso=\E^_, smso=\E^Y, 
  9096. vc415|volker-craig 415, 
  9097.     clear=^L, use=vc404,
  9098.  
  9099. ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
  9100. #
  9101.  
  9102. #### IBM PC and clones
  9103. #
  9104.  
  9105. # The pcplot IBM-PC terminal emulation program is really messed up. It is
  9106. # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
  9107. # doesn't support scrolling regions, ignores add line commands, and ignores
  9108. # delete line commands. Consequently, the resulting behavior looks like a
  9109. # crude adm3a-type terminal.
  9110. # Steve Jacobson 8/85
  9111. pcplot|pc-plot terminal emulation program, 
  9112.     xenl@, 
  9113.     csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100,
  9114. # (kaypro: removed obsolete ":ma=^K^P:" -- esr)
  9115. kaypro|kaypro2|kaypro II, 
  9116.     am, 
  9117.     cols#80, lines#24, 
  9118.     clear=\032$<1/>, cub1=^H, cuf1=^L, 
  9119.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
  9120.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  9121.  
  9122. # From IBM, Thu May  5 19:35:27 1983
  9123. ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS), 
  9124.     am, 
  9125.     cols#80, lines#24, 
  9126.     bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, 
  9127.     cuf1=^\, cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_, 
  9128.     smir=\200R, 
  9129.  
  9130. #### Apple
  9131. #
  9132.  
  9133. appleII|apple ii plus, 
  9134.     am, 
  9135.     cols#80, it#8, lines#24, 
  9136.     clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\, 
  9137.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, 
  9138.     cvvis=^TC6, ed=^K, el=^], 
  9139.     flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I, 
  9140.     is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, 
  9141.     smso=^O, 
  9142. # Originally by Gary Ford 21NOV83
  9143. # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
  9144. apple-80|apple II with smarterm 80 col, 
  9145.     am, bw, 
  9146.     cols#80, lines#24, 
  9147.     cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, 
  9148.     cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, 
  9149.     cuu1=^_, ed=\013$<10*/>, el=\035$<10/>, home=^Y, 
  9150. apple-soroc|apple emulating soroc 120, 
  9151.     am, 
  9152.     cols#80, lines#24, 
  9153.     bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, 
  9154.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  9155.     ed=\EY, el=\ET, home=^^, ind=^J, kcub1=^H, 
  9156.     kcud1=^J, kcuf1=^L, kcuu1=^K, 
  9157. # From Peter Harrison, Computer Graphics Lab, San Francisco
  9158. #   ucbvax!ucsfmis!harrison  .....uucp
  9159. #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
  9160. # "These two work.  If you don't have the inverse video chip for the
  9161. # Apple with videx then remove the so and se fields."
  9162. # (apple-videx: this used to be called DaleApple -- esr)
  9163. apple-videx|Apple with videx videoterm 80 column board with inverse video, 
  9164.     am, xenl, 
  9165.     cols#80, it#8, lines#24, 
  9166.     clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\, 
  9167.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, 
  9168.     el=^], home=^Y, ht=^I, kcub1=^H, kcud1=^J, 
  9169.     kcuf1=^U, khome=^Y, rmso=^Z2, smso=^Z3, 
  9170. lisa|apple lisa console display (black on white), 
  9171.     am, eo, msgr, 
  9172.     cols#88, it#8, lines#32, 
  9173.     acsc=lfmekcjdttuvvuwsqax`nb, civis=\E[5h, clear=^L, 
  9174.     cub1=^H, cud1=\E[B, cuf1=\E[C, 
  9175.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[5l, 
  9176.     dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
  9177.     ht=^I, ich1=\E[@, il1=\E[L, is2=\E>\E[m\014, 
  9178.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  9179.     kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
  9180.     smacs=\E[11m, smso=\E[7m, smul=\E[4m, 
  9181. liswb|apple lisa console display (white on black), 
  9182.     is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m, 
  9183.     smso=\E[m, smul=\E[4m, use=lisa,
  9184. mac|macintosh|Macintosh with MacTerminal, 
  9185.     xenl, 
  9186.     dch1=\E[P$<7/>, dl1=\E[M$<20/>, ich1=\E[@$<9/>, 
  9187.     il1=\E[L$<20/>, ip=$<7/>, use=vt100,
  9188.  
  9189. #### Radio Shack/Tandy
  9190. #
  9191.  
  9192. # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
  9193. # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
  9194. # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
  9195. coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II, 
  9196.     am, 
  9197.     cols#80, it#8, lines#24, 
  9198.     bel=^G, blink=^_", bold=\E\072^A, civis=^E , 
  9199.     clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, 
  9200.     cuf1=^F, cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, 
  9201.     cuu1=^I, dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, 
  9202.     kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^L, rev=^_ , 
  9203.     rmso=^_!, rmul=^_#, sgr0=\037!\E\072\200, smso=^_ , 
  9204.     smul=^_", 
  9205. # (trs2: removed obsolete ":nl=^_:" -- esr)
  9206. trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M, 
  9207.     am, msgr, 
  9208.     cols#80, it#8, lines#24, 
  9209.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^], 
  9210.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, 
  9211.     ed=^B, el=^A, home=^F, ht=^I, il1=^D, ind=^J, 
  9212.     kbs=^H, kcub1=^\, kcud1=^_, kcuf1=^], kcuu1=^^, 
  9213.     rmso=^O, smso=^N, 
  9214. # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
  9215. # (This had extension capabilities
  9216. #    :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
  9217. #    :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
  9218. # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
  9219. trs16|trs-80 model 16 console, 
  9220.     am, 
  9221.     cols#80, it#8, lines#24, 
  9222.     acsc=l_mbk`javewcquxs, bel=^G, civis=\ERc, 
  9223.     clear=^L, cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, 
  9224.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  9225.     cuu1=\EA, dch1=\EQ, dl1=\EM, ed=\EJ, el=\EK, 
  9226.     home=\EH, ht=^I, ich1=\EP, il1=\EL, ind=^J, kbs=^H, 
  9227.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=^A, 
  9228.     kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, 
  9229.     kf7=^S, khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, 
  9230.     lf4=f5, lf5=f6, lf6=f7, lf7=f8, mc4=\E]+, mc5=\E]=, 
  9231.     rmacs=\ERg, rmso=\ER@, smacs=\ERG, smso=\ERD, 
  9232.  
  9233. #### Atari ST
  9234. #
  9235.  
  9236. # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
  9237. atari|atari st, 
  9238.     am, 
  9239.     cols#80, it#8, lines#25, 
  9240.     clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC, 
  9241.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
  9242.     ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, 
  9243.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, 
  9244.     smso=\Ep, 
  9245. # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
  9246. # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
  9247. uniterm|uniterm49|UniTerm VT220 emulator with 49 lines, 
  9248.     lines#49, 
  9249.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, use=vt220,
  9250. # MiNT VT52 emulation. 80 columns, 25 rows.
  9251. # MiNT is Now TOS, the operating system which comes with all Ataris now
  9252. # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
  9253. # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
  9254. # From: Per Persson <pp@pfawww.pp.se>, 27 Feb 1996
  9255. st52|Atari ST with VT52 emulation, 
  9256.     am, km, 
  9257.     cols#80, lines#25, 
  9258.     bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, 
  9259.     cub1=\ED, cud1=\EB, cuf1=\EC, 
  9260.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
  9261.     ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, 
  9262.     ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1, 
  9263.     kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, 
  9264.     kcuf1=\E#M, kcuu1=\E#H, kf0=\E#D, kf1=\E#;, 
  9265.     kf2=\E#<, kf3=\E#=, kf4=\E#>, kf5=\E#?, kf6=\E#@, 
  9266.     kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G, 
  9267.     kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, 
  9268.     rc=\Ek, ri=\EI, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, 
  9269.     smcup=\Ee, smso=\Ep, 
  9270.  
  9271. #### Commodore Business Machines
  9272. #
  9273. # Formerly located in West Chester, PA; went spectacularly bust in 1994
  9274. # after years of shaky engineering and egregious mismanagement.  Made one
  9275. # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
  9276. # C-128, VIC-20).  The C-64 is said to have been the most popular machine
  9277. # ever (most units sold); they can still be found gathering dust in closets
  9278. # everywhere.
  9279. #
  9280.  
  9281. # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
  9282. # Added a few more entries, converted caret-type control sequence (^x) entries
  9283. # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
  9284. #
  9285. # :as:, :ae:            Support for alternate character sets.
  9286. # :ve=\E[\040p:vi=\E[\060\040p:    cursor visible/invisible.
  9287. # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
  9288. #     This one appears to fix a problem I always had with a line ending
  9289. #     at 'width+1' (I think) followed by a blank line in vi. The blank
  9290. #     line tended to disappear and reappear depending on how the screen
  9291. #     was refreshed. Note that this is probably needed only if you use
  9292. #     something like a Dnet Fterm with the window sized to some peculiar
  9293. #     dimension larger than 80 columns.
  9294. # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
  9295. # (amiga: removed obsolete ":kn#10:" -- esr)
  9296. amiga-old|Amiga ANSI, 
  9297.     am, bw, xenl, 
  9298.     cols#80, lines#24, 
  9299.     bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z, 
  9300.     civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, 
  9301.     cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
  9302.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  9303.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  9304.     dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  9305.     el=\E[K, home=\E[H, ich=\E[%p1%d@, ich1=\E[@, 
  9306.     il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, 
  9307.     invis=\E[8m, is2=\E[20l, kbs=^H, kcub1=\ED, 
  9308.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\E9~, 
  9309.     kf1=\E0~, kf2=\E1~, kf3=\E2~, kf4=\E3~, kf5=\E4~, 
  9310.     kf6=\E5~, kf7=\E6~, kf8=\E7~, kf9=\E8~, rev=\E[7m, 
  9311.     ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmso=\E[m, 
  9312.     rmul=\E[m, rs1=\Ec, sgr0=\E[m, smacs=^N, 
  9313.     smso=\E[7m, smul=\E[4m, 
  9314.  
  9315. # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
  9316. amiga|Amiga ANSI, 
  9317.     bw, msgr, 
  9318.     cols#80, lines#24, 
  9319.     bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z, 
  9320.     civis=\2330 p, clear=\233H\233J, cnorm=\233 p, 
  9321.     cr=^M, cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, 
  9322.     cud1=\233B, cuf=\233%p1%dC, cuf1=\233C, 
  9323.     cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
  9324.     dch=\233%p1%dP, dch1=\233P, dim=\2332m, 
  9325.     ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G, 
  9326.     home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, 
  9327.     ind=\233S, indn=\233%p1%dS, invis=\2338m, 
  9328.     is2=\23320l, kbs=^H, kcub1=\233D, kcud1=\233B, 
  9329.     kcuf1=\233C, kcuu1=\233A, kdch1=\177, kf0=\2339~, 
  9330.     kf1=\2330~, kf2=\2331~, kf3=\2332~, kf4=\2333~, 
  9331.     kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~, 
  9332.     kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T, 
  9333.     rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, 
  9334.     rmso=\2330m, rmul=\2330m, rs1=\Ec, sgr0=\2330m, 
  9335.     smacs=^N, smcup=\233?7l, smso=\2337m, smul=\2334m, 
  9336.  
  9337. #### Osborne
  9338. #
  9339. # Thu Jul  7 03:55:16 1983
  9340. #    
  9341. # As an aside, be careful; it may sound like an anomaly on the 
  9342. # Osborne, but with the 80-column upgrade, it's too easy to 
  9343. # enter lines >80 columns!
  9344. #    
  9345. # I've already had several comments...
  9346. # The Osborne-1 with the 80-col option is capable of being 
  9347. # 52, 80, or 104 characters wide; default to 80 for compatibility 
  9348. # with most systems.
  9349. #    
  9350. # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
  9351. ozzie|osborne|osborne1|osborne 1, 
  9352.     msgr, ul, xt, 
  9353.     cols#104, lines#24, 
  9354.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  9355.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  9356.     dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, 
  9357.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E(, 
  9358.     rmul=\Em, smso=\E), smul=\El, 
  9359.  
  9360. #### Console types for obsolete UNIX clones
  9361. #
  9362. # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
  9363. # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
  9364. # were commercial, Minix an educational tool sold in conjunction with a book.
  9365. # Memory-segmentation limits and a strong tendency to look like V7 long after
  9366. # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
  9367. # and Minix were ported to 32-bit Intel boxes, only to be run over by a
  9368. # steamroller named `Linux' (which, to be fair, traces some lineage to Minix). 
  9369. # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
  9370. # are also, I'm told, minix ports that ran on Amiga and Atari machines and
  9371. # even as single processes under SunOS and the Macintosh OS.
  9372.  
  9373. minix|minix console, 
  9374.     cols#80, it#8, lines#25, 
  9375.     blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
  9376.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  9377.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  9378.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  9379.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, 
  9380.     home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
  9381.     il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, 
  9382.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[Y, 
  9383.     kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G, 
  9384.     khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, 
  9385.     rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, 
  9386.     smul=\E[4m, 
  9387.  
  9388. pc-minix|minix console on an Intel box, 
  9389.     use=klone+acs,use=minix,
  9390.  
  9391. # According to the Coherent 2.3 manual, the PC console is similar
  9392. # to a z19. The differences seem to be (1) 25 lines, (2) no status
  9393. # line, (3) standout is broken, (4) ins/del line is broken, (5)
  9394. # has blinking and bold.
  9395. pc-coherent|pcz19|coherent|IBM PC console running Coherent, 
  9396.     am, mir, 
  9397.     cols#80, it#8, lines#25, 
  9398.     bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, 
  9399.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  9400.     cuu1=\EA, dch1=\EN, ed=\EJ, el=\EK, home=\EH, 
  9401.     ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
  9402.     kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO, 
  9403.     rmso=\Eq, smir=\E@, smso=\Ep, 
  9404.  
  9405. # According to the Venix 1.1 manual, the PC console is similar
  9406. # to a DEC vt52.  Differences seem to be (1) arrow keys send 
  9407. # different strings, (2) enhanced standout, (3) added insert/delete line.
  9408. # Note in particular that it doesn't have automatic margins.
  9409. # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
  9410. # not described here because this derives from an old termcap entry.
  9411. pc-venix|venix|IBM PC console running Venix, 
  9412.     cols#80, it#8, lines#25, 
  9413.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, 
  9414.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  9415.     cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, ht=^I, il1=\EL, 
  9416.     ind=^J, kbs=^H, kcub1=\EK, kcud1=\EP, kcuf1=\EM, 
  9417.     kcuu1=\EH, khome=\EG, ri=\EI, 
  9418.  
  9419. #### Miscellaneous microcomputer consoles
  9420. #
  9421. # If you know anything more about any of these, please tell me.
  9422.  
  9423. # basis from Peter Harrison, Computer Graphics Lab, San Francisco
  9424. #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
  9425. # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
  9426. basis|BASIS108 computer with terminal translation table active, 
  9427.     clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, 
  9428.     kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  9429.     rmso=\E), smso=\E(, use=adm3a,
  9430. # luna's BMC terminal emulator
  9431. luna|luna68k|LUNA68K Bitmap console, 
  9432.     cols#88, lines#46, use=ansi-mini,
  9433. megatek|pegasus workstation terminal emulator, 
  9434.     am, os, 
  9435.     cols#83, lines#60, 
  9436. # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived 
  9437. # interface (pre-Macintosh by several years) that went nowhere.
  9438. xerox820|x820|Xerox 820, 
  9439.     am, 
  9440.     cols#80, lines#24, 
  9441.     bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, 
  9442.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  9443.     ed=^Q, el=^X, home=^^, ind=^J, 
  9444.  
  9445. #### Videotex and teletext
  9446. #
  9447.  
  9448. # standard-issue France Telecom minitel terminal (made by Philips)
  9449. # (m2-nam: had unknown ":zd=\E[1m:zb=\E[5m:zc=lkmjqxtuwvn:";
  9450. # also deleted unnecessary ":ug#0:sg#0:" -- esr)
  9451. m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel, 
  9452.     xenl, 
  9453.     cols#80, it#8, lines#24, 
  9454.     clear=\E[H\E[J, cub1=^H, cuf1=\E[C, 
  9455.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  9456.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  9457.     il1=\E[L, ind=^J, ip=$<7/>, is2=\E[1;24r\E[24;1H, 
  9458.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  9459.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
  9460.     ri=\EM, rmacs=\E(B, rmir=\E[4l, rmso=\E[m, 
  9461.     rmul=\E[m, smacs=\E(0, smir=\E[4h, smso=\E[7m, 
  9462.     smul=\E[4m, 
  9463.  
  9464. ######## OBSOLETE VDT TYPES
  9465. #
  9466. # These terminals are *long* dead -- these entries are retained for
  9467. # historical interest only.
  9468.  
  9469. #### Amtek Business Machines
  9470. #
  9471.  
  9472. # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
  9473. # but these caps were commented out in 8.3; also, removed overridden
  9474. # ":do=^J:" -- esr)
  9475. abm80|amtek business machines 80, 
  9476.     am, bw, 
  9477.     cols#80, lines#24, 
  9478.     cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P, 
  9479.     cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L, 
  9480.     dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, 
  9481.  
  9482. #### Bell Labs blit terminals
  9483. #
  9484. # These were AT&T's official entries.  The 5620 FAQ maintained by 
  9485. # David Breneman <daveb@dgtl.com> has this to say:
  9486. #
  9487. #  Actually, in the beginning was the Jerq, and the Jerq was white with a
  9488. #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
  9489. #  was good.  But lo, upon the horizon loomed a mighty management-type person
  9490. #  (known now only by the initials VP) who said, the mighty Jerq must stay
  9491. #  alone, and could not go forth into the world. So Locanthi and Pike put the
  9492. #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
  9493. #  world. And the Jerq lived the rest of its days in research, but never
  9494. #  strayed from those paths.
  9495. #
  9496. #  In all seriousness, the Blit was originally known as the Jerq, but when
  9497. #  it started to be shown outside of the halls of the Bell Labs Research
  9498. #  organization, the management powers that be decided that the name could
  9499. #  not remain. So it was renamed to be Blit. This was in late 1981.
  9500. #
  9501. # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
  9502. # 730, and 730+.)
  9503. #
  9504.  
  9505. blit|jerq|blit running teletype rom, 
  9506.     am, eo, ul, xon, 
  9507.     cols#87, it#8, lines#72, 
  9508.     bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, 
  9509.     cuf1=\EC, cup=\EY%p2%{32}%+%c%p1%{32}%+%c, 
  9510.     cuu1=\EA, dch=\Ee%p1%{32}%+%c, dch1=\Ee!, 
  9511.     dl=\EE%p1%{32}%+%c, dl1=\EE!, el=\EK, ht=^I, 
  9512.     ich=\Ef%p1%{32}%+%c, ich1=\Ef!, il=\EF%p1%{32}%+%c, 
  9513.     il1=\EF!, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
  9514.     kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez, 
  9515.  
  9516. # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
  9517. cbblit|fixterm|blit running columbus code, 
  9518.     cols#88, 
  9519.     ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, 
  9520.     mc5p=\EP%p1%03d, rmir=\ER, rmso=\EV!, rmul=\EV", 
  9521.     smir=\EQ, smso=\EU!, smul=\EU", use=blit,
  9522.  
  9523. oblit|ojerq|first version of blit rom, 
  9524.     am, da, db, eo, mir, ul, xon, 
  9525.     cols#88, it#8, lines#72, 
  9526.     bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, 
  9527.     cuf1=\EC, cup=\EY%p2%{32}%+%c%p1%{32}%+%c, 
  9528.     cuu1=\EA, dch1=\EO, dl=\Ee%p1%{32}%+%c, dl1=\EE, 
  9529.     ed=\EJ, el=\EK, flash=\E^G, ht=^I, 
  9530.     il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, 
  9531.     rmir=\ER, smir=\EQ, 
  9532.  
  9533. #### Bolt, Beranek & Newman (bbn)
  9534. #
  9535. # The BitGraph was a product of the now-defunct BBN Computer Corporation.
  9536. # The parent company, best known as the architects of the Internet, is
  9537. # still around.
  9538. #
  9539.  
  9540. # Entries for the BitGraph terminals.  The problem 
  9541. # with scrolling in vi can only be fixed by getting BBN to put 
  9542. # smarter scroll logic in the terminal or changing vi or padding 
  9543. # scrolls with about 500 ms delay.
  9544. #    
  9545. # I always thought the problem was related to the terminal 
  9546. # counting newlines in its input buffer before scrolling and 
  9547. # then moving the screen that much. Then vi comes along and 
  9548. # paints lines in on the bottom line of the screen, so you get 
  9549. # this big white gap.
  9550.  
  9551. bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video), 
  9552.     flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, use=bg2.0,
  9553. bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video), 
  9554.     flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg2.0,
  9555. bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init), 
  9556.     xenl, 
  9557.     cols#85, lines#64, 
  9558.     bel=^G, clear=\E[H\E[J$<150>, cr=^M, 
  9559.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, 
  9560.     cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, 
  9561.     dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I, 
  9562.     il1=\E[L$<2*>, ind=\n$<280>, kcub1=\E[D, 
  9563.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
  9564.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1, lf2=PF2, 
  9565.     lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, 
  9566.     sc=\E7, smkx=\E=, smso=\E[7m, 
  9567.  
  9568. bg1.25rv|bbn bitgraph 1.25 (reverse video), 
  9569.     flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg1.25,
  9570. bg1.25nv|bbn bitgraph 1.25 (normal video), 
  9571.     flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, use=bg1.25,
  9572. # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
  9573. bg1.25|bbn bitgraph 1.25, 
  9574.     cols#85, lines#64, 
  9575.     bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, 
  9576.     cud1=\E[B, cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, 
  9577.     cuu1=\E[A, dl1=\E[M$<2*>, ed=\E[J$<150>, 
  9578.     el=\E[K$<2>, ht=^I, il1=\E[L$<2*>, ind=\n$<280>, 
  9579.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  9580.     kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES, lf1=PF1, 
  9581.     lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, 
  9582.     rmam=\E[?7l, rmkx=\E>, rmso=\E[m, smam=\E[?7h, 
  9583.     smkx=\E=, smso=\E[7m, 
  9584.  
  9585. #### Chromatics
  9586. #
  9587.  
  9588. # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window 
  9589. # that is smaller than the screen, and puts up a warning message 
  9590. # outside the window. Te erases the warning message, puts the 
  9591. # window back to be the whole screen, and puts the cursor at just
  9592. # below the small window. I defined <cnorm> and <civis> to really turn 
  9593. # the cursor on and off, but I have taken this out since I don't 
  9594. # like the cursor being turned off when vi exits.   
  9595. cg7900|chromatics|chromatics 7900, 
  9596.     am, 
  9597.     cols#80, lines#40, 
  9598.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^], 
  9599.     cup=\001M%p2%d\\\054%p1%d\\\054, cuu1=^K, 
  9600.     dch1=^A<1, dl1=^A<2, ed=^Al, el=^A`, home=^\, 
  9601.     ich1=^A>1, il1=^A>2, ind=^J, ll=^A|, 
  9602.     rmcup=\001W0\\\05440\\\05485\\\05448\\\054\014\001W0\\\0540\\\05485\\\05448\\\054\001M0\\\05440\\\054, 
  9603.     rmso=\001C1\\\054\001c2\\\054, 
  9604.     smcup=\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, 
  9605.     smso=\001C4\\\054\001c7\\\054, 
  9606.     uc=\001\001_\001\200, 
  9607.  
  9608. #### Computer Automation
  9609. #
  9610.  
  9611. ca22851|computer automation 22851, 
  9612.     am, 
  9613.     cols#80, lines#24, 
  9614.     bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, 
  9615.     cuf1=^I, cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, 
  9616.     el=^], home=^^, ind=^J, kcub1=^U, kcud1=^W, 
  9617.     kcuu1=^V, khome=^^, 
  9618.  
  9619. #### Cybernex
  9620. #
  9621.  
  9622. # This entry has correct padding and the undocumented "ri" capability
  9623. cyb83|xl83|cybernex xl-83, 
  9624.     am, 
  9625.     cols#80, lines#24, 
  9626.     bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, 
  9627.     cuf1=^I, cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N, 
  9628.     ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, 
  9629.     kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N, 
  9630. # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
  9631. cyb110|mdl110|cybernex mdl-110, 
  9632.     am, 
  9633.     cols#80, lines#24, 
  9634.     bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, 
  9635.     cuf1=^U, cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
  9636.     dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>, 
  9637.     ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y, 
  9638.     ht=\011$<43>, ich1=\016A\035$<3.5>, 
  9639.     il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF, 
  9640.  
  9641. #### Datapoint
  9642. #
  9643. # Datapoint is gone.  They used to be headquartered in Texas.
  9644. # They created ARCnet, an Ethernet competitor that flourished for a while
  9645. # in the early 1980s before 3COM got wise and cut its prices.  The service
  9646. # side of Datapoint still lives (1995) in the form of Intelogic Trace.
  9647. #
  9648.  
  9649. dp3360|datapoint|datapoint 3360, 
  9650.     am, 
  9651.     cols#82, lines#25, 
  9652.     bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, 
  9653.     cuf1=^X, cuu1=^Z, ed=^_, el=^^, home=^], ind=^J, 
  9654.  
  9655. #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
  9656. #
  9657. # These entries are DEC's official terminfos for its older terminals.
  9658. # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
  9659. # Engineering for more information.  Updated terminfos and termcaps 
  9660. # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
  9661. #
  9662.  
  9663. gt40|dec gt40, 
  9664.     os, 
  9665.     cols#72, lines#30, 
  9666.     bel=^G, cr=^M, cub1=^H, cud1=^J, 
  9667. gt42|dec gt42, 
  9668.     os, 
  9669.     cols#72, lines#40, 
  9670.     bel=^G, cr=^M, cub1=^H, cud1=^J, 
  9671. vt50|dec vt50, 
  9672.     cols#80, lines#12, 
  9673.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, 
  9674.     cuf1=\EC, cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J, 
  9675. vt50h|dec vt50h, 
  9676.     cols#80, lines#12, 
  9677.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, 
  9678.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  9679.     cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J, ri=\EI, 
  9680. # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
  9681. vt61|vt-61|vt61.5|dec vt61, 
  9682.     cols#80, lines#24, 
  9683.     bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, 
  9684.     cud1=^J, cuf1=\EC$<20>, 
  9685.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, 
  9686.     cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I, 
  9687.     ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  9688.     kcuu1=\EA, ri=\E$<20>I, 
  9689.  
  9690. # The gigi does standout with red!
  9691. # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
  9692. gigi|vk100|dec gigi graphics terminal, 
  9693.     am, xenl, 
  9694.     cols#84, lines#24, 
  9695.     bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, 
  9696.     cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
  9697.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  9698.     cuu1=\E[A, ed=\E[J, el=\E[K, ht=^I, ind=^J, 
  9699.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h, 
  9700.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  9701.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
  9702.     ri=\EM, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, 
  9703.     rmul=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, 
  9704.     smso=\E[7;31m, smul=\E[4m, 
  9705.  
  9706. # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
  9707. # a PC differentiated from the IBM clones.  It was a total, ludicrous,
  9708. # grossly-overpriced failure (among other things, DEC's OS didn't include
  9709. # a format program, so you had to buy pre-formatted floppies from DEC at
  9710. # a hefty premium!).
  9711. pro350|decpro|dec pro console, 
  9712.     cols#80, it#8, lines#24, 
  9713.     clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC, 
  9714.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  9715.     el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, 
  9716.     kcuf1=\EC, kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, 
  9717.     kf3=\EH, kf4=\EI, kf5=\EJ, kf6=\Ei, kf7=\Ej, 
  9718.     khome=\EH, ri=\EI, rmacs=\EG, rmso=\E^N, rmul=\E^C, 
  9719.     smacs=\EF, smso=\E^H, smul=\E^D, 
  9720.  
  9721. dw1|decwriter I, 
  9722.     hc, os, 
  9723.     cols#72, 
  9724.     bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, 
  9725. dw2|decwriter|dw|decwriter II, 
  9726.     hc, os, 
  9727.     cols#132, 
  9728.     bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
  9729.  
  9730. # \E(B        Use U.S. character set (otherwise # => british pound !)
  9731. # \E[20l    Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
  9732. # \E[w       10 char/in pitch
  9733. # \E[1;132    full width horizontal margins
  9734. # \E[2g        clear all tab stops
  9735. # \E[z        6 lines/in
  9736. # \E[66t    66 lines/page (for \f)
  9737. # \E[1;66r    full vertical page can be printed
  9738. # \E[4g        clear vertical tab stops
  9739. # \E>        disable alternate keypad mode (so it transmits numbers!)
  9740. # \E[%i%p1%du    set tab stop at column %d (origin == 1)
  9741. #        (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is 
  9742. #        a tab stop)
  9743. #
  9744. #       The dw3 does standout with wide characters.
  9745. #
  9746. dw3|la120|decwriter III, 
  9747.     hc, os, 
  9748.     cols#132, 
  9749.     bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, 
  9750.     is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>, 
  9751.     is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r, 
  9752.     kbs=^H, rmso=\E[w, smso=\E[6w, 
  9753. dw4|decwriter IV, 
  9754.     am, hc, os, 
  9755.     cols#132, 
  9756.     bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, 
  9757.     is2=\Ec, kbs=^H, kf0=\EOP, kf1=\EOQ, kf2=\EOR, 
  9758.     kf3=\EOS, 
  9759.  
  9760. # These aren't official
  9761. ln03|dec ln03 laser printer, 
  9762.     hc, 
  9763.     cols#80, lines#66, 
  9764.     bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, 
  9765.     ind=^J, nel=^M^J, rmso=\E[22m, rmul=\E[24m, 
  9766.     smso=\E[1m, smul=\E[4m, 
  9767. ln03-w|dec ln03 laser printer 132 cols, 
  9768.     cols#132, 
  9769.     bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, 
  9770.     kcub1=^H, kcud1=^J, nel=^M^J, use=ln03,
  9771.  
  9772. #### Delta Data (dd)
  9773. #
  9774.  
  9775. # Untested. The cup sequence is hairy enough that it probably needs work.
  9776. # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
  9777. # There are BSD-derived termcap entries floating around for this puppy
  9778. # that are *certainly* wrong.
  9779. delta|dd5000|delta data 5000, 
  9780.     am, 
  9781.     cols#80, lines#27, 
  9782.     bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y, 
  9783.     cup=\017%p1%p1%{16}%m%{2}%*%-%'9'%+%c%p2%p2%{16}%m%{2}%*%-%'9'%+%c, 
  9784.     cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J, 
  9785.  
  9786. #### Digital Data Research (ddr)
  9787. #
  9788.  
  9789. # (ddr: I added <rmam>/<smam> based on the init string -- esr)
  9790. ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator, 
  9791.     am, xenl, 
  9792.     cols#80, it#8, lines#24, vt#3, 
  9793.     blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
  9794.     clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, 
  9795.     cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
  9796.     cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
  9797.     ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
  9798.     ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H, 
  9799.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  9800.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, 
  9801.     rev=\E[7m$<2/>, rf=/usr/share/tabset/vt100, 
  9802.     ri=\EM$<5/>, rmam=\E[7l, rmkx=\E[?1l\E>, rmso=\E[m, 
  9803.     rmul=\E[m$<2/>, 
  9804.     rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  9805.     sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, 
  9806.     smso=\E[7m, smul=\E[4m$<2/>, 
  9807.  
  9808. #### General Electric (ge)
  9809. #
  9810.  
  9811. terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200, 
  9812.     hc, os, 
  9813.     cols#120, 
  9814.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  9815.  
  9816. #### Heathkit/Zenith
  9817. #
  9818.  
  9819. # Here is a description of the H19 DIP switches:
  9820. #
  9821. # S401
  9822. # 0-3 = baud rate as follows:
  9823. #         3       2       1       0
  9824. #    ---    ---    ---    --- 
  9825. #         0       0       1       1       300 baud
  9826. #         0       1       0       1       1200 baud
  9827. #         1       0       0       0       2400 baud
  9828. #         1       0       1       0       4800 baud
  9829. #         1       1       0       0       9600 baud
  9830. #         1       1       0       1       19.2K baud
  9831. # 4 = parity (0 = no parity)
  9832. # 5 = even parity (0 = odd parity)
  9833. # 6 = stick parity (0 = normal parity)
  9834. # 7 = full duplex (0 = half duplex)
  9835. # S402 
  9836. # 0 = block cursor (0 = underscore cursor)
  9837. # 1 = no key click (0 = keyclick)
  9838. # 2 = wrap at end of line (0 = no wrap)
  9839. # 3 = auto LF on CR (0 = no LF on CR)
  9840. # 4 = auto CR on LF (0 = no CR on LF)
  9841. # 5 = ANSI mode (0 = VT52 mode)
  9842. # 6 = keypad shifted (0 = keypad unshifted)
  9843. # 7 = 50Hz refresh (1 = 60Hz refresh)
  9844. # Factory Default settings are as follows:
  9845. #          7 6 5 4 3 2 1 0
  9846. # S401     1 0 0 0 1 1 0 0
  9847. # S402     0 0 0 0 0 0 0 0
  9848. # (h19: I added <rmam>/<smam> based on the init string -- esr)
  9849. h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode, 
  9850.     am, mir, msgr, 
  9851.     cols#80, it#8, lines#24, 
  9852.     bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H, 
  9853.     cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH, 
  9854.     cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, 
  9855.     dl1=\E[1M$<1*>, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  9856.     il1=\E[1L$<1*>, ind=^J, 
  9857.     is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h, 
  9858.     kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, 
  9859.     kcuu1=\E[1A, kf1=\EOS, kf2=\EOT, kf3=\EOU, 
  9860.     kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, kf8=\EOR, 
  9861.     khome=\E[H, lf6=blue, lf7=red, lf8=white, ri=\EM, 
  9862.     rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m, 
  9863.     smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m, 
  9864. h19-bs|heathkit w/keypad shifted, 
  9865.     rmkx=\Eu, smkx=\Et, use=h19-b,
  9866. h19-smul|heathkit w/keypad shifted/underscore cursor, 
  9867.     rmkx=\Eu, smkx=\Et, use=h19-u,
  9868. # (h19: merged in <ip> from BSDI hp19-e entry> 
  9869. h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19, 
  9870.     am, eslok, hs, mir, msgr, 
  9871.     cols#80, it#8, lines#24, 
  9872.     bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, 
  9873.     cud1=\EB, cuf1=\EC, 
  9874.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  9875.     cvvis=\Ex4, dch1=\EN, dl1=\EM$<1*>, ed=\EJ, el=\EK, 
  9876.     fsl=\Ek\Ey5, home=\EH, ht=^I, il1=\EL$<1*>, ind=^J, 
  9877.     ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  9878.     kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
  9879.     kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, 
  9880.     lf6=blue, lf7=red, lf8=white, ri=\EI, rmacs=\EG, 
  9881.     rmir=\EO, rmso=\Eq, smacs=\EF, smir=\E@, smso=\Ep, 
  9882.     tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo, 
  9883. h19-u|heathkit with underscore cursor, 
  9884.     cnorm@, cvvis@, use=h19-b,
  9885. h19-us|h19us|heathkit w/keypad shifted/underscore cursor, 
  9886.     rmkx=\Eu, smkx=\Et, use=h19-u,
  9887. h19-g|h19g|heathkit w/block cursor, 
  9888.     cnorm=\Ex4, use=h19-b,
  9889. alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19, 
  9890.     lines#60, 
  9891.     dl1=\EM, il1=\EL, use=h19,
  9892.  
  9893. # The major problem with the Z29 is that it requires more padding than the Z19.
  9894. #
  9895. # The problem with declaring an H19 to be synonymous with a Z29 is that
  9896. # it needs more padding. It especially loses if a program attempts
  9897. # to put the Z29 into insert mode and insert text at 9600 baud. It
  9898. # even loses worse if the program attempts to insert tabs at 9600
  9899. # baud. Adding padding to text that is inserted loses because in 
  9900. # order to make the Z29 not die, one must add so much padding that
  9901. # whenever the program tries to use insert mode, the effective 
  9902. # rate is about 110 baud.
  9903. # What program would want to put the terminal into insert mode 
  9904. # and shove stuff at it at 9600 baud you ask?  
  9905. # Emacs. Emacs seems to want to do the mathematically optimal 
  9906. # thing in doing a redisplay rather than the practical thing.
  9907. # When it is about to output a line on top of a line that is 
  9908. # already on the screen, instead of just killing to the end of 
  9909. # the line and outputting the new line, it compares the old line 
  9910. # and the new line and if there are any similarities, it 
  9911. # constructs the new line by deleting the text on the old line 
  9912. # on the terminal that is already there and then inserting new
  9913. # text into the line to transform it into the new line that is 
  9914. # to be displayed. The Z29 does not react kindly to this.
  9915. # But don't cry for too long.... There is a solution. You can make
  9916. # a termcap entry for the Z29 that says the Z29 has no insert mode.
  9917. # Then Emacs cannot use it. "Oh, no, but now inserting into a 
  9918. # line will be really slow", you say. Well there is a sort of a
  9919. # solution to that too. There is an insert character option on 
  9920. # the Z29 that will insert one character. Unfortunately, it 
  9921. # involves putting the terminal into ansi mode, inserting the 
  9922. # character, and changing it back to H19 mode. All this takes 12 
  9923. # characters. Pretty expensive to insert one character, but it 
  9924. # works. Either Emacs doesn't try to use its inserting hack when 
  9925. # it's only given an insert character ability or the Z29 doesn't 
  9926. # require padding with this (the former is probably more likely, 
  9927. # but I haven't checked it out).
  9928. z29|zenith29|z29b|zenith z29b, 
  9929.     am, msgr, 
  9930.     cols#80, lines#24, 
  9931.     bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4, cr=^M, 
  9932.     cub1=^H, cud1=\EB, cuf1=\EC, 
  9933.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A, 
  9934.     cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1>, 
  9935.     ed=\EJ$<14>, el=\EK$<1>, home=\EH, ht=^I, 
  9936.     ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1>, ind=\n$<2>, 
  9937.     is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, 
  9938.     kcuf1=\EC, kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, 
  9939.     kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, 
  9940.     kf8=\ER, kf9=\E0I, khome=\EH, lf0=home, ri=\EI$<2>, 
  9941.     rmacs=\EF, rmso=\Eq, rmul=\Es0, smacs=\EG, 
  9942.     smso=\Ep, smul=\Es8, 
  9943. # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
  9944. # the world is stable. <rs1> causes the terminal to be reset to the state
  9945. # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
  9946. # cursor, bc -> block cursor.
  9947. # From: Mike Meyers
  9948. # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
  9949. # looks vt100-compatible -- esr)
  9950. z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode, 
  9951.     eslok, hs, 
  9952.     cols#80, it#8, lines#24, 
  9953.     bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J, 
  9954.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
  9955.     cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
  9956.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  9957.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, 
  9958.     dl=\E[%p1%dM, dsl=\E[>1l, ed=\E[J, el=\E[K, 
  9959.     fsl=\E[u\E[>5l, home=\E[H, ht=^I, hts=\EH, 
  9960.     if=/usr/share/tabset/vt100, il=\E[%p1%dL, ind=\ED, 
  9961.     kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB, 
  9962.     kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, 
  9963.     kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, 
  9964.     kf6=\EOP, kf7=\EOQ, kf8=\EOR, kf9=\EOX, khome=\E[H, 
  9965.     lf0=help, mc0=\E#7, nel=^M\ED, rc=\E[r, rev=\E[7m, 
  9966.     ri=\EM, rmcup=\E[?7h, rmso=\E[m, rmul=\E[m, 
  9967.     rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m, 
  9968.     sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, 
  9969.     smul=\E[4m, tbc=\E[3g, 
  9970.     tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K, 
  9971. z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor, 
  9972.     rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m, use=z29a,
  9973. z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick, 
  9974.     rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m, use=z29a,
  9975. z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick, 
  9976.     rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m, use=z29a,
  9977. # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
  9978. z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode, 
  9979.     am, eslok, hs, mc5i, mir, msgr, xon, 
  9980.     cols#80, lines#24, 
  9981.     acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~0a, 
  9982.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[1Z, 
  9983.     civis=\E[>5h, clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M, 
  9984.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  9985.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  9986.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  9987.     dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
  9988.     dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, 
  9989.     el1=\E[1K, fsl=\E[u, home=\E[H, ht=^I, hts=\EH, 
  9990.     il=\E[%p1%dL, il1=\E[1L, ind=^J, 
  9991.     is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw, 
  9992.     ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
  9993.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  9994.     ked=\E[J, kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, 
  9995.     kf5=\EOW, kf6=\EOP, kf7=\EOQ, kf8=\EOR, kf9=\EOX, 
  9996.     khlp=\E[~, khome=\E[H, ll=\E[24;1H, 
  9997.     mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, 
  9998.     rev=\E[7m, rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, 
  9999.     rmso=\E[0m, rmul=\E[0m, rs2=\E<\Ec\200, sc=\E[s, 
  10000.     sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smkx=\E[>7h, 
  10001.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  10002.     tsl=\E[s\E[>1h\E[25;%i%p1%dH, 
  10003.  
  10004. # From: Brad Brahms <Brahms@USC-ECLC>
  10005. z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor, 
  10006.     cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, use=z100bw,
  10007. # (z100bw: removed obsolete ":kn#10:" -- esr)
  10008. z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc, 
  10009.     mir, msgr, 
  10010.     cols#80, it#8, lines#24, 
  10011.     clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, 
  10012.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, 
  10013.     cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, 
  10014.     dl1=\EM$<5*/>, ed=\EJ, el=\EK, home=\EH, ht=^I, 
  10015.     il1=\EL$<5*/>, kbs=^H, kcub1=\ED, kcud1=\EB, 
  10016.     kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, kf2=\ET, 
  10017.     kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, 
  10018.     kf8=\ER, kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, 
  10019.     rmir=\EO, rmso=\Eq, smacs=\EF, smir=\E@, smso=\Ep, 
  10020. p19|h19-b with il1/dl1, 
  10021.     dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b,
  10022. # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
  10023. # (ztx: removed duplicate :sr: -- esr)
  10024. ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11, 
  10025.     am, eslok, hs, 
  10026.     cols#80, it#8, lines#24, 
  10027.     clear=\EE, cub1=^H, cud1=^J, cuf1=\EC, 
  10028.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
  10029.     dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, 
  10030.     ht=^I, il1=\EL, 
  10031.     is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>, kbs=^H, 
  10032.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  10033.     kf0=\ES, kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, 
  10034.     kf5=\EP, kf6=\EQ, kf7=\ER, ri=\EI, rmso=\Eq, 
  10035.     rmul=\Eq, smso=\Es5, smul=\Es2, 
  10036.     tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
  10037.  
  10038. #### IMS International (ims)
  10039. #
  10040. # There was a company called IMS International located in Carson City, 
  10041. # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
  10042. # bus/Z80 hardware and a line of terminals called Ultimas.  
  10043.  
  10044. # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
  10045. ims950-b|bare ims950 no init string, 
  10046.     is2@, use=ims950,
  10047. # (ims950: removed obsolete ":ko@:" -- esr)
  10048. ims950|ims televideo 950 emulation, 
  10049.     xenl@, 
  10050.     flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, 
  10051.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
  10052.     kf9@, khome@, use=tvi950,
  10053. # (ims950-rv: removed obsolete ":ko@:" -- esr)
  10054. ims950-rv|ims tvi950 rev video, 
  10055.     xenl@, 
  10056.     flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, 
  10057.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
  10058.     kf9@, khome@, use=tvi950-rv,
  10059. ims-ansi|ultima2|ultimaII|IMS Ultima II, 
  10060.     am, 
  10061.     cols#80, it#8, lines#24, 
  10062.     clear=\E[H\E[2J, cub1=^H, cud1=\ED, 
  10063.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, 
  10064.     el=\E[0K, ht=^I, if=/usr/share/tabset/vt100, 
  10065.     is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D, 
  10066.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  10067.     ri=\EM, rmso=\E[m\E[1m, rmul=\E[m\E[1m, smso=\E[7m, 
  10068.     smul=\E[4m, 
  10069.  
  10070. #### Intertec Data Systems
  10071. #
  10072. # I think this company is long dead as of 1995.  They made an early CP/M
  10073. # micro called the "Intertec Superbrain" that was moderately popular,
  10074. # then sank out of sight.
  10075. #
  10076.  
  10077. superbrain|intertec superbrain, 
  10078.     am, bw, 
  10079.     cols#80, lines#24, 
  10080.     bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J, 
  10081.     cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, 
  10082.     cuu1=^K, ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, 
  10083.     kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, 
  10084.     smcup=^L, 
  10085. intertube|intertec|Intertec InterTube, 
  10086.     am, 
  10087.     cols#80, lines#25, 
  10088.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  10089.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, 
  10090.     home=^A, ind=^J, rmso=\E0@, smso=\E0P, 
  10091. # The intertube 2 has the "full duplex" problem like the tek 4025: if you
  10092. # are typing and a command comes in, the keystrokes you type get interspersed
  10093. # with the command and it messes up
  10094. intertube2|intertec data systems intertube 2, 
  10095.     cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c, 
  10096.     el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, 
  10097.     ll=^K^X\r, vpa=\013%p1%c, use=intertube,
  10098.  
  10099. #### Ithaca Intersystems
  10100. #
  10101. # This company made S100-bus personal computers long ago in the pre-IBM-PC
  10102. # past.  They used to be reachable at:
  10103. #
  10104. #    Ithaca Intersystems
  10105. #    1650 Hanshaw Road
  10106. #    Ithaca, New York 14850
  10107. #
  10108. # However, the outfit went bankrupt years ago.
  10109. #
  10110.  
  10111. # The Graphos III was a color graphics terminal frome Ithaca Intersystems.
  10112. # These entries were written (originally in termcap syntax) by Brian Yandell 
  10113. # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the 
  10114. # University of Wisconsin.
  10115.  
  10116. # (graphos: removed obsolete and syntactically incorrect :kn=4:, 
  10117. # removed <if=/usr/share/tabset/init.graphos> and 
  10118. # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
  10119. graphos|graphos III, 
  10120.     am, mir, 
  10121.     cols#80, it#8, lines#24, 
  10122.     clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z, 
  10123.     cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, 
  10124.     cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  10125.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  10126.     cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, 
  10127.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  10128.     home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  10129.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  10130.     kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  10131.     khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l, 
  10132.     rmir=\E[4l, rmso=\E[m, sc=\E7, smdc=\E[4h, 
  10133.     smir=\E[4h, smso=\E[7m, 
  10134. graphos-30|graphos III with 30 lines, 
  10135.     lines#30, 
  10136.     cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos,
  10137.  
  10138. #### Modgraph
  10139. #
  10140. # These people used to be reachable at:
  10141. #
  10142. #    Modgraph, Inc
  10143. #    1393 Main Street,
  10144. #    Waltham, MA 02154
  10145. #    Vox: (617)-890-5796.
  10146. #
  10147. # However, if you call that number today you'll get an insurance company.
  10148. # I think Modgraph is long gone.
  10149. #
  10150.  
  10151. modgraph|mod|modgraph terminal emulating vt100, 
  10152.     xenl@, 
  10153.     cols#80, lines#24, 
  10154.     cvvis=\E\^9;0s\E\^7;1s, 
  10155.     is2=\E\^9;0s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s, 
  10156.     rf@, ri=\EM\E[K$<5/>, use=vt100,
  10157. # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
  10158. modgraph2|modgraph gx-1000 80x24 with keypad not enabled, 
  10159.     am, da, db, 
  10160.     cols#80, it#8, lines#24, 
  10161.     clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>, 
  10162.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, 
  10163.     cuu1=\EA$<2/>, ed=\EJ$<50/>, el=\EK$<3/>, ht=^I, 
  10164.     is2=\E<\E\^5;2s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s\E\^12;0s\E\^14;2s\E\^15;9s\E\^25;1s\E\^9;1s\E\^27;1, 
  10165.     ri=\EI$<5/>, 
  10166.  
  10167. #### Morrow Designs
  10168. # This was George Morrow's company.  They started in the late 1970s making
  10169. # S100-bus machines.  They used to be reachable at:
  10170. #
  10171. #        Morrow
  10172. #        600 McCormick St.
  10173. #        San Leandro, CA 94577
  10174. #
  10175. # but they're long gone now (1995).
  10176. #
  10177.  
  10178. # The mt70 terminal was shipped with the Morrow MD-3 microcomputer. 
  10179. # Jeff's specimen was dated June 1984.
  10180. # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
  10181. mt70|mt-70|Morrow MD-70; native Morrow mode, 
  10182.     am, mir, msgr, xon, 
  10183.     cols#80, it#8, lines#24, 
  10184.     acsc=+z\\\054{.yOi-x`|jGkFlEmDnHtLuKvNwMxIqJ, 
  10185.     bel=^G, cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, 
  10186.     cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  10187.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>, cuu1=^K, 
  10188.     dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>, 
  10189.     flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, 
  10190.     il1=\EE, ind=^J, is1=\E"2\EG0\E], kbs=^H, 
  10191.     kcbt=^A^Z\r, kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, 
  10192.     kcuf1=^AM\r, kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, 
  10193.     kf10=^AI\r, kf11=^A`\r, kf12=^Aa\r, kf13=^Ab\r, 
  10194.     kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r, kf17=^Af\r, 
  10195.     kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r, 
  10196.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  10197.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, 
  10198.     khome=^AN\r, nel=^_, rev=\EG4, rmacs=\E%, 
  10199.     rmso=\EG0, sgr0=\EG0, smacs=\E$, smcup=\E"2\EG0\E], 
  10200.     smso=\EG4, smul=\EG1, tbc=\E0, 
  10201.  
  10202. #### Omron
  10203. #
  10204. # This company is still around in 1995, manufacturing point-of-sale systems.
  10205.  
  10206. omron|Omron 8025AG, 
  10207.     am, da, db, 
  10208.     cols#80, lines#24, 
  10209.     bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, 
  10210.     cuf1=\EC, cuu1=\EA, cvvis=\EN, dch1=\EP, dl1=\EM, 
  10211.     ed=\ER, el=\EK, home=\EH, il1=\EL, ind=\ES, ri=\ET, 
  10212.     rmso=\E4, smso=\Ef, 
  10213.  
  10214. #### Signetics
  10215. #
  10216.  
  10217. # From University of Wisconsin
  10218. vsc|Signetics Vsc Video driver by RMC, 
  10219.     am, msgr, 
  10220.     cols#80, it#8, lines#26, 
  10221.     clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, 
  10222.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  10223.     el=\E[K, home=\E[H, ht=^I, ind=^J, kbs=^H, 
  10224.     kcub1=^H, kcud1=^J, nel=^M^J, rev=^_ , rmso=^_!, 
  10225.     rmul=^_#, sgr0=^_!, smso=^_ , smul=^_", 
  10226.  
  10227. #### Soroc
  10228. #
  10229. # Alan Frisbie <frisbie@flying-disk.com> writes:
  10230. #
  10231. # As you may recall, the Soroc logo consisted of their name,
  10232. # with the letter "S" superimposed over an odd design.   This
  10233. # consisted of a circle with a slightly smaller 15 degree (approx.)
  10234. # wedge with rounded corners inside it.   The color was sort of
  10235. # a metallic gold/yellow.
  10236. # If I had been more of a beer drinker it might have been obvious
  10237. # to me, but it took a clue from their service department to make
  10238. # me exclaim, "Of course!"   The circular object was the top of
  10239. # a beer can (the old removable pop-top style) and "Soroc" was an
  10240. # anagram for "Coors".
  10241. # I can just imagine the founders of the company sitting around
  10242. # one evening, tossing back a few and trying to decide what to
  10243. # call their new company and what to use for a logo.
  10244.  
  10245. # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
  10246. soroc120|iq120|soroc|soroc iq120, 
  10247.     clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, 
  10248.     kcud1=^J, kcuf1=^L, kcuu1=^K, use=adm3a,
  10249. soroc140|iq140|soroc iq140, 
  10250.     am, mir, 
  10251.     cols#80, lines#24, 
  10252.     bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, 
  10253.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  10254.     cuu1=^K, dch1=\Ew, dl1=\Er$<.7*>, ed=\Ey, el=\Et, 
  10255.     home=^^, il1=\Ee$<1*>, ind=^J, kbs=^H, kcuf1=^L, 
  10256.     kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r, 
  10257.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  10258.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, 
  10259.     rmir=\E8, rmso=\E\177, rmul=\E^A, smir=\E9, 
  10260.     smso=\E\177, smul=\E^A, 
  10261.  
  10262. #### Southwest Technical Products
  10263. #
  10264. # These guys made an early personal micro called the M6800.  
  10265. # The ct82 was probably its console terminal.
  10266. #
  10267.  
  10268. # (swtp: removed obsolete ":bc=^D:" -- esr)
  10269. swtp|ct82|southwest technical products ct82, 
  10270.     am, 
  10271.     cols#82, lines#20, 
  10272.     bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S, 
  10273.     cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, 
  10274.     ed=^V, el=^F, home=^P, ich1=^\^X, il1=^\^Y, ind=^N, 
  10275.     is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011, 
  10276.     ll=^C, ri=^O, rmso=^^^F, smso=^^^V, 
  10277.  
  10278. #### Synertek
  10279. #
  10280. # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
  10281. #
  10282. # Synertek used to make ICs, various 6502-based single-board process
  10283. # control and hobbyist computers, and assorted peripherals including a
  10284. # series of small inexpensive terminals (I think they were one of the
  10285. # first to have a "terminal-on-a-keyboard", where the terminal itself
  10286. # was only slightly larger than the keyboard).
  10287. #
  10288. # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
  10289. # was a 40x24 terminal that could connect to a standard TV through a
  10290. # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
  10291. # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
  10292. # I have a KTM-2/80 still in working order.  The KTM-2s had fully
  10293. # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
  10294. # ROM and 2 ROMs as character generators. They were incredibly simple,
  10295. # and I've never had any problems with mine (witness the fact that mine
  10296. # was made in 1981 and is still working great... I've blown the video
  10297. # output transistor a couple of times, but it's a 2N2222 :-)
  10298. #
  10299. # The KTM-3 (which is what is listed in the terminfo file) was their
  10300. # attempt at putting a KTM-2 in a box (and some models came with a
  10301. # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
  10302. # control and escape sequences are very different. The KTM-3 was always
  10303. # real broken, at least according to the folks I've talked to about it.
  10304. # The padding in the entry is probably off--these terminals were very
  10305. # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
  10306. # anyone with any sanity replaced the ROMs with something that provided
  10307. # a reasonable subset of VT100 functionality, since the usual ROMs were
  10308. # obviously very primitive... oh, you could get an upgraded ROM from
  10309. # Synertek for some incredible amount of money, but what hacker with an
  10310. # EPROM burner would do that? :)
  10311. # Sorry I don't have any contact info; I believe they were located in
  10312. # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
  10313. # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
  10314. # business these days.
  10315.  
  10316. # Tested, seems to work fine with vi.
  10317. synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal, 
  10318.     am, 
  10319.     cols#80, lines#24, 
  10320.     clear=^Z, cub1=^H, cuf1=^L, 
  10321.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, 
  10322.     el=\EK, 
  10323.  
  10324. #### Tab Office Products
  10325. #
  10326. #    TAB Products Co. - Palo Alto, California
  10327. #    Electronic Office Products,
  10328. #    1451 California Avenue 94304
  10329. #
  10330. # I think they're out of business.
  10331. #
  10332.  
  10333. # The tab 132 uses xon/xoff, so no padding needed.
  10334. # <smkx>/<rmkx> have nothing to do with arrow keys.
  10335. # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
  10336. # Seems to be no way to get rid of status line.
  10337. # The manual for this puppy was dated June 1981.  It claims to be VT52-
  10338. # compatible but looks more vt100-like.
  10339. tab132|tab|tab132-15|tab 132/15, 
  10340.     da, db, 
  10341.     cols#80, lines#24, lm#96, 
  10342.     cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, 
  10343.     dl1=\E[M, il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, 
  10344.     kcub1=\E[D, kcud1=\E[B, kcuu1=\E[A, rmir=\E[4l, 
  10345.     rmkx@, smir=\E[4h, smkx@, use=vt100,
  10346. tab132-w|tab132 in wide mode, 
  10347.     cols#132, 
  10348.     is2=\E[?7h\E[?3h\E[?5l, use=tab132,
  10349. tab132-rv|tab132 in reverse-video mode, 
  10350.     is2=\E[?7h\E[?3l\E[?5h, use=tab132,
  10351. tab132-w-rv|tab132 in reverse-video/wide mode, 
  10352.     is2=\E[?7h\E[?3h\E[?5h, use=tab132-w,
  10353.  
  10354.  
  10355. #### Teleray
  10356. #
  10357. #    Research Incorporated
  10358. #    6425 Flying Cloud Drive
  10359. #    Eden Prairie, MN 55344
  10360. #    Vox: (612)-941-3300
  10361. #
  10362. # The Teleray terminals were all discontinued in 1992-93.  RI still services
  10363. # and repairs these beasts, but no longer manufactures them.  The Teleray
  10364. # people believe that all the types listed below are very rare now (1995).
  10365. # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
  10366. # Model 100) that were ANSI-compatible.
  10367. #
  10368. # Note two things called "teleray".  Reorder should move the common one
  10369. # to the front if you have either.  A dumb teleray with the cursor stuck
  10370. # on the bottom and no obvious model number is probably a 3700.
  10371. #
  10372.  
  10373. t3700|dumb teleray 3700, 
  10374.     cols#80, lines#24, 
  10375.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J, 
  10376. t3800|teleray 3800 series, 
  10377.     cols#80, it#8, lines#24, 
  10378.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
  10379.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  10380.     ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, ll=\EY7 , 
  10381. t1061|teleray|teleray 1061, 
  10382.     am, km, xhp, xt, 
  10383.     cols#80, it#8, lines#24, xmc#1, 
  10384.     bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, 
  10385.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  10386.     cuu1=\EA, dch1=\EQ, dl1=\EM$<2*>, ed=\EJ$<1>, 
  10387.     el=\EK, home=\EH, ht=^I, hts=\EF, ich1=\EP, 
  10388.     il1=\EL$<2*>, ind=^J, ip=$<0.4*>, 
  10389.     is2=\Ee\EU01^Z1\EV\EU02^Z2\EV\EU03^Z3\EV\EU04^Z4\EV\EU05^Z5\EV\EU06^Z6\EV\EU07^Z7\EV\EU08^Z8\EV\Ef, 
  10390.     kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, 
  10391.     kf6=^Z6, kf7=^Z7, kf8=^Z8, rmso=\ER@, rmul=\ER@, 
  10392.     smso= \ERD, smul=\ERH, tbc=\EG, 
  10393. t1061f|teleray 1061 with fast PROMs, 
  10394.     dl1=\EM, il1=\EL, ip@, use=t1061,
  10395. # "Teleray Arpa Special", officially designated as
  10396. # "Teleray Arpa network model 10" with "Special feature 720".
  10397. # This is the new (1981) fast microcode updating the older "arpa" proms
  10398. # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
  10399. # converts the keypad to programmable function keys, and has other goodies.
  10400. # Standout mode is still broken (magic cookie, etc) so is suppressed as no
  10401. # programs handle such lossage properly.
  10402. # Note: this is NOT the old termcap's "t1061f with fast proms."
  10403. # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
  10404. # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
  10405. t10|teleray 10 special, 
  10406.     km, xhp, xt, 
  10407.     cols#80, it#8, lines#24, xmc#2, 
  10408.     clear=\Ej$<30/>, cub1=^H, cuf1=\EC, 
  10409.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  10410.     dch1=\EQ, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, 
  10411.     ich1=\EP, il1=\EL, ind=\Eq, pad=\200, ri=\Ep, 
  10412.     rmso=\ER@, rmul=\ER@, smso=\ERD, smul=\ERH, 
  10413. # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
  10414. # back/forth words. Put the function keys (f1-f10) where they can be
  10415. # found, and turn off the other magic keys along the top row, except
  10416. # for line/local. Do the magic appropriate to make the page shifts work.
  10417. # Also toggle ^S/^Q for those of us who use Emacs.
  10418. t16|teleray 16, 
  10419.     am, da, db, mir, xhp, xt, 
  10420.     cols#80, lines#24, 
  10421.     bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
  10422.     cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, 
  10423.     dch1=\E[P, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, 
  10424.     ht=^I, il1=\E[L, ind=^J, kf1=^Z1, kf10=^Z0, 
  10425.     kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, 
  10426.     kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T, 
  10427.     rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m, 
  10428.     rmul=\E[m, smcup=\E[U\E[?38l, smir=\E[4h, 
  10429.     smso=\E[7m, smul=\E[4m, 
  10430.  
  10431. #### Texas Instruments (ti)
  10432. #
  10433.  
  10434. # The Silent 700 was so called because it was built around a quiet thermal
  10435. # printer.  It was portable, equipped with an acoustic coupler, and pretty
  10436. # neat for its day.
  10437. ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800, 
  10438.     hc, os, 
  10439.     cols#80, 
  10440.     bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J, 
  10441.  
  10442. ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL, 
  10443.     am, xon, 
  10444.     cols#80, it#8, lines#24, 
  10445.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  10446.     clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
  10447.     csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, 
  10448.     cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, 
  10449.     cvvis=\E[?31h, dl1=\E[M, ed=\E[J, el=\E[K, 
  10450.     home=\E[H, ht=^I, hts=\EH, il1=\E[L, ind=\ED, 
  10451.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  10452.     kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ, 
  10453.     kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, 
  10454.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[@, 
  10455.     rc=\E8, rev=\E[7m, ri=\EM, rmso=\E[m, rmul=\E[m, 
  10456.     sc=\E7, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  10457.     tbc=\E[3g, 
  10458. ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL, 
  10459.     am, xon, 
  10460.     cols#80, it#8, lines#24, 
  10461.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  10462.     clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
  10463.     csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, 
  10464.     cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, 
  10465.     cvvis=\E[?31h, dl1=\E[M, ed=\E[J, el=\E[K, 
  10466.     home=\E[H, ht=^I, hts=\EH, il1=\E[L, ind=\ED, 
  10467.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  10468.     kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>, 
  10469.     kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, 
  10470.     kf5=~$<\23316>, kf6=~$<\23317>, kf7=~$<\23318>, 
  10471.     kf8=~$<\23319>, kf9=~$<\23320>, kich1=@$<\233>, 
  10472.     rc=\E8, rev=\E[7m, ri=\EM, rmso=\E[m, rmul=\E[m, 
  10473.     sc=\E7, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  10474.     tbc=\E[3g, 
  10475. ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode, 
  10476.     cols#132, use=ti924,
  10477. ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode, 
  10478.     cols#132, use=ti924-8,
  10479. ti931|Texas Instruments 931 VDT, 
  10480.     am, xon, 
  10481.     cols#80, lines#24, 
  10482.     bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, 
  10483.     cub1=\ED, cud1=\EB, cuf1=\EC, 
  10484.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  10485.     dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, 
  10486.     ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H, 
  10487.     is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, 
  10488.     kcuf1=\EC, kcuu1=\EA, kdch1=\EQ, kdl1=\EO, 
  10489.     kf1=\Ei1, kf2=\Ei2, kf3=\Ei3, kf4=\Ei4, kf5=\Ei5, 
  10490.     kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9, kich1=\EP, 
  10491.     kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@, 
  10492.     sgr0=\E4@, smso=\E4A, smul=\E4D, 
  10493. ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL, 
  10494.     csr@, ind=\E[1S, ri=\E[1T, use=ti924,
  10495. # (ti926-8: I corrected this from the broken SCO entry -- esr)
  10496. ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL, 
  10497.     csr@, ind=\2331S, ri=\2331T, use=ti924-8,
  10498. ti_ansi|basic entry for ti928, 
  10499.     am, bce, eo, xenl, xon, 
  10500.     colors#8, cols#80, it#8, lines#25, pairs#64, 
  10501.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  10502.     clear=\E[2J\E[H, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  10503.     cub1=^H, cud1=\E[B, cuf1=\E[C, 
  10504.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  10505.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  10506.     ich1=\E[@, il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, 
  10507.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, 
  10508.     kf0=\E[V, kf1=\E[M, kf2=\E[N, kf3=\E[O, kf4=\E[P, 
  10509.     kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, 
  10510.     khome=\E[H, knp=\E[G, kpp=\E[I, op=\E[37;40m, 
  10511.     ri=\E[T, rmso=\E[m, rmul=\E[m, setb=\E[4%p1%dm, 
  10512.     setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  10513. #
  10514. #       928 VDT 7 bit control mode
  10515. #
  10516. ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL, 
  10517.     kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~, 
  10518.     kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, 
  10519.     kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, 
  10520.     kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
  10521.     kf9=\E[26~, kich1=\E[@, knp=\E[S, kpp=\E[T, 
  10522.     kprt=\E[35~, use=ti_ansi,
  10523. #
  10524. #       928 VDT 8 bit control mode
  10525. #
  10526. ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL, 
  10527.     kdch1=\233P, kend=\2371\234, kent=\2338~, 
  10528.     kf1=\23317~, kf10=\23328~, kf11=\23329~, 
  10529.     kf12=\23331~, kf13=\23332~, kf15=\23334~, 
  10530.     kf2=\23318~, kf3=\23319~, kf4=\23320~, kf5=\23321~, 
  10531.     kf6=\23323~, kf7=\23324~, kf8=\23325~, kf9=\23326~, 
  10532.     khome=\233H, kich1=\233@, knp=\233S, kpp=\233T, 
  10533.     kprt=\23335~, use=ti_ansi,
  10534.  
  10535. #### Zentec (zen)
  10536. #
  10537.  
  10538. # (zen30: removed obsolete ":ma=^L ^R^L^K^P:" -- esr)
  10539. zen30|z30|zentec 30, 
  10540.     am, mir, ul, 
  10541.     cols#80, lines#24, 
  10542.     bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, 
  10543.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  10544.     dch1=\EW, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, 
  10545.     home=^^, il1=\EE$<1.5*>, ind=^J, rmir=\Er, 
  10546.     rmso=\EG0, smir=\Eq, smso=\EG6, 
  10547. # (zen50: this had extension capabilities
  10548. #    :BS=^U:CL=^V:CR=^B:
  10549. # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
  10550. # which were also in the original entry -- esr)
  10551. # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
  10552. zen50|z50|zentec zephyr, 
  10553.     am, 
  10554.     cols#80, lines#24, xmc#1, 
  10555.     clear=\E+, cub1=^H, 
  10556.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  10557.     dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE, 
  10558.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
  10559.     rmso=\EGO, smso=\EG4, 
  10560.  
  10561. ######## OBSOLETE UNIX CONSOLES
  10562. #
  10563.  
  10564. #### Masscomp consoles
  10565. #
  10566. # Masscomp has gone out of business.  Their product line was purchased by
  10567. # comany in Georgia (US) called "XS International", parts and service may
  10568. # still be available through them.
  10569. #
  10570.  
  10571. # (masscomp: ":MT:" changed to ":km:";  -- esr)
  10572. masscomp|masscomp workstation console, 
  10573.     km, mir, 
  10574.     cols#80, it#8, lines#24, 
  10575.     clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  10576.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  10577.     dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, il1=\E[L, 
  10578.     is2=\EGc\EGb\EGw, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
  10579.     kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l, rmso=\E[m, 
  10580.     rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu, 
  10581. masscomp1|masscomp large screen version 1, 
  10582.     cols#104, lines#36, use=masscomp,
  10583. masscomp2|masscomp large screen version 2, 
  10584.     cols#64, lines#21, use=masscomp,
  10585.  
  10586. #### DEC consoles
  10587. #
  10588.  
  10589. # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
  10590. # The digital uVax II's had a graphic display called a qdss.  It was
  10591. # supposed to be a high performance graphic accelerator, but it was
  10592. # late to market and barely appeared before faster dumb frame buffers
  10593. # appeared.  I have only used this display while running X11.  However,
  10594. # during bootup, it was in text mode, and probably had a terminal emulator
  10595. # within it.  And that is what your termcap entry is for.  In graphics
  10596. # mode the screen size is 1024x864 pixels.
  10597. qdss|qdcons|qdss glass tty, 
  10598.     am, 
  10599.     cols#128, lines#57, 
  10600.     clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L, 
  10601.     cup=\E=%p1%c%p2%c, cuu1=^K, 
  10602.  
  10603. ######## OTHER OBSOLETE TYPES
  10604. #
  10605. # These terminals are *long* dead -- these entries are retained for
  10606. # historical interest only.
  10607.  
  10608. #### Obsolete non-ANSI software emulations
  10609. #
  10610.  
  10611. # CTRM terminal emulator
  10612. # 1. underlining is not allowed with colors: first, is is simulated by 
  10613. # black on white, second, it disables background color manipulations.
  10614. # 2. BLINKING, REVERSE and BOLD are allowed with colors,
  10615. # so we have to save their status in the static registers A, B and H
  10616. # respectively, to be able to restore them when color changes
  10617. # (because any color change turns off ALL attributes)
  10618. # 3. <bold> and <rev> sequences alternate modes,
  10619. # rather then simply  entering them.  Thus we have to check the
  10620. # static register B and H to determine the status, before sending the 
  10621. # escape sequence.
  10622. # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
  10623. # and then reset colors
  10624. # 5. implementation of the protect mode would badly penalize the performance.
  10625. # we would have to use \E&bn sequence to turn off colors (as well as all
  10626. # other attributes), and keep the status of protect mode in yet another
  10627. # static variable.  If someone really needs this mode, they would have to
  10628. # create another terminfo entry.
  10629. # 6. original color-pair is white on black.
  10630. # store the information about colors into static registers
  10631. # 7. set foreground color.  it performs the following steps.
  10632. #   1) turn off all attributes
  10633. #   2) turn on the background and video attributes that have been turned
  10634. #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
  10635. #   3) turn on foreground attributes
  10636. #   4) store information about foreground into U,V,W static registers
  10637. # 8. turn on background: similar to turn on foreground above
  10638. ctrm|C terminal emulator, 
  10639.     am, bce, xon, 
  10640.     colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, 
  10641.     ncv#2, nlab#0, pairs#63, pb#19200, vt#6, 
  10642.     bel=^G, blink=\E&dA%{1}%PA, 
  10643.     bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei, 
  10644.     clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  10645.     cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, 
  10646.     dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, 
  10647.     ht=\011$<2>, hts=\E1, il1=\EL, ind=^J, ip=$<2>, 
  10648.     is2=\E&jA\r, kbs=^H, kcub1=\Eu\r, kcud1=\Ew\r, 
  10649.     kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r, kf2=\Eq\r, 
  10650.     kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, 
  10651.     kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r, 
  10652.     op=\E&bn\E&bB\E&bG\E&bR\n%{0}%PX%{0}%PY%{0}%PZ\n%{1}%PW%{1}%PV%{1}%PU, 
  10653.     rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, 
  10654.     rmkx=\E&jA, 
  10655.     setb=\E&bn\n%?%gA%t\E&dA%;\n%?%gB%t\E&dB%;\n%?%gH%t\E&dH%;\n%?%gU%t\E&bR%;\n%?%gV%t\E&bG%;\n%?%gW%t\E&bB%;\n\n%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ\n%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY\n%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX, 
  10656.     setf=\E&bn\n%?%gA%t\E&dA%;\n%?%gB%t\E&dB%;\n%?%gH%t\E&dH%;\n%?%gX%t\E&br%;\n%?%gY%t\E&bg%;\n%?%gZ%t\E&bb%;\n\n%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW\n%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV\n%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU, 
  10657.     sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH\n%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;\n%?%p4%t\E&dA%{1}%PA%;\n%?%p6%t\E&dH%{1}%PH%;\n%?%p2%t\E&dD%;, 
  10658.     sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, 
  10659.     smkx=\E&jB, smso=\E&dD, smul=\E&dD, tbc=\E3, 
  10660.     vpa=\E&a%p1%dY, 
  10661.  
  10662. # gs6300 - can't use blue foreground, it clashes with underline;
  10663. # it's simulated with cyan
  10664. gs6300|emots|AT&T PC6300 with EMOTS terminal emulator, 
  10665.     am, bce, msgr, xon, 
  10666.     colors#8, cols#80, it#8, lines#24, pairs#63, 
  10667.     acsc=\\\054\\\054..--++``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  10668.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
  10669.     cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, 
  10670.     cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  10671.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  10672.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  10673.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
  10674.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  10675.     is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, 
  10676.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, 
  10677.     kf2=\E[24s, kf3=\E[1s, kf4=\E[23s, kf5=\E[2s, 
  10678.     kf6=\E[22s, kf7=\E[3s, kf8=\E[21s, khome=\E[H, 
  10679.     mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m, 
  10680.     ri=\E[L, rmacs=\E[10m, rmln=\E|, rs1=\Ec, 
  10681.     setb=\E[?;%p1%dm, 
  10682.     setf=\E[?%?%p1%{0}%=%t0\n%e%p1%{1}%=%t2\n%e%p1%{1}%-%d%;m, 
  10683.     sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, 
  10684.     smul=\E[4m, 
  10685.  
  10686. # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
  10687. # MS-Kermit with Heath-19 emulation mode enabled
  10688. # (h19k: changed ":pt@:" to ":it@"
  10689. h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin), 
  10690.     am@, da, db, xt, 
  10691.     it@, 
  10692.     ht@, use=h19-u,
  10693.  
  10694. # Apple Macintosh with Versaterm, a terminal emulator formerly
  10695. # distributed by Peripherals Computers & Supplies, Inc
  10696. # 2232 Perkiomen Ave., Mt. Penn, PA 19606, (215) 779-0522
  10697. # The number no longer reaches them and they are no longer listed.
  10698. versaterm|versaterm vt100 emulator for the macintosh, 
  10699.     am, xenl, 
  10700.     cols#80, it#8, lines#24, 
  10701.     bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
  10702.     clear=\E[;H\E[2J$<50/>, cr=^M, 
  10703.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, 
  10704.     cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
  10705.     cuu1=\E[A$<2/>, dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, 
  10706.     ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
  10707.     ich1=\E[1@$<7/>, il1=\E[1L$<9/>, 
  10708.     is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, 
  10709.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
  10710.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, 
  10711.     rev=\E[7m$<2/>, rf=/usr/share/tabset/vt100, 
  10712.     ri=\EM$<5/>, rmkx=\E>\E[?1l, rmso=\E[m$<2/>, 
  10713.     rmul=\E[m$<2/>, rs1=\E>, sc=\E7, sgr0=\E[m$<2/>, 
  10714.     smkx=\E=\E[?1h, smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
  10715.  
  10716. # vs100 emulator using tsim
  10717. # From: <lai@decwrl.dec.com>
  10718. # (vs100t: had Al/Dl in front of obvious AL/DL capabilities -- esr)
  10719. vs100t|tsim|vs100-tsim|tsim vs100 emulator, 
  10720.     am, 
  10721.     cols#80, it#8, lines#24, 
  10722.     clear=\EE, csr=\ES%p1%{32}%+%c%p2%{32}%+%c, 
  10723.     cub1=^H, cud1=^J, cuf1=\En, 
  10724.     cup=\EM%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ed, 
  10725.     dl=\E-%p1%{32}%+%c, dl1=\ED, ed=\EQ, el=\EL, 
  10726.     home=\EH, ht=^I, ich1=\Ei, il=\E+%p1%{32}%+%c, 
  10727.     il1=\EI, is1=\ER, rmso=\Er, rmul=\Ev, smso=\Eh, 
  10728.     smul=\Eu, 
  10729.  
  10730. # From: Rick Thomas <ihnp4!btlunix!rbt>
  10731. # (xtalk: I added <rmam>/<smam> based on the init string.
  10732. # I also removed <xmc#1>, I don't believe it on a PC display -- esr)
  10733. xtalk|IBM PC with xtalk communication program (versions up to 3.4), 
  10734.     am, mir, msgr, xon, 
  10735.     cols#80, it#8, lines#24, vt#3, 
  10736.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  10737.     bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, 
  10738.     cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
  10739.     cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>, 
  10740.     cuu=\E[%p1%dA, cuu1=\E[A$<2>, dl1=\E[M$<99>, 
  10741.     ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
  10742.     enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, 
  10743.     il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, 
  10744.     kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
  10745.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, 
  10746.     kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, 
  10747.     kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, 
  10748.     kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
  10749.     rmkx=\E[?1l\E>, rmso=\E[m , 
  10750.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smacs=^N, 
  10751.     smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m , 
  10752.     tbc=\E[3g, 
  10753.  
  10754. # The official PC terminal emulator program of the AT&T Product Centers.
  10755. # Note - insert mode commented out - doesn't seem to work on AT&T PC.
  10756. simterm|attpc running simterm, 
  10757.     am, 
  10758.     cols#80, lines#24, 
  10759.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, 
  10760.     cuf1=\EC, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  10761.     cuu1=\EA, dch1=\ER, dl1=\EM, ed=\EJ, el=\EK, 
  10762.     home=\EH, il1=\EL, ind=^J, rmcup=\EVE, smcup=\EVS, 
  10763.     smir=\EQ, smso=\E&dB, 
  10764.  
  10765. #### Daisy wheel printers
  10766. #
  10767. # This section collects Diablo, DTC, Xerox, Qume, and other daisy
  10768. # wheel terminals.  These are now largely obsolete.
  10769. #
  10770.  
  10771. # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
  10772. diablo1620|diablo1720|diablo450|ipsi|diablo 1620, 
  10773.     hc, os, 
  10774.     cols#132, it#8, 
  10775.     cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, 
  10776.     hpa=\E\011%i%p1%c, ht=^I, hts=\E1, hu=\EU, kbs=^H, 
  10777.     tbc=\E2, 
  10778. diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin, 
  10779.     cols#124, 
  10780.     is2=\r        \E9, use=diablo1620,
  10781. # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
  10782. diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640, 
  10783.     bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620,
  10784. # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such 
  10785. # file -- esr)
  10786. diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin, 
  10787.     cols#124, 
  10788.     rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620,
  10789. diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer, 
  10790.     use=diablo1640-lm,
  10791. # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
  10792. # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\200>.
  10793. # The terminal has tabs, but I'm getting tired of fighting the braindamage. 
  10794. # If no tab is set or the terminal's in a bad mood, it glitches the screen
  10795. # around all of memory.  Note that return puts a blank ("a return character")
  10796. # in the space the cursor was at, so we use ^P return (and thus ^P newline for
  10797. # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
  10798. # curses won't work (some old BSD versions) because it doesn't clear this bit,
  10799. # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
  10800. # I have been unable to get tabs set in all 96 lines - it always leaves at
  10801. # least one line with no tabs in it, and once you tab through that line,
  10802. # it completely weirds out.
  10803. dtc382|DTC 382, 
  10804.     am, da, db, xhp, 
  10805.     cols#80, lines#24, lm#96, 
  10806.     bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, 
  10807.     cub1=^H, cuf1=^PR, cup=\020\021%p2%c%p1%c, 
  10808.     cuu1=^P^L, cvvis=^PB, dch1=^X, dl1=^P^S, 
  10809.     ed=\020\025\020\023\020\023, el=^P^U, home=^P^R, 
  10810.     il1=^P^Z, ind=^J, pad=\177, rmcup=\020\035$<20>, 
  10811.     rmir=^Pi, rmul=^P \200, smir=^PI, smul=^P ^P, 
  10812. dtc300s|DTC 300s, 
  10813.     hc, os, 
  10814.     cols#132, 
  10815.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, 
  10816.     hd=\Eh, ht=^I, hts=\E1, hu=\EH, ind=^J, kbs=^H, 
  10817.     tbc=\E3, 
  10818. gsi|mystery gsi terminal, 
  10819.     hc, os, 
  10820.     cols#132, 
  10821.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, 
  10822.     ht=^I, hu=\EH, ind=^J, 
  10823. aj830|aj832|aj|anderson jacobson, 
  10824.     hc, os, 
  10825.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, 
  10826.     hu=\E8, ind=^J, 
  10827. # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
  10828. aj510|Anderson-Jacobson model 510, 
  10829.     am, mir, 
  10830.     cols#80, lines#24, 
  10831.     clear=^L, cub1=^H, cuf1=\EX, 
  10832.     cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY, 
  10833.     dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, 
  10834.     ich1=, il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, 
  10835.     kcud1=\EZ, kcuf1=\EX, kcuu1=\EY, pad=\177, 
  10836.     rmcup=\E"N, rmir=\E'J, rmso=\E"I, rmul=\E"U, 
  10837.     smcup=\E"N, smir=\E'I, smso=\E"I, smul=\E"U, 
  10838. # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
  10839. # This is incomplete, but it's a start.
  10840. nec5520|nec|spinwriter|nec 5520, 
  10841.     hc, os, 
  10842.     cols#132, it#8, 
  10843.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L, 
  10844.     hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, 
  10845.     ind=^J, kbs=^H, tbc=\E3, 
  10846. qume5|qume|Qume Sprint 5, 
  10847.     hc, os, 
  10848.     cols#80, it#8, 
  10849.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, 
  10850.     hd=\Eh, ht=^I, hts=\E1, hu=\EH, ind=^J, kbs=^H, 
  10851.     tbc=\E3, 
  10852. # I suspect the xerox 1720 is the same as the diablo 1620.
  10853. xerox1720|x1720|x1750|xerox 1720, 
  10854.     hc, os, 
  10855.     cols#132, it#8, 
  10856.     bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, 
  10857.     hts=\E1, ind=^J, tbc=\E2, 
  10858.  
  10859. #### Miscellaneous obsolete terminals, manufacturers unknown
  10860. #
  10861. # If you have any information about these (like, a manufacturer's name, 
  10862. # and a date on the serial-number plate) please send it!
  10863.  
  10864. cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars, 
  10865.     am, 
  10866.     cols#73, lines#36, 
  10867.     clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, 
  10868. cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars, 
  10869.     am, 
  10870.     cols#85, lines#39, 
  10871.     clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, 
  10872.     kcub1=\E3, kcud1=\E2, kcuf1=\E4, kcuu1=\E1, 
  10873.     kf1=\E5, kf2=\E6, kf3=\E7, kf4=\E8, rmso=\Em^C, 
  10874.     smso=\Em^L, 
  10875. cops10|cops|cops-10|cops 10, 
  10876.     am, bw, 
  10877.     cols#80, lines#24, 
  10878.     bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, 
  10879.     cuf1=^L, cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  10880.     ed=^W, el=^V, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
  10881.     kcuf1=^L, kcuu1=^K, khome=^Y, 
  10882. # (d132: removed duplicate ":ic=\E5:" -- esr)
  10883. d132|datagraphix|datagraphix 132a, 
  10884.     da, db, in, 
  10885.     cols#80, lines#30, 
  10886.     bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cud1=^J, 
  10887.     cuf1=\El, cuu1=\Ek, cvvis=\Ex, dch1=\E6, home=\Et, 
  10888.     ich1=\E5, il1=\E3, ind=\Ev, ri=\Ew, 
  10889. # The d800 was an early portable terminal from c.1984-85 that looked a lot
  10890. # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
  10891. # mode (which is what this entry looks like) and several other lesser-known
  10892. # emulations.
  10893. d800|Direct 800/A, 
  10894.     am, da, db, msgr, xhp, 
  10895.     cols#80, it#8, lines#24, 
  10896.     bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, 
  10897.     cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  10898.     cuu1=\E[A, cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, 
  10899.     ind=\ED, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  10900.     kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  10901.     kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, ri=\EM, 
  10902.     rmacs=\E[m, rmso=\E[m, rmul=\E[m, smacs=\E[1m, 
  10903.     smso=\E[7m, smul=\E[4m, 
  10904. digilog|digilog 333, 
  10905.     cols#80, lines#16, 
  10906.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, 
  10907.     el=^X, home=^N, ind=^J, 
  10908. env230|envision230|envision 230 graphics terminal, 
  10909.     xenl@, 
  10910.     mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
  10911.     sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, use=vt100,
  10912. # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
  10913. # coupler attached, the whole rig fitting in a suitcase and more or less
  10914. # portable.  Hot stuff for c.1977 :-) -- esr
  10915. ep48|ep4080|execuport 4080, 
  10916.     am, os, 
  10917.     cols#80, 
  10918.     bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, 
  10919.     ind=^J, 
  10920. ep40|ep4000|execuport 4000, 
  10921.     cols#136, use=ep4080,
  10922. # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
  10923. # Informer series - these are all portable units, resembling older
  10924. # automatic bread-baking machines.  The terminal looks like a `clamshell'
  10925. # design, but isn't.  The structure is similar to the Direct terminals,
  10926. # but only half the width.  The entire unit is only about 10" wide.
  10927. # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
  10928. # keyboard.  All the keys are crammed together, much like some laptop
  10929. # PCs today, but perhaps less well organized...all these units have a
  10930. # bewildering array of plugs on the back, including a built-in modem.
  10931. # The 305 was a color version of the 304; the 306 and 307 were mono and
  10932. # color terminals built for IBM bisync protocols.
  10933. # From: Paul Leondis <unllab@amber.berkeley.edu>
  10934. ifmr|Informer D304, 
  10935.     am, 
  10936.     cols#80, lines#24, 
  10937.     clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC, 
  10938.     cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
  10939.     dch1=\E\\, ed=\E/, el=\EQ, home=\EH, ich1=\E[, 
  10940.     ri=\En, rmso=\EK, smso=\EJ, 
  10941. # Entry largely based on wy60 and has the features of wy60ak.
  10942. opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys, 
  10943.     am, bw, hs, km, mir, msgr, ul, xon, 
  10944.     cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80, 
  10945.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, 
  10946.     blink=\EG2, cbt=\EI, civis=\E`0, clear=\E*$<100>, 
  10947.     cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  10948.     cup=\Ea%i%p1%dR%p2%dC, cuu1=^K, dch1=\EW$<11>, 
  10949.     dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r, ed=\EY$<100>, 
  10950.     el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>, 
  10951.     hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, 
  10952.     ind=^J, invis=\EG1, ip=$<3>, 
  10953.     is2=\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, 
  10954.     kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B, 
  10955.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, 
  10956.     ked=\EY, kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, 
  10957.     kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, 
  10958.     kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf2=^AA\r, 
  10959.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  10960.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  10961.     kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, 
  10962.     krpl=\Er, mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>, 
  10963.     pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
  10964.     pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
  10965.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), rev=\EG4, 
  10966.     ri=\Ej$<7>, rmacs=\EH^C, rmam=\Ed., rmir=\Er, 
  10967.     rmln=\EA11, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
  10968.     rs1=\E~!\E~4$<150>, rs2=\EeF$<150>, 
  10969.     rs3=\EwG\Ee($<150>, 
  10970.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  10971.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/, 
  10972.     smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177, 
  10973.     smir=\Eq, smln=\EA10, smso=\EG4, smul=\EG8, 
  10974.     smxon=\Ec21, tbc=\E0, tsl=\Ez(, uc=\EG8%p1%c\EG0, 
  10975. # (ps300: changed ":pt@:" to "it@" -- esr)
  10976. ps300|Picture System 300, 
  10977.     xt, 
  10978.     it@, 
  10979.     rmso@, rmul@, smso@, smul@, use=vt100,
  10980. teletec|Teletec Datascreen, 
  10981.     am, 
  10982.     cols#80, lines#24, 
  10983.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, 
  10984.     cuu1=^K, home=^^, ind=^J, 
  10985. # Terak made a PDP-11 based machine with a bitmapped display that ran UCSD
  10986. # Pascal as the native OS. It was quite a nice box, and there were several
  10987. # at UC Berkeley.
  10988. terak|Terak emulating Datamedia 1520, 
  10989.     use=dm1520,
  10990. # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
  10991. #        This termcap is for the LANPAR Technologies VISION 3220
  10992. #    terminal.  The function key definitions k0-k5 represent the
  10993. #    edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
  10994. #    NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
  10995. #    PF4 keys.
  10996. # (v3220: removed obsolete ":kn#10:",
  10997. # I added <rmam>/<smam> based on the init string -- esr)
  10998. v3220|LANPAR Vision II model 3220/3221/3222, 
  10999.     am, mir, xenl, 
  11000.     cols#80, it#8, lines#24, 
  11001.     clear=\E[H\E[J, cub1=^H, cuf1=\E[C, 
  11002.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  11003.     dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, il1=\E[L, 
  11004.     is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, 
  11005.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, 
  11006.     kf1=\E[2~, kf2=\E[3~, kf3=\E[4~, kf4=\E[5~, 
  11007.     kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ, kf8=\E[OR, 
  11008.     kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l, 
  11009.     rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, 
  11010.     smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, 
  11011.     smul=\E[4m, 
  11012. ######## ICH/ICH1 VERSUS RMIR/SMIR
  11013. #
  11014. # Some non-curses applications get confused if both ich/ich1 and rmir/smir
  11015. # are present; the symptom is doubled characters in an update using insert.
  11016. # These applications are technically correct; in both 4.3BSD termcap and
  11017. # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
  11018. # unless the terminal needs both.  This requirement is now rare; most ich
  11019. # sequences do not require previous smir, and most smir insert modes do not
  11020. # require ich1 before each character.
  11021. #
  11022. # For ncurses-based applications this is not a problem, as ncurses uses
  11023. # one or the other as appropriate but never mixes the two.  Therefore we
  11024. # have not corrected entries like `linux' and `xterm' that specify both.
  11025. # If you see doubled characters from these, use the linux-nic and xterm-nic
  11026. # entries that suppress ich/ich1.  And upgrade to ncurses!
  11027. #
  11028.  
  11029. ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
  11030. #
  11031. # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
  11032. # ECMA-48 standards are said to be almost identical, but are not the same
  11033. # as X3.64 (though for practical purposes they are close supersets of it).
  11034. #
  11035. # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
  11036. # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
  11037. # Coded Character Sets"), include your snail-mail address, and you should
  11038. # receive the document in due course.  Don't expect an email acknowledgement.
  11039. #
  11040. # Related standards include "X3.4-1977: American National Standard Code for
  11041. # Information Interchange" (the ASCII standard) and "X3.41.1974: 
  11042. # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
  11043. # American National Standard for Information Interchange."  I believe (but
  11044. # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
  11045. # respectively. 
  11046. #
  11047.  
  11048. #### VT100/ANSI/ECMA-48
  11049. #
  11050. # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
  11051. # and ECMA-48 Control Functions for Coded Character Sets.
  11052. # Much of the content of this comment is adapted from a table prepared by
  11053. # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
  11054. # discussion of some terminfo-related issues, and updates to capture ECMA-48
  11055. # have been added.  Control functions described in ECMA-48 only are tagged
  11056. # with * after their names.
  11057. #
  11058. # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
  11059. # sequences.  In the main table, \E stands for an escape (\033) character,
  11060. # SPC for space.  Pn stands for a single numeric parameter to be inserted
  11061. # in decimal ASCII.  Ps stands for a list of such parameters separated by
  11062. # semicolons.  Parameter meanings for most parametrized sequences are
  11063. # decribed in the notes.
  11064. #
  11065. # Sequence     Sequence                             Parameter   or
  11066. # Mnemonic     Name              Sequence           Value      Mode   terminfo
  11067. # -----------------------------------------------------------------------------
  11068. # APC  Applicatn Program Command \E _                -         Delim  -
  11069. # BEL  Bell *                    ^G                  -         -      bel
  11070. # BPH  Break Permitted Here *    \E B                -         *      -
  11071. # BS   Backpace *                ^H                  -         EF     -
  11072. # CAN  Cancel *                  ^X                  -         -      -   (A)
  11073. # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
  11074. # CCH  Cancel Previous Character \E T                -         -      -
  11075. # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
  11076. # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
  11077. # CMD  Coding Method Delimiter * \E
  11078. # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
  11079. # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
  11080. # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
  11081. # CSI  Control Sequence Intro    \E [                -         Intro  -
  11082. # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
  11083. # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
  11084. # CUD  Cursor Down               \E [ Pn B           1         eF     cud
  11085. # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
  11086. # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
  11087. # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
  11088. # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
  11089. # DA   Device Attributes         \E [ Pn c           0         -      -
  11090. # DAQ  Define Area Qualification \E [ Ps o           0         -      -
  11091. # DCH  Delete Character          \E [ Pn P           1         eF     dch
  11092. # DCS  Device Control String     \E P                -         Delim  -
  11093. # DL   Delete Line               \E [ Pn M           1         eF     dl
  11094. # DLE  Data Link Escape *        ^P                  -         -      -
  11095. # DMI  Disable Manual Input      \E \                -         Fs     -
  11096. # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
  11097. # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
  11098. # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
  11099. # ECH  Erase Character           \E [ Pn X           1         eF     ech
  11100. # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
  11101. # EF   Erase in Field            \E [ Ps N           0         eF     -
  11102. # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
  11103. # EM   Eend of Medium *          ^Y                  -         -      -
  11104. # EMI  Enable Manual Input       \E b                          Fs     -
  11105. # ENQ  Enquire                   ^E                  -         -      -
  11106. # EOT  End Of Transmission       ^D                  -         *      -
  11107. # EPA  End of Protected Area     \E W                -         -      -   (K)
  11108. # ESA  End of Selected Area      \E G                -         -      -
  11109. # ESC  Escape                    ^[                  -         -      -
  11110. # ETB  End Transmission Block    ^W                  -         -      -
  11111. # ETX  End of Text               ^C                  -         -      -
  11112. # FF   Form Feed                 ^L                  -         -      -
  11113. # FNK  Function Key *            \E [ Pn SPC W       -         -      -
  11114. # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
  11115. # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
  11116. # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
  11117. # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
  11118. # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
  11119. # HPB  Char Position Backward    \E [ j              1         FE     -
  11120. # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
  11121. # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
  11122. # HTJ  Horz Tab w/Justification  \E I                -         FE     -
  11123. # HTS  Horizontal Tab Set        \E H                -         FE     hts
  11124. # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
  11125. # ICH  Insert Character          \E [ Pn @           1         eF     ich
  11126. # IDCS ID Device Control String  \E [ SPC O          -         *      -
  11127. # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
  11128. # IL   Insert Line               \E [ Pn L           1         eF     il
  11129. # IND  Index                     \E D                -         FE     -
  11130. # INT  Interrupt                 \E a                -         Fs     -
  11131. # JFY  Justify                   \E [ Ps SPC F       0         FE     -
  11132. # IS1  Info Separator #1 *       ^_                  -         *      -
  11133. # IS2  Info Separator #1 *       ^^                  -         *      -
  11134. # IS3  Info Separator #1 *       ^]                  -         *      -
  11135. # IS4  Info Separator #1 *       ^\                  -         *      -
  11136. # LF   Line Feed                 ^J                  -         -      -
  11137. # LS1R Locking Shift Right 1 *   \E ~                -         -      -
  11138. # LS2  Locking Shift 2 *         \E n                -         -      -
  11139. # LS2R Locking Shift Right 2 *   \E }                -         -      -
  11140. # LS3  Locking Shift 3 *         \E o                -         -      -
  11141. # LS3R Locking Shift Right 3 *   \E |                -         -      -
  11142. # MC   Media Copy                \E [ Ps i           0         -      -   (S)
  11143. # MW   Message Waiting           \E U                -         -      -
  11144. # NAK  Negative Acknowledge *    ^U                  -         *      -
  11145. # NBH  No Break Here *           \E C                -         -      -
  11146. # NEL  Next Line                 \E E                -         FE     nel (D)
  11147. # NP   Next Page                 \E [ Pn U           1         eF     -
  11148. # NUL  Null *                    ^@                  -         -      -
  11149. # OSC  Operating System Command  \E ]                -         Delim  -
  11150. # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
  11151. # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
  11152. # PLD  Partial Line Down         \E K                -         FE     -   (T)
  11153. # PLU  Partial Line Up           \E L                -         FE     -   (U)
  11154. # PM   Privacy Message           \E ^                -         Delim  -
  11155. # PP   Preceding Page            \E [ Pn V           1         eF     -
  11156. # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
  11157. # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
  11158. # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
  11159. # PTX  Parallel Texts *          \E [ \              -         -      -
  11160. # PU1  Private Use 1             \E Q                -         -      -
  11161. # PU2  Private Use 2             \E R                -         -      -
  11162. # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
  11163. # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
  11164. # RI   Reverse Index             \E M                -         FE     -   (V)
  11165. # RIS  Reset to Initial State    \E c                -         Fs     -
  11166. # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
  11167. # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
  11168. # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
  11169. # SCI  Single-Char Introducer    \E Z                -         -      -
  11170. # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
  11171. # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
  11172. # SD   Scroll Down               \E [ Pn T           1         eF     rin
  11173. # SDS  Start Directed String *   \E [ Pn ]           1         -      -
  11174. # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
  11175. # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
  11176. # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
  11177. # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
  11178. # SI   Shift In                  ^O                  -         -      -   (P)
  11179. # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
  11180. # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
  11181. # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
  11182. # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
  11183. # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
  11184. # SM   Select Mode               \E [ Ps h           none      -      -   (W)
  11185. # SO   Shift Out                 ^N                  -         -      -   (Q)
  11186. # SOH  Start Of Heading *        ^A                  -         -      -
  11187. # SOS  Start of String *         \E X                -         -      -
  11188. # SPA  Start of Protected Area   \E V                -         -      -   (Z)
  11189. # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
  11190. # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
  11191. # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
  11192. # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
  11193. # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
  11194. # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
  11195. # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
  11196. # SRS  Start Reversed String *   \E [ Ps [           0         -      -
  11197. # SSA  Start of Selected Area    \E F                -         -      -
  11198. # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
  11199. # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
  11200. # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
  11201. # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
  11202. # ST   String Terminator         \E \                -         Delim  -
  11203. # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
  11204. # STS  Set Transmit State        \E S                -         -      -
  11205. # STX  Start pf Text *           ^B                  -         -      -
  11206. # SU   Scroll Up                 \E [ Pn S           1         eF     indn
  11207. # SUB  Substitute *              ^Z                  -         -      -
  11208. # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
  11209. # SYN  Synchronous Idle *        ^F                  -         -      -
  11210. # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
  11211. # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
  11212. # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
  11213. # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
  11214. # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
  11215. # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
  11216. # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
  11217. # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
  11218. # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
  11219. # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
  11220. # VT   Vertical Tabulation *     ^K                  -         FE     -
  11221. # VTS  Vertical Tabulation Set   \E J                -         FE     -
  11222. # ---------------------------------------------------------------------------
  11223. #
  11224. # Notes:
  11225. #
  11226. # Some control characters are listed in the ECMA-48 standard without 
  11227. # being assigned functions relevant to terminal control there (they 
  11228. # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
  11229. # here anyway for completeness.
  11230. #
  11231. # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
  11232. #
  11233. # (B) There seems to be some confusion abroad between CHA and HPA.  Most
  11234. # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
  11235. # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
  11236. # preserved the CHA abbreviation.
  11237. #
  11238. # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
  11239. # Occasionally (as on, for example, certain HP terminals) this has the HTJ
  11240. # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
  11241. # CHT abbreviation.
  11242. #
  11243. # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
  11244. #
  11245. # (E) ECNA-48 calls this "Active Position Report" but preserves the CPR 
  11246. # abbreviation.
  11247. # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
  11248. # char tab, 3 = clear line tab, 4 = clear all char tabs on current line, 
  11249. # 5 = clear all char tabs, 6 = clear all line tabs.
  11250. #
  11251. # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
  11252. # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
  11253. # Position Absolute" but retains the HVP abbreviation.
  11254. #
  11255. # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
  11256. # abbreviation.
  11257. #
  11258. # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
  11259. # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
  11260. # DSR, 6 = request CPR response.
  11261. #
  11262. # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
  11263. # 1 = clear from beginning, 2 = clear.
  11264. # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
  11265. #
  11266. # (L) The GSM parameters are vertical and horizontal parameters to scale by.
  11267. #
  11268. # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
  11269. # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
  11270. # Position Relative" but retains the HPR abbreviation.
  11271. #
  11272. # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
  11273. # abbreviation.
  11274. #
  11275. # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
  11276. # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
  11277. # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
  11278. # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
  11279. # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
  11280. # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
  11281. # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
  11282. # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
  11283. # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
  11284. # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
  11285. # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
  11286. # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
  11287. # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
  11288. # 61-65 = variable highlights for ideograms.
  11289. #
  11290. # (P) SI is also called LSO, Locking Shift Zero.
  11291. #
  11292. # (Q) SI is also called LS1, Locking Shift One.
  11293. #
  11294. # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
  11295. # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
  11296. # Absolute but retains the VPA abbreviation.
  11297. #
  11298. # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
  11299. # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
  11300. # from secondary aux device, 4 = stop relay to primary aux device, 5 = 
  11301. # start relay to primary aux device, 6 = stop relay to secondary aux device,
  11302. # 7 = start relay to secondary aux device.
  11303. #
  11304. # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
  11305. # abbreviation.
  11306. #
  11307. # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
  11308. # abbreviation.
  11309. #
  11310. # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
  11311. #
  11312. # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM), 
  11313. # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM), 
  11314. # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
  11315. # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
  11316. # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM), 
  11317. # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
  11318. # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM), 
  11319. # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
  11320. # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
  11321. # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
  11322. # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
  11323. # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
  11324. # from ECMA-48's 5th edition but are listed here for reference.
  11325. #
  11326. # (X) Select Alternate Presentation Variants is used only for non-Latin
  11327. # alphabets.
  11328. #
  11329. # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
  11330. #
  11331. # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
  11332. # abbreviation.
  11333. #
  11334. # ---------------------------------------------------------------------------
  11335. # Abbreviations:
  11336. #
  11337. # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
  11338. #        X3.64 Control Sequence Introducer is the two characters "Escape ["
  11339. # Delim  a Delimiter
  11340. # x/y    identifies a character by position in the ASCII table (column/row)
  11341. # eF     editor function (see explanation)
  11342. # FE     format effector (see explanation)
  11343. #
  11344. # F      is a Final character in
  11345. #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
  11346. #             a control sequence (F from 4/0 to 7/14)
  11347. # Gs     is a graphic character appearing in strings (Gs ranges from
  11348. #        2/0 to 7/14) in the ASCII table
  11349. # Ce     is a control represented as a single bit combination in the C1 set
  11350. #        of controls in an 8-bit character set
  11351. # C0     the familiar set of 7-bit ASCII control characters
  11352. # C1     roughly, the set of control chars available only in 8-bit systems.
  11353. #        This is too complicated to explain fully here, so read Jim Fleming's
  11354. #        article in the February 1983 BYTE, especially pages 214 through 224.
  11355. # Fe     is a Final character of a 2-character Escape sequence that has an
  11356. #        equivalent representation in an 8-bit environment as a Ce-type
  11357. #        (Fe ranges from 4/0 to 5/15)
  11358. # Fs     is a Final character of a 2-character Escape sequence that is
  11359. #        standardized internationally with identical representation in 7-bit
  11360. #        and 8-bit environments and is independent of the currently
  11361. #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
  11362. # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
  11363. #        ASCII table
  11364. # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
  11365. #        table
  11366. # Pn     is a numeric parameter in a control sequence, a string of zero or
  11367. #        more characters ranging from 3/0 to 3/9 in the ASCII table
  11368. # Ps     is a variable number of selective parameters in a control sequence
  11369. #        with each selective parameter separated from the other by the code
  11370. #        3/11 (which usually represents a semicolon); Ps ranges from
  11371. #        3/0 to 3/9 and includes 3/11
  11372. #
  11373. # *      Not relevant to terminal control, listed for completeness only.
  11374. # Format Effectors versus Editor Functions
  11375. # A format effector specifies how following output is to be displayed.
  11376. # An editor function allows you to modify the display.  Informally
  11377. # format effectors may be destructive; format effectors should not be.
  11378. # For instance, a format effector that moves the "active position" (the 
  11379. # cursor or equivalent) one space to the left would be useful when you want to
  11380. # create an overstrike, a compound character made of two standard characters
  11381. # overlaid. Control-H, the Backspace character, is actually supposed to be a
  11382. # format effector, so you can do this. But many systems use it in a
  11383. # nonstandard fashion, as an editor function, deleting the character to the
  11384. # left of the cursor and moving the cursor left. When Control-H is assumed to
  11385. # be an editor function, you cannot predict whether its use will create an
  11386. # overstrike unless you also know whether the output device is in an "insert
  11387. # mode" or an "overwrite mode". When Control-H is used as a format effector,
  11388. # its effect can always be predicted. The familiar characters carriage
  11389. # return, linefeed, formfeed, etc., are defined as format effectors.
  11390. #
  11391. # NOTES ON THE DEC VT100 IMPLEMENTATION
  11392. # Control sequences implemented in the VT100 are as follows:
  11393. #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
  11394. #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
  11395. # plus several private DEC commands.
  11396. # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
  11397. #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
  11398. #      Erase from beginning of line to cursor     Esc [ 1 K
  11399. #      Erase line containing cursor               Esc [ 2 K
  11400. #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
  11401. #      Erase from beginning of screen to cursor   Esc [ 1 J
  11402. #      Erase entire screen                        Esc [ 2 J
  11403. #
  11404. # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
  11405. # Esc [ 2 J, but this is wrong; the default is 0.
  11406. # The VT100 responds to receiving the DA (Device Attributes) control
  11407. #      Esc [ c    (or Esc [ 0 c)
  11408. # by transmitting the sequence
  11409. #      Esc [ ? l ; Ps c
  11410. # where Ps is a character that describes installed options.
  11411. # The VT100's cursor location can be read with the DSR (Device Status
  11412. # Report) control
  11413. #      Esc [ 6 n
  11414. # The VT100 reports by transmitting the CPR sequence
  11415. #      Esc [ Pl ; Pc R
  11416. # where Pl is the line number and Pc is the column number (in decimal).
  11417. # The specification for the DEC VT100 is document EK-VT100-UG-003.
  11418.  
  11419. #### ANSI.SYS
  11420. # Here is a description of the color and attribute controls supported in the
  11421. # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
  11422. # terminal emulators for Intel boxes obey these.
  11423. #
  11424. # 0    all attributes off
  11425. # 1    foreground bright
  11426. # 4    underscore on
  11427. # 5    blink on/background bright (not reliable with brown)
  11428. # 7    reverse-video
  11429. # 8    set blank (non-display)
  11430. # 10    set primary font
  11431. # 11    set first alternate font (on PCs, display ROM characters 1-31)
  11432. # 12    set second alternate font (on PCs, display IBM high-half chars)
  11433. #
  11434. #            Color attribute sets
  11435. # 3n    set foreground color       / 0=black, 1=red,     2=green, 3=brown,
  11436. # 4n    set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
  11437. # Bright black becomes gray.  Bright brown becomes yellow,
  11438. # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
  11439. #
  11440. # * If the 5 attribute is on and you set a background color (40-47) it is
  11441. #   supposed to enable bright background.
  11442. #
  11443. # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
  11444. #   when you try to set a "bright brown" (yellow) background with attribute
  11445. #   5 (you get a blinking yellow foreground instead).  A few displays
  11446. #   (including the System V console) support an attribute 6 that undoes this
  11447. #   braindamage (this is required by iBCS2).
  11448. #
  11449. # * Some older versions of ANSI.SYS have a bug that causes thems to require
  11450. #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.
  11451. #
  11452. # The entries following are not standalone.  They are meant to be included
  11453. # via use= in other entries.
  11454. #
  11455.  
  11456. #### Intel Binary Compatibility Standard
  11457. #
  11458. # For comparison, here are the capabilities implied by the Intel Binary 
  11459. # Compatibility Standard for UNIX systems (Intel order number 468366-001).
  11460. # These recommendations are optional.  IBCS2 allows the leading escape to
  11461. # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
  11462. # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
  11463. # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
  11464. # terminfo entry are followed with the corresponding capability in parens:
  11465. #
  11466. #    CSI <n>k        disable (n=0) or enable (n=1) keyclick
  11467. #    CSI 2h           lock keyboard
  11468. #    CSI 2i          send screen as input
  11469. #    CSI 2l          unlock keyboard
  11470. #    CSI 6m          enable background color intensity
  11471. #    CSI <0-2>c        reserved
  11472. #    CSI <0-59>m        select graphic rendition
  11473. #    CSI <n>;<m>H    (cup)    cursor to line n and column m
  11474. #    CSI <n>;<m>f        cursor to line n and column m
  11475. #    CSI <n>@    (ich)    insert characters
  11476. #    CSI <n>A    (cuu)    cursor up n lines
  11477. #    CSI <n>B    (cud)    cursor down n lines
  11478. #    CSI <n>C    (cuu)    cursor right n characters
  11479. #    CSI <n>D    (cud)    cursor left n characters
  11480. #    CSI <n>E        cursor down n lines and in first column
  11481. #    CSI <n>F        cursor up n lines and in first column
  11482. #    CSI <n>G    (hpa)    position cursor at column n-1
  11483. #    CSI <n>J    (ed)    erase in display
  11484. #    CSI <n>K    (el)    erase in line
  11485. #    CSI <n>L    (il)    insert line(s)
  11486. #    CSI <n>P    (dch)    delete characters
  11487. #    CSI <n>S    (indn)    scroll up n lines
  11488. #    CSI <n>T    (rin)    scroll down n lines
  11489. #    CSI <n>X    (ech)    erase characters
  11490. #    CSI <n>Z    (cbt)    back up n tab stops
  11491. #    CSI <n>`        cursor to column n on line
  11492. #    CSI <n>a    (cuu)    cursor right n characters
  11493. #    CSI <n>d    (vpa)    cursor to line n
  11494. #    CSI <n>e        cursor down n lines and in first column
  11495. #    CSI <n>g    (cbt)    clear all tabs
  11496. #    CSI <n>z        make virtual terminal n active
  11497. #    CSI ?7h     (smam)    turn automargin on
  11498. #    CSI ?7l     (rmam)    turn automargin off
  11499. #    CSI s             save cursor position
  11500. #    CSI u           restore cursor position to saved value
  11501. #    CSI =<c>A        set overscan color
  11502. #    CSI =<c>F        set normal foreground color
  11503. #    CSI =<c>G        set normal background color
  11504. #    CSI =<c>H        set reverse foreground color
  11505. #    CSI =<c>I        set reverse foreground color
  11506. #    CSI =<c>J        set graphic foreground color
  11507. #    CSI =<c>K        set graphic foreground color
  11508. #    CSI =<n>g    (dispc) display n from alternate graphics character set
  11509. #    CSI =<p>;<d>B        set bell parameters
  11510. #    CSI =<s>;<e>C        set cursor parameters
  11511. #    CSI =<x>D        enable/disable intensity of background color
  11512. #    CSI =<x>E        set/clear blink vs. bold background
  11513. #    CSI 7         (sc)    (sc) save cursor position
  11514. #    CSI 8       (rc)    (rc) restore cursor position to saved value
  11515. #    CSI H        (hts)    (hts) set tab stop
  11516. #    CSI Q<n><string>    define function key string
  11517. #                (string must begin and end with delimiter char)
  11518. #    CSI c       (clear) clear screen
  11519. #
  11520. # The lack of any specification for attributes in SGR (among other things)
  11521. # makes this a wretchedly weak standard. The table above is literally 
  11522. # everything iBSC2 has to say about terminal escape sequences; there is
  11523. # no further discussion of their meaning or how to set the parameters
  11524. # in these sequences at all.
  11525. #
  11526.  
  11527. ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
  11528. #
  11529. # The historical termcap file entries were written primarily in 4.4BSD termcap.
  11530. # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
  11531. # with the extension names chosen for compatibility with the termcap names
  11532. # assigned in System V terminfo.  There are some variant extension sets out
  11533. # there.  We try to describe them here.
  11534. #
  11535. # XENIX extensions:
  11536. #
  11537. # The XENIX extensions include a set of function-key capabilities as follows:
  11538. #
  11539. #       code    XENIX variable name    terminfo name    name clashes?
  11540. #    ----    -------------------    -------------    -----------------------
  11541. #    CL    key_char_left
  11542. #    CR    key_char_right
  11543. #    CW    key_change_window            create_window
  11544. #    EN    key_end              kend
  11545. #    HM    key_home        khome
  11546. #    HP    ??
  11547. #    LD    key_delete_line      kdl1
  11548. #    LF    key_linefeed                 label_off
  11549. #    NU    key_next_unlocked_cell
  11550. #    PD    key_page_down       knp
  11551. #    PL    ??
  11552. #    PN    start_print        mc5
  11553. #    PR    ??
  11554. #    PS    stop_print        mc4
  11555. #    PU    key_page_up         kpp        pulse
  11556. #    RC    key_recalc                remove_clock
  11557. #    RF    key_toggle_ref                req_for_input
  11558. #    RT    key_return          kent
  11559. #    UP    key_up_arrow               kcuu1       parm_up_cursor
  11560. #    WL    key_word_left
  11561. #    WR    key_word_right
  11562. #
  11563. # The XENIX extensions also include the following character-set and highlight
  11564. # capabilities:
  11565. #
  11566. #    XENIX    terminfo    function
  11567. #    -----    --------    ------------------------------
  11568. #    GS    smacs        start alternate character set
  11569. #    GE    rmacs        end alternate character set
  11570. #    GG            :as:/:ae: glitch (analogous to :sg:/:ug:)
  11571. #    bo    blink        begin blink (not used in /etc/termcap)
  11572. #    be            end blink (not used in /etc/termcap)
  11573. #    bb            blink glitch  (not used in /etc/termcap)
  11574. #    it    dim        begin dim (not used in /etc/termcap)
  11575. #    ie            end dim (not used in /etc/termcap)
  11576. #    ig            dim glitch  (not used in /etc/termcap)
  11577. #
  11578. # Finally, XENIX also used the following forms-drawing capabilities:
  11579. #
  11580. #    single    double  type             ASCII approximation 
  11581. #    ------    ------    -------------    -------------------
  11582. #    GV    Gv    vertical line             |
  11583. #    GH    Gv    horizontal line       -   _
  11584. #    G1    G5    top right corner       _   |
  11585. #    G2    G6    top left corner       | 
  11586. #    G3    G7    bottom left corner         |_
  11587. #    G4    G8    bottom right corner   _|
  11588. #    GD    Gd    down-tick character        T
  11589. #    GL    Gl    left-tick character   -|
  11590. #    GR    Gr    right-tick character       |-
  11591. #    GC    Gc    middle intersection   -|-
  11592. #    GU    Gu    up-tick character          _|_
  11593. #
  11594. # These were invented to take advantage of the IBM PC ROM character set.  One
  11595. # can compose an acsc string from the single-width characters as follows
  11596. #    "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
  11597. # The double forms characters don't fit the SVr4 terminfo model.
  11598. #
  11599. # AT&T Extensions:
  11600. #
  11601. # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
  11602. # nonstandard capabilities.  Its signature is the KM capability, used to name
  11603. # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
  11604. # set.  Comments in the original, and a little cross-checking with other AT&T
  11605. # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
  11606. # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
  11607. # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
  11608. # cursor invisible), and CV=:ve: (make cursor normal).
  11609. #
  11610. # HP Extensions
  11611. #
  11612. # The HP library (as of mid-1995, their term.h file version 70.1) appears to
  11613. # have the System V capabilities up to SVr1 level.  After that, it supports
  11614. # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
  11615. # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
  11616. # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
  11617. # HP binary format incompatible with SVr4's.
  11618. #
  11619. # IBM Extensions
  11620. #
  11621. # There is a set of nonstandard terminfos used by IBM's AIX operating system.
  11622. # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
  11623. # capabilities following prtr_non with the following special capabilties:
  11624. # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
  11625. # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
  11626. # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
  11627. # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
  11628. # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
  11629. # renamed (to kcbt and kslt).  The places in the box[12] capabilities
  11630. # correspond to acsc chars, here is the mapping:
  11631. #
  11632. #    box1[0]  = ACS_ULCORNER
  11633. #    box1[1]  = ACS_HLINE    
  11634. #    box1[2]  = ACS_URCORNER
  11635. #    box1[3]  = ACS_VLINE
  11636. #    box1[4]  = ACS_LRCORNER
  11637. #    box1[5]  = ACS_LLCORNER
  11638. #    box1[6]  = ACS_TTEE
  11639. #    box1[7]  = ACS_RTEE
  11640. #    box1[8]  = ACS_BTEE
  11641. #    box1[9]  = ACS_LTEE
  11642. #    box1[10] = ACS_PLUS
  11643. #
  11644. # The box2 characters are the double-line versions of these forms graphics.
  11645. # The AIX binary terminfo format is incompatible with SVr4's.
  11646. #
  11647. # TC Extensions:
  11648. #
  11649. # There is a set of extended termcaps associated with something
  11650. # called the "Terminal Control" or TC package created by MainStream Systems,
  11651. # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
  11652. # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
  11653. # that flags color terminals.
  11654. #
  11655. ######## CHANGE HISTORY
  11656. #
  11657. # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
  11658. # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
  11659. # project.
  11660. #
  11661. # This file contains all the capability information present in John Kunze's
  11662. # last version of the termcap master file, except as noted in the change 
  11663. # comments at end of file.  Some information about very ancient obsolete
  11664. # capabilities has been moved to comments.  Some all-numeric names of older
  11665. # terminals have been retired.
  11666. #
  11667. # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
  11668. # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
  11669. # used by BSD curses.
  11670. #
  11671. # The 9.1.0 version of this file was translated from my lightly-edited copy of
  11672. # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
  11673. # the purpose.  Unless the ncurses tic implementation and the Lisp code were
  11674. # making perfectly synchronized mistakes which I then failed to catch by
  11675. # eyeball, the translation was correct and perfectly information-preserving.
  11676. #
  11677. # Here is a log of the changes since then:
  11678. #
  11679. # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
  11680. #    * First terminfo master translated from 8.3.
  11681. # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
  11682. #    * Replaced Wyse entries with updated entries supplied by vendor.
  11683. #
  11684. # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
  11685. #    * Added contact & status info from G. Clark Brown <clark@sssi.com>.
  11686. # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
  11687. #    * Better XENIX keycap translation.  Describe TC termcaps.
  11688. #    * Contact and history info supplied by Qume.
  11689. # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
  11690. #    * Raided the Shuford FTP site for recent termcaps/terminfos.
  11691. #    * Added information on X3.64 and VT100 standard escape sequences.
  11692. # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
  11693. #    * Added a correct X11R6 xterm entry.
  11694. #    * Fixed terminfo translations of padding.
  11695. # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
  11696. #    * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
  11697. #    * Added u6/u7/u8/u9 capabilities.
  11698. #    * Added PCVT entry.
  11699. # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
  11700. #    * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
  11701. #      to use reverse-video standout so Emacs will look right.
  11702. #    * Added el1 capability to ansi.
  11703. #    * Added smacs/rmacs to ansi.sys.
  11704. #
  11705. # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
  11706. #    * New mt70 entry.
  11707. #    * Added COPYRIGHTS AND OTHER DELUSIONS.
  11708. #    * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
  11709. #      smartvid & smarterm, ampex 175 & 219 & 232,
  11710. #      env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
  11711. #      ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
  11712. #      screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
  11713. #      adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
  11714. #    * Replaced the Perkin-Elmer entries with vendor's official ones.
  11715. #    * Restored the old minimal-ansi entry, luna needs it.
  11716. #    * Fixed some incorrect ip and proportional-padding translations.
  11717. # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
  11718. #    * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
  11719. #    * Make the xterm entry 65 lines again; create xterm25 and xterm24
  11720. #      to force a particular height.
  11721. #    * Added beehive4 and reorganized other Harris entries.
  11722. # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
  11723. #    * Merged in DEC's official entries for its terminals.  The only old
  11724. #      entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
  11725. #    * Replaced the translated BBN Bitgraph entries with purpose-built
  11726. #      ones from AT&T's SVr3.
  11727. #    * Replaced the AT&T entries with AT&T's official terminfos.
  11728. #    * Added teleray 16, vc415, cops10. 
  11729. #    * Merged in many individual capabilities from SCO terminfo files.
  11730. # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
  11731. #    * Typo fixes.
  11732. #    * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
  11733. # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
  11734. #    * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
  11735. #      pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
  11736. #      simterm, citoh and variants.
  11737. #    * Replaced sol entry with sol1 and sol2.
  11738. #    * Replaced Qume QVT and Freedom-series entries with purpose-built
  11739. #      terminfo entries.
  11740. #    * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
  11741. #      and dg200 entries using caps from from SCO.
  11742. #    * Added the usual set of function-key mappings to ANSI entry.
  11743. #    * Corrected xterm's function-key capabilities.
  11744. # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
  11745. #    * Fix in xterm entry, cub and cud are not reliable under X11R6.
  11746. # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
  11747. #    * Fix in xterm entry, get the arrow keys right.
  11748. #    * Change some \0 escapes to \200.
  11749. # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
  11750. #    * Added apple (Videx card), adm1a, oadm31.
  11751. #    * Fixed malformed ampex csr.
  11752. #    * Fixed act4, cyb110; they had old-style prefix padding left in. 
  11753. #    * Changed mandatory to advisory padding in many entries.
  11754. #    * Replaced HP entries up to hpsub with purpose-built ones.
  11755. #    * Blank rmir/smir/rmdc/smdc capabilities removed.
  11756. #    * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
  11757. # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
  11758. #    * Replaced the Ann Arbor entries with SCO's, the init strings are
  11759. #      more efficient (but the entries otherwise identical).
  11760. #    * Added dg211 from Shuford archive.
  11761. #    * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
  11762. #      adm42-nl, pc52, gs6300, xerox820, uts30.
  11763. #    * Pull SCO's padding into vi200 entry.
  11764. #    * Improved capabilities for tvi4107 and other Televideo and Viewpoint
  11765. #      entries merged in from SCO's descriptions.
  11766. #    * Fixed old-style prefix padding on zen50, h1500.
  11767. #    * Moved old superbee entry to superbee-xsb, pulled in new superbee
  11768. #      entry from SCO's description.
  11769. #    * Reorganized the special entries.
  11770. #    * Added lm#0 to cbunix and virtual entries.
  11771. #
  11772. # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
  11773. #    * Restored cdc456tst.
  11774. #    * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
  11775. #    * Added megatek, beacon, microkit.
  11776. #    * Freeze for ncurses-1.9 release.
  11777. # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
  11778. #    * Added historical data for TAB.
  11779. #    * Comment fixes from David MacKenzie.
  11780. #    * Added the new BSDI pc3 entry.
  11781. # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
  11782. #    * A change in the tic -C logic now ensures that all entries in 
  11783. #      the termcap translation will fit in < 1024 bytes.
  11784. #    * Added `bobcat' and `gator' HP consoles and the Nu machine entries
  11785. #      from GNU termcap file.  This merges in all their local information.
  11786. # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
  11787. #    * Changed tic -C logic to dump all capabilities used by GNU termcap.
  11788. #    * Added warnings about entries with long translations (restoring
  11789. #      all the GNU termcaps pushes a few over the edge).
  11790. # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
  11791. #    * Yet another tic change, and a couple of entry tweaks, to reduce the
  11792. #      number of long (> 1024) termcap translations back to 0.
  11793. #
  11794. # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
  11795. #    * Added kf13-kf20 to Linux entry.
  11796. #    * Regularize Prime terminal names.
  11797. #    * Historical data on Synertek.
  11798. #    * Freeze for ncurses-1.9.1.
  11799. # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
  11800. #    * Added true xterm-color entry, renamed djm's pseudo-color entry.
  11801. #    * Eliminate whitespace in short name fields, this tanks some scripts.
  11802. #    * Name field changes to shorten some long entries.
  11803. #    * Termcap translation now automatically generates empty rmir/smir
  11804. #      when ich1/ich is present (copes with an ancient vi bug).
  11805. #    * Added `screen' entries from FSF's screen-3.6.2.
  11806. #    * Added linux-nic and xterm-nic entries.
  11807. # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
  11808. #    * Change linux entry to use smacs=\E[11m and have an explicit acsc,
  11809. #      eliminating some special-case code in ncurses.
  11810. #
  11811. # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
  11812. #    * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
  11813. #      that captures everything unique from it.
  11814. #    * Added reorder script generator.
  11815. #    * Freeze for ncurses 1.9.2 release.
  11816. # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
  11817. #    * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
  11818. #    * Added Olaf Siebert's corrections for adm12.
  11819. #    * ansi-pc-color now includes the colors and pairs caps, so that
  11820. #      entries which use it will inherit them automatically.
  11821. #    * The linux entry can now recognize the center (keypad 5) key.
  11822. #    * Removed some junk that found its way into Linux acsc.
  11823. #
  11824. # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
  11825. #    * Add 50% cut mark as a desperate hack to reduce tic's core usage.
  11826. #    * xterm doesn't try to use application keypad mode any more.
  11827. #    * Freeze for ncurses-1.9.3 release.
  11828. # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
  11829. #    * Added corrected sun entry from vendor.
  11830. #    * Added csr capability to linux entry.
  11831. #    * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
  11832. #    * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
  11833. #    * Some commented-out caps in long entries come back in, my code 
  11834. #      for computing string-table lengths had a bug in it.
  11835. #    * pcansi series modified to fit comm-program reality better.
  11836. # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
  11837. #    * BSD/OS actually ships the ibmpc3 bold entry as its console.
  11838. #    * Correct some bad aliases in the pcansi series
  11839. #    * Added entry for QNX console.
  11840. #    * Clean up duplicate long names for use with 4.4 library.
  11841. #    * Change vt100 standout to be normal reverse vide, not bright reverse;
  11842. #      this makes the Emacs status line look better.
  11843. # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
  11844. #    * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
  11845. #    * Minor surgery, mostly on name strings, to shorten termcap version.
  11846. #
  11847. # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
  11848. #    * Added dec-vt100 for use with the EWAN emulator.
  11849. #    * Added kmous to xterm for use with xterm's mouse-tracking facility.
  11850. #    * Freeze for 1.9.5 alpha release.
  11851. # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
  11852. #    * Changed xterm lines to 24, the X11R6 default.
  11853. # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
  11854. #    * Added 7 newly discovered, undocumented acsc characters to linux
  11855. #      entry (the pryz{|} characters).
  11856. #    * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
  11857. #    * Correct two typos in the xterm entries introduced in 9.9.1.
  11858. #    * I finally figured out how to translate ko capabilities.  Done.
  11859. #    * Added tvi921 entries from Tim Theisen.
  11860. #    * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
  11861. #    * Removed mystery tec entry, it was neither interesting nor useful.
  11862. #    * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
  11863. #      vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
  11864. #      trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
  11865. #      by making them relative to use capabilities
  11866. #    * Added cuf1=^L to tvi925 from deleted variant tvi925a.
  11867. #    * fixed cup in adm22 entry and parametrized strings in vt320-k3.
  11868. #    * added it#8 to entries that used to have :pt: -- tvi912, vi200,
  11869. #      ampex80,
  11870. #    * Translate all home=\E[;H capabilities to home=\E[H, they're 
  11871. #      equivalent.
  11872. #    * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
  11873. #      vt100 and ANSI-like terminals.
  11874. # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
  11875. #    * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
  11876. #      does this now, too.
  11877. #    * fviewpoint is gone, it duplicated screwpoint.
  11878. #    * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
  11879. #      ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3, 
  11880. #      versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
  11881. #      The UW vi50 replaces the old one, which becomes vi50adm,
  11882. #    * No more embedded commas in name fields.
  11883. #
  11884. # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
  11885. #    * XENIX forms characters in fos, trs16, scoansi become acsc strings,
  11886. #    * Introduced klone+* entries for describing Intel-console behavior.
  11887. #    * Linux kbs is default-mapped to delete for some brain-dead reason.
  11888. #    * -nsl -> -ns.  The -pp syntax is obsolete.
  11889. #    * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
  11890. #    * Make xterm entry do application-keypad mode again.  I got complaints
  11891. #      that it was messing up someone's 3270 emulator.
  11892. #    * Added some longname fields in order to avoid warning messages from
  11893. #      older tic implementations.
  11894. #    * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
  11895. #      it! (This gives us pi, greater than, less than, and a few more.)
  11896. #    * Freeze for ncurses-1.9.6 release.
  11897. # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
  11898. #    * Add xon to a number of console entries, they're memory-mapped and
  11899. #      don't need padding.
  11900. #    * Correct the use dependencies in the ansi series.
  11901. #    * Hand-translate more XENIX capabilities.
  11902. #    * Added hpterm entry for HP's X terminal emulator.
  11903. #    * Added aixterm entries.
  11904. #    * Shortened four names so everything fits in 14 chars.  
  11905. #
  11906. # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
  11907. #    * Added ibcs2 entry and info on iBCS2 standard.
  11908. #    * Corrected hpa/vpa in linux entry.  They still fail the worm test.
  11909. #    * We can handle the HP meml/memu capability now.
  11910. #    * Added smacs to klone entries, just as documentation.
  11911. #    * Carrected ansi.sys and cit-500 entries.
  11912. #    * Added z39, vt320-k311, v220c, and avatar entries.
  11913. #    * Make pcansi use the ansi.sys invis capability.
  11914. #    * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
  11915. #      tvi925, tvi950, dt80, ncr7900i, h19.
  11916. #    * X3.64 has been withdrawn, change some references.
  11917. #    * Removed function keys from ansi-m entry.
  11918. #    * Corrected ansi.sys entry.
  11919. #    * Freeze for ncurses-1.9.7 release.
  11920. # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
  11921. #    * Added rmam/smam capabilities to many entries based on init strings.
  11922. #    * Added correct hpa/vpa to linux.
  11923. #    * Reduced several entries relative to vt52.
  11924. # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
  11925. #    * Exiled some utterly unidentifiable custom and homebrew types to the
  11926. #      UFO file; also, obsolete small-screen hardware; also, entries which
  11927. #      look flat-out incorrect, garbled, or redundant.  These include the
  11928. #      following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec, 
  11929. #      tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
  11930. #      apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
  11931. #      fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55, 
  11932. #      yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2, 
  11933. #      vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200, 
  11934. #      trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40, 
  11935. #      att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w, 
  11936. #      tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na, 
  11937. #      c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na, 
  11938. #      regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb, 
  11939. #      vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam, 
  11940. #      vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
  11941. #    * Corrected pcvt25h as suggested by Brian C. Grayson
  11942. #      <bgrayson@pine.ece.utexas.edu>.
  11943. # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
  11944. #    * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H. 
  11945. #    * Added kent=\EOM to xterm entry.
  11946. #
  11947. # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
  11948. #    * Corrected gigi entry.
  11949. #    * Restored cuf/cud1 to xterm, their apparent bugginess was due to
  11950. #      bad hpa/vpa capabilities.
  11951. #    * Corrected flash strings to have a uniform delay of .2 sec.  No
  11952. #      more speed-dependent NUL-padding!
  11953. #    * terminfo capabilities in comments bracketed with <>.
  11954. # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
  11955. #    * Replaced pcvt with the 3.31 pcvt entries.
  11956. #    * Freeze for 1.9.7a.
  11957. # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
  11958. #    * Added emu entry from the X11R6 contrib tape sources.
  11959. #
  11960. # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
  11961. #    * Improved iris-ansi and sun entries.
  11962. #    * More flash string improvements.
  11963. #    * Corrected wy160 & wy160 as suggested by Robert Dunn
  11964. #    * Added dim to at386.  
  11965. #    * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
  11966. #      he's ready to start using the termcap generated from this one.
  11967. #    * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
  11968. #      ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
  11969. #    * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
  11970. #      att610, att620, att630, 
  11971. #    * Changed hazeltine name prefix from h to hz.
  11972. #    * Sent t500 to the UFI file.
  11973. #    * I think we've sucked all the juice out of BSDI's termcap file now.
  11974. #    * Freeze for ncurses 1.9.8 release
  11975. # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
  11976. #    * Unfreeze, linux kbs needed to be fixed.
  11977. #    * Tim Theisen pinned down a bug in the DMD firmware.
  11978. # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
  11979. #    * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
  11980. #      (The broken ones had been shadowed by sgr.)
  11981. # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
  11982. #    * Added documentation on ECMA-48 standard.
  11983. #    * New Amiga entry.
  11984. # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
  11985. #    * More ECMA-48 stuff
  11986. #    * Corrected typo in minix entry, added pc-minix.
  11987. #    * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
  11988. #    * Added rxvt entry.
  11989. #    * Added 1.3.x color-change capabilities to linux entry.
  11990. # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
  11991. #    * Corrected rxvt entry khome/kend.
  11992. #    * Corrected linux color change capabilities.
  11993. #    * NeXT entries from Dave Wetzel.
  11994. #    * Cleaned up if and rf file names (all in /usr/share now).
  11995. #    * Changed linux op capability to avoid screwing up a background color
  11996. #      pair set by setterm.
  11997. # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
  11998. #    * Added xterm-sun.
  11999. # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
  12000. #    * Added visa50.
  12001. #
  12002. # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
  12003. #    * Another sweep through the Shuford archive looking for new info.
  12004. #    * Added dg100 alias to dg6053 based on a comp.terminals posting.
  12005. #     * Added st52 from Per Persson.
  12006. #    * Added eterm from the GNU Emacs 19.30 distribution.
  12007. #    * Freeze for 1.9.9.
  12008. #
  12009.  
  12010. ######## REORDER
  12011. #
  12012. # Older termcap distributions featured a kluge called `reorder' intended to
  12013. # time-optimize access to selected terminals by moving them to the front of
  12014. # the file.  This is obsolete under terminfo, but for completeness's sake
  12015. # we give a reorder script generator here (strip off the leading #s to use).
  12016. #
  12017. #: mkreorder --  generate script to optimize access to given terminal types
  12018. #:
  12019. #: entries named on command line will be sorted to the front in reverse order
  12020. #echo "ed -- termcap <<EOF"
  12021. #for x in $*
  12022. #do
  12023. #    echo "/^$x[|:]/;.,/^[a-z#]/-1m0"
  12024. #done
  12025. #echo "0a"
  12026. #echo "."
  12027. #echo "w termcap.sorted"
  12028. #echo "q"
  12029. #echo "EOF"
  12030. #:end of script
  12031. #
  12032. # Invoke this script like this:
  12033. #
  12034. #    mkreorder h19 wy60 vt100 >reorder
  12035. #
  12036. # The following sets edit modes for GNU EMACS
  12037. # Local Variables:
  12038. # fill-prefix:"\t"
  12039. # fill-column:75
  12040. # End:
  12041. ######## SHANTIH!  SHANTIH!  SHANTIH!
  12042.