1 ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
3 # This version of terminfo.src is distributed with ncurses.
6 # $Date: 1999/10/24 00:28:48 $
9 # Eric S. Raymond (current maintainer)
10 # John Kunze, Berkeley
11 # Craig Leres, Berkeley
13 # Please e-mail changes to terminfo@ccil.org; the old termcap@berkeley.edu
14 # address is no longer valid. The latest version can always be found at
15 # <http://earthspace.net/terminfo>.
17 # PURPOSE OF THIS FILE:
19 # This file describes the capabilities of various character-cell terminals,
20 # as needed by software such as screen-oriented editors.
22 # Other terminfo and termcap files exist, supported by various OS vendors
23 # or as relics of various older versions of UNIX. This one is the longest
24 # and most comprehensive one in existence. It subsumes not only the entirety
25 # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
26 # termcap file, but also large numbers of vendor-maintained termcap and
27 # terminfo entries more complete and carefully tested than those in historical
28 # termcap/terminfo versions.
30 # Pointers to related resources (including the ncurses distribution) may
31 # be found at <http://earthspace.net/terminfo>.
33 # INTERNATIONALIZATION:
35 # This file uses only the US-ASCII character set (no ISO8859 characters).
37 # This file assumes a US-ASCII character set. If you need to fix this, start
38 # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
39 # for your character set. \E(A and \E)A enables the British character set
40 # with the pound sign at position 2/3.
42 # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
43 # C1 characters are considered the first-byte set of the Japanese encodings,
44 # so \E)0 should be avoided in <enacs> and initialization strings.
48 # The version you are looking at may be in any of three formats: master
49 # (terminfo with OT capabilities), stock terminfo, or termcap. You can tell
50 # which by the format given in the header above.
52 # The master format is accepted and generated by the terminfo tools in the
53 # ncurses suite; it differs from stock (System V-compatible) terminfo only
54 # in that it admits a group of capabilities (prefixed `OT') equivalent to
55 # various obsolete termcap capabilities. You can, thus, convert from master
56 # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
57 # you have ncurses `tic -I' is nicer (among other things, it automatically
58 # outputs entries in a canonical form).
60 # The termcap version is generated automatically from the master version
61 # using tic -C. This filtering leaves in the OT capabilities under their
62 # original termcap names. All translated entries fit within the 1023-byte
63 # string-table limit of archaic termcap libraries except where explicitly
64 # noted below. Note that the termcap translation assumes that your termcap
65 # library can handle multiple tc capabilities in an entry. 4.4BSD has this
66 # capability. Older versions of GNU termcap, through 1.3, do not.
68 # For details on these formats, see terminfo(5) in the ncurses distribution,
69 # and termcap(5) in the 4.4BSD Unix Programmer's Manual. Be aware that 4.4BSD
70 # curses has been declared obsolete by the caretakers of the 4.4BSD sources
71 # as of June 1995; they are encouraging everyone to migrate to ncurses.
73 # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
74 # no entry in this file has embedded comments. This is so source translation
75 # to termcap only has to carry over leading comments. Also, no name field
76 # contains embedded whitespace (such whitespace confuses rdist).
78 # Further note: older versions of this file were often installed with an editor
79 # script (reorder) that moved the most common terminal types to the front of
80 # the file. This should no longer be necessary, as the file is now ordered
81 # roughly by type frequency with ANSI/VT100 and other common types up front.
83 # Some information has been merged in from terminfo files distributed by
84 # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below). Much information
85 # comes from vendors who maintain official terminfos for their hardware
86 # (notably DEC and Wyse).
88 # A detailed change history is included at the end of this file.
92 # Comments in this file begin with # - they cannot appear in the middle
93 # of a terminfo/termcap entry (this feature had to be sacrificed in order
94 # to allow standard terminfo and termcap syntax to be generated cleanly from
95 # the master format). Individual capabilities are commented out by
96 # placing a period between the colon and the capability name.
98 # The file is divided up into major sections (headed by lines beginning with
99 # the string "########") and minor sections (beginning with "####"); do
101 # grep "^####" <file> | more
103 # to see a listing of section headings. The intent of the divisions is
104 # (a) to make it easier to find things, and (b) to order the database so
105 # that important and frequently-encountered terminal types are near the
106 # front (so that you'll get reasonable search efficiency from a linear
107 # search of the termcap form even if you don't use reorder). Minor sections
108 # usually correspond to manufacturers or standard terminal classes.
109 # Parenthesized words following manufacturer names are type prefixes or
110 # product line names used by that manufacturers.
112 # HOW TO READ THE ENTRIES:
114 # The first name in an entry is the canonical name for the model or
115 # type, last entry is a verbose description. Others are mnemonic synonyms for
118 # Terminal names look like <manufacturer> <model> - <modes/options>
119 # The part to the left of the dash, if a dash is present, describes the
120 # particular hardware of the terminal. The part to the right may be used
121 # for flags indicating special ROMs, extra memory, particular terminal modes,
122 # or user preferences.
124 # All names should be in lower case, for consistency in typing.
126 # The following are conventionally used suffixes:
127 # -2p Has two pages of memory. Likewise 4p, 8p, etc.
128 # -am Enable auto-margin.
129 # -m Monochrome. Suppress color support
130 # -mc Magic-cookie. Some terminals (notably older Wyses) can
131 # only support one attribute without magic-cookie lossage.
132 # Their base entry is usually paired with another that
133 # uses magic cookies to support multiple attributes.
134 # -nam No auto-margin - suppress <am> capability
135 # -nl No labels - suppress soft labels
136 # -ns No status line - suppress status line
137 # -rv Terminal in reverse video mode (black on white)
138 # -s Enable status line.
139 # -vb Use visible bell (<flash>) rather than <bel>.
140 # -w Wide - in 132 column mode.
141 # If a name has multiple suffixes and one is a line height, that one should
142 # go first. Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.
144 # Entries with embedded plus signs are designed to be included through use/tc
145 # capabilities, not used as standalone entries.
147 # To avoid search clashes, some older all-numeric names for terminals have
148 # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
149 # All primary names of terminals now have alphanumeric prefixes.
151 # Comments marked "esr" are mostly results of applying the termcap-compiler
152 # code packaged with ncurses and contemplating the resulting error messages.
153 # In many cases, these indicated obvious fixes to syntax garbled by the
154 # composers. In a few cases, I was able to deduce corrected forms for garbled
155 # capabilities by looking at context. All the information in the original
156 # entries is preserved in the comments.
158 # In the comments, terminfo capability names are bracketed with <> (angle
159 # brackets). Termcap capability names are bracketed with :: (colons).
161 # INTERPRETATION OF USER CAPABILITIES
163 # The System V Release 4 and XPG4 terminfo format defines ten string
164 # capabilities for use by applications, <u0>...<u9>. In this file, we use
165 # certain of these capabilities to describe functions which are not covered
166 # by terminfo. The mapping is as follows:
168 # u9 terminal enquire string (equiv. to ANSI/ECMA-48 DA)
169 # u8 terminal answerback description
170 # u7 cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
171 # u6 cursor position report (equiv. to ANSI/ECMA-48 CPR)
173 # The terminal enquire string <u9> should elicit an answerback response
174 # from the terminal. Common values for <u9> will be ^E (on older ASCII
175 # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
177 # The cursor position request (<u7>) string should elicit a cursor position
178 # report. A typical value (for VT100 terminals) is \E[6n.
180 # The terminal answerback description (u8) must consist of an expected
181 # answerback string. The string may contain the following scanf(3)-like
184 # %c Accept any character
185 # %[...] Accept any number of characters in the given set
187 # The cursor position report (<u6>) string must contain two scanf(3)-style
188 # %d format elements. The first of these must correspond to the Y coordinate
189 # and the second to the %d. If the string contains the sequence %i, it is
190 # taken as an instruction to decrement each value after reading it (this is
191 # the inverse sense from the cup string). The typical CPR value is
192 # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
194 # These capabilities are used by tac(1m), the terminfo action checker soon
195 # to be distributed with ncurses.
199 # All the entries in this file have been edited to assume that the tabset
200 # files directory is /usr/share/tabset, in conformance with the File Hierarchy
201 # Standard for Linux and open-source BSD systems. Some vendors (notably Sun)
202 # use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.
204 # No curses package we know of actually uses these files. If their location
205 # is an issue, you will have to hand-patch the file locations before compiling
208 # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
210 # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
211 # character-cell terminals are increasingly replaced by X displays, much of
212 # this file is becoming a historical document (this is part of the reason for
213 # the new organization, which puts ANSI types, xterm, free-Unix consoles,
214 # and vt100 up front in confidence that this will catch 95% of new hardware).
216 # For the terminal types still alive, I'd like to have manufacturer's
217 # contact data (Internet address and/or snail-mail + phone).
219 # I'm also interested in enriching the comments so that the latter portions of
220 # the file do in fact become a potted history of VDT technology as seen by
221 # UNIX hackers. Ideally, I'd like the headers for each manufacturer to
222 # include its live/dead/out-of-the-business status, and for as many
223 # terminal types as possible to be tagged with information like years
224 # of heaviest use, popularity, and interesting features.
226 # I'm especially interested in identifying the obscure entries listed under
227 # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
228 # wisdom about them gets lost. If you know a lot about obscure old terminals,
229 # please go to the terminfo resource page, grab the UFO file (ufo.ti), and
230 # eyeball it for things you can identify and describe.
232 # If you have been around long enough to contribute, please read the file
233 # with this in mind and send me your annotations.
235 # COPYRIGHTS AND OTHER DELUSIONS
237 # The BSD ancestor of this file had a standard Regents of the University of
238 # California copyright with dates from 1980 to 1993.
240 # Some information has been merged in from a terminfo file SCO distributes.
241 # It has an obnoxious boilerplate copyright which I'm ignoring because they
242 # took so much of the content from the ancestral BSD versions of this file
243 # and didn't attribute it, thereby violating the BSD Regents' copyright.
245 # Not that anyone should care. However many valid functions copyrights may
246 # serve, putting one on a termcap/terminfo file with hundreds of anonymous
247 # contributors makes about as much sense as copyrighting a wall-full of
248 # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
250 # This file deliberately has no copyright. It belongs to no one and everyone.
251 # If you claim you own it, you will merely succeed in looking like a fool.
252 # Use it as you like. Use it at your own risk. Copy and redistribute freely.
253 # There are no guarantees anywhere. Svaha!
256 ######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
258 # This section describes terminal classes and maker brands that are still
264 # Special "terminals". These are used to label tty lines when you don't
265 # know what kind of terminal is on it. The characteristics of an unknown
266 # terminal are the lowest common denominator - they look about like a ti 700.
269 dumb|80-column dumb tty,
272 bel=^G, cr=^M, cud1=^J, ind=^J,
273 unknown|unknown terminal type,
275 lpr|printer|line printer,
278 bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J,
279 glasstty|classic glass tty interpreting ASCII control characters,
282 bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H,
283 kcub1=^H, kcud1=^J, nel=^M^J,
285 #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
287 # See the end-of-file comment for more on these.
290 # The IBM PC alternate character set. Plug this into any Intel console entry.
291 # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
292 # ROM graphics for control characters such as the diamond, up- and down-arrow.
293 # This works with the System V, Linux, and BSDI consoles. It's a safe bet this
294 # will work with any Intel console, they all seem to have inherited \E[11m
295 # from the ANSI.SYS de-facto standard.
296 klone+acs|alternate character set for ansi.sys displays,
297 acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
298 rmacs=\E[10m, smacs=\E[11m,
300 # Highlight controls corresponding to the ANSI.SYS standard. Most
301 # console drivers for Intel boxes obey these. Makes the same assumption
302 # about \E[11m as klone+acs. True ANSI/ECMA-48 would have <rmso=\E[27m>,
303 # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
304 klone+sgr|attribute control for ansi.sys displays,
305 blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m,
306 rmpch=\E[10m, rmso=\E[m, rmul=\E[m,
307 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,
308 sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
311 # Highlight controls corresponding to the ANSI.SYS standard. *All*
312 # console drivers for Intel boxes obey these. Does not assume \E[11m will
313 # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
314 # diamond and arrow characters under curses.
315 klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
316 blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m,
318 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,
319 sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
322 # KOI8-R (RFC1489) acs (alternate character set)
323 # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
324 klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset,
325 acsc=+\020\,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225,
326 rmacs=\E[10m, smacs=\E[11m,
328 # ANSI.SYS color control. The setab/setaf caps depend on the coincidence
329 # between SVr4/XPG4's color numbers and ANSI.SYS attributes. Here are longer
330 # but equivalent strings that don't rely on that coincidence:
331 # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
332 # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
333 # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
334 # They match a subset of ECMA-48.
335 klone+color|color control for ansi.sys and ISO6429-compatible displays,
336 colors#8, ncv#3, pairs#64,
337 op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
339 # This is better than klone+color, it doesn't assume white-on-black as the
340 # default color pair, but many `ANSI' terminals don't grok the <op> cap.
341 ecma+color|color control for ECMA-48-compatible terminals,
342 colors#8, ncv#3, pairs#64,
343 op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
345 # Attribute control for ECMA-48-compatible terminals
346 ecma+sgr|attribute capabilities for true ECMA-48 terminals,
347 rmso=\E[27m, rmul=\E[24m,
350 # For comparison, here are all the capabilities implied by the Intel
351 # Binary Compatibility Standard (level 2) that fit within terminfo.
352 # For more detail on this rather pathetic standard, see the comments
353 # near the end of this file.
354 ibcs2|Intel Binary Compatibility Standard prescriptions,
355 cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB,
356 cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
357 dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX,
358 hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
359 indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7,
360 smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd,
362 #### ANSI/ECMA-48 terminals and terminal emulators
364 # See near the end of this file for details on ANSI conformance.
365 # Don't mess with these entries! Lots of other entries depend on them!
367 # This section lists entries in a least-capable to most-capable order.
368 # if you're in doubt about what `ANSI' matches yours, try them in that
369 # order and back off from the first that breaks.
371 ansi-mini|any ansi terminal with pessimistic assumptions,
373 cols#80, it#8, lines#24,
374 clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
375 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
378 # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
380 # The following is an entry for the full ANSI 3.64 (1977). It lacks
381 # padding, but most terminals using the standard are "fast" enough
382 # not to require any -- even at 9600 bps. If you encounter problems,
383 # try including the padding specifications.
385 # Note: the :as: and :ae: specifications are not implemented here, for
386 # the available termcap documentation does not make clear WHICH alternate
387 # character set to specify. ANSI 3.64 seems to make allowances for several.
388 # Please make the appropriate adjustments to fit your needs -- that is
389 # if you will be using alternate character sets.
391 # There are very few terminals running the full ANSI 3.64 standard,
392 # so I could only test this entry on one verified terminal (Visual 102).
393 # I would appreciate the results on other terminals sent to me.
395 # Please report comments, changes, and problems to:
397 # U.S. MAIL: Hugh Hansard
400 # Atlanta, GA. 30322.
402 # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
404 ansi77|ansi 3.64 standard 1977 version,
406 cols#80, it#8, lines#24,
407 bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
408 cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
409 cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K,
410 home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H,
411 kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
412 kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, ri=\EM,
413 rmir=\E[4l, rmso=\E[m, rmul=\E[m, smir=\E[4h, smso=\E[7m,
416 # Procomm and some other ANSI emulations don't recognize all of the ANSI-
417 # standard capabilities. This entry deletes <cuu>, <cuf>, <cud>, <cub>, and
418 # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>,
419 # <cuf1>, <cud1> and <cub1>. Also deleted <ich> and <ich1>, as QModem up to
420 # 5.03 doesn't recognize these. Finally, we delete <rep> and <ri>, which seem
421 # to confuse many emulators. On the other hand, we can count on these programs
422 # doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured
423 # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
424 # ANSI.SYS influence.
425 # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
426 pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode),
428 cols#80, it#8, lines#24,
429 bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D,
430 cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
431 dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
432 hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
433 kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g,
435 pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode),
436 lines#25, use=pcansi-m,
437 pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode),
438 lines#33, use=pcansi-m,
439 pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode),
440 lines#43, use=pcansi-m,
441 # The color versions. All PC emulators do color...
442 pcansi|ibm-pc terminal programs claiming to be ansi,
443 use=klone+color, use=pcansi-m,
444 pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines,
445 lines#25, use=pcansi,
446 pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines,
447 lines#33, use=pcansi,
448 pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines,
449 lines#43, use=pcansi,
451 # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
452 # If you want pound signs rather than dollars, replace `B' with `A'
453 # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
454 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
455 ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes,
457 cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
458 cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM,
459 ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I,
460 ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H,
461 kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
462 kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S,
463 rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B,
464 s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g,
465 vpa=\E[%i%p1%dd, use=pcansi-m,
467 # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
468 # standard terminfo. Assumes ANSI.SYS-compatible attributes and color.
469 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
470 ansi|ansi/pc-term compatible with color,
471 u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c,
473 use=ecma+color, use=klone+sgr, use=ansi-m,
475 #### DOS ANSI.SYS variants
477 # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
478 # documentation (except for the keyboard key reassignment feature, which
479 # doen't fit the <pfkey> model well). The klone+acs sequences were valid
480 # though undocumented. The <pfkey> capability is untested but should work for
481 # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
482 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
483 ansi.sys-old|ANSI.SYS under PC-DOS 2.1,
486 clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
487 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H,
488 is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
489 khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u,
490 rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR,
492 use=klone+color, use=klone+sgr,
493 ansi.sys|ANSI.SYS 3.1 and later versions,
494 el=\E[K, use=ansi.sys-old,
497 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
498 # This should only be used when the terminal emulator cannot redefine the keys.
499 # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
500 # definitions must be restored. If the terminal emulator is quit while in vi
501 # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
502 # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
503 # (^U and ^D are already defined for tn3270). The ESC is safe for vi but it
504 # does "beep". ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
505 # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
506 # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
507 # Consequently the End keypad key could not be set (it is relatively safe and
508 # actually useful because it sends ^@ O, which beeps and opens a line above).
509 ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi,
510 is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
511 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,
512 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,
515 # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
516 nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS,
517 dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
518 is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys,
520 # See ansi.sysk and nansi.sys above.
521 nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi,
522 dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
523 is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
526 #### ANSI console types
531 # BeOS entry for Terminal program Seems to be almost ANSI
532 beterm|BeOS Terminal,
533 am, eo, mir, msgr, xenl, xon,
534 colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64,
535 bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
536 csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
537 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
538 dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
539 home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
540 ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H,
541 kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
542 kdch1=\E[3~, kend=\E[4~, kf1=\E[11~, kf10=\E[20~,
543 kf11=\E[21~, kf12=\E[22~, kf2=\E[12~, kf3=\E[13~,
544 kf4=\E[14~, kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~,
545 kf9=\E[19~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
546 kspd=^Z, nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM,
547 rmir=\E[4l, rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7,
548 setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
549 setb=\E[%p1%{40}%+%cm, setf=\E[%p1%{30}%+%cm,
550 sgr0=\E[0;10m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
551 u6=\E[%i%p1%d;%p2%dR, u7=\E[6n, vpa=\E[%i%p1%dd,
556 # This entry is good for the 1.2.13 or later version of the Linux console.
558 # ***************************************************************************
561 # * Linuxes come with a default keyboard mapping kcbt=^I. This entry, in *
562 # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
563 # * character. Here are the keymap replacement lines that will set this up: *
565 # keycode 15 = Tab Tab
566 # alt keycode 15 = Meta_Tab
567 # shift keycode 15 = F26
568 # string F26 ="\033[Z"
570 # * This has to use a key slot which is unfortunate (any unused one will *
571 # * do, F26 is the higher-numbered one). The change ought to be built *
572 # * into the kernel tables. *
574 # ***************************************************************************
576 # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
577 # and it matters, turn off <ccc>. The %02x escape used to implement this is
578 # not back-portable to SV curses and not supported in ncurses versions before
579 # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
580 # themselves; this entry assumes that capability.
582 # The 2.2.x kernels add a private mode that sets the cursor type; use that to
583 # get a block cursor for cvvis.
584 # reported by Frank Heckenbach <frank@g-n-u.de>.
586 am, bce, eo, mir, msgr, xenl, xon,
588 acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
589 bel=^G, civis=\E[?25l\E[?1c, clear=\E[H\E[J,
590 cnorm=\E[?25h\E[?0c, cr=^M, csr=\E[%i%p1%d;%p2%dr,
591 cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
592 cuu1=\E[A, cvvis=\E[?25h\E[?8c, dch=\E[%p1%dP, dch1=\E[P,
593 dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J,
594 el=\E[K, el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H,
595 hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
596 il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177,
597 kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
598 kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
599 kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
600 kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
601 kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
602 kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
603 khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
604 nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m,
605 rmul=\E[24m, rs1=\Ec\E]R, sc=\E7,
606 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,
607 smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR,
608 u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,
609 use=klone+sgr, use=ecma+color,
610 linux-m|Linux console no color,
612 setab@, setaf@, setb@, setf@, use=linux,
613 linux-c-nc|linux console 1.3.x hack for ncurses only,
615 initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,
618 # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
619 linux-c|linux console 1.3.6+ with private palette for each virtual console,
622 initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;,
626 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
627 linux-nic|linux with ich/ich1 suppressed for non-curses programs,
631 # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
632 # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
633 linux-koi8|linux with koi8 alternate character set,
634 acsc=+\020\,\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224,
635 use=linux, use=klone+koi8acs,
637 # Another entry for KOI8-r with Qing Long's acsc.
638 # (which one better complies with the standard?)
639 linux-koi8r|linux with koi8-r alternate character set,
640 kbs=^H, kcub1=^H, kcud1=^J,
641 use=linux, use=klone+koi8acs,
643 # From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
646 cols#80, it#8, lines#25,
647 bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
648 cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
649 cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
650 cuu=\E[%p1%dA, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
651 el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J,
652 kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
653 kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ,
654 kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
655 kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U,
656 kpp=\E[V, nel=^M^J, rev=\E[7m, rmso=\E[0m, sgr0=\E[0m,
658 mach-bold|Mach Console with bold instead of underline,
659 rmul=\E[0m, smul=\E[1m,
662 # Entry for the latin1 and latin2 fonts
663 linux-lat|linux with latin1 or latin2 alternate character set,
664 acsc=+\020\,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376,
667 # SCO console and SOS-Syscons console for 386bsd
668 # (scoansi: had unknown capabilities
669 # :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
670 # :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
671 # :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
672 # :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
673 # :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
674 # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
675 # on the <smacs>=\E[12m -- esr)
677 # klone+sgr-dumb is an error since the acsc does not match -TD
679 # In this description based on SCO's keyboard(HW) manpage list of default function key
681 # F13-F24 are shifted F1-F12
682 # F25-F36 are control F1-F12
683 # F37-F48 are shift+control F1-F12
684 scoansi|SCO Extended ANSI standard crt,
686 colors#8, cols#80, it#8, lines#25, pairs#64,
687 acsc=0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`ja0fxgqh2jYk?lZm@nEqDtCu4vAwBx3~y,
688 blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J,
689 cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
690 cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
691 ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, invis=\E[8m, kbeg=\E[E,
692 kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
693 kcuu1=\E[A, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W,
694 kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c,
695 kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g,
696 kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l,
697 kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p,
698 kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u,
699 kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P,
700 kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[],
701 kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q,
702 kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
703 kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[37;40m, rev=\E[7m,
704 ri=\E[T, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
705 setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
706 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,
707 sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
709 # This actually describes the generic SVr4 display driver for Intel boxes.
710 # The <dim=\E[2m> isn't documented and therefore may not be reliable.
711 # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
712 att6386|at386|386at|AT&T WGS 6386 console,
714 cols#80, it#8, lines#25,
715 acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
716 bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C,
717 clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD,
718 cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
719 cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
720 cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
721 dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
722 home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
723 ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,
724 indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H,
725 kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
726 kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ,
727 kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
728 kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@,
729 knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m,
730 ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
732 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,
733 sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
734 tbc=\E[2g, vpa=\E[%i%p1%dd,
736 # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
737 pc6300plus|AT&T 6300 plus,
740 bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C,
741 clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B,
742 cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
743 dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K,
744 home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J,
745 invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
746 kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe,
747 kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk,
748 nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
749 smso=\E[7m, smul=\E[4m, tbc=\E[3g,
751 # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
753 # I have a UNIX PC which I use as a terminal attached to my Linux PC.
754 # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
755 # is broken. All the special key sequences are broken, making it unusable
756 # with Emacs. The problem stems from the following:
758 # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
759 # keypad!), loadable fonts, and strange highlighting modes ("dithered"
760 # half-intensity, "smeared" bold, and real strike-out, for example.) It also
761 # uses resizable terminal windows, but the bundled terminal program always
762 # uses an 80x24 window (and doesn't support seem to support a 132-column
765 # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
766 # library which was a superset of SVr3.5 curses (called tam, for "terminal
767 # access method".) tam includes support for real, overlapping windows,
768 # onscreen function key labels, and bitmap graphics. But since the primary
769 # user interface on the UNIX PC was a GUI program (ua, for "user
770 # assistant",) and remote administration was considered important for the
771 # machine, tam also supported VT100-compatible terminals attached to the
772 # serial port or used across the StarLan network. To simulate the extra keys
773 # not present on a VT100, users could press ESC and a two-letter sequence,
774 # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
775 # however, were not the same as those sent by the actual Undo key. The
776 # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
777 # (If you're interested in adding some of the tam calls to ncurses, btw, I
778 # have the full documentation and several programs which use tam. It also
779 # used an extended terminfo format to describe key sequences, special
780 # highlighting modes, etc.)
782 # KEYS: This means that ncurses would quite painful on the UNIX PC, since
783 # there are two sequences for every key-modifier combination (local keyboard
784 # sequence and remote "VT100" sequence.) But I doubt many people are trying
785 # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
786 # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
787 # seem to have been built from the manual describing the VT100 sequences.
788 # This means it doesn't work for a real live UNIX PC.
790 # FONTS: The UNIX PC also has a strange interpretation of "alternate
791 # character set". Rather than the VT100 graphics you might expect, it allows
792 # up to 8 custom fonts to be loaded at any given time. This means that
793 # programs expecting VT100 graphics will usually be disappointed. For this
794 # reason I have disabled the smacs/rmacs sequences, but they could easily be
795 # re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
796 # manpage), should you wish to do so:
798 # SGR10 - Select font 0 - ESC [ 10 m or SO
799 # SGR11 - Select font 1 - ESC [ 11 m or SI
800 # SGR12 - Select font 2 - ESC [ 12 m
802 # SGR17 - Select font 7 - ESC [ 17 m
804 # Graphics for line drawing are not reliably found at *any* character
805 # location because the UNIX PC has dynamically reloadable fonts. I use font
806 # 0 for regular text and font 1 for italics, but this is by no means
807 # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
809 # MISC: The cursor visible/cursor invisible sequences were swapped in the
810 # distributed terminfo.
812 # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
813 # the UNIX PC terminfo entry. The modified version works great with Lynx,
814 # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
815 # attached by serial cable. In Emacs, even the Undo key works, and many
816 # applications can now use the F1-F8 keys.
819 # Terminfo entry for the AT&T Unix PC 7300
820 # from escape(7) in Unix PC 7300 Manual.
821 # Somewhat similar to a vt100-am (but different enough
822 # to redo this from scratch.)
824 # /***************************************************************
826 # * FONT LOADING PROGRAM FOR THE UNIX PC
828 # * This routine loads a font defined in the file ALTFONT
829 # * into font memory slot #1. Once the font has been loaded,
830 # * it can be used as an alternative character set.
832 # * The call to ioctl with the argument WIOCLFONT is the key
833 # * to this routine. For more information, see window(7) in
834 # * the PC 7300 documentation.
835 # ***************************************************************/
836 # #include <string.h> /* needed for strcpy call */
837 # #include <sys/window.h> /* needed for ioctl call */
838 # #define FNSIZE 60 /* font name size */
839 # #define ALTFONT "/usr/lib/wfont/special.8.ft" /* font file */
841 # * The file /usr/lib/wfont/special.8.ft comes with the
842 # * standard PC software. It defines a graphics character set
843 # * similar to that of the Teletype 5425 terminal. To view
844 # * this or other fonts in /usr/lib/wfont, use the command
845 # * cfont <filename>. For further information on fonts see
846 # * cfont(1) in the PC 7300 documentation.
849 # struct altfdata /* structure for alt font data */
851 # short altf_slot; /* memory slot number */
852 # char altf_name[FNSIZE]; /* font name (file name) */
856 # int wd; /* window in which altfont will be */
857 # struct altfdata altf;
859 # strcpy(altf.altf_name,ALTFONT);
860 # for (wd =1; wd < 12; wd++) {
861 # ioctl(wd, WIOCLFONT,&altf);
865 # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
866 # they're confirmed by the man page for the System V display---esr)
868 att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300,
870 cols#80, it#8, lines#24,
871 bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C,
872 clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD,
873 cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
874 cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
875 cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
876 ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL,
877 il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB,
878 kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE,
879 kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM,
880 kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR,
881 kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO,
882 kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z,
883 kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
884 kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf,
885 ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd,
886 kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
887 kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B,
888 kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv,
889 kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt,
890 kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB,
891 ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM,
892 rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m,
895 # Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
896 # from SGI's terminfo database. SGI's entry shows F9-F12 with the codes
897 # for the application keypad mode. We have added iris-ansi-ap rather than
898 # change the original to keypad mode.
900 # (iris-ansi: added rmam/smam based on init string -- esr)
902 # This entry, and those derived from it, is used in xwsh (also known as
903 # winterm). Some capabilities that do not fit into the terminfo model
904 # include the shift- and control-functionkeys:
906 # F1-F12 generate different codes when shift or control modifiers are used.
912 # In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
913 # \EOP to \EOS. The shifted and control modifiers still do the same thing.
915 # The cursor keys also have different codes:
917 # control-down \E[165q
918 # control-left \E[159q
919 # control-right \E[168q
924 # shift-right \E[167q
928 iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100),
930 cols#80, it#8, lines#40,
931 bel=^G, bold=\E[1m, clear=\E[H\E[2J,
932 cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD,
933 cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
934 cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
935 cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h,
936 dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
937 home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED,
938 is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P,
939 kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q,
940 kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
941 kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
942 kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\E[010q,
943 kf11=\E[011q, kf12=\E[012q, kf2=\E[002q, kf3=\E[003q,
944 kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
945 kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
946 knp=\E[154q, kpp=\E[150q, kprt=\E[209q, krmir=\E[146q,
947 kspd=\E[217q, nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\,
948 rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
949 sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m,
951 iris-ansi-ap|IRIS ANSI in application-keypad mode,
952 is2=\E[?1l\E=\E[?7h, kent=\EOM, kf10=\E[010q,
953 kf11=\E[011q, kf12=\E[012q, kf9=\E[009q,
956 # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
958 iris-color|xwsh|IRIX ANSI with color,
960 csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m,
961 ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m,
962 rmul=\E[24m, rs1=\Ec,
963 rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
964 sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
965 use=klone+color, use=iris-ansi-ap,
967 # The following is a version of the ibm-pc entry distributed with PC/IX,
968 # (Interactive Systems' System 3 for the Big Blue), modified by Richard
969 # McIntosh at UCB/CSM. The :pt: and :uc: have been removed from the original,
970 # (the former is untrue, and the latter failed under UCB/man); standout and
971 # underline modes have been added. Note: this entry describes the "native"
972 # capabilities of the PC monochrome display, without ANY emulation; most
973 # communications packages (but NOT PC/IX connect) do some kind of emulation.
977 clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
978 cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
979 home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m,
982 # (ibmpcx: this entry used to be known as ibmx.
983 # It formerly included the following extension capabilities:
984 # :GC=b:GL=v:GR=t:RT=^J:\
985 # :GH=\E[196g:GV=\E[179g:\
986 # :GU=\E[193g:GD=\E[194g:\
987 # :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
988 # :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
989 # :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
990 # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
991 # ":kh=\E[Y:". Added IBM-PC forms characters and highlights, they match
992 # what was there before. -- esr)
993 ibmpcx|xenix|ibmx|IBM PC xenix console display,
996 clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C,
997 cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
998 ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H,
999 kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d,
1000 kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e,
1002 use=klone+acs, use=klone+sgr,
1006 # Michael's original version of this entry had <am@>, <smcup=\Ei>,
1007 # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
1008 # right corner without triggering a scroll. The ncurses terminfo library can
1009 # handle this case with the <ich1> capability, and prefers <am> for better
1010 # optimization. Bug: The <op> capability resets attributes.
1011 # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
1012 # (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
1013 qnx|qnx4|qnx console,
1014 daisy, km, mir, msgr, xhpa, xt,
1015 colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8,
1016 acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263,
1017 bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ,
1018 cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
1019 cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ey2,
1020 dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee,
1021 il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263,
1022 kCMD=\377\267, kCPY=\377\363, kCRT=\377\364,
1023 kDL=\377\366, kEND=\377\301, kEOL=\377\311,
1024 kEXT=\377\367, kFND=\377\370, kHLP=\377\371,
1025 kHOM=\377\260, kIC=\377\340, kLFT=\377\264,
1026 kMOV=\377\306, kMSG=\377\304, kNXT=\377\272,
1027 kOPT=\377\372, kPRT=\377\275, kPRV=\377\262,
1028 kRDO=\377\315, kRES=\377\374, kRIT=\377\266,
1029 kRPL=\377\373, kSAV=\377\307, kSPD=\377\303,
1030 kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0,
1031 kclo=\377\343, kclr=\377\341, kcmd=\377\245,
1032 kcpy=\377\265, kcrt=\377\305, kctab=\377\237,
1033 kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246,
1034 kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274,
1035 ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320,
1036 kext=\377\270, kf1=\377\201, kf10=\377\212,
1037 kf11=\377\256, kf12=\377\257, kf13=\377\213,
1038 kf14=\377\214, kf15=\377\215, kf16=\377\216,
1039 kf17=\377\217, kf18=\377\220, kf19=\377\221,
1040 kf2=\377\202, kf20=\377\222, kf21=\377\223,
1041 kf22=\377\224, kf23=\377\333, kf24=\377\334,
1042 kf25=\377\225, kf26=\377\226, kf27=\377\227,
1043 kf28=\377\230, kf29=\377\231, kf3=\377\203,
1044 kf30=\377\232, kf31=\377\233, kf32=\377\234,
1045 kf33=\377\235, kf34=\377\236, kf35=\377\276,
1046 kf36=\377\277, kf37=\377\321, kf38=\377\322,
1047 kf39=\377\323, kf4=\377\204, kf40=\377\324,
1048 kf41=\377\325, kf42=\377\326, kf43=\377\327,
1049 kf44=\377\330, kf45=\377\331, kf46=\377\332,
1050 kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206,
1051 kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346,
1052 khlp=\377\350, khome=\377\240, khts=\377\342,
1053 kich1=\377\253, kil1=\377\273, kind=\377\261,
1054 kmov=\377\351, kmrk=\377\355, kmsg=\377\345,
1055 knp=\377\252, knxt=\377\312, kopn=\377\357,
1056 kopt=\377\353, kpp=\377\242, kprt=\377\255,
1057 kprv=\377\302, krdo=\377\336, kref=\377\354,
1058 kres=\377\360, krfr=\377\347, kri=\377\271,
1059 krmir=\377\313, krpl=\377\362, krst=\377\352,
1060 ksav=\377\361, kslt=\377\247, kspd=\377\335,
1061 ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER,
1062 rep=\Eg%p2%{32}%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER,
1063 rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d,
1064 setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei,
1067 # From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
1068 # (esr: commented out <scp> and <rmcup> to avoid warnings.)
1069 # (TD: derive from original qnx4 entry)
1070 qnxt2|qnx 2.15 serial terminal,
1072 civis@, cnorm@, cvvis@, dch1@, ich1@, kRES@, kRPL@, kUND@, kspd@,
1073 rep@, rmcup@, rmso=\E>, setb@, setf@, smcup@, smso=\E<,
1076 #### NetBSD consoles
1078 # pcvt termcap database entries (corresponding to release 3.31)
1079 # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
1081 # (For the terminfo master file, I translated these into terminfo syntax.
1082 # Then I dropped all the pseudo-HP entries. we don't want and can't use
1083 # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
1084 # size-dependent <is2>. Finally, I added <rmam>/<smam> -- esr)
1086 # NOTE: <ich1> has been taken out of this entry. for reference, it should
1087 # be <ich1=\E[@>. For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
1088 # (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
1089 pcvtXX|pcvt vt200 emulator (DEC VT220),
1090 am, km, mir, msgr, xenl,
1092 acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~,
1093 bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
1094 clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
1095 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
1096 cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
1097 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1098 dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
1099 el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
1100 il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS,
1101 is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177,
1102 kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1103 kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
1104 kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
1105 khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,
1106 nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100,
1107 ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
1108 rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
1109 rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
1110 sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
1111 smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1113 # NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1114 # termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1115 # 50 lines entries; 80 columns
1116 pcvt25|dec vt220 emulation with 25 lines,
1118 is2=\E[1;25r\E[25;1H, use=pcvtXX,
1119 pcvt28|dec vt220 emulation with 28 lines,
1121 is2=\E[1;28r\E[28;1H, use=pcvtXX,
1122 pcvt35|dec vt220 emulation with 35 lines,
1124 is2=\E[1;35r\E[35;1H, use=pcvtXX,
1125 pcvt40|dec vt220 emulation with 40 lines,
1127 is2=\E[1;40r\E[40;1H, use=pcvtXX,
1128 pcvt43|dec vt220 emulation with 43 lines,
1130 is2=\E[1;43r\E[43;1H, use=pcvtXX,
1131 pcvt50|dec vt220 emulation with 50 lines,
1133 is2=\E[1;50r\E[50;1H, use=pcvtXX,
1135 # NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1136 # termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1137 # 50 lines entries; 132 columns
1138 pcvt25w|dec vt220 emulation with 25 lines and 132 cols,
1140 is2=\E[1;25r\E[25;1H, use=pcvtXX,
1141 pcvt28w|dec vt220 emulation with 28 lines and 132 cols,
1143 is2=\E[1;28r\E[28;1H, use=pcvtXX,
1144 pcvt35w|dec vt220 emulation with 35 lines and 132 cols,
1146 is2=\E[1;35r\E[35;1H, use=pcvtXX,
1147 pcvt40w|dec vt220 emulation with 40 lines and 132 cols,
1149 is2=\E[1;40r\E[40;1H, use=pcvtXX,
1150 pcvt43w|dec vt220 emulation with 43 lines and 132 cols,
1152 is2=\E[1;43r\E[43;1H, use=pcvtXX,
1153 pcvt50w|dec vt220 emulation with 50 lines and 132 cols,
1155 is2=\E[1;50r\E[50;1H, use=pcvtXX,
1157 # Terminfo entries to enable the use of the ncurses library in colour on a
1158 # NetBSD-arm32 console (only tested on a RiscPC).
1159 # Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
1160 # modified codes for setf/setb to setaf/setab, then to klone+color, corrected
1161 # typo in invis - TD
1162 arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480),
1163 am, bce, msgr, xenl, xon,
1164 cols#80, it#8, lines#30,
1165 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1166 bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
1167 clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
1168 cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
1169 cuf=\E[%p1%dC, cuf1=\E[C$<2>,
1170 cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
1171 cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
1172 enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J,
1173 invis=\E[8m$<2>, ka1=\E[q, ka3=\E[s, kb2=\E[r, kbs=^H,
1174 kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
1175 kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x,
1176 kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v,
1177 kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[6m$<2>, ri=\EM$<5>,
1178 rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
1179 rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
1181 sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
1182 sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
1183 smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
1184 use=ecma+sgr, use=klone+color,
1186 arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768),
1187 cols#132, lines#50, use=arm100,
1189 # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
1190 # manufactured by Sharp for the Japenese market.
1191 # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
1192 x68k|x68k-ite|NetBSD/x68k ITE,
1194 kclr=\E[9~, khlp=\E[28~, use=vt220,
1197 # Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
1199 # (still unfinished, but good enough so far.)
1203 bel=^G, blink=\2337;2m, bold=\2331m, clear=^L, cr=^M,
1204 cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
1205 cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
1206 cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
1207 dim=\2332m, dl=\233%p1%dM, dl1=\233M, ed=\233J, el=\233K,
1208 flash=^G, ht=^I, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL,
1209 il1=\233L, ind=^J, invis=\2338m, kbs=^H, kcub1=\233D,
1210 kcud1=\233B, kcuf1=\233C, kcuu1=\233A, kdch1=\233P,
1211 kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W,
1212 kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r,
1213 kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m,
1214 rmso=\2330m, rmul=\2330m, sgr0=\2330m,
1216 # NetBSD "wscons" emulator in vt220 mode
1217 # These are micro-minimal and probably need to be redone for real
1218 # after the manner of the pcvt entries.
1219 wsvt25|NetBSD wscons in 25 line DEC VT220 mode,
1220 cols#80, lines#25, use=vt220,
1222 wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta,
1224 cols#80, lines#25, use=vt220,
1226 # `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and
1228 rcons|BSD rasterconsole,
1230 # Color version of above. Color currenly only provided by NetBSD.
1231 rcons-color|BSD rasterconsole with ANSI color,
1234 op=\E[m, setab=\E[4%dm, setaf=\E[3%dm, use=rcons,
1236 #### FreeBSD console entries
1238 # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
1239 # Andrey Chernov maintains the FreeBSD termcap distributions.
1241 # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
1242 # or comment out the :cb: capability in the console entry.
1244 # Alexander Lukyanov reports:
1245 # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
1246 # Now el1 clears not only to the line beginning, but also a large chunk
1247 # of previous line. But there is another bug - ech does not work at all.
1251 # common entry without semigraphics
1252 # Bug: The <op> capability resets attributes.
1253 # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
1254 # instance el1 does if the cursor is moved to the right margin first. Removed
1255 # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
1257 # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
1258 # Note that this disables standout with color.
1259 cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),
1260 am, bce, bw, eo, msgr, npc,
1261 colors#8, cols#80, it#8, lines#25, ncv#21, pairs#64,
1262 bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
1263 cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB,
1264 cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
1265 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1266 cvvis=\E[=1C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m,
1267 dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
1268 hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
1269 il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, kb2=\E[E,
1270 kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
1271 kcuu1=\E[A, kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V,
1272 kf11=\E[W, kf12=\E[X, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q,
1273 kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
1274 kich1=\E[L, knp=\E[G, kpp=\E[I, nel=\E[E, op=\E[x, rev=\E[7m,
1275 ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, rs1=\E[x\E[m\Ec,
1276 setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m,
1277 smso=\E[7m, vpa=\E[%i%p1%dd,
1278 cons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
1279 acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371,
1281 cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),
1283 bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25,
1284 cons30|ansi80x30|freebsd console (30-line ansi mode),
1285 lines#30, use=cons25,
1286 cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode),
1287 lines#30, use=cons25-m,
1288 cons43|ansi80x43|freebsd console (43-line ansi mode),
1289 lines#43, use=cons25,
1290 cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode),
1291 lines#43, use=cons25-m,
1292 cons50|ansil|ansi80x50|freebsd console (50-line ansi mode),
1293 lines#50, use=cons25,
1294 cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode),
1295 lines#50, use=cons25-m,
1296 cons60|ansi80x60|freebsd console (60-line ansi mode),
1297 lines#60, use=cons25,
1298 cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode),
1299 lines#60, use=cons25-m,
1300 cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic,
1301 acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225,
1303 cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono),
1305 op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r,
1306 cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines),
1307 lines#50, use=cons25r,
1308 cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono),
1309 lines#50, use=cons25r-m,
1310 cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines),
1311 lines#60, use=cons25r,
1312 cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono),
1313 lines#60, use=cons25r-m,
1314 # ISO 8859-1 FreeBSD console
1315 cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars,
1316 acsc=+\253\,\273-\030.\031`\201a\202f\207g\210i\247j\213k\214l\215m\216n\217o\220p\221q\222r\223s\224t\225u\226v\227w\230x\231y\232z\233~\237,
1318 cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono),
1320 bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25l1,
1321 cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines),
1322 lines#50, use=cons25l1,
1323 cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono),
1324 lines#50, use=cons25l1-m,
1325 cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines),
1326 lines#60, use=cons25l1,
1327 cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono),
1328 lines#60, use=cons25l1-m,
1330 #### 386BSD and BSD/OS Consoles
1333 # This was the original 386BSD console entry (I think).
1334 # Some places it's named oldpc3|oldibmpc3.
1335 # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
1336 origpc3|origibmpc3|IBM PC 386BSD Console,
1339 acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
1340 bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
1341 cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
1342 home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
1343 kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x,
1344 rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x,
1345 smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x,
1347 # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
1348 oldpc3|oldibmpc3|old IBM PC BSD/386 Console,
1351 bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M,
1352 ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
1353 kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F,
1354 knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R,
1356 # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
1357 # Note, the emulator supports many of the additional console features
1358 # listed in the iBCS2 (e.g. character-set selection) though not all
1359 # are described here. This entry really ought to be upgraded.
1360 # Also note, the console will also work with fewer lines after doing
1361 # "stty rows NN", e.g. to use 24 lines.
1362 # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
1363 # Bug: The <op> capability resets attributes.
1364 bsdos-pc-nobold|BSD/OS PC console w/o bold,
1366 cols#80, it#8, lines#25,
1367 bel=^G, clear=\Ec, cr=^M, cub=\E[%p1%dD, cub1=^H,
1368 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
1369 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1370 dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
1371 il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D,
1372 kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L,
1373 kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7,
1374 sgr=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;,
1375 use=klone+sgr, use=klone+color,
1376 bsdos-pc|IBM PC BSD/OS Console,
1377 sgr=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, use=bsdos-pc-nobold,
1379 # Old names for BSD/OS PC console used in releases before 4.1.
1380 pc3|BSD/OS on the PC Console,
1381 use=bsdos-pc-nobold,
1382 ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline,
1385 # BSD/OS on the SPARC
1386 bsdos-sparc|Sun SPARC BSD/OS Console,
1389 # BSD/OS on the PowerPC
1390 bsdos-ppc|PowerPC BSD/OS Console,
1393 #### DEC VT100 and compatibles
1395 # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
1396 # the basis of some emulations) are collected here. Older DEC terminals and
1397 # micro consoles can be found in the `obsolete' section. More details on
1398 # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
1399 # found near the end of this file.
1401 # Except where noted, these entries are DEC's official terminfos.
1402 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
1403 # Engineering for more information. Updated terminfos and termcaps
1404 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1406 # In October 1995 DEC sold its terminals business, including the VT and Dorio
1407 # line and trademark, to SunRiver Data Systems. SunRiver has since changed
1408 # its name to Boundless Technologies; see http://www.boundless.com.
1411 # (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
1413 cols#80, it#8, lines#24,
1414 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1415 bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
1416 cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
1417 el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
1418 kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
1420 # NOTE: Any VT100 emulation, whether in hardware or software, almost
1421 # certainly includes what DEC called the `Level 1 editing extension' codes;
1422 # only the very oldest VT100s lacked these and there probably aren't any of
1423 # those left alive. To capture these, use one of the VT102 entries.
1425 # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
1426 # since the cursor is left in a different position while in the
1427 # weird state (concept at beginning of next line, vt100 at end
1428 # of this line) so all versions of vi before 3.7 don't handle
1429 # <xenl> right on vt100. The correct way to handle <xenl> is when
1430 # you output the char in column 80, immediately output CR LF
1431 # and then assume you are in column 1 of the next line. If <xenl>
1432 # is on, am should be on too.
1434 # I assume you have smooth scroll off or are at a slow enough baud
1435 # rate that it doesn't matter (1200? or less). Also this assumes
1436 # that you set auto-nl to "on", if you set it off use vt100-nam
1439 # The padding requirements listed here are guesses. It is strongly
1440 # recommended that xon/xoff be enabled, as this is assumed here.
1442 # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the
1443 # tab settings are in non-volatile memory and don't need to be
1444 # reset upon login. Also setting the number of columns glitches
1445 # the screen annoyingly. You can type "reset" to get them set.
1447 # Here's a diagram of the VT100 keypad keys with their bindings.
1448 # The top line is the name of the key (some DEC keyboards have the keys
1449 # labelled somewhat differently, like GOLD instead of PF1, but this is
1450 # the most "official" name). The second line is the escape sequence it
1451 # generates in Application Keypad mode (where "$" means the ESC
1452 # character). The third line contains two items, first the mapping of
1453 # the key in terminfo, and then in termcap.
1454 # _______________________________________
1455 # | PF1 | PF2 | PF3 | PF4 |
1456 # | $OP | $OQ | $OR | $OS |
1457 # |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1459 # | $Ow | $Ox | $Oy | $Om |
1460 # |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
1462 # | $Ot | $Ou | $Ov | $Ol |
1463 # |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
1465 # | $Oq | $Or | $Os | enter |
1466 # |_ka1__K1_|_kb2__K2_|_ka3__K3_| $OM |
1469 # |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1471 # And here, for those of you with orphaned VT100s lacking documentation, is
1472 # a description of the soft switches invoked when you do `Set Up'.
1474 # Scroll 0-Jump Shifted 3 0-#
1475 # | 1-Smooth | 1-British pound sign
1476 # | Autorepeat 0-Off | Wrap Around 0-Off
1478 # | | Screen 0-Dark Bkg | | New Line 0-Off
1479 # | | | 1-Light Bkg | | | 1-On
1480 # | | | Cursor 0-Underline | | | Interlace 0-Off
1481 # | | | | 1-Block | | | | 1-On
1483 # 1 1 0 1 1 1 1 1 0 1 0 0 0 0 1 0 <--Standard Settings
1485 # | | | Auto XON/XOFF 0-Off | | | Power 0-60 Hz
1486 # | | | 1-On | | | 1-50 Hz
1487 # | | Ansi/VT52 0-VT52 | | Bits Per Char. 0-7 Bits
1488 # | | 1-ANSI | | 1-8 Bits
1489 # | Keyclick 0-Off | Parity 0-Off
1491 # Margin Bell 0-Off Parity Sense 0-Odd
1494 # The following SET-UP modes are assumed for normal operation:
1495 # ANSI_MODE AUTO_XON/XOFF_ON NEWLINE_OFF 80_COLUMNS
1496 # WRAP_AROUND_ON JUMP_SCROLL_OFF
1497 # Other SET-UP modes may be set for operator convenience or communication
1498 # requirements; I recommend
1499 # AUTOREPEAT_ON BLOCK_CURSOR MARGIN_BELL_OFF SHIFTED_3_#
1500 # Unless you have a graphics add-on such as Digital Engineering's VT640
1501 # (and even then, whenever it can be arranged!) you should set
1504 # (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
1505 vt100|vt100-am|dec vt100 (w/advanced video),
1506 am, msgr, xenl, xon,
1507 cols#80, it#8, lines#24, vt#3,
1508 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1509 bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
1510 clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
1511 cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
1512 cuf=\E[%p1%dC, cuf1=\E[C$<2>,
1513 cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
1514 cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
1515 enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq,
1516 ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD,
1517 kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy,
1518 kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
1519 kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
1520 rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
1521 rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
1522 rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
1523 sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
1524 sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
1525 smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
1526 vt100nam|vt100-nam|vt100 no automargins,
1527 am@, xenl@, use=vt100-am,
1528 vt100-vb|dec vt100 (w/advanced video) & no beep,
1529 bel@, flash=\E[?5h\E[?5l, use=vt100,
1531 # Ordinary vt100 in 132 column ("wide") mode.
1532 vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
1534 rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am,
1535 vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin),
1536 cols#132, lines#14, vt@,
1537 rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam,
1539 # vt100 with no advanced video.
1540 vt100-nav|vt100 without advanced video option,
1542 blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m,
1545 vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option),
1546 cols#132, lines#14, use=vt100-nav,
1548 # vt100 with one of the 24 lines used as a status line.
1549 # We put the status line on the top.
1550 vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline,
1553 clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr,
1554 cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8,
1555 fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8,
1556 tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am,
1558 # Status line at bottom.
1559 # Clearing the screen will clobber status line.
1560 vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline,
1563 dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H,
1564 tsl=\E7\E[24;%p1%dH\E[1K,
1567 # Most of the `vt100' emulators out there actually emulate a vt102
1568 # This entry (or vt102-nsgr) is probably the right thing to use for
1572 dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100,
1573 vt102-w|dec vt102 in wide mode,
1575 rs3=\E[?3h, use=vt102,
1577 # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1578 # fail to interpret the ^O and ^N escapes properly. Symptom: the <sgr0>
1579 # string in the canonical vt100 entry above leaves the screen littered
1580 # with little snowflake or star characters (IBM PC ROM character \017 = ^O)
1581 # after highlight turnoffs. This entry should fix that, and even leave
1582 # ACS support working, at the cost of making multiple-highlight changes
1583 # slightly more expensive.
1584 # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1585 vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes),
1589 # VT125 Graphics CRT. Clear screen also erases graphics
1590 vt125|vt125 graphics terminal,
1591 clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100,
1593 # This isn't a DEC entry, it came from University of Wisconsin.
1594 # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
1597 cols#80, it#8, lines#24, vt#3,
1598 bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
1599 clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
1600 cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
1601 cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
1602 ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
1603 is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
1604 kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
1605 kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>,
1606 rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>,
1608 rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
1609 sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=,
1610 smso=\E[7m$<2/>, smul=\E[4m$<2/>,
1612 # vt132 - like vt100 but slower and has ins/del line and such.
1613 # I'm told that <smir>/<rmir> are backwards in the terminal from the
1614 # manual and from the ANSI standard, this describes the actual
1615 # terminal. I've never actually used a vt132 myself, so this
1620 dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
1621 ip=$<7>, rmir=\E[4h, smir=\E[4l,
1625 # This vt220 description maps F5--F9 to the second block of function keys
1626 # at the top of the keyboard. The "DO" key is used as F10 to avoid conflict
1627 # with the key marked (ESC) on the vt220. See vt220d for an alternate mapping.
1628 # PF1--PF4 are used as F1--F4.
1630 vt220|vt200|DEC VT220 in vt100 emulation mode,
1632 cols#80, lines#24, vt#3,
1633 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1634 bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l,
1635 clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M,
1636 csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
1637 cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
1638 dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
1639 if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>,
1640 is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B,
1641 kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP,
1642 kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
1643 kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~,
1644 khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8,
1645 rev=\E[7m$<2>, rf=/usr/share/tabset/vt100,
1646 ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
1647 rmso=\E[27m, rmul=\E[24m,
1648 rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
1649 sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
1650 sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
1651 smso=\E[7m, smul=\E[4m,
1652 vt220-w|vt200-w|DEC vt220 in wide mode,
1654 rs3=\E[?3h, use=vt220,
1658 # This vt220 description regards F6--F10 as the second block of function keys
1659 # at the top of the keyboard. This mapping follows the description given
1660 # in the VT220 Programmer Reference Manual and agrees with the labeling
1661 # on some terminals that emulate the vt220. There is no support for an F5.
1662 # See vt220 for an alternate mapping.
1664 vt220d|DEC VT220 in vt100 mode with DEC function key labeling,
1665 kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
1666 kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
1667 kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~,
1668 kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
1671 vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins,
1673 rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
1675 # This is misnamed (see xterm-8bit for an example of 8-bit controls)
1676 vt220-8|dec vt220 8 bit terminal,
1677 am, mc5i, mir, msgr, xenl, xon,
1678 cols#80, it#8, lines#24,
1679 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1680 bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
1681 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
1682 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
1683 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1684 dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
1685 ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
1686 flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH,
1687 ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
1688 il=\E[%p1%dL, il1=\E[L, ind=\ED,
1689 is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D,
1690 kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~,
1691 kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
1692 kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
1693 kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
1694 kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
1695 khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~,
1696 kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i,
1697 mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
1698 rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m,
1699 rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
1700 smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1702 # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
1703 # (not an official DEC entry!)
1704 # The problem with real vt220 terminals is they don't send escapes when in
1705 # in vt220 mode. This can be gotten around two ways. 1> don't send
1706 # escapes or 2> put the vt220 into vt100 mode and use all the nifty
1707 # features of vt100 advanced video which it then has.
1709 # This entry takes the view of putting a vt220 into vt100 mode so
1710 # you can use the escape key in emacs and everything else which needs it.
1712 # You probably don't want to use this on a VMS machine since VMS will think
1713 # it has a vt220 and will get fouled up coming out of emacs
1715 # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
1716 vt200-js|vt220-js|dec vt200 series with jump scroll,
1719 bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
1720 cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
1721 dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
1723 is2=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m,
1724 kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1725 kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED,
1726 rf=/usr/lib/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l,
1727 rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m,
1728 rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smdc=,
1729 smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m,
1731 # This was DEC's vt320. Use the purpose-built one below instead
1732 #vt320|DEC VT320 in vt100 emulation mode,
1736 # Use v320n for SCO's LYRIX. Otherwise, use Adam Thompson's vt320-nam.
1738 vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode,
1740 rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
1742 # These entries are not DEC's official ones, they were purpose-built for the
1743 # VT320. Here are the designer's notes:
1744 # <kel> is end on a PC kbd. Actually 'select' on a VT. Mapped to
1745 # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1746 # khome is Home on a PC kbd. Actually 'FIND' on a VT.
1747 # Things that use <knxt> usually use tab anyways... and things that don't use
1748 # tab usually use <knxt> instead...
1749 # kprv is same as tab - Backtab is useless...
1750 # I left out <sgr> because of its RIDICULOUS complexity,
1751 # and the resulting fact that it causes the termcap translation of the entry
1752 # to SMASH the 1k-barrier...
1753 # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1754 # (vt320: uncommented <fsl> --esr)
1755 vt320|vt300|dec vt320 7 bit terminal,
1756 am, eslok, hs, mir, msgr, xenl,
1757 cols#80, lines#24, wsl#80,
1758 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1759 bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
1760 clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
1761 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
1762 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
1763 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1764 dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
1765 ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$},
1766 home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
1768 is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1769 ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs,
1770 kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1771 kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
1772 kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
1773 kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
1774 kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
1775 kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
1776 khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~,
1777 kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i,
1778 nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300,
1779 ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
1780 rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
1781 rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1782 sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
1783 smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1785 vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy,
1787 is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
1788 rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
1790 # We have to init 132-col mode, not 80-col mode.
1791 vt320-w|vt300-w|dec vt320 wide 7 bit terminal,
1793 is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1794 rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1796 vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am,
1798 is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
1799 rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
1802 # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
1803 # which are pretty much a superset of the VT320. They have the
1804 # host writable status line, yet another different DRCS matrix size,
1805 # and such, but they add the DEC Technical character set, Multiple text
1806 # pages, selectable length pages, and the like. The difference between
1807 # the vt330 and vt340 is that the latter has only 2 planes and a monochrome
1808 # monitor, the former has 4 planes and a color monitor. These terminals
1809 # support VT131 and ANSI block mode, but as with much of these things,
1810 # termcap/terminfo doesn't deal with these features.
1812 # Note that this entry is are set up in what was the standard way for GNU
1813 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1814 # keys were switched into application mode at the same time the numeric pad
1815 # is switched into application mode. This changes the definitions of the
1816 # arrow keys. Emacs v19 is smarter and mines its keys directly out of
1817 # your termcap or terminfo entry,
1819 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1820 # (vt340: string capability "sb=\E[M" corrected to "sr";
1821 # also, added <rmam>/<smam> based on the init string -- esr)
1822 vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page,
1823 am, eslok, hs, mir, msgr, xenl, xon,
1824 cols#80, it#8, lines#24, vt#3,
1825 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1826 blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
1827 cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
1828 cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
1829 cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
1830 cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP,
1831 dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
1832 dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
1833 flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I,
1834 hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
1835 is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1836 kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1837 kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
1838 kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
1839 lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
1840 rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O,
1841 rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
1842 rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
1843 smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
1844 smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
1846 # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
1847 # (originally written with vt420 as its primary name, and usable for it).
1849 # VT400/420 -- This terminal is a superset of the vt320. It adds the multiple
1850 # text pages and long text pages with selectable length of the vt340, along
1851 # with left and right margins, rectangular area text copy, fill, and erase
1852 # operations, selected region character attribute change operations,
1853 # page memory and rectangle checksums, insert/delete column, reception
1854 # macros, and other features too numerous to remember right now. TERMCAP
1855 # can only take advantage of a few of these added features.
1857 # Note that this entry is are set up in what was the standard way for GNU
1858 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1859 # keys were switched into application mode at the same time the numeric pad
1860 # is switched into application mode. This changes the definitions of the
1861 # arrow keys. Emacs v19 is smarter and mines its keys directly out of
1862 # your termcap entry,
1864 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1865 # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
1866 # also, added <rmam>/<smam> based on the init string -- esr)
1867 vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap,
1868 am, eslok, hs, mir, msgr, xenl, xon,
1869 cols#80, it#8, lines#24, vt#3,
1870 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1871 blink=\E[5m, bold=\E[1m, civis=\E[?25l,
1872 clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M,
1873 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
1874 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
1875 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1876 cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
1877 dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>,
1878 el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
1879 home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
1880 il=\E[%p1%dL, il1=\E[L, ind=\ED,
1881 is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1882 kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1883 kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
1884 kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
1885 lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
1886 rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O,
1887 rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
1888 rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m,
1889 smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
1890 smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1891 tsl=\E[2$~\E[1$}\E[1;%dH,
1893 # (vt420: I removed <kf0>, it collided with <kf10>. I also restored
1894 # a missing <sc> -- esr)
1897 cols#80, lines#24, vt#3,
1898 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1899 bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
1900 clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
1901 cub1=^H, cud1=\E[B, cuf1=\E[C,
1902 cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
1903 dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
1904 if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
1905 is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
1906 kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
1907 kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
1908 kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
1909 kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
1910 kslt=\E[4~, rc=\E8, rev=\E[7m$<2>,
1911 rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>,
1912 rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
1913 rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
1914 rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
1915 sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
1916 sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
1917 smkx=\E=, smso=\E[7m, smul=\E[4m,
1920 # DEC VT220 and up support DECUDK (user-defined keys). DECUDK (i.e., pfx)
1921 # takes two parameters, the key and the string. Translating the key is
1922 # straightforward (keys 1-5 are not defined on real terminals, though some
1923 # emulators define these):
1925 # if (key < 16) then value = key;
1926 # else if (key < 21) then value = key + 1;
1927 # else if (key < 25) then value = key + 2;
1928 # else if (key < 27) then value = key + 3;
1929 # else if (key < 30) then value = key + 4;
1930 # else value = key + 5;
1932 # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT".
1933 # There's no provision in terminfo for emitting a string in this format, so the
1934 # application has to know it.
1936 vt420pc|DEC VT420 w/PC keyboard,
1937 kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~,
1938 kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~,
1939 kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~,
1940 kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~,
1941 kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~,
1942 kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~,
1943 kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~,
1944 kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~,
1945 kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~,
1946 kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~,
1947 kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~,
1948 kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~,
1949 kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
1950 kf8=\E[19~, kf9=\E[20~, khome=\E[H,
1951 pctrm=USR_TERM\:vt420pcdos\:,
1952 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,
1954 vt420pcdos|DEC VT420 w/PC for DOS Merge,
1956 dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;,
1958 rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@,
1959 sgr0=\E[m, smsc=\E[?1;2r\E[34h,
1962 vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys,
1963 kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
1964 kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
1965 kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
1966 kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
1967 kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
1968 khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS,
1973 vt510pc|DEC VT510 w/PC keyboard,
1975 vt510pcdos|DEC VT510 w/PC for DOS Merge,
1980 # The VT520 is a monochrome text terminal capable of managing up to
1981 # four independent sessions in the terminal. It has multiple ANSI
1982 # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
1983 # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
1984 # 925 910+, ADDS A2). This terminfo data is for the ANSI emulations only.
1986 # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
1987 # [Alt]/[Print Screen] depending upon which keyboard and which
1988 # terminal mode is being used. If Set-Up has been disabled or
1989 # assigned to an unknown key, Set-Up may be entered by pressing
1990 # [F3] as the first key after power up, regardless of keyboard type.
1991 # (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
1994 cols#80, lines#24, vt#3,
1995 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1996 bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
1997 clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
1998 cub1=^H, cud1=\E[B, cuf1=\E[C,
1999 cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
2000 dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
2001 if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
2002 is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
2003 kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2004 kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ,
2005 kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~,
2006 kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
2007 kpp=\E[5~, kslt=\E[4~,
2008 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\\,
2009 rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
2010 ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
2011 rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
2012 rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
2013 sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
2014 sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
2015 smso=\E[7m, smul=\E[4m,
2017 # (vt525: I added <rmam>/<smam> based on the init string;
2018 # removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
2021 cols#80, lines#24, vt#3,
2022 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2023 bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
2024 clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2025 cub1=^H, cud1=\E[B, cuf1=\E[C,
2026 cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
2027 dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
2028 if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
2029 is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
2030 kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2031 kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ,
2032 kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~,
2033 kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
2034 kpp=\E[5~, kslt=\E[4~,
2035 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\\,
2036 rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
2037 ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
2038 rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
2039 rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
2040 sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
2041 sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
2042 smso=\E[7m, smul=\E[4m,
2044 #### VT100 emulations
2047 # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
2048 # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
2049 # to telnetd. Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
2050 # that this works best with a stock vt100 entry.
2051 dec-vt100|EWAN telnet's vt100 emulation,
2054 # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
2055 dec-vt220|DOS tnvt200 terminal emulator,
2058 # Zstem340 is an (IMHO) excellent VT emulator for PC's. I recommend it to
2059 # anyone who needs PC VT340 emulation. (or anything below that level, for
2060 # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
2061 # RDBM systems, it includes ReGIS and SiXel support! I'm impressed...
2062 # I can send the address if requested.
2063 # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
2064 # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
2065 z340|zstem vt340 terminal emulator 132col 42line,
2067 is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
2068 rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
2070 z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins),
2072 is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
2073 rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
2076 # CRT is shareware. It implements some xterm features, including mouse.
2077 crt|crt-vt220|CRT 2.3 emulating VT220,
2080 hts=\EH, op=\E[39;49m, setab=\E[4%p1%dm,
2081 setaf=\E[3%p1%dm, setb=\E[4%p1%dm, setf=\E[3%p1%dm,
2082 u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
2085 # This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
2086 # T. Teranishi dated Mar 10, 1998. It is a free software terminal emulator
2087 # (communication program) which supports:
2089 # - Serial port connections.
2090 # - TCP/IP (telnet) connections.
2091 # - VT100 emulation, and selected VT200/300 emulation.
2092 # - TEK4010 emulation.
2093 # - File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
2095 # - Scripts using the "Tera Term Language".
2096 # - Japanese and Russian character sets.
2098 # The program does not come with terminfo or termcap entries. However, the
2099 # emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
2100 # vt52 or doublesize character support; blinking is done with color). Besides
2101 # the HPA, VPA extensions it also implements CPL and CNL.
2103 # All of the function keys can be remapped. This description shows the default
2104 # mapping, as installed. Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
2105 # are supported. F13-F20 are obtained by shifting F3-F10. The editing keypad
2106 # is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
2114 # ANSI colors are implemented, but cannot be combined with video attributes
2115 # except for reverse.
2117 # No fonts are supplied with the program, so the acsc string is chosen to
2118 # correspond with the default Microsoft terminal font.
2120 # Tera Term recognizes some xterm sequences, including those for setting and
2121 # retrieving the window title, and for setting the window size (i.e., using
2122 # "resize -s"), though it does not pass SIGWINCH to the application if the
2123 # user resizes the window with the mouse.
2124 teraterm|Tera Term Pro,
2127 acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
2128 blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
2129 cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
2130 cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
2131 dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
2132 flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG,
2133 il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~,
2134 kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
2135 kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
2136 kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~,
2137 kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
2138 kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
2139 kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM,
2140 rmso=\E[27m, rmul=\E[24m, sgr0=\E[m, smso=\E[7m,
2141 smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
2143 use=klone+color, use=vt100,
2145 # Tested with WinNT 4.0, the telnet application assumes the screensize is
2146 # 25x80. This entry uses the 'Terminal' font, to get line-drawing characters.
2147 ms-vt100|MS telnet imitating dec vt100,
2149 acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
2150 tbc@, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c,
2153 #### X terminal emulators
2155 # You can add the following line to your .Xdefaults to change the terminal type
2156 # set by the xterms you start up to my-xterm:
2158 # *termName: my-xterm
2160 # System administrators can change the default entry for xterm instances
2161 # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm. In either
2162 # case, xterm will detect and reject an invalid terminal type, falling back
2163 # to the default of xterm.
2166 # X10/6.6 11/7/86, minus alternate screen, plus (csr)
2167 # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
2168 # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
2169 # as these seem not to work -- esr)
2170 x10term|vs100-x10|xterm terminal emulator (X10 window system),
2171 am, km, mir, msgr, xenl, xon,
2172 cols#80, it#8, lines#65,
2173 bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
2174 cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
2175 cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
2176 dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
2177 il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H,
2178 kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
2179 kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l,
2180 rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
2181 sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
2182 smso=\E[7m, smul=\E[4m,
2183 # Compatible with the R5 xterm
2184 # (from the XFree86 3.2 distribution, <blink=@> removed)
2185 # added khome/kend, rmir/smir, rmul/smul based on the R5 xterm code - TD
2186 # corrected typos in rs2 string - TD
2187 xterm-r5|xterm R5 version,
2189 cols#80, it#8, lines#24,
2190 bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
2191 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2192 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2193 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2194 dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
2195 el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
2196 il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
2197 kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
2198 kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~,
2199 kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
2200 kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
2201 kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
2202 kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8,
2203 rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
2205 rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H,
2207 sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
2208 sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
2209 smul=\E[4m, tbc=\E[3g,
2210 # Compatible with the R6 xterm
2211 # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
2212 # added khome/kend - TD
2213 xterm-r6|xterm-old|xterm X11R6 version,
2214 am, km, mir, msgr, xenl,
2215 cols#80, it#8, lines#24,
2216 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2217 bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
2218 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2219 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2220 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2221 dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
2222 el=\E[K, enacs=\E)0, home=\E[H, ht=^I, il=\E[%p1%dL,
2224 is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H,
2225 kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2226 kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
2227 kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
2228 kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
2229 kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~,
2230 kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
2231 kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~,
2232 meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
2233 rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>,
2234 rmso=\E[m, rmul=\E[m,
2235 rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,
2236 sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
2237 smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
2238 u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
2239 # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
2240 # The name has been changed and some aliases have been removed.
2241 xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
2242 am, bce, km, mir, msgr, xenl,
2243 colors#8, cols#80, it#8, lines#24, pairs#64,
2244 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2245 bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
2246 clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
2247 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2248 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2249 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2250 cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
2251 dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
2252 enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H,
2253 hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
2254 il=\E[%p1%dL, il1=\E[L, ind=^J,
2255 is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
2256 ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq,
2257 kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2258 kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~,
2259 kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
2260 kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
2261 kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
2262 kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
2263 kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~,
2264 kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El,
2265 memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
2266 rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
2267 rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=^O,
2268 rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,
2269 setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
2270 setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
2271 setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
2272 sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
2273 sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
2274 smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
2275 tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
2278 # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
2279 # codes for F1-F4 except while in VT220 mode.
2280 xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System),
2281 kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
2284 # This version was released in XFree86 3.3.3 (November 1998).
2285 # Besides providing printer support, it exploits a new feature that allows
2286 # xterm to use terminfo-based descriptions with the titeInhibit resource.
2287 xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System),
2289 blink=\E[5m, ich1@, invis=\E[8m,
2290 is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kend=\E[4~,
2291 kfnd@, khome=\E[1~, kslt@, mc0=\E[i, mc4=\E[4i, mc5=\E[5i,
2292 rmcup=\E[?1047l\E[?1048l, rs1=\Ec,
2293 rs2=\E[!p\E[?3;4l\E[4l\E>,
2294 sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
2295 smcup=\E[?1048h\E[?1047h,
2298 # This beta version will probably be released in XFree86 4.0.
2299 xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System),
2300 ka1=\EOH, ka3=\E[5~, kb2=\EOE, kc1=\EOF, kc3=\E[6~,
2301 kdch1=\177, kend=\EOF, khome=\EOH, rmcup=\E[?1049l,
2303 use=xterm-xf86-v333,
2305 xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System),
2308 # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
2309 xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1,
2310 rmso=\E[m, rmul=\E[m,
2313 # This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
2314 xterm-16color|xterm with 16 colors like aixterm,
2315 colors#16, ncv#32, pairs#256,
2316 setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
2317 setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
2318 setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
2319 setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
2322 # This is another variant, for XFree86 4.0 xterm (T.Dickey)
2323 # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
2324 # To use it, your decTerminalID resource must be set to 200 or above.
2331 xterm-8bit|xterm terminal emulator 8-bit controls (X Window System),
2332 am, bce, km, mc5i, mir, msgr, xenl,
2333 colors#8, cols#80, it#8, lines#24, pairs#64,
2334 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2335 bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z,
2336 civis=\233?25l, clear=\233H\2332J, cnorm=\233?25h, cr=^M,
2337 csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H,
2338 cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C,
2339 cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A,
2340 cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P,
2341 dl=\233%p1%dM, dl1=\233M, ech=\233%p1%dX, ed=\233J,
2342 el=\233K, el1=\2331K, enacs=\E(B\E)0,
2343 flash=\233?5h\233?5l, home=\233H, hpa=\233%i%p1%dG,
2344 ht=^I, hts=\210, ich=\233%p1%d@, il=\233%p1%dL, il1=\233L,
2345 ind=^J, invis=\2338m,
2346 is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
2347 ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H,
2348 kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B,
2349 kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~,
2350 kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~,
2351 kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
2352 kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
2353 kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~,
2354 kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~,
2355 kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M,
2356 knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i,
2357 meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m,
2358 ri=\215, rmacs=^O, rmam=\233?7l, rmcup=\233?1049l,
2359 rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
2361 rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
2362 sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm,
2363 setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
2364 setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
2365 sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
2366 sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\233?1049h,
2367 smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m,
2368 tbc=\2333g, u6=\233[%i%d;%dR, u7=\E[6n, u8=\233[?1;2c,
2369 u9=\E[c, vpa=\233%i%p1%dd,
2371 xterm-24|vs100|xterms|xterm terminal emulator (X Window System),
2372 lines#24, use=xterm,
2374 # This is xterm for ncurses.
2375 xterm|xterm terminal emulator (X Window System),
2376 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2377 kmous=\E[M, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
2380 # These entries allow access to the X titlebar and icon name as a status line.
2381 # Note that twm (and possibly window managers descended from it such as tvtwm,
2382 # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
2384 xterm+sl|access X title line and icon name,
2387 dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm,
2388 xterm+sl-twm|access X title line (pacify twm-descended window managers),
2391 dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm,
2394 # The following xterm variants don't depend on your base version
2396 # xterm with bold instead of underline
2397 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
2398 smso=\E[7m, smul=\E[1m,
2400 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
2401 # (kterm should not invoke DEC Graphics as the alternate character set
2402 # -- Kenji Rikitake)
2403 kterm|kterm kanji terminal emulator (X window system),
2405 acsc@, csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs@, fsl=\E[?F,
2406 kmous=\E[M, op=\E[39;49m, rc=\E8, rmacs@, sc=\E7, smacs@,
2408 use=xterm-r6, use=klone+color,
2409 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
2410 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
2413 # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
2414 xterm1|xterm terminal emulator ignoring the alternate screen buffer,
2418 # This describes the capabilities of color_xterm, an xterm variant from
2419 # before ECMA-64 color support was folded into the main-line xterm release.
2420 # This entry is straight from color_xterm's maintainer.
2421 # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
2422 # The README's with the distribution also say that it supports SGR 21, 24, 25
2423 # and 27, but they are not present in the terminfo or termcap.
2424 color_xterm|cx|cx100|color_xterm color terminal emulator for X,
2425 am, km, mir, msgr, xenl,
2426 colors#8, cols#80, it#8, lines#65, pairs#64,
2427 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2428 bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
2429 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2430 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2431 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2432 dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
2433 el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I,
2434 ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
2435 is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy,
2436 kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB,
2437 kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~,
2438 kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
2439 kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
2440 kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~,
2441 kmous=\E[M, knp=\E[6~, kpp=\E[5~, op=\E[39;49m, rc=\E8,
2442 rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l,
2443 rmcup=\E>\E[?41;1r, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
2444 rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
2445 sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
2446 sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
2447 sgr0=\E[m, smacs=^N, smam=\E[?7h,
2448 smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m,
2451 # The 'nxterm' distributed with Redhat Linux is a slight rehack of
2452 # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
2453 # SGR 39 or 49. SGR 0 does reset colors (along with everything else). This
2454 # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
2455 # that each of those implements the home, end, delete keys differently.
2456 nxterm|xterm-color|generic color xterm,
2458 op=\E[m, use=xterm-r6, use=klone+color,
2460 # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
2461 # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
2464 # smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
2465 # but some applications don't work with that.
2466 # It also has an AIX extension
2470 # but the latter does not work correctly.
2472 # The distributed terminfo says it implements hpa and vpa, but they are not
2473 # implemented correctly, using relative rather than absolute positioning.
2475 # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
2476 # Since rxvt is not really compatible with xterm, it should be configured as
2477 # "rxvt" (monochrome) and "rxvt-color".
2478 rxvt-basic|rxvt terminal base (X Window System),
2479 am, bce, eo, km, mir, msgr, xenl, xon,
2480 cols#80, it#8, lines#24,
2481 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2482 bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
2483 clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
2484 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2485 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2486 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2487 cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
2488 dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
2489 flash=\E[?5h\E[?5l, home=\E[H, ht=^I, hts=\EH,
2490 ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
2491 is1=\E[?47l\E=\E[?1l,
2492 is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
2493 kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$,
2494 kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H,
2495 kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
2496 kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^,
2497 kend=\E[8~, kent=\EOM, kf0=\E[21~, kf1=\E[11~, kf10=\E[21~,
2498 kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
2499 kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
2500 kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
2501 kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
2502 kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~,
2503 kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8,
2504 rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8,
2505 rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
2506 rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
2507 rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>,
2508 s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N,
2509 smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m,
2510 smul=\E[4m, tbc=\E[3g,
2511 rxvt|rxvt terminal emulator (X Window System),
2513 op=\E[39;49m, setab=\E[%p1%{40}%+%dm,
2514 setaf=\E[%p1%{30}%+%dm, sgr0=\E[m\017, use=rxvt-basic,
2516 # These (xtermc and xtermm) are distributed with Solaris. They refer to a
2517 # variant of xterm which is apparently no longer supported, but are interesting
2518 # because they illustrate SVr4 curses mouse controls - T.Dickey
2519 xtermm|xterm terminal emulator (monocrome),
2520 am, km, mir, msgr, xenl,
2521 btns#3, cols#80, it#8, lines#24,
2522 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2523 bel=^G, blink=@, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
2524 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D,
2525 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2526 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2527 dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
2528 el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY,
2529 home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
2530 il=\E[%p1%dL, il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr,
2531 kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
2532 kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kent=\EOM, kf0=\EOy,
2533 kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ,
2534 kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
2535 kf9=\EOX, khome=\E[H, kmous=\E[^_, knp=\E[U, kpp=\E[V,
2536 rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM, rmacs=^O,
2537 rmcup=\E@0\E[?4r, rmso=\E[m,
2538 rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
2539 rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
2540 sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
2541 sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1,
2542 smso=\E[7m, tbc=\E[3g,
2544 xtermc|xterm terminal emulator (color),
2545 colors#8, ncv#7, pairs#64,
2546 op=\E[100m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
2547 setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
2548 setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
2551 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
2552 # Here's a termcap entry I've been using for xterm_color, which comes
2553 # with BSD/OS 2.0, and the X11R6 contrib tape too I think. Besides the
2554 # color stuff, I also have a status line defined as the window manager
2555 # title bar. [I have translated it to terminfo -- ESR]
2556 xterm-pcolor|xterm with color used for highlights and status line,
2557 bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m,
2559 use=xterm+sl, use=xterm-r6,
2561 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
2562 # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
2563 hpterm|X-hpterm|hp X11 terminal emulator,
2564 am, da, db, mir, xhp,
2565 cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0,
2566 acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M,
2567 cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC,
2568 cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK,
2569 hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H,
2570 kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
2571 kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
2572 kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
2573 khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
2574 knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El,
2575 memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
2576 pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
2577 pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
2578 pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET,
2579 rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@,
2581 sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
2582 sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
2583 smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
2585 # This entry describes an xterm with Sun-style function keys enabled
2586 # via the X resource setting "xterm*sunFunctionKeys:true"
2587 # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
2588 # The <kf13>...<kf20> keys are L3-L10. We don't set <kf16=\E[197z>
2589 # because we want it to be seen as <kcpy>.
2590 # The <kf31>...<kf45> keys are R1-R15. We treat some of these in accordance
2591 # with their Sun keyboard labels instead.
2592 # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
2593 xterm-sun|xterm with sunFunctionKeys true,
2594 kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z,
2595 kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z,
2596 kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z,
2597 kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z,
2598 kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z,
2599 kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z,
2600 kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z,
2601 kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
2602 kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z,
2603 knp=\E[222z, kpp=\E[216z, kund=\E[195z,
2605 xterms-sun|small (80x24) xterm with sunFunctionKeys true,
2606 cols#80, lines#24, use=xterm-sun,
2608 # This is for the extensible terminal emulator on the X11R6 contrib tape.
2609 emu|emu native mode,
2611 colors#15, cols#80, it#8, lines#24, pairs#64, vt#200,
2612 acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
2613 bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ,
2614 clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;,
2615 cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB,
2616 cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;,
2617 cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;,
2618 dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN,
2619 el=\EK, el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh,
2620 il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;,
2621 kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA,
2622 kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10,
2623 kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15,
2624 kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02,
2625 kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06,
2626 kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins,
2627 knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;,
2628 rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES,
2629 rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;,
2630 setaf=\Er%i%p1%d;, sgr0=\ES, smacs=\0, smir=\EY,
2631 smso=\ES\ET, smul=\ES\EV, tbc=\Ej,
2635 # MGR is a Bell Labs window system lighter-weight than X.
2636 # These entries describe MGR's xterm-equivalent.
2637 # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
2640 mgr|Bellcore MGR (non X) window system terminal emulation,
2642 bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M,
2643 csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er,
2644 cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h,
2645 dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>,
2646 dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u,
2647 ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>,
2648 il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
2649 kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S,
2650 rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n,
2652 mgr-sun|Mgr window with Sun keyboard,
2653 ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z,
2654 kc3=\E[222z, kcpy=\E197z, kend=\E[220z, kent=\E[250z,
2655 kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z,
2656 kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z,
2657 kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
2658 kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z,
2659 kopn=\E[198z, kpp=\E[216z, kund=\E[195z,
2661 mgr-linux|Mgr window with Linux keyboard,
2662 ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~,
2663 kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~,
2664 kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D,
2665 kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
2666 khome=\E[1~, knp=\E[6~, kpp=\E[5~,
2669 ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
2672 # Columbus UNIX virtual terminal. This terminal also appears in
2673 # UNIX 4.0 and successors as line discipline 1 (?), but is
2674 # undocumented and does not really work quite right.
2675 cbunix|cb unix virtual terminal,
2677 cols#80, lines#24, lm#0,
2678 bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
2679 cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL,
2680 el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB,
2681 kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A,
2682 smso=\Ea^D, smul=\Ea^A,
2683 # (vremote: removed obsolete ":nl@:" -- esr)
2684 vremote|virtual remote terminal,
2686 cols#79, use=cbunix,
2688 pty|4bsd pseudo teletype,
2689 cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!,
2690 smso=\Ea$, smul=\Ea!,
2693 # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
2694 eterm|gnu emacs term.el terminal emulation,
2697 bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
2698 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2699 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2700 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2701 dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
2702 el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
2703 il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m,
2704 rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
2705 sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
2708 # Entries for use by the FSF's `screen' program. The screen and
2709 # screen-w entries came with version 3.7.1. The screen2 and screen3 entries
2710 # come from University of Wisconsin and may be older.
2711 # (screen: added <cnorm> on ANSI model -- esr)
2713 screen|VT 100/ANSI X3.64 virtual terminal,
2714 am, km, mir, msgr, xenl,
2715 colors#8, cols#80, it#8, lines#24, pairs#64,
2716 acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2717 bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
2718 clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M,
2719 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2720 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2721 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
2722 cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
2723 dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
2724 flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
2725 il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
2726 kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP,
2727 kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR,
2728 kf4=\EOS, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
2729 kf9=\E[20~, khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~,
2730 kpp=\E[5~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
2731 rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m,
2732 rs2=\Ec, sc=\E7, sgr0=\E[m, smacs=^N, smir=\E[4h,
2733 smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g,
2736 screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
2737 cols#132, use=screen,
2739 screen2|old VT 100/ANSI X3.64 virtual terminal,
2740 cols#80, it#8, lines#24,
2741 cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H,
2742 cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
2743 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2744 dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
2745 el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
2746 il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
2747 kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
2748 kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
2749 nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
2750 rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h,
2751 smso=\E[3m, smul=\E[4m, tbc=\E[3g,
2752 # (screen3: removed unknown ":xv:LP:G0:" -- esr)
2753 screen3|older VT 100/ANSI X3.64 virtual terminal,
2755 cols#80, it#8, lines#24,
2756 bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
2757 cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2758 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2759 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
2760 dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
2761 el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
2762 il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
2763 kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
2764 kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
2765 rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec,
2766 sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,
2767 smul=\E[4m, tbc=\E[3g,
2769 # Francesco Potorti <F.Potorti@cnuce.cnr.it>:
2770 # NCSA telnet is one of the most used telnet clients for the Macintosh. It has
2771 # been maintained until recently by the National Center for Supercomputer
2772 # Applications, and it is feature rich, stable and free. It can be downloaded
2773 # from www.ncsa.edu. This terminfo description file is based on xterm-vt220,
2774 # xterm+sl, and the docs at NCSA. It works well.
2776 # NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
2777 # The terminal options should be set as follows:
2778 # Xterm sequences ON
2779 # use VT wrap mode ON
2780 # use Emacs arrow keys OFF
2781 # CTRL-COMND is Emacs meta ON
2783 # answerback string: "ncsa-vt220-8"
2784 # setup keys: all disabled
2786 # Application mode is not used.
2788 # Other special mappings:
2795 # PAGEDOWN Next Screen
2797 # Though it supports ANSI color, NCSA Telnet uses color to represent blinking
2800 # The status-line manipulation is a mapping of the xterm-compatible control
2801 # sequences for setting the window-title. So you must use tsl and fsl in
2802 # pairs, since the latter ends the string that is loaded to the window-title.
2803 ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
2804 am, hs, km, mir, msgr, xenl,
2805 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2806 bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
2807 clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
2808 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2809 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2810 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2811 dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
2812 dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
2813 flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH,
2814 ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
2815 il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>,
2816 is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H,
2817 kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2818 kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~,
2819 kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, kf14=\E[33~,
2820 kf15=\E[34~, kf2=\E[18, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~,
2821 kf6=\E23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~,
2822 khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i,
2823 rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM,
2824 rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l,
2825 rmso=\E[27m, rmul=\E[24m,
2826 rs2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, sc=\E7,
2827 sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
2828 sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7,
2829 smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;,
2830 u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?62;1;6c, u9=\E[c,
2831 ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
2832 use=ncsa-m, use=klone+color,
2833 ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
2835 dsl@, fsl@, tsl@, use=ncsa,
2836 ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
2838 dsl@, fsl@, tsl@, use=ncsa-m,
2840 # The documented function-key mapping refers to the Apple Extended Keyboard
2841 # (e.g., NCSA Telnet's F1 corresponds to a VT220 F6). We use the VT220-style
2842 # codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
2843 # some keyboards and many applications require these as F1-F4.
2845 ncsa-vt220|NCSA Telnet using vt220-compatible function keys,
2846 kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
2847 kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
2848 kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
2849 kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
2850 kf8=\E[19~, kf9=\E[20~,
2853 #### Pilot Pro Palm-Top
2855 # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
2856 pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional,
2859 bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J,
2860 cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I,
2861 ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s,
2864 ######## COMMERCIAL WORKSTATION CONSOLES
2870 # This is from the OSF/1 Release 1.0 termcap file
2871 pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation,
2874 bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
2875 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
2876 el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H,
2877 kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
2878 nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m,
2883 # :is1: resets scrolling region in case a previous user had used "tset vt100"
2884 oldsun|Sun Microsystems Workstation console,
2886 cols#80, it#8, lines#34,
2887 bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
2888 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
2889 dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
2890 ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
2891 is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2892 kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
2893 rmso=\E[m, sgr0=\E[m, smso=\E[7m,
2894 # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
2895 # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
2896 # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
2897 sun-il|Sun Microsystems console with working insert-line,
2900 bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
2901 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
2902 dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
2903 ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
2904 kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
2905 kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z,
2906 kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z,
2907 kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z,
2908 kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z,
2909 knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z,
2910 kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s,
2911 sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
2912 sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t,
2913 # On a SparcStation 5, <il1>/<il> flake out on the last line.
2914 # Unfortunately, without them the terminal has no way to scroll.
2915 sun-ss5|Sun SparcStation 5 console,
2916 il@, il1@, use=sun-il,
2917 # If you are using an SS5, change the sun definition to use sun-ss5.
2918 sun|sun1|sun2|Sun Microsystems Inc. workstation console,
2921 # From: <john@ucbrenoir> Tue Sep 24 13:14:44 1985
2922 sun-s|Sun Microsystems Workstation window with status line,
2924 dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun,
2925 sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs,
2927 dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,
2928 sun-48|Sun 48-line window,
2929 cols#80, lines#48, use=sun,
2930 sun-34|Sun 34-line window,
2931 cols#80, lines#34, use=sun,
2932 sun-24|Sun 24-line window,
2933 cols#80, lines#24, use=sun,
2934 sun-17|Sun 17-line window,
2935 cols#80, lines#17, use=sun,
2936 sun-12|Sun 12-line window,
2937 cols#80, lines#12, use=sun,
2938 sun-1|Sun 1-line window for sysline,
2941 dsl=^L, fsl=\E[K, tsl=^M, use=sun,
2942 sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character,
2943 ich1@, rmir@, smir@,
2945 sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,
2947 rmcup=\E[>4h, smcup=\E[>4l, use=sun,
2952 # (wsiris: this had extension capabilities
2953 # :HS=\E7F2:HE=\E7F7:\
2954 # :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
2955 # See the note on Iris extensions near the end of this file.
2956 # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> &
2957 # <flash> from BRL -- esr)
2958 wsiris|iris40|iris emulating a 40 line visual 50 (approximately),
2960 cols#80, it#8, lines#40,
2961 bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB, cuf1=\EC,
2962 cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E;,
2963 dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK,
2964 flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL,
2965 ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB,
2966 kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3,
2967 kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI,
2968 rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P,
2973 # Console terminal windows under the NeWS (Sun's Display Postscript windowing
2974 # environment). Note: these have nothing to do with Sony's News workstation
2978 # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
2979 # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
2980 psterm|psterm-basic|NeWS psterm-80x34,
2982 cols#80, it#8, lines#34,
2983 blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;,
2984 cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY,
2985 dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl,
2986 home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D,
2987 kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr,
2988 ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^],
2989 sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu,
2991 psterm-96x48|NeWS psterm 96x48,
2992 cols#96, lines#48, use=psterm,
2993 psterm-90x28|NeWS psterm 90x28,
2994 cols#90, lines#28, use=psterm,
2995 psterm-80x24|NeWS psterm 80x24,
2996 cols#80, lines#24, use=psterm,
2997 # This is a faster termcap for psterm. Warning: if you use this termcap,
2998 # some control characters you type will do strange things to the screen.
2999 # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
3000 psterm-fast|NeWS psterm fast version (flaky ctrl chars),
3002 cols#80, it#8, lines#34,
3003 blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;,
3004 cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y,
3005 dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I,
3006 il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
3007 kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni,
3008 rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi,
3009 smso=^Oo, smul=^Ou, tsl=^Ol,
3013 # Use `glasstty' for the Workspace application
3016 # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
3019 cols#80, it#8, lines#24,
3020 bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
3021 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
3022 ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
3023 rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m,
3024 nextshell|NeXT Shell application,
3027 bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H,
3030 #### Sony NEWS workstations
3033 # (news-unk: this had :KB=news: -- esr)
3034 news-unk|SONY NEWS vt100 emulator common entry,
3037 bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
3038 csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
3039 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
3040 ed=\E[J, el=\E[K, home=\E[H, ht=^I,
3041 if=/usr/lib/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
3042 is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD,
3043 kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP,
3044 kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV,
3045 kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM,
3046 rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
3047 smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
3049 # (news-29: this had :TY=ascii: --esr)
3051 lines#29, use=news-unk,
3052 # (news-29-euc: this had :TY=euc: --esr)
3055 # (news-29-sjis: this had :TY=sjis: --esr)
3059 # (news-33: this had :TY=ascii: --esr)
3061 lines#33, use=news-unk,
3062 # (news-33-euc: this had :TY=euc: --esr)
3065 # (news-33-sjis: this had :TY=sjis: --esr)
3069 # (news-42: this had :TY=ascii: --esr)
3071 lines#42, use=news-unk,
3072 # (news-42-euc: this had :TY=euc: --esr)
3075 # (news-42-sjis: this had :TY=sjis: --esr)
3079 # NEWS-OS old termcap entry
3081 # (news-old-unk: this had :KB=news:TY=sjis: --esr)
3082 news-old-unk|SONY NEWS vt100 emulator common entry,
3085 bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M,
3086 csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
3087 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
3088 home=\E[H, ht=^I, if=/usr/lib/tabset/vt100, kbs=^H,
3089 kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
3090 kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM,
3091 rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
3092 smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
3094 # (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
3095 nwp512|news|nwp514|news40|vt100-bm|sony vt100 emulator 40 lines,
3097 is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk,
3099 # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
3100 nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line,
3102 is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, use=news-old-unk,
3104 # (nwp-512-o: this had :KB=nwp410:DE=^H: I interpret the latter as <OTbs>. --esr)
3105 nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines,
3107 is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk,
3109 # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
3110 nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines,
3112 is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk,
3114 # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
3115 # also the alias vt100-bm.
3116 nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|sony vt100 emulator 33 lines,
3118 is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8, use=news-old-unk,
3120 # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
3121 nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|sony vt100 emulator 33 lines,
3123 is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk,
3125 # (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
3126 news28|sony vt100 emulator 28 lines,
3128 is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8, use=news-old-unk,
3130 # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
3131 news29|news28-a|sony vt100 emulator 29 lines,
3133 is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8, use=news-old-unk,
3135 # (news511: this had :TY=sjis: --esr)
3136 nwp511|nwp-511|nwp-511 vt100,
3139 clear=\E[;H\E[2J$<20/>, cuf1=\E[C,
3140 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M,
3141 ed=\E[J$<30/>, el=\E[K$<3/>,
3142 flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
3143 il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D,
3144 kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
3145 kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H,
3146 ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
3147 smso=\E[7m$<2/>, smul=\E[4m$<2/>,
3148 # (news517: this had :TY=sjis:. --esr)
3149 nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows,
3152 dsl=\E[1$~, fsl=\E[0$},
3153 is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
3156 # (news517-w: this had :TY=sjis:. --esr)
3157 nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows,
3160 dsl=\E[1$~, fsl=\E[0$},
3161 is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
3165 #### Common Desktop Environment
3168 # This ships with Sun's CDE in Solaris 2.5
3169 # Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
3170 dtterm|CDE desktop terminal,
3171 am, mir, msgr, xenl, xon,
3172 colors#8, cols#80, it#8, lines#24, lm#0, pairs#64,
3173 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3174 bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
3175 clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
3176 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3177 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3178 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3179 dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
3180 dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
3181 enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H,
3182 ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
3183 ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l,
3184 kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
3185 kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
3186 kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
3187 kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
3188 kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
3189 kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3190 kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
3191 kslt=\E[4~, nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
3192 rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m,
3193 rmul=\E[24m, sc=\E7, setab=\E[%p1%{40}%+%dm,
3194 setaf=\E[%p1%{30}%+%dm,
3195 sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
3196 sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
3197 smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
3199 #### Non-Unix Consoles
3202 # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
3203 # a Unix-style environment used on OS/2. (Note that the suffix makes some
3204 # names longer than 14 characters, the nominal maximum).
3206 # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
3207 ansi-emx|ANSI.SYS color,
3208 am, bce, eo, mir, msgr, xenl, xon,
3209 colors#16, cols#80, it#8, lines#25, pairs#64,
3210 bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
3211 clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
3212 cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
3213 dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
3214 home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
3215 kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
3216 kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
3217 kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
3218 knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m,
3219 rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m,
3220 rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm,
3221 setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h,
3222 smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m,
3223 tbc=\E[3g, u8=\E[?6c, u9=\E[c,
3224 ansi-color-2-emx|ANSI.SYS color 2,
3225 am, bce, eo, mir, msgr, xenl, xon,
3226 colors#16, cols#80, it#8, lines#25, pairs#64,
3227 bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
3228 clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
3229 cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
3230 dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
3231 home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
3232 kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
3233 kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
3234 kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
3235 knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m,
3236 rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;44m,
3237 rmul=\E[0;37;44m, rs1=\Ec, setab=\E[4%p1%dm,
3238 setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smir=\E[4h,
3239 smpch=\E[11m, smso=\E[1;37;46m, smul=\E[1;36;44m,
3240 tbc=\E[3g, u8=\E[?6c, u9=\E[c,
3241 ansi-color-3-emx|ANSI.SYS color 3,
3242 am, bce, eo, mir, msgr, xenl, xon,
3243 colors#16, cols#80, it#8, lines#25, pairs#64,
3244 bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
3245 clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
3246 cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
3247 dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
3248 home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
3249 kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
3250 kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
3251 kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
3252 knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m,
3253 rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;40m,
3254 rmul=\E[0;37;40m, rs1=\Ec, setab=\E[4%p1%dm,
3255 setaf=\E[3%p1%dm, sgr0=\E[0;10m, smir=\E[4h,
3256 smpch=\E[11m, smso=\E[1;37;46m, smul=\E[0;36;40m,
3257 tbc=\E[3g, u8=\E[?6c, u9=\E[c,
3258 mono-emx|stupid monochrome ansi terminal with only one kind of emphasis,
3260 cols#80, it#8, lines#24,
3261 clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
3262 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
3263 ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M,
3264 kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>,
3265 kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G,
3266 kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m,
3269 # Use this for cygwin32 (tested with beta 19.1)
3270 # underline is colored bright magenta
3271 # shifted kf1-kf12 are kf11-kf22
3272 cygwin|ansi emulation for cygwin32,
3273 kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
3274 kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
3275 kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
3276 kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
3277 kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
3278 kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3279 khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmam@, smam@,
3282 # This entry fits the Windows NT console when the _POSIX_TERM environment
3283 # variable is set to 'on'. While the Windows NT POSIX console is seldom used,
3284 # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
3285 # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
3286 # systems is not, and (surprise!) they match very well.
3288 # See: MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
3289 # VI POSIX Editor for Windows NT 3.1". True to Microsoft form, not only
3290 # are the installation instructions a pile of mind-numbing bureaucratese,
3291 # but the termcap entry is actually broken and unusable as given; the :do:
3292 # capability is misspelled "d".
3294 # To use this, you need to a bunch of environment variables:
3296 # SET _POSIX_TERM=on
3298 # SET TERMCAP=location of termcap file in POSIX file format
3299 # which is case-sensitive.
3300 # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
3303 # Important note: setting the TMP environment variable in POSIX style renders
3304 # it incompatible with a lot of other applications, including Visual C++. So
3305 # you should have a separate command window just for vi. All the other
3306 # variables may be permanently set in the Control Panel\System applet.
3308 # You can find out more about the restrictions of this facility at
3309 # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
3311 # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
3312 ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode,
3314 cols#80, it#8, lines#25,
3315 bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
3316 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
3317 home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V,
3318 kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m,
3319 ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m,
3321 ######## COMMON TERMINAL TYPES
3323 # This section describes terminal classes and maker brands that are still
3324 # quite common, but have proprietary command sets not blessed by ANSI.
3329 # Altos made a moderately successful line of UNIX boxes. In 1990 they were
3330 # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
3331 # Acer has a web site at http://www.acer.com.
3333 # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
3334 # His comments suggest they were shipped with the system.
3337 # (altos2: had extension capabilities
3338 # :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
3339 # :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
3340 # :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
3341 # :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
3342 # :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
3343 # :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
3344 # :HL=^AP\r:SP=\E[i:\
3345 # :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
3346 # :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
3347 # Comparison with the k* capabilities makes it obvious that the c* things are
3348 # shift keys. I have renamed them to keys 32 and up accordingly. Also,
3349 # :sr: was given as a boolean-- esr)
3350 altos2|alt2|altos-2|altos II,
3351 cols#80, it#8, lines#24, xmc#0,
3352 clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C,
3353 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M,
3354 ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
3355 if=/usr/share/tabset/vt100, il1=\E[L, ind=^J,
3356 is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r,
3357 kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D,
3358 kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r,
3359 kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
3360 kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
3361 kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
3362 kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
3363 kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r,
3364 nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
3365 smam=\E[?7h, smso=\E[7m, smul=\E[4m,
3366 # (altos3: had extension capabilities
3367 # :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
3368 # :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
3369 # :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
3370 # :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
3371 # :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
3372 # :HL=^AP\r:SP=\E[i:\
3373 # :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
3374 altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,
3375 blink=\E[5p, ri=\EM, sgr0=\E[p,
3377 altos4|alt4|altos-4|altos IV,
3379 # (altos7: had extension capabilities:
3380 # :GG#0:GI=\EH8:GF=\EH7:\
3381 # :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
3382 # :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
3383 # :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
3384 # :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
3385 # Comparison with the k* capabilities makes it obvious that the c* things are
3386 # shift keys. I have renamed them to keys 32 and up accordingly. I have
3387 # also made this entry relative to adm12 in order to give it an <sgr>. The
3388 # <invis> imported by use=adm+sgr may work, let me know. -- esr)
3389 altos7|alt7|altos VII,
3391 cols#80, lines#24, xmc#0,
3392 acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt,
3393 clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
3394 cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
3395 dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE,
3397 is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r,
3398 kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H,
3399 kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r,
3400 kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
3401 kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
3402 kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
3403 kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
3404 kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r,
3405 knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej,
3408 altos7pc|alt7pc|altos PC VII,
3409 kend=\ET, use=altos7,
3411 #### Hewlett-Packard (hp)
3414 # 8000 Foothills Blvd
3415 # Roseville, CA 95747
3416 # Vox: 1-(916)-785-4363 (Technical response line for VDTs)
3417 # 1-(800)-633-3600 (General customer support)
3420 # Generic HP terminal - this should (hopefully) work on any HP terminal.
3421 hpgeneric|hp|hewlett-packard generic terminal,
3422 am, da, db, mir, xhp,
3423 cols#80, lines#24, lm#0, vt#6,
3424 bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
3425 cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM,
3426 ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
3427 ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@,
3428 sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3,
3431 hp110|hewlett-packard model 110 portable,
3432 lines#16, use=hpgeneric,
3434 hp+pfk+cr|hp function keys with CR,
3435 kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r,
3436 kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,
3438 hp+pfk-cr|hp function keys w/o CR,
3439 kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,
3442 # The hp2621s use the same keys for the arrows and function keys,
3443 # but not separate escape sequences. These definitions allow the
3444 # user to use those keys as arrow keys rather than as function
3446 hp+pfk+arrows|hp alternate arrow definitions,
3447 kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@,
3448 kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r,
3449 kll=\Eq\r, kri=\Es\r,
3451 hp+arrows|hp arrow definitions,
3452 kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
3453 kind=\ES, kll=\EF, kri=\ET,
3455 # Generic stuff from the HP 262x series
3457 hp262x|HP 262x terminals,
3459 blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES,
3460 invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
3461 kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
3462 kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET,
3463 krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
3464 sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c,
3465 sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD,
3467 # Note: no <home> on HPs since that homes to top of memory, not screen.
3468 # Due to severe 2621 braindamage, the only way to get the arrow keys to
3469 # transmit anything at all is to turn on the function key labels
3470 # with <smkx>, and even then the user has to hold down shift!
3471 # The default 2621 turns off the labels except when it has to to
3472 # enable the function keys. If your installation prefers labels
3473 # on all the time, or off all the time (at the "expense" of the
3474 # function keys), use 2621-nl or 2621-wl.
3476 # Note: there are newer ROMs for 2621's that allow you to set
3477 # strap A so the regular arrow keys xmit \EA, etc, as with the
3478 # 2645. However, even with this strap set, the terminal stops
3479 # xmitting if you reset it, until you unset and reset the strap!
3480 # Since there is no way to set/unset the strap with an escape
3481 # sequence, we don't use it in the default.
3482 # If you like, you can use 2621-ba (brain-damaged arrow keys).
3483 hp2621-ba|2621 w/new rom and strap A set,
3484 rmkx@, smkx@, use=hp+arrows,
3487 # hp2621 with function labels. Most of the time they are off,
3488 # but inside vi, the function key labels appear. You have to
3489 # hold down shift to get them to xmit.
3490 hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,
3491 is2=\E&jA\r, rmkx=\E&jA,
3496 cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>,
3497 ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@,
3498 sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD,
3499 use=hp+pfk+cr, use=hpgeneric,
3501 # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
3502 hp2621p|hp 2621 with printer,
3503 mc4=\E&p13C, mc5=\E&p11C, use=hp2621,
3505 hp2621p-a|hp2621p with fn as arrows,
3506 use=hp+pfk+arrows, use=hp2621p,
3508 # hp2621 with k45 keyboard
3509 hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard,
3510 kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
3511 khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A,
3514 # 2621 using all 48 lines of memory, only 24 visible at any time.
3515 hp2621-48|48 line 2621,
3517 cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, use=hp2621,
3519 # 2621 with no labels ever. Also prevents vi delays on escape.
3520 hp2621-nl|hp 2621 with no labels,
3521 kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, use=hp2621-fl,
3523 # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
3526 hp2621-nt|hp 2621 w/no tabs,
3529 # Hp 2624 B with 4 or 10 pages of memory.
3531 # Some assumptions are made with this entry. These settings are
3532 # NOT set up by the initialization strings.
3534 # Port Configuration
3539 # Terminal Configuration
3545 # Note: the 2624 DOES have a true <home>, believe it or not!
3547 # The 2624 has an "error line" to which messages can be sent.
3548 # This is CLOSE to what is expected for a "status line". However,
3549 # after a message is sent to the "error line", the next carriage
3550 # return is EATEN and the "error line" is turned back off again!
3551 # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
3553 # This entry supports emacs (and any other program that uses raw
3554 # mode) at 4800 baud and less. I couldn't get the padding right
3557 # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
3558 hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B,
3561 flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, use=hp+labels, use=scrhp,
3563 # This hp2626 entry does not use any of the fancy windowing stuff
3566 # Indeed, terminfo does not yet handle such stuff. Since changing
3567 # any window clears memory, it is probably not possible to use
3568 # this for screen opt.
3570 # ed is incredibly slow most of the time - I am guessing at the
3571 # exact padding. Since the terminal uses xoff/xon this is intended
3572 # only for cost computation, so that the terminal will prefer el
3573 # or even dl1 which is probably faster!
3575 # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
3576 # extra slow on the last line of the window.
3578 # The padding probably should be changed.
3580 hp2626|hp2626a|hp2626p|hp 2626,
3583 ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>,
3584 is2=\E&j@\r, rin=\E&r%p1%dU,
3585 use=hp+pfk+cr, use=hp+labels, use=scrhp,
3587 # This entry is for sysline. It allocates a 23 line window with
3588 # a 115 line workspace for regular use, and a 1 line window for
3591 # This assumes port 2 is being used.
3592 # Turn off horizontal line, Create ws #1 with 115 lines,
3593 # Create ws #2 with 1 line, Create window #1 lines 1-23,
3594 # Create window #2 lines 24-24, Attach cursor to workspace #1.
3595 # Note that this clears the tabs so it must be done by tset before
3598 hp2626-s|hp 2626 using only 23 lines,
3601 fsl=\E&d@\E&w7f2p1I\E&w4f1I,
3602 is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
3603 tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC,
3605 # Force terminal back to 24 lines after being 23.
3606 hp2626-ns|hp 2626 using all 24 lines,
3607 is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, use=hp2626,
3608 # Various entries useful for small windows on 2626.
3609 hp2626-12|hewlett-packard 2626 12 lines,
3610 lines#12, use=hp2626,
3611 hp2626-12x40|hewlett-packard 2626 12 lines 40 columns,
3612 cols#40, lines#12, use=hp2626,
3613 hp2626-x40|hewlett-packard 2626 40 columns,
3614 cols#40, use=hp2626,
3615 hp2626-12-s|hewlett-packard 2626 11 lines plus status,
3616 lines#11, use=hp2626-s,
3619 # hp2627 color tubes from University of Wisconsin
3621 hp2627a-rev|hp 2627 with reverse video colors,
3622 cr=^M, cud1=^J, ht=^I, ind=^J,
3623 is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r,
3624 kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@,
3627 hp2627a|hp 2627 color terminal with no labels,
3628 cr=^M, cud1=^J, ht=^I, ind=^J,
3629 is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r,
3630 kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S,
3631 rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S,
3633 hp2627c|hp 2627 color (cyan) terminal with no labels,
3634 cr=^M, cud1=^J, ht=^I, ind=^J,
3635 is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r,
3636 kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
3639 # hp2640a doesn't have the Y cursor addressing feature, and C is
3640 # memory relative instead of screen relative, as we need.
3643 cup@, rmkx@, smkx@, use=hp2645,
3645 hp2640b|hp2644a|hp 264x series,
3646 rmkx@, smkx@, use=hp2645,
3648 # (hp2641a: removed unknown :gu: -- esr)
3649 hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry,
3650 am, da, db, mir, xhp,
3652 bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
3653 cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,
3654 ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I,
3655 if=/usr/share/tabset/std, il1=\EL, ind=^J,
3656 is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
3657 rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB,
3660 # This terminal should be used at 4800 baud or less. It needs padding for
3661 # plain characters at 9600, I guessed at an appropriate cr delay. It really
3662 # wants ^E/^F handshaking, but that doesn't work well even if you write
3663 # software to support it.
3664 hp2645|hp45|HP 2645 series,
3666 blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED,
3667 kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
3668 ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL,
3669 kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB,
3671 sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c,
3672 sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD,
3674 # You should use this terminal at 4800 baud or less.
3675 hp2648|hp2648a|HP 2648a graphics terminal,
3676 clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
3677 dch1=\EP$<7>, ip=$<5>,
3680 # The HP 150 terminal is a fairly vanilla HP terminal, with the
3681 # clreol standout problem. It also has graphics capabilities and
3682 # a touch screen, which we don't describe here.
3683 hp150|hewlett packard Model 150,
3686 # HP 2382a terminals, "the little ones." They don't have any
3687 # alternate character set support and sending out ^N/^O will
3688 # leave the screen blank.
3689 hp2382a|hp2382|hewlett packard 2382a,
3693 pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
3695 sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c,
3697 use=hp+labels, use=scrhp,
3699 hp2621-a|hp2621a-a|hp2621 with fn as arrows,
3700 use=hp+pfk+arrows, use=hp2621-fl,
3702 # newer hewlett packard terminals
3704 newhpkeyboard|generic entry for HP extended keyboard,
3705 kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
3706 kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
3707 kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV,
3708 kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A,
3711 newhp|generic entry for new hewlett packard terminals,
3712 am, bw, mir, xhp, xon,
3713 cols#80, lines#24, pb#4800,
3714 acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x.,
3715 bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H,
3716 cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH,
3717 dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J,
3718 invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J,
3719 pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,
3720 pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,
3721 pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET,
3722 rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg,
3723 sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;,
3724 sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,
3728 memhp|memory relative addressing for new HP ttys,
3730 clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR,
3731 cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR,
3732 home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r,
3733 mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp,
3735 scrhp|screen relative addressing for new HP ttys,
3736 clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC,
3737 cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC,
3738 cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR,
3739 home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA,
3740 mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp,
3742 # (hp+labels: added label values from a BRL termcap -- esr)
3743 hp+labels|"standard" label info for new HP ttys,
3745 lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8,
3746 pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
3747 rmln=\E&j@, smln=\E&jB,
3749 hp+printer|"standard" printer info for HP ttys,
3750 ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,
3753 # The new hp2621b is kind of a cross between the old 2621 and the
3754 # new 262x series of machines. It has dip-switched options.
3755 # The firmware has a bug in it such that if you give it a null
3756 # length label, the following character is eaten!
3757 hp2621b|hp 2621b with old style keyboard,
3758 lh#1, lm#48, lw#8, nlab#8,
3759 kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
3760 kind=\ET, kll=\EF, kri=\ES,
3761 pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r,
3765 hp2621b-p|hp 2621b with printer,
3766 use=hp+printer, use=hp2621b,
3768 # hp2621b - new 2621b with new extended keyboard
3769 # these are closer to the new 26xx series than the other 2621b
3770 hp2621b-kx|hp 2621b with extended keyboard,
3771 use=newhpkeyboard, use=hp2621b,
3773 hp2621b-kx-p|hp 2621b with new keyboard & printer,
3774 use=hp+printer, use=hp2621b-kx,
3776 # Some assumptions are made in the following entries.
3777 # These settings are NOT set up by the initialization strings.
3779 # Port Configuration
3780 # RecvPace=Xon/Xoff XmitPace=Xon/Xoff StripNulDel=Yes
3782 # Terminal Configuration
3783 # InhHndShk(G)=Yes InhDC2(H)=Yes
3784 # XmitFnctn(A)=No InhEolWrp=No
3787 # Hp 2622a & hp2623a display and graphics terminals
3789 hp2622|hp2622a|hp 2622,
3792 is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp,
3794 # The 2623 is a 2622 with extra graphics hardware.
3795 hp2623|hp2623a|hp 2623,
3798 hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer,
3799 use=hp+printer, use=hp2624,
3801 # The hewlett packard B can have an optional extra 6 pages of memory.
3802 hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory,
3805 hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,
3806 lm#240, use=hp2624b-p,
3808 # Color manipulations for HP terminals
3809 hp+color|hp with colors,
3811 colors#16, ncv#17, pairs#7,
3812 initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a%?%p3%{1000}%=%t1%e.%p3%d%;b%?%p4%{1000}%=%t1%e.%p4%d%;c%?%p5%{1000}%=%t1%e.%p5%d%;x%?%p6%{1000}%=%t1%e.%p6%d%;y%?%p7%{1000}%=%t1%e.%p7%d%;z%p1%dI,
3813 oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
3814 op=\E&v0S, scp=\E&v%p1%dS,
3816 # <is2> sets the screen to be 80 columns wide
3817 hp2397a|hp2397|hewlett packard 2397A color terminal,
3819 use=memhp, use=hp+labels, use=hp+color,
3821 # HP 700/44 Setup parameters:
3822 # Terminal Mode HP-PCterm
3823 # Inhibit Auto Wrap NO
3824 # Status Line Host Writable
3825 # PC Character Set YES
3826 # Twenty-Five Line Mode YES
3827 # XON/XOFF @128 or 64 (sc)
3828 # Keycode Mode NO or YES (sc)
3829 # Backspace Key BS or BS/DEL
3831 # <is2> sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
3832 # \E\\? does not turn off keycode mode
3833 # <smsc> sets alternate start/stop; keycode on
3834 hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,
3837 acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
3838 bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H,
3839 cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
3840 cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
3841 ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
3843 is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\,
3844 kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
3845 kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
3846 kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~,
3847 kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~,
3848 kpp=\E[5~, rmam=\E[?7l,
3849 rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m,
3850 rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
3851 smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m,
3852 smul=\E[4m, xoffc=g, xonc=e,
3854 # (hp2392: copied <rmir> here from hpex -- esr)
3857 cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r,
3858 kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,
3859 kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV,
3860 rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY,
3863 hpsub|hp terminals -- capability subset,
3864 am, da, db, mir, xhp, xon,
3866 bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
3867 cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
3868 ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J,
3869 is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB,
3870 kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@,
3871 sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB,
3874 # May be used for most 24 x 80 hp terminals,
3875 # but has no padding added, so may allow runover in some terminals at high
3876 # baud rates. Will not work for hp2640a or hp2640b terminals, hp98x6 and
3877 # hp98x5 terminal emulators or hp98x6 consoles.
3878 # Adds xy-cursor addressing, vertical cursor addressing, home,
3879 # last line, and underline capabilities.
3881 # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
3882 # moved <rmir> here from hpsub -- esr)
3883 hpex|hp extended capabilites,
3884 cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H,
3885 kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ,
3886 smul=\E&dD, vpa=\E&a%p1%dY,
3889 # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
3890 hp2|hpex2|hewlett-packard extended capabilities newer version,
3891 am, da, db, mir, xhp,
3892 cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0,
3893 bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
3894 cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
3895 dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
3896 il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
3897 kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
3898 ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
3899 kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
3900 kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
3901 krmir=\ER, ktbc=\E3, meml=\El, memu=\Em,
3902 pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
3903 pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
3904 pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
3905 pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A,
3906 rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
3907 sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
3908 sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB,
3909 smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
3912 # From: <ddavis@ic.berkeley.edu>
3913 hp236|hp236 internal terminal emulator,
3916 clear=\EF, cnorm=\EDE, cub1=^H,
3917 cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB,
3918 dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI,
3919 sgr0=\ECI, smso=\EBI,
3921 # This works on a hp300 console running Utah 4.3 BSD
3922 # From: Craig Leres <leres@okeeffe.berkeley.edu>
3923 hp300h|HP Catseye console,
3924 am, da, db, mir, xhp,
3925 cols#128, lines#51, lm#0, xmc#0,
3926 bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
3927 cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
3928 dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I,
3929 if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H,
3930 kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
3931 rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@,
3932 smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3,
3934 # From: Greg Couch <gregc@ernie.berkeley.edu>
3935 hp9837|hp98720|hp98721|HP 9000/300 workstations,
3936 am, da, db, mir, xhp,
3937 cols#128, it#8, lines#46, lm#0,
3938 bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB,
3939 cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
3940 dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
3941 il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED,
3942 kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
3943 ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU,
3944 kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@,
3945 sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD,
3946 tbc=\E3, vpa=\E&a%p1%dY,
3947 # HP 9845 desktop computer from BRL
3948 # (hp9845: removed unknown capability :gu: -- esr)
3950 am, da, db, eo, mir, xhp,
3952 clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA,
3953 dch1=\EP, dl1=\EM, ed=\EJ, el=\EK,
3954 if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@,
3955 smir=\EQ, smso=\E&dB,
3956 # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
3957 # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
3958 # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
3959 hp98550|hp98550a|HP 9000 Series 300 color console,
3960 am, da, db, mir, xhp,
3961 cols#128, it#8, lines#49, lm#0,
3962 acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR,
3963 clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
3964 cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
3965 dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
3966 if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds,
3967 kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
3968 kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
3969 kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
3970 khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
3971 knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ,
3972 rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
3973 sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ,
3974 smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
3975 # From: Victor Duchovni <vic@fine.princeton.edu>
3976 # (hp700-wy: removed obsolete ":nl=^J:";
3977 # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
3978 hp700-wy|HP700/41 emulating wyse30,
3980 cols#80, it#8, lines#24, xmc#1,
3981 cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
3982 cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
3983 dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1,
3984 if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>,
3985 is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI,
3986 kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY,
3987 kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K,
3988 ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
3989 sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
3990 smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
3991 # (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
3992 hp70092|hp70092a|hp70092A|70092|HP 700/92,
3994 cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
3995 acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA,
3996 bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H,
3997 cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA,
3998 dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I,
3999 hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
4000 kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
4001 ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
4002 kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
4003 kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
4004 krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER,
4005 rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
4006 sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
4007 smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
4009 bobcat|sbobcat|HP 9000 model 300 console,
4010 am, da, db, mir, xhp,
4011 cols#128, it#8, lines#47, xmc#0,
4012 cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
4013 cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>,
4014 ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>,
4015 ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
4016 khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@,
4017 rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB,
4018 smul=\E&dD, vpa=\E&a%dY$<6/>,
4019 gator-t|HP 9000 model 237 emulating extra-tall AAA,
4020 lines#94, use=gator,
4021 gator|HP 9000 model 237 emulating AAA,
4023 cols#128, it#8, lines#47,
4024 bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J,
4025 cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM,
4026 dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>,
4027 dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`,
4028 ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>,
4029 il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
4030 rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m,
4031 rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
4032 gator-52|HP 9000 model 237 emulating VT52,
4033 cols#128, lines#47, use=vt52,
4034 gator-52t|HP 9000 model 237 emulating extra-tall VT52,
4035 lines#94, use=gator-52,
4039 # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
4042 # Honeywell Bull terminal. Its cursor and function keys send single
4043 # control characters and it has standout/underline glitch. Most programs
4044 # do not like these features/bugs. Visual bell is realized by flashing the
4045 # "keyboard locked" LED.
4046 dku7003-dumb|Honeywell Bull DKU 7003 dumb mode,