source: Daodan/MinGW/msys/1.0/etc/termcap@ 1065

Last change on this file since 1065 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 90.0 KB
RevLine 
[1046]1######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
2#
3# This version of terminfo.src is distributed with ncurses and is maintained
4# by Thomas E. Dickey (TD).
5#
6# Report bugs and new terminal descriptions to
7# bug-ncurses@gnu.org
8#
9# $Revision: 1.354 $
10# $Date: 2009/10/31 17:28:35 $
11#
12# The original header is preserved below for reference. It is noted that there
13# is a "newer" version which differs in some cosmetic details (but actually
14# stopped updates several years ago); we have decided to not change the header
15# unless there is also a change in content.
16#
17# To further muddy the waters, it is noted that changes to this file as part of
18# maintenance of ncurses (since 1996) are generally conceded to be copyright
19# under the ncurses MIT-style license. That was the effect of the agreement
20# which the principal authors of ncurses made in 1998. However, since much of
21# the file itself is of unknown authorship (and the disclaimer below makes it
22# obvious that Raymond cannot or will not convey rights over those parts),
23# there is no explicit copyright notice on the file itself.
24#
25# It would also be a nuisance to split the file into unknown/known authorship
26# and move pieces as they are maintained, since many of the maintenance changes
27# have been small corrections to Raymond's translations to/from termcap format,
28# correcting the data but not the accompanying annotations.
29#
30# In any case, note that almost half of this file is not data but annotations
31# which reflect creative effort. Furthermore, the structure of entries to
32# reuse common chunks also is creative (and subject to copyright). Finally,
33# some portions of the data are derivative work under a compatible MIT-style
34# license from xterm.
35#
36#------------------------------------------------------------------------------
37# Version 10.2.1
38# terminfo syntax
39#
40# Eric S. Raymond (current maintainer)
41# John Kunze, Berkeley
42# Craig Leres, Berkeley
43#
44# Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu
45# address is no longer valid. The latest version can always be found at
46# <http://www.tuxedo.org/terminfo>.
47#
48# PURPOSE OF THIS FILE:
49#
50# This file describes the capabilities of various character-cell terminals,
51# as needed by software such as screen-oriented editors.
52#
53# Other terminfo and termcap files exist, supported by various OS vendors
54# or as relics of various older versions of UNIX. This one is the longest
55# and most comprehensive one in existence. It subsumes not only the entirety
56# of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
57# termcap file, but also large numbers of vendor-maintained termcap and
58# terminfo entries more complete and carefully tested than those in historical
59# termcap/terminfo versions.
60#
61# Pointers to related resources (including the ncurses distribution) may
62# be found at <http://www.tuxedo.org/terminfo>.
63#
64# INTERNATIONALIZATION:
65#
66# This file uses only the US-ASCII character set (no ISO8859 characters).
67#
68# This file assumes a US-ASCII character set. If you need to fix this, start
69# by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
70# for your character set. \E(A and \E)A enables the British character set
71# with the pound sign at position 2/3.
72#
73# In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
74# C1 characters are considered the first-byte set of the Japanese encodings,
75# so \E)0 should be avoided in <enacs> and initialization strings.
76#
77# FILE FORMAT:
78#
79# The version you are looking at may be in any of three formats: master
80# (terminfo with OT capabilities), stock terminfo, or termcap. You can tell
81# which by the format given in the header above.
82#
83# The master format is accepted and generated by the terminfo tools in the
84# ncurses suite; it differs from stock (System V-compatible) terminfo only
85# in that it admits a group of capabilities (prefixed `OT') equivalent to
86# various obsolete termcap capabilities. You can, thus, convert from master
87# to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
88# you have ncurses `tic -I' is nicer (among other things, it automatically
89# outputs entries in a canonical form).
90#
91# The termcap version is generated automatically from the master version
92# using tic -C. This filtering leaves in the OT capabilities under their
93# original termcap names. All translated entries fit within the 1023-byte
94# string-table limit of archaic termcap libraries except where explicitly
95# noted below. Note that the termcap translation assumes that your termcap
96# library can handle multiple tc capabilities in an entry. 4.4BSD has this
97# capability. Older versions of GNU termcap, through 1.3, do not.
98#
99# For details on these formats, see terminfo(5) in the ncurses distribution,
100# and termcap(5) in the 4.4BSD Unix Programmer's Manual. Be aware that 4.4BSD
101# curses has been declared obsolete by the caretakers of the 4.4BSD sources
102# as of June 1995; they are encouraging everyone to migrate to ncurses.
103#
104# Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
105# no entry in this file has embedded comments. This is so source translation
106# to termcap only has to carry over leading comments. Also, no name field
107# contains embedded whitespace (such whitespace confuses rdist).
108#
109# Further note: older versions of this file were often installed with an editor
110# script (reorder) that moved the most common terminal types to the front of
111# the file. This should no longer be necessary, as the file is now ordered
112# roughly by type frequency with ANSI/VT100 and other common types up front.
113#
114# Some information has been merged in from terminfo files distributed by
115# USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below). Much information
116# comes from vendors who maintain official terminfos for their hardware
117# (notably DEC and Wyse).
118#
119# A detailed change history is included at the end of this file.
120#
121# FILE ORGANIZATION:
122#
123# Comments in this file begin with # - they cannot appear in the middle
124# of a terminfo/termcap entry (this feature had to be sacrificed in order
125# to allow standard terminfo and termcap syntax to be generated cleanly from
126# the master format). Individual capabilities are commented out by
127# placing a period between the colon and the capability name.
128#
129# The file is divided up into major sections (headed by lines beginning with
130# the string "########") and minor sections (beginning with "####"); do
131#
132# grep "^####" <file> | more
133#
134# to see a listing of section headings. The intent of the divisions is
135# (a) to make it easier to find things, and (b) to order the database so
136# that important and frequently-encountered terminal types are near the
137# front (so that you'll get reasonable search efficiency from a linear
138# search of the termcap form even if you don't use reorder). Minor sections
139# usually correspond to manufacturers or standard terminal classes.
140# Parenthesized words following manufacturer names are type prefixes or
141# product line names used by that manufacturers.
142#
143# HOW TO READ THE ENTRIES:
144#
145# The first name in an entry is the canonical name for the model or
146# type, last entry is a verbose description. Others are mnemonic synonyms for
147# the terminal.
148#
149# Terminal names look like <manufacturer> <model> - <modes/options>
150# The part to the left of the dash, if a dash is present, describes the
151# particular hardware of the terminal. The part to the right may be used
152# for flags indicating special ROMs, extra memory, particular terminal modes,
153# or user preferences.
154#
155# All names should be in lower case, for consistency in typing.
156#
157# The following are conventionally used suffixes:
158# -2p Has two pages of memory. Likewise 4p, 8p, etc.
159# -am Enable auto-margin.
160# -m Monochrome. Suppress color support
161# -mc Magic-cookie. Some terminals (notably older Wyses) can
162# only support one attribute without magic-cookie lossage.
163# Their base entry is usually paired with another that
164# uses magic cookies to support multiple attributes.
165# -nam No auto-margin - suppress :am: capability
166# -nl No labels - suppress soft labels
167# -ns No status line - suppress status line
168# -rv Terminal in reverse video mode (black on white)
169# -s Enable status line.
170# -vb Use visible bell (:vb:) rather than :bl:.
171# -w Wide - in 132 column mode.
172# If a name has multiple suffixes and one is a line height, that one should
173# go first. Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.
174#
175# Entries with embedded plus signs are designed to be included through use/tc
176# capabilities, not used as standalone entries.
177#
178# To avoid search clashes, some older all-numeric names for terminals have
179# been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
180# All primary names of terminals now have alphanumeric prefixes.
181#
182# Comments marked "esr" are mostly results of applying the termcap-compiler
183# code packaged with ncurses and contemplating the resulting error messages.
184# In many cases, these indicated obvious fixes to syntax garbled by the
185# composers. In a few cases, I was able to deduce corrected forms for garbled
186# capabilities by looking at context. All the information in the original
187# entries is preserved in the comments.
188#
189# In the comments, terminfo capability names are bracketed with <> (angle
190# brackets). Termcap capability names are bracketed with :: (colons).
191#
192# INTERPRETATION OF USER CAPABILITIES
193#
194# The System V Release 4 and XPG4 terminfo format defines ten string
195# capabilities for use by applications, <u0>...<u9>. In this file, we use
196# certain of these capabilities to describe functions which are not covered
197# by terminfo. The mapping is as follows:
198#
199# u9 terminal enquire string (equiv. to ANSI/ECMA-48 DA)
200# u8 terminal answerback description
201# u7 cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
202# u6 cursor position report (equiv. to ANSI/ECMA-48 CPR)
203#
204# The terminal enquire string <u9> should elicit an answerback response
205# from the terminal. Common values for <u9> will be ^E (on older ASCII
206# terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
207#
208# The cursor position request (<u7>) string should elicit a cursor position
209# report. A typical value (for VT100 terminals) is \E[6n.
210#
211# The terminal answerback description (u8) must consist of an expected
212# answerback string. The string may contain the following scanf(3)-like
213# escapes:
214#
215# %c Accept any character
216# %[...] Accept any number of characters in the given set
217#
218# The cursor position report (<u6>) string must contain two scanf(3)-style
219# %d format elements. The first of these must correspond to the Y coordinate
220# and the second to the %d. If the string contains the sequence %i, it is
221# taken as an instruction to decrement each value after reading it (this is
222# the inverse sense from the cup string). The typical CPR value is
223# \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
224#
225# These capabilities are used by tack(1m), the terminfo action checker
226# (distributed with ncurses 5.0).
227#
228# TABSET FILES
229#
230# All the entries in this file have been edited to assume that the tabset
231# files directory is /usr/share/tabset, in conformance with the File Hierarchy
232# Standard for Linux and open-source BSD systems. Some vendors (notably Sun)
233# use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.
234#
235# No curses package we know of actually uses these files. If their location
236# is an issue, you will have to hand-patch the file locations before compiling
237# this file.
238#
239# REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
240#
241# As the ANSI/ECMA-48 standard and variants take firmer hold, and as
242# character-cell terminals are increasingly replaced by X displays, much of
243# this file is becoming a historical document (this is part of the reason for
244# the new organization, which puts ANSI types, xterm, Unix consoles,
245# and vt100 up front in confidence that this will catch 95% of new hardware).
246#
247# For the terminal types still alive, I'd like to have manufacturer's
248# contact data (Internet address and/or snail-mail + phone).
249#
250# I'm also interested in enriching the comments so that the latter portions of
251# the file do in fact become a potted history of VDT technology as seen by
252# UNIX hackers. Ideally, I'd like the headers for each manufacturer to
253# include its live/dead/out-of-the-business status, and for as many
254# terminal types as possible to be tagged with information like years
255# of heaviest use, popularity, and interesting features.
256#
257# I'm especially interested in identifying the obscure entries listed under
258# `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
259# wisdom about them gets lost. If you know a lot about obscure old terminals,
260# please go to the terminfo resource page, grab the UFO file (ufo.ti), and
261# eyeball it for things you can identify and describe.
262#
263# If you have been around long enough to contribute, please read the file
264# with this in mind and send me your annotations.
265#
266# COPYRIGHTS AND OTHER DELUSIONS
267#
268# The BSD ancestor of this file had a standard Regents of the University of
269# California copyright with dates from 1980 to 1993.
270#
271# Some information has been merged in from a terminfo file SCO distributes.
272# It has an obnoxious boilerplate copyright which I'm ignoring because they
273# took so much of the content from the ancestral BSD versions of this file
274# and didn't attribute it, thereby violating the BSD Regents' copyright.
275#
276# Not that anyone should care. However many valid functions copyrights may
277# serve, putting one on a termcap/terminfo file with hundreds of anonymous
278# contributors makes about as much sense as copyrighting a wall-full of
279# graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
280#
281# This file deliberately has no copyright. It belongs to no one and everyone.
282# If you claim you own it, you will merely succeed in looking like a fool.
283# Use it as you like. Use it at your own risk. Copy and redistribute freely.
284# There are no guarantees anywhere. Svaha!
285#
286
287######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
288#
289# This section describes terminal classes and brands that are still
290# quite common.
291#
292
293#### Specials
294#
295# Special "terminals". These are used to label tty lines when you don't
296# know what kind of terminal is on it. The characteristics of an unknown
297# terminal are the lowest common denominator - they look about like a ti 700.
298#
299
300dumb|80-column dumb tty:\
301 :am:\
302 :co#80:\
303 :bl=^G:cr=^M:do=^J:sf=^J:
304unknown|unknown terminal type:\
305 :am:gn:\
306 :co#80:\
307 :bl=^G:cr=^M:do=^J:sf=^J:
308lpr|printer|line printer:\
309 :bs:hc:os:\
310 :co#132:li#66:\
311 :bl=^G:cr=^M:do=^J:ff=^L:le=^H:sf=^J:
312
313vanilla|dumb tty:\
314 :bs:\
315 :bl=^G:cr=^M:do=^J:sf=^J:
316ansi+erase:\
317 :cd=\E[J:ce=\E[K:cl=\E[H\E[J:
318ansi+cup:\
319 :cm=\E[%i%d;%dH:ho=\E[H:
320
321# The IBM PC alternate character set. Plug this into any Intel console entry.
322# We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
323# ROM graphics for control characters such as the diamond, up- and down-arrow.
324# This works with the System V, Linux, and BSDI consoles. It's a safe bet this
325# will work with any Intel console, they all seem to have inherited \E[11m
326# from the ANSI.SYS de-facto standard.
327klone+acs|alternate character set for ansi.sys displays:\
328 :ac=+\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:\
329 :ae=\E[10m:as=\E[11m:
330
331# Highlight controls corresponding to the ANSI.SYS standard. Most
332# console drivers for Intel boxes obey these. Makes the same assumption
333# about \E[11m as klone+acs. True ANSI/ECMA-48 would have :se=\E[27m:,
334# :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.
335klone+sgr|attribute control for ansi.sys displays:\
336 :S2=\E[11m:S3=\E[10m:\
337 :ac=+\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:\
338 :ae=\E[10m:as=\E[11m:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:\
339 :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
340
341# Most Intel boxes do not treat "invis" (invisible) text.
342klone+sgr8|attribute control for ansi.sys displays:\
343 :S2=\E[11m:S3=\E[10m:\
344 :ac=+\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:\
345 :ae=\E[10m:as=\E[11m:mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:\
346 :mr=\E[7m:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
347
348# Highlight controls corresponding to the ANSI.SYS standard. *All*
349# console drivers for Intel boxes obey these. Does not assume \E[11m will
350# work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
351# diamond and arrow characters under curses.
352klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m):\
353 :ac=+\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:\
354 :ae=\E[10m:as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:\
355 :mr=\E[7m:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
356
357# ANSI.SYS color control. The setab/setaf caps depend on the coincidence
358# between SVr4/XPG4's color numbers and ANSI.SYS attributes. Here are longer
359# but equivalent strings that don't rely on that coincidence:
360# setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
361# setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
362# The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
363# They match a subset of ECMA-48.
364klone+color|color control for ansi.sys and ISO6429-compatible displays:\
365 :Co#8:NC#3:pa#64:\
366 :AB=\E[4%dm:AF=\E[3%dm:op=\E[37;40m:
367
368# This is better than klone+color, it doesn't assume white-on-black as the
369# default color pair, but many `ANSI' terminals don't grok the <op> cap.
370ecma+color|color control for ECMA-48-compatible terminals:\
371 :Co#8:NC#3:pa#64:\
372 :AB=\E[4%dm:AF=\E[3%dm:op=\E[39;49m:
373
374# ansi-mini is a bare minimum ANSI terminal. This should work on anything, but
375# beware of screen size problems and memory relative cursor addressing.
376ansi-mini|any ansi terminal with pessimistic assumptions:\
377 :am:bs:xo:\
378 :co#80:li#24:\
379 :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
380 :do=^J:ho=\E[H:sf=^J:
381
382# Procomm and some other ANSI emulations don't recognize all of the ANSI-
383# standard capabilities. This entry deletes :UP:, :RI:, :DO:, :LE:, and
384# <vpa>/<hpa> capabilities, forcing curses to use repetitions of :up:,
385# :nd:, :do: and :le:. Also deleted :IC: and :ic:, as QModem up to
386# 5.03 doesn't recognize these. Finally, we delete :rp: and :sr:, which seem
387# to confuse many emulators. On the other hand, we can count on these programs
388# doing :ae:/:as:/:sa:. Older versions of this entry featured
389# <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
390# ANSI.SYS influence.
391# From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
392pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
393 :am:bs:mi:ms:\
394 :co#80:it#8:li#24:\
395 :ac=+\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:\
396 :ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
397 :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:\
398 :dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
399 :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m:\
400 :mk=\E[8m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:st=\EH:\
401 :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
402# The color versions. All PC emulators do color...
403pcansi|ibm-pc terminal programs claiming to be ansi:\
404 :am:bs:mi:ms:\
405 :Co#8:NC#3:co#80:it#8:li#24:pa#64:\
406 :AB=\E[4%dm:AF=\E[3%dm:\
407 :ac=+\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:\
408 :ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
409 :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:\
410 :dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
411 :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m:\
412 :mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[37;40m:se=\E[m:sf=^J:\
413 :so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
414pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
415 :am:bs:mi:ms:\
416 :Co#8:NC#3:co#80:it#8:li#25:pa#64:\
417 :AB=\E[4%dm:AF=\E[3%dm:\
418 :ac=+\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:\
419 :ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
420 :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:\
421 :dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
422 :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m:\
423 :mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[37;40m:se=\E[m:sf=^J:\
424 :so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
425pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
426 :am:bs:mi:ms:\
427 :Co#8:NC#3:co#80:it#8:li#33:pa#64:\
428 :AB=\E[4%dm:AF=\E[3%dm:\
429 :ac=+\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:\
430 :ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
431 :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:\
432 :dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
433 :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m:\
434 :mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[37;40m:se=\E[m:sf=^J:\
435 :so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
436pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
437 :am:bs:mi:ms:\
438 :Co#8:NC#3:co#80:it#8:li#43:pa#64:\
439 :AB=\E[4%dm:AF=\E[3%dm:\
440 :ac=+\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:\
441 :ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
442 :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:\
443 :dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
444 :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m:\
445 :mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[37;40m:se=\E[m:sf=^J:\
446 :so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
447
448# ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
449# If you want pound signs rather than dollars, replace `B' with `A'
450# in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
451# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
452ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
453 :5i:am:bs:mi:ms:\
454 :co#80:it#8:li#24:\
455 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
456 :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
457 :ac=+\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:\
458 :ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cb=\E[1K:\
459 :cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
460 :cr=^M:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
461 :ec=\E[%dX:ei=:ho=\E[H:im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:\
462 :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:\
463 :me=\E[0m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\r\E[S:pf=\E[4i:\
464 :po=\E[5i:s0=\E(B:s1=\E)B:s2=\E*B:s3=\E+B:se=\E[m:sf=^J:\
465 :so=\E[7m:st=\EH:ta=\E[I:ue=\E[m:up=\E[A:us=\E[4m:
466
467ansi+enq|ncurses extension for ANSI ENQ:\
468 :u6=\E[%i%d;%dR:u7=\E[6n:u9=\E[c:
469
470# ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
471# standard terminfo. Assumes ANSI.SYS-compatible attributes and color.
472# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
473ansi|ansi/pc-term compatible with color:\
474 :5i:am:bs:mi:ms:\
475 :Co#8:NC#3:co#80:it#8:li#24:pa#64:\
476 :AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
477 :DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:S2=\E[11m:\
478 :S3=\E[10m:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
479 :ac=+\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:\
480 :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:bt=\E[Z:cb=\E[1K:\
481 :cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
482 :cr=^M:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
483 :ec=\E[%dX:ei=:ho=\E[H:im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:\
484 :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:\
485 :me=\E[0m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\r\E[S:\
486 :op=\E[39;49m:pf=\E[4i:po=\E[5i:s0=\E(B:s1=\E)B:s2=\E*B:\
487 :s3=\E+B:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=\E[I:\
488 :u6=\E[%i%d;%dR:u7=\E[6n:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:
489
490#### DOS ANSI.SYS variants
491#
492# This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
493# documentation (except for the keyboard key reassignment feature, which
494# doesn't fit the <pfkey> model well). The klone+acs sequences were valid
495# though undocumented. The <pfkey> capability is untested but should work for
496# keys F1-F10 (%p1 values outside this range will yield unpredictable results).
497# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
498ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
499 :am:bs:mi:ms:xo:\
500 :Co#8:NC#3:co#80:li#25:pa#64:\
501 :AB=\E[4%dm:AF=\E[3%dm:RA=\E[?7l:S2=\E[11m:S3=\E[10m:\
502 :SA=\E[?7h:\
503 :ac=+\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:\
504 :ae=\E[10m:as=\E[11m:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
505 :do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
506 :ku=^K:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:mr=\E[7m:\
507 :nd=\E[C:op=\E[37;40m:pk=\E[0;%+\:;"%s"p:rc=\E[u:sc=\E[s:\
508 :se=\E[m:so=\E[7m:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[m:up=\E[A:\
509 :us=\E[4m:
510
511# Keypad: Home=\0G Up=\0H PrPag=\0I
512# ka1,kh kcuu1 kpp,ka3
513#
514# Left=\0K 5=\0L Right=\0M
515# kcub1 kb2 kcuf1
516#
517# End=\0O Down=\0P NxPag=\0Q
518# kc1,kend kcud1 kc3,knp
519#
520# Ins=\0R Del=\0S
521# kich1 kdch1
522#
523# On keyboard with 12 function keys,
524# shifted f-keys: F13-F24
525# control f-keys: F25-F36
526# alt f-keys: F37-F48
527# The shift/control/alt keys do not modify each other, but alt overrides both,
528# and control overrides shift.
529#
530# <pfkey> capability for F1-F48 -TD
531# (sgr removed to fit entry within 1023 bytes)
532# (rmacs/smacs removed for consistency)
533# (acsc removed to fit entry within 1023 bytes)
534ansi.sys|ANSI.SYS 3.1 and later versions:\
535 :am:bs:mi:ms:xo:\
536 :Co#8:NC#3:co#80:li#25:pa#64:\
537 :@7=\0O:AB=\E[4%dm:AF=\E[3%dm:F1=\0\205:F2=\0\206:F3=\0T:\
538 :F4=\0U:F5=\0V:F6=\0W:F7=\0X:F8=\0Y:F9=\0Z:FA=\0[:FB=\0\\:\
539 :FC=\0]:FD=\0\207:FE=\0\210:FF=\0^:FG=\0_:FH=\0`:FI=\0a:\
540 :FJ=\0b:FK=\0c:FL=\0d:FM=\0e:FN=\0f:FO=\0g:FP=\0\211:\
541 :FQ=\0\212:FR=\0h:FS=\0i:FT=\0j:FU=\0k:FV=\0l:FW=\0m:FX=\0n:\
542 :FY=\0o:FZ=\0p:Fa=\0q:Fb=\0\213:Fc=\0\214:K1=\0G:K2=\0L:\
543 :K3=\0I:K4=\0O:K5=\0Q:RA=\E[?7l:S2=\E[11m:S3=\E[10m:\
544 :SA=\E[?7h:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:do=\E[B:\
545 :ho=\E[H:is=\E[m\E[?7h:k1=\0;:k2=\0<:k3=\0=:k4=\0>:k5=\0?:\
546 :k6=\0@:k7=\0A:k8=\0B:k9=\0C:k;=\0D:kB=\0^O:kD=\0S:kI=\0R:\
547 :kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:kr=\0M:ku=\0H:\
548 :le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:mr=\E[7m:\
549 :nd=\E[C:op=\E[37;40m:rc=\E[u:sc=\E[s:se=\E[m:so=\E[7m:\
550 :u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[m:up=\E[A:us=\E[4m:
551
552#
553# Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
554# This should only be used when the terminal emulator cannot redefine the keys.
555# Since redefining keys with ansi.sys also affects PC-DOS programs, the key
556# definitions must be restored. If the terminal emulator is quit while in vi
557# or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
558# The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
559# (^U and ^D are already defined for tn3270). The ESC is safe for vi but it
560# does "beep". ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
561# Note that :kl: is always BS, because PC-dos can tolerate this change.
562# Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
563# Consequently the End keypad key could not be set (it is relatively safe and
564# actually useful because it sends ^@ O, which beeps and opens a line above).
565# (sgr removed to fit entry within 1023 bytes)
566# (rmacs/smacs removed for consistency)
567# (acsc removed to fit entry within 1023 bytes)
568# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
569ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
570 :am:bs:mi:ms:xo:\
571 :co#80:li#25:\
572 :K1=\0G:K2=\0L:K3=\0I:K4=\0O:K5=\0Q:ce=\E[K:cl=\E[2J:\
573 :cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
574 :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
575 :k1=\0;:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:\
576 :k9=\0C:kD=\0S:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:\
577 :ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\
578 :kh=\0G:kl=\0K:kr=\0M:\
579 :ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:\
580 :ku=\0H:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:\
581 :rc=\E[u:sc=\E[s:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
582#
583# Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
584# (sgr removed to fit entry within 1023 bytes)
585# (rmacs/smacs removed for consistency)
586# (acsc removed to fit entry within 1023 bytes)
587nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
588 :am:bs:mi:ms:xo:\
589 :Co#8:NC#3:co#80:li#25:pa#64:\
590 :@7=\0O:AB=\E[4%dm:AF=\E[3%dm:F1=\0\205:F2=\0\206:F3=\0T:\
591 :F4=\0U:F5=\0V:F6=\0W:F7=\0X:F8=\0Y:F9=\0Z:FA=\0[:FB=\0\\:\
592 :FC=\0]:FD=\0\207:FE=\0\210:FF=\0^:FG=\0_:FH=\0`:FI=\0a:\
593 :FJ=\0b:FK=\0c:FL=\0d:FM=\0e:FN=\0f:FO=\0g:FP=\0\211:\
594 :FQ=\0\212:FR=\0h:FS=\0i:FT=\0j:FU=\0k:FV=\0l:FW=\0m:FX=\0n:\
595 :FY=\0o:FZ=\0p:Fa=\0q:Fb=\0\213:Fc=\0\214:K1=\0G:K2=\0L:\
596 :K3=\0I:K4=\0O:K5=\0Q:RA=\E[?7l:S2=\E[11m:S3=\E[10m:\
597 :SA=\E[?7h:al=\E[1L:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:\
598 :dc=\E[1P:dl=\E[1M:do=\E[B:ei=:ho=\E[H:ic=\E[1@:im=:\
599 :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:\
600 :k1=\0;:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:\
601 :k9=\0C:k;=\0D:kB=\0^O:kD=\0S:kI=\0R:kN=\0Q:kP=\0I:kb=^H:\
602 :kd=\0P:kh=\0G:kl=\0K:kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:\
603 :me=\E[0m:mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[37;40m:rc=\E[u:\
604 :sc=\E[s:se=\E[m:so=\E[7m:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[m:\
605 :up=\E[A:us=\E[4m:
606#
607# See ansi.sysk and nansi.sys above.
608# (sgr removed to fit entry within 1023 bytes)
609# (rmacs/smacs removed for consistency)
610# (acsc removed to fit entry within 1023 bytes)
611# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
612nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
613 :am:bs:mi:ms:xo:\
614 :co#80:li#25:\
615 :K1=\0G:K2=\0L:K3=\0I:K4=\0O:K5=\0Q:al=\E[1L:ce=\E[K:\
616 :cl=\E[2J:cm=\E[%i%d;%dH:dc=\E[1P:dl=\E[1M:do=\E[B:ei=:\
617 :ho=\E[H:ic=\E[1@:im=:\
618 :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
619 :k1=\0;:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:\
620 :k9=\0C:kD=\0S:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:\
621 :ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\
622 :kh=\0G:kl=\0K:kr=\0M:\
623 :ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:\
624 :ku=\0H:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:\
625 :rc=\E[u:sc=\E[s:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
626
627#### Linux consoles
628#
629
630# This entry is good for the 1.2.13 or later version of the Linux console.
631#
632# ***************************************************************************
633# * *
634# * WARNING: *
635# * Linuxes come with a default keyboard mapping kcbt=^I. This entry, in *
636# * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
637# * character. Here are the keymap replacement lines that will set this up: *
638# * *
639# keycode 15 = Tab Tab
640# alt keycode 15 = Meta_Tab
641# shift keycode 15 = F26
642# string F26 ="\033[Z"
643# * *
644# * This has to use a key slot which is unfortunate (any unused one will *
645# * do, F26 is the higher-numbered one). The change ought to be built *
646# * into the kernel tables. *
647# * *
648# ***************************************************************************
649#
650# All linux kernels since 1.2.13 (at least) set the screen size
651# themselves; this entry assumes that capability.
652#
653# (sgr removed to fit entry within 1023 bytes)
654# (rmacs/smacs removed for consistency)
655# (acsc removed to fit entry within 1023 bytes)
656linux-basic|linux console:\
657 :am:eo:mi:ms:ut:xn:xo:\
658 :Co#8:NC#18:it#8:pa#64:\
659 :&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
660 :DL=\E[%dM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
661 :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
662 :FA=\E[34~:IC=\E[%d@:K2=\E[G:Km=\E[M:RA=\E[?7l:S2=\E[11m:\
663 :S3=\E[10m:SA=\E[?7h:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:\
664 :ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
665 :cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
666 :do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
667 :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
668 :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
669 :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
670 :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
671 :mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[39;49m:\
672 :r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:\
673 :st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:\
674 :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:
675
676# The 1.3.x kernels add color-change capabilities; if yours doesn't have this
677# and it matters, turn off <ccc>. The %02x escape used to implement this is
678# not supposedly back-portable to older SV curses (although it has worked fine
679# on Solaris for several years) and not supported in ncurses versions before
680# 1.9.9.
681# (sgr removed to fit entry within 1023 bytes)
682# (rmacs/smacs removed for consistency)
683# (acsc removed to fit entry within 1023 bytes)
684linux-c-nc|linux console with color-change:\
685 :am:cc:eo:mi:ms:ut:xn:xo:\
686 :Co#8:NC#18:it#8:pa#64:\
687 :&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
688 :DL=\E[%dM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
689 :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
690 :FA=\E[34~:IC=\E[%d@:K2=\E[G:Km=\E[M:RA=\E[?7l:S2=\E[11m:\
691 :S3=\E[10m:SA=\E[?7h:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:\
692 :ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
693 :cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
694 :do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
695 :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
696 :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
697 :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
698 :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
699 :mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:oc=\E]R:op=\E[39;49m:\
700 :r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:\
701 :st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:\
702 :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:
703
704# The 2.2.x kernels add a private mode that sets the cursor type; use that to
705# get a block cursor for cvvis.
706# reported by Frank Heckenbach <frank@g-n-u.de>.
707# (sgr removed to fit entry within 1023 bytes)
708# (rmacs/smacs removed for consistency)
709# (acsc removed to fit entry within 1023 bytes)
710# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
711linux|linux console:\
712 :am:eo:mi:ms:xn:xo:\
713 :it#8:\
714 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:K2=\E[G:al=\E[L:\
715 :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
716 :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
717 :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:\
718 :k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
719 :k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:\
720 :kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
721 :md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:\
722 :rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
723 :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
724 :ve=\E[?25h\E[?0c:vi=\E[?25l\E[?1c:vs=\E[?25h\E[?8c:
725
726#### DEC VT100 and compatibles
727#
728# DEC terminals from the vt100 forward are collected here. Older DEC terminals
729# and micro consoles can be found in the `obsolete' section. More details on
730# the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
731# found near the end of this file.
732#
733# Except where noted, these entries are DEC's official terminfos.
734# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
735# Engineering for more information. Updated terminfos and termcaps
736# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
737#
738# In October 1995 DEC sold its terminals business, including the VT and Dorio
739# line and trademark, to SunRiver Data Systems. SunRiver has since changed
740# its name to Boundless Technologies; see http://www.boundless.com.
741#
742
743# NOTE: Any VT100 emulation, whether in hardware or software, almost
744# certainly includes what DEC called the `Level 1 editing extension' codes;
745# only the very oldest VT100s lacked these and there probably aren't any of
746# those left alive. To capture these, use one of the VT102 entries.
747#
748# Note that the :xn: glitch in vt100 is not quite the same as on the Concept,
749# since the cursor is left in a different position while in the
750# weird state (concept at beginning of next line, vt100 at end
751# of this line) so all versions of vi before 3.7 don't handle
752# :xn: right on vt100. The correct way to handle :xn: is when
753# you output the char in column 80, immediately output CR LF
754# and then assume you are in column 1 of the next line. If :xn:
755# is on, am should be on too.
756#
757# I assume you have smooth scroll off or are at a slow enough baud
758# rate that it doesn't matter (1200? or less). Also this assumes
759# that you set auto-nl to "on", if you set it off use vt100-nam
760# below.
761#
762# The padding requirements listed here are guesses. It is strongly
763# recommended that xon/xoff be enabled, as this is assumed here.
764#
765# The vt100 uses <rs2> and <rf> rather than :is:/:ct:/:st: because the
766# tab settings are in non-volatile memory and don't need to be
767# reset upon login. Also setting the number of columns glitches
768# the screen annoyingly. You can type "reset" to get them set.
769#
770# The VT100 series terminals have cursor ("arrows") keys which can operate
771# in two different modes: Cursor Mode and Application Mode. Cursor Mode
772# is the reset state, and is assumed to be the normal state. Application
773# Mode is the "set" state. In Cursor Mode, the cursor keys transmit
774# "Esc [ {code}" sequences, conforming to ANSI standards. In Application
775# Mode, the cursor keys transmit "Esc O <code>" sequences. Application Mode
776# was provided primarily as an aid to the porting of VT52 applications. It is
777# assumed that the cursor keys are normally in Cursor Mode, and expected that
778# applications such as vi will always transmit the :ks: string. Therefore,
779# the definitions for the cursor keys are made to match what the terminal
780# transmits after the :ks: string is transmitted. If the :ks: string
781# is a null string or is not defined, then cursor keys are assumed to be in
782# "Cursor Mode", and the cursor keys definitions should match that assumption,
783# else the application may fail. It is also expected that applications will
784# always transmit the :ke: string to the terminal before they exit.
785#
786# The VT100 series terminals have an auxiliary keypad, commonly referred to as
787# the "Numeric Keypad", because it is a cluster of numeric and function keys.
788# The Numeric Keypad which can operate in two different modes: Numeric Mode and
789# Application Mode. Numeric Mode is the reset state, and is assumed to be
790# the normal state. Application Mode is the "set" state. In Numeric Mode,
791# the numeric and punctuation keys transmit ASCII 7-bit characters, and the
792# Enter key transmits the same as the Return key (Note: the Return key
793# can be configured to send either LF (\015) or CR LF). In Application Mode,
794# all the keypad keys transmit "Esc O {code}" sequences. The PF1 - PF4 keys
795# always send the same "Esc O {code}" sequences. It is assumed that the keypad
796# is normally in Numeric Mode. If an application requires that the keypad be
797# in Application Mode then it is expected that the user, or the application,
798# will set the TERM environment variable to point to a terminfo entry which has
799# defined the :ks: string to include the codes that switch the keypad into
800# Application Mode, and the terminfo entry will also define function key
801# fields to match the Application Mode control codes. If the :ks: string
802# is a null string or is not defined, then the keypad is assumed to be in
803# Numeric Mode. If the :ks: string switches the keypad into Application
804# Mode, it is expected that the :ke: string will contain the control codes
805# necessary to reset the keypad to "Normal" mode, and it is also expected that
806# applications which transmit the :ks: string will also always transmit the
807# :ke: string to the terminal before they exit.
808#
809# Here's a diagram of the VT100 keypad keys with their bindings.
810# The top line is the name of the key (some DEC keyboards have the keys
811# labelled somewhat differently, like GOLD instead of PF1, but this is
812# the most "official" name). The second line is the escape sequence it
813# generates in Application Keypad mode (where "$" means the ESC
814# character). The third line contains two items, first the mapping of
815# the key in terminfo, and then in termcap.
816# _______________________________________
817# | PF1 | PF2 | PF3 | PF4 |
818# | $OP | $OQ | $OR | $OS |
819# |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
820# | 7 8 9 - |
821# | $Ow | $Ox | $Oy | $Om |
822# |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
823# | 4 | 5 | 6 | , |
824# | $Ot | $Ou | $Ov | $Ol |
825# |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
826# | 1 | 2 | 3 | |
827# | $Oq | $Or | $Os | enter |
828# |_ka1__K1_|_kb2__K2_|_ka3__K3_| $OM |
829# | 0 | . | |
830# | $Op | $On | |
831# |___kc1_______K4____|_kc3__K5_|_kent_@8_|
832#
833# Note however, that the arrangement of the 5-key ka1-kc3 do not follow the
834# terminfo guidelines. That is a compromise used to assign the remaining
835# keys on the keypad to kf5-kf0, used on older systems with legacy termcap
836# support:
837vt100+keypad|dec vt100 numeric keypad no fkeys:\
838 :K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:
839vt100+pfkeys|dec vt100 numeric keypad:\
840 :@8=\EOM:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:k1=\EOP:\
841 :k2=\EOQ:k3=\EOR:k4=\EOS:
842vt100+fnkeys|dec vt100 numeric keypad:\
843 :@8=\EOM:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:k0=\EOy:\
844 :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:\
845 :k8=\EOl:k9=\EOw:k;=\EOx:
846#
847# A better adaptation to modern keyboards such as the PC's, which have a dozen
848# function keys and the keypad 2,4,6,8 keys are labeled with arrows keys, is to
849# use the 5-key arrangement to model the arrow keys as suggested in the
850# terminfo guidelines:
851# _______________________________________
852# | PF1 | PF2 | PF3 | PF4 |
853# | $OP | $OQ | $OR | $OS |
854# |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
855# | 7 8 9 - |
856# | $Ow | $Ox | $Oy | $Om |
857# |_ka1__K1_|_________|_ka3__K3_|_________|
858# | 4 | 5 | 6 | , |
859# | $Ot | $Ou | $Ov | $Ol |
860# |_________|_kb2__K2_|_________|_________|
861# | 1 | 2 | 3 | |
862# | $Oq | $Or | $Os | enter |
863# |_kc1__K4_|_________|_kc3__K5_| $OM |
864# | 0 | . | |
865# | $Op | $On | |
866# |___________________|_________|_kent_@8_|
867#
868vt220+keypad|dec vt220 numeric keypad:\
869 :@8=\EOM:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:k1=\EOP:\
870 :k2=\EOQ:k3=\EOR:k4=\EOS:
871#
872vt100+enq|ncurses extension for vt100-style ENQ:\
873 :u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:
874vt102+enq|ncurses extension for vt102-style ENQ:\
875 :u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:
876#
877# And here, for those of you with orphaned VT100s lacking documentation, is
878# a description of the soft switches invoked when you do `Set Up'.
879#
880# Scroll 0-Jump Shifted 3 0-#
881# | 1-Smooth | 1-British pound sign
882# | Autorepeat 0-Off | Wrap Around 0-Off
883# | | 1-On | | 1-On
884# | | Screen 0-Dark Bkg | | New Line 0-Off
885# | | | 1-Light Bkg | | | 1-On
886# | | | Cursor 0-Underline | | | Interlace 0-Off
887# | | | | 1-Block | | | | 1-On
888# | | | | | | | |
889# 1 1 0 1 1 1 1 1 0 1 0 0 0 0 1 0 <--Standard Settings
890# | | | | | | | |
891# | | | Auto XON/XOFF 0-Off | | | Power 0-60 Hz
892# | | | 1-On | | | 1-50 Hz
893# | | Ansi/VT52 0-VT52 | | Bits Per Char. 0-7 Bits
894# | | 1-ANSI | | 1-8 Bits
895# | Keyclick 0-Off | Parity 0-Off
896# | 1-On | 1-On
897# Margin Bell 0-Off Parity Sense 0-Odd
898# 1-On 1-Even
899#
900# The following SET-UP modes are assumed for normal operation:
901# ANSI_MODE AUTO_XON/XOFF_ON NEWLINE_OFF 80_COLUMNS
902# WRAP_AROUND_ON JUMP_SCROLL_OFF
903# Other SET-UP modes may be set for operator convenience or communication
904# requirements; I recommend
905# AUTOREPEAT_ON BLOCK_CURSOR MARGIN_BELL_OFF SHIFTED_3_#
906# Unless you have a graphics add-on such as Digital Engineering's VT640
907# (and even then, whenever it can be arranged!) you should set
908# INTERLACE_OFF
909#
910# (vt100: I added <rmam>/<smam> based on the init string, also :bs:. -- esr)
911vt100|vt100-am|dec vt100 (w/advanced video):\
912 :5i:am:bs:ms:xn:xo:\
913 :co#80:it#8:li#24:vt#3:\
914 :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
915 :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
916 :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
917 :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
918 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
919 :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
920 :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
921 :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
922 :ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:mb=\E[5m:\
923 :md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:\
924 :ps=\E[0i:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
925 :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
926 :up=\E[A:us=\E[4m:
927
928# PuTTY 0.55 (released 3 August 2004)
929# http://www.chiark.greenend.org.uk/~sgtatham/putty/
930#
931# Comparing with 0.51, vttest is much better (only a few problems with the
932# cursor position reports and wrapping).
933#
934# PuTTY 0.51 (released 14 December 2000)
935#
936# This emulates vt100 + vt52 (plus a few vt220 features: ech, SRM, DECTCEM, as
937# well as SCO and Atari, color palettes from Linux console). Reading the code,
938# it is intended to be VT102 plus selected features. By default, it sets $TERM
939# to xterm, which is incorrect, since several features are misimplemented:
940#
941# Alt+key always sends ESC+key, so 'km' capability is removed.
942#
943# Control responses, wrapping and tabs are buggy, failing a couple of
944# screens in vttest.
945#
946# xterm mouse support is not implemented (unrelease version may).
947#
948# Several features such as backspace/delete are optional; this entry documents
949# the default behavior -TD
950
951# (sgr removed to fit entry within 1023 bytes)
952# (acsc removed to fit entry within 1023 bytes)
953# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
954putty|PuTTY terminal emulator:\
955 :am:bw:hs:mi:ms:xn:xo:\
956 :it#8:\
957 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K2=\E[G:\
958 :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
959 :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
960 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
961 :dl=\E[M:do=\ED:ds=\E]0;\007:ec=\E[%dX:ei=\E[4l:fs=^G:\
962 :ho=\E[H:im=\E[4h:\
963 :is=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>\E]R:\
964 :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
965 :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
966 :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
967 :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
968 :mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
969 :rs=\E<\E["p\E[50;6"p\Ec\E[?3l\E]R\E[?1000l:sc=\E7:\
970 :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
971 :te=\E[2J\E[?47l:ti=\E[?47h:ts=\E]0;:ue=\E[24m:up=\EM:\
972 :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
973# palette is hardcoded...
974# (sgr removed to fit entry within 1023 bytes)
975# (acsc removed to fit entry within 1023 bytes)
976# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
977putty-256color|PuTTY 0.58 with xterm 256-colors:\
978 :am:bw:hs:mi:ms:xn:xo:\
979 :it#8:\
980 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K2=\E[G:\
981 :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
982 :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
983 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
984 :dl=\E[M:do=\ED:ds=\E]0;\007:ec=\E[%dX:ei=\E[4l:fs=^G:\
985 :ho=\E[H:im=\E[4h:\
986 :is=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>\E]R:\
987 :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
988 :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
989 :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
990 :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
991 :mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
992 :rs=\E<\E["p\E[50;6"p\Ec\E[?3l\E]R\E[?1000l:sc=\E7:\
993 :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
994 :te=\E[2J\E[?47l:ti=\E[?47h:ts=\E]0;:ue=\E[24m:up=\EM:\
995 :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
996# Compatible with the R6 xterm
997# (from XFree86 3.2 distribution, <acsc> and :it: added, <blink@> removed)
998# added khome/kend, hts based on the R6 xterm code - TD
999# (khome/kend do not actually work in X11R5 or X11R6, but many people use this
1000# for compatibility with other emulators).
1001# (acsc removed to fit entry within 1023 bytes)
1002xterm-r6|xterm-old|xterm X11R6 version:\
1003 :am:bs:km:mi:ms:xn:\
1004 :co#80:it#8:li#24:\
1005 :*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
1006 :DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
1007 :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
1008 :FA=\E[34~:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:\
1009 :al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1010 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
1011 :dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
1012 :is=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\
1013 :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1014 :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1015 :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
1016 :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
1017 :md=\E[1m:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:rc=\E8:\
1018 :rs=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:sc=\E7:\
1019 :se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1020 :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:u6=\E[%i%d;%dR:\
1021 :u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:
1022
1023# This version reflects the current xterm features.
1024# (sgr removed to fit entry within 1023 bytes)
1025# (acsc removed to fit entry within 1023 bytes)
1026# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1027xterm-new|modern xterm terminal emulator:\
1028 :am:bs:km:mi:ms:xn:\
1029 :co#80:it#8:li#24:\
1030 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1031 :K2=\EOE:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:\
1032 :UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cd=\E[J:\
1033 :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1034 :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
1035 :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\
1036 :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
1037 :k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
1038 :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:kl=\EOD:\
1039 :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
1040 :me=\E[0m:mm=\E[?1034h:mo=\E[?1034l:mr=\E[7m:nd=\E[C:\
1041 :rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1042 :te=\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:us=\E[4m:\
1043 :vb=\E[?5h\E[?5l:ve=\E[?12l\E[?25h:vi=\E[?25l:\
1044 :vs=\E[?12;25h:
1045#
1046# This fragment describes as much of XFree86 xterm's "pc-style" function
1047# keys as will fit into terminfo's 60 function keys.
1048# From ctlseqs.ms:
1049# Code Modifiers
1050# ---------------------------------
1051# 2 Shift
1052# 3 Alt
1053# 4 Shift + Alt
1054# 5 Control
1055# 6 Shift + Control
1056# 7 Alt + Control
1057# 8 Shift + Alt + Control
1058# ---------------------------------
1059# The meta key may also be used as a modifier in this scheme, adding another
1060# bit to the parameter.
1061xterm+pcfkeys|fragment for PC-style fkeys:\
1062 :#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:%e=\E[5;2~:\
1063 :%i=\E[1;2C:*4=\E[3;2~:*7=\E[1;2F:@7=\EOF:F1=\E[23~:\
1064 :F2=\E[24~:F3=\E[1;2P:F4=\E[1;2Q:F5=\E[1;2R:F6=\E[1;2S:\
1065 :F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:\
1066 :FB=\E[20;2~:FC=\E[21;2~:FD=\E[23;2~:FE=\E[24;2~:\
1067 :FF=\E[1;5P:FG=\E[1;5Q:FH=\E[1;5R:FI=\E[1;5S:FJ=\E[15;5~:\
1068 :FK=\E[17;5~:FL=\E[18;5~:FM=\E[19;5~:FN=\E[20;5~:\
1069 :FO=\E[21;5~:FP=\E[23;5~:FQ=\E[24;5~:FR=\E[1;6P:\
1070 :FS=\E[1;6Q:FT=\E[1;6R:FU=\E[1;6S:FV=\E[15;6~:\
1071 :FW=\E[17;6~:FX=\E[18;6~:FY=\E[19;6~:FZ=\E[20;6~:\
1072 :Fa=\E[21;6~:Fb=\E[23;6~:Fc=\E[24;6~:Fd=\E[1;3P:\
1073 :Fe=\E[1;3Q:Ff=\E[1;3R:Fg=\E[1;3S:Fh=\E[15;3~:\
1074 :Fi=\E[17;3~:Fj=\E[18;3~:Fk=\E[19;3~:Fl=\E[20;3~:\
1075 :Fm=\E[21;3~:Fn=\E[23;3~:Fo=\E[24;3~:Fp=\E[1;4P:\
1076 :Fq=\E[1;4Q:Fr=\E[1;4R:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1077 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1078 :k;=\E[21~:kD=\E[3~:kF=\E[1;2B:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1079 :kR=\E[1;2A:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:
1080
1081xterm+app|fragment with cursor keys in application mode:\
1082 :@7=\EOF:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:
1083
1084xterm+pcc2|fragment with modifyCursorKeys:2:\
1085 :#4=\E[1;2D:%i=\E[1;2C:kF=\E[1;2B:kR=\E[1;2A:
1086#
1087xterm+pcf2|fragment with modifyFunctionKeys:2:\
1088 :F1=\E[23~:F2=\E[24~:F3=\E[1;2P:F4=\E[1;2Q:F5=\E[1;2R:\
1089 :F6=\E[1;2S:F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:\
1090 :FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:FD=\E[23;2~:\
1091 :FE=\E[24;2~:FF=\E[1;5P:FG=\E[1;5Q:FH=\E[1;5R:FI=\E[1;5S:\
1092 :FJ=\E[15;5~:FK=\E[17;5~:FL=\E[18;5~:FM=\E[19;5~:\
1093 :FN=\E[20;5~:FO=\E[21;5~:FP=\E[23;5~:FQ=\E[24;5~:\
1094 :FR=\E[1;6P:FS=\E[1;6Q:FT=\E[1;6R:FU=\E[1;6S:FV=\E[15;6~:\
1095 :FW=\E[17;6~:FX=\E[18;6~:FY=\E[19;6~:FZ=\E[20;6~:\
1096 :Fa=\E[21;6~:Fb=\E[23;6~:Fc=\E[24;6~:Fd=\E[1;3P:\
1097 :Fe=\E[1;3Q:Ff=\E[1;3R:Fg=\E[1;3S:Fh=\E[15;3~:\
1098 :Fi=\E[17;3~:Fj=\E[18;3~:Fk=\E[19;3~:Fl=\E[20;3~:\
1099 :Fm=\E[21;3~:Fn=\E[23;3~:Fo=\E[24;3~:Fp=\E[1;4P:\
1100 :Fq=\E[1;4Q:Fr=\E[1;4R:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1101 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1102 :k;=\E[21~:
1103#
1104# Chunks from xterm #230:
1105xterm+pce2|fragment with modifyCursorKeys:2:\
1106 :#2=\E[1;2H:#3=\E[2;2~:%c=\E[6;2~:%e=\E[5;2~:*4=\E[3;2~:\
1107 :*7=\E[1;2F:@7=\E[4~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1108 :kh=\E[1~:
1109
1110xterm+edit|fragment for 6-key editing-keypad:\
1111 :@7=\E[4~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kh=\E[1~:
1112
1113xterm+pc+edit|fragment for pc-style editing keypad:\
1114 :@7=\E[4~:kh=\E[1~:
1115#
1116# This chunk is used for building the VT220/Sun/PC keyboard variants.
1117xterm-basic|modern xterm terminal emulator - common:\
1118 :5i:am:bs:km:mi:ms:ut:xn:\
1119 :Co#8:co#80:it#8:li#24:pa#64:\
1120 :AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
1121 :DO=\E[%dB:IC=\E[%d@:Km=\E[M:LE=\E[%dD:RA=\E[?7l:\
1122 :RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1123 :ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1124 :ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
1125 :ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1126 :cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
1127 :do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
1128 :is=\E[!p\E[?3;4l\E[4l\E>:kb=^H:ke=\E[?1l\E>:\
1129 :ks=\E[?1h\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:\
1130 :ml=\El:mm=\E[?1034h:mo=\E[?1034l:mr=\E[7m:mu=\Em:nd=\E[C:\
1131 :op=\E[39;49m:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec:\
1132 :r2=\E[!p\E[?3;4l\E[4l\E>:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
1133 :so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[?1049l:ti=\E[?1049h:\
1134 :u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[24m:\
1135 :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?12l\E[?25h:\
1136 :vi=\E[?25l:vs=\E[?12;25h:
1137
1138# 256-colors is a compile-time feature of XFree86 xterm beginning with
1139# patch #111 (1999/7/10) -TD
1140xterm+256color|xterm 256-color feature:\
1141 :cc:\
1142 :Co#256:pa#32767:\
1143 :Sb@:Sf@:
1144
1145# 88-colors is a compile-time feature of XFree86 xterm beginning with
1146# patch #115 (1999/9/18) -TD
1147#
1148# Note that the escape sequences used are the same as for 256-colors - xterm
1149# has a different table of default color resource values. If built for
1150# 256-colors, it can still handle an 88-color palette by using the initc
1151# capability.
1152#
1153# At this time (2007/7/14), except for rxvt 2.7.x, none of the other terminals
1154# which support the xterm+256color feature support the associated initc
1155# capability. So it is cancelled in the entries which use this and/or the
1156# xterm+256color block.
1157#
1158# The default color palette for the 256- and 88-colors are different. A
1159# given executable will have one palette (perhaps compiled-in). If the program
1160# supports xterm's control sequence, it can be programmed using initc.
1161xterm+88color|xterm 88-color feature:\
1162 :cc:\
1163 :Co#88:pa#7744:
1164
1165# These variants of XFree86 3.9.16 xterm are built as a configure option.
1166# (sgr removed to fit entry within 1023 bytes)
1167# (acsc removed to fit entry within 1023 bytes)
1168# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1169xterm-256color|xterm with 256 colors:\
1170 :am:bs:km:mi:ms:xn:\
1171 :co#80:it#8:li#24:\
1172 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1173 :K2=\EOE:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:\
1174 :UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cd=\E[J:\
1175 :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1176 :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
1177 :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\
1178 :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
1179 :k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
1180 :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:kl=\EOD:\
1181 :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
1182 :me=\E[0m:mm=\E[?1034h:mo=\E[?1034l:mr=\E[7m:nd=\E[C:\
1183 :rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1184 :te=\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:us=\E[4m:\
1185 :vb=\E[?5h\E[?5l:ve=\E[?12l\E[?25h:vi=\E[?25l:\
1186 :vs=\E[?12;25h:
1187# (sgr removed to fit entry within 1023 bytes)
1188# (acsc removed to fit entry within 1023 bytes)
1189# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1190xterm-88color|xterm with 88 colors:\
1191 :am:bs:km:mi:ms:xn:\
1192 :co#80:it#8:li#24:\
1193 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1194 :K2=\EOE:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:\
1195 :UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cd=\E[J:\
1196 :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1197 :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
1198 :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\
1199 :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
1200 :k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
1201 :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:kl=\EOD:\
1202 :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
1203 :me=\E[0m:mm=\E[?1034h:mo=\E[?1034l:mr=\E[7m:nd=\E[C:\
1204 :rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1205 :te=\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:us=\E[4m:\
1206 :vb=\E[?5h\E[?5l:ve=\E[?12l\E[?25h:vi=\E[?25l:\
1207 :vs=\E[?12;25h:
1208
1209# This is xterm for ncurses.
1210# (sgr removed to fit entry within 1023 bytes)
1211# (acsc removed to fit entry within 1023 bytes)
1212# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1213xterm|xterm terminal emulator (X Window System):\
1214 :am:bs:km:mi:ms:xn:\
1215 :co#80:it#8:li#24:\
1216 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1217 :K2=\EOE:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:\
1218 :UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cd=\E[J:\
1219 :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1220 :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
1221 :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\
1222 :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
1223 :k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
1224 :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:kl=\EOD:\
1225 :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
1226 :me=\E[0m:mm=\E[?1034h:mo=\E[?1034l:mr=\E[7m:nd=\E[C:\
1227 :rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1228 :te=\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:us=\E[4m:\
1229 :vb=\E[?5h\E[?5l:ve=\E[?12l\E[?25h:vi=\E[?25l:\
1230 :vs=\E[?12;25h:
1231
1232# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
1233# Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
1234# Notes:
1235# rxvt 2.21b uses
1236# smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
1237# but some applications don't work with that.
1238# It also has an AIX extension
1239# box2=lqkxjmwuvtn,
1240# and
1241# ech=\E[%p1%dX,
1242# but the latter does not work correctly.
1243#
1244# The distributed terminfo says it implements hpa and vpa, but they are not
1245# implemented correctly, using relative rather than absolute positioning.
1246#
1247# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
1248# Since rxvt is not really compatible with xterm, it should be configured as
1249# "rxvt" or "rxvt-color".
1250#
1251# removed dch/dch1 because they are inconsistent with bce/ech -TD
1252# remove km as per tack test -TD
1253# (sgr removed to fit entry within 1023 bytes)
1254# (acsc removed to fit entry within 1023 bytes)
1255# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1256rxvt-basic|rxvt terminal base (X Window System):\
1257 :am:bs:eo:mi:ms:xn:xo:\
1258 :co#80:it#8:li#24:\
1259 :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:K1=\EOw:K2=\EOu:\
1260 :K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
1261 :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1262 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dl=\E[M:\
1263 :do=^J:ei=\E[4l:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:\
1264 :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
1265 :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1266 :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
1267 :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kh=\E[7~:\
1268 :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
1269 :me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
1270 :so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
1271 :ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
1272 :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
1273# Key Codes from rxvt reference:
1274#
1275# Note: Shift + F1-F10 generates F11-F20
1276#
1277# For the keypad, use Shift to temporarily override Application-Keypad
1278# setting use Num_Lock to toggle Application-Keypad setting if Num_Lock
1279# is off, escape sequences toggle Application-Keypad setting.
1280# Also note that values of Home, End, Delete may have been compiled
1281# differently on your system.
1282#
1283# Normal Shift Control Ctrl+Shift
1284# Tab ^I ESC [ Z ^I ESC [ Z
1285# BackSpace ^H ^? ^? ^?
1286# Find ESC [ 1 ~ ESC [ 1 $ ESC [ 1 ^ ESC [ 1 @
1287# Insert ESC [ 2 ~ paste ESC [ 2 ^ ESC [ 2 @
1288# Execute ESC [ 3 ~ ESC [ 3 $ ESC [ 3 ^ ESC [ 3 @
1289# Select ESC [ 4 ~ ESC [ 4 $ ESC [ 4 ^ ESC [ 4 @
1290# Prior ESC [ 5 ~ scroll-up ESC [ 5 ^ ESC [ 5 @
1291# Next ESC [ 6 ~ scroll-down ESC [ 6 ^ ESC [ 6 @
1292# Home ESC [ 7 ~ ESC [ 7 $ ESC [ 7 ^ ESC [ 7 @
1293# End ESC [ 8 ~ ESC [ 8 $ ESC [ 8 ^ ESC [ 8 @
1294# Delete ESC [ 3 ~ ESC [ 3 $ ESC [ 3 ^ ESC [ 3 @
1295# F1 ESC [ 11 ~ ESC [ 23 ~ ESC [ 11 ^ ESC [ 23 ^
1296# F2 ESC [ 12 ~ ESC [ 24 ~ ESC [ 12 ^ ESC [ 24 ^
1297# F3 ESC [ 13 ~ ESC [ 25 ~ ESC [ 13 ^ ESC [ 25 ^
1298# F4 ESC [ 14 ~ ESC [ 26 ~ ESC [ 14 ^ ESC [ 26 ^
1299# F5 ESC [ 15 ~ ESC [ 28 ~ ESC [ 15 ^ ESC [ 28 ^
1300# F6 ESC [ 17 ~ ESC [ 29 ~ ESC [ 17 ^ ESC [ 29 ^
1301# F7 ESC [ 18 ~ ESC [ 31 ~ ESC [ 18 ^ ESC [ 31 ^
1302# F8 ESC [ 19 ~ ESC [ 32 ~ ESC [ 19 ^ ESC [ 32 ^
1303# F9 ESC [ 20 ~ ESC [ 33 ~ ESC [ 20 ^ ESC [ 33 ^
1304# F10 ESC [ 21 ~ ESC [ 34 ~ ESC [ 21 ^ ESC [ 34 ^
1305# F11 ESC [ 23 ~ ESC [ 23 $ ESC [ 23 ^ ESC [ 23 @
1306# F12 ESC [ 24 ~ ESC [ 24 $ ESC [ 24 ^ ESC [ 24 @
1307# F13 ESC [ 25 ~ ESC [ 25 $ ESC [ 25 ^ ESC [ 25 @
1308# F14 ESC [ 26 ~ ESC [ 26 $ ESC [ 26 ^ ESC [ 26 @
1309# F15 (Help) ESC [ 28 ~ ESC [ 28 $ ESC [ 28 ^ ESC [ 28 @
1310# F16 (Menu) ESC [ 29 ~ ESC [ 29 $ ESC [ 29 ^ ESC [ 29 @
1311# F17 ESC [ 31 ~ ESC [ 31 $ ESC [ 31 ^ ESC [ 31 @
1312# F18 ESC [ 32 ~ ESC [ 32 $ ESC [ 32 ^ ESC [ 32 @
1313# F19 ESC [ 33 ~ ESC [ 33 $ ESC [ 33 ^ ESC [ 33 @
1314# F20 ESC [ 34 ~ ESC [ 34 $ ESC [ 34 ^ ESC [ 34 @
1315#
1316# Application
1317# Up ESC [ A ESC [ a ESC O a ESC O A
1318# Down ESC [ B ESC [ b ESC O b ESC O B
1319# Right ESC [ C ESC [ c ESC O c ESC O C
1320# Left ESC [ D ESC [ d ESC O d ESC O D
1321# KP_Enter ^M ESC O M
1322# KP_F1 ESC O P ESC O P
1323# KP_F2 ESC O Q ESC O Q
1324# KP_F3 ESC O R ESC O R
1325# KP_F4 ESC O S ESC O S
1326# XK_KP_Multiply * ESC O j
1327# XK_KP_Add + ESC O k
1328# XK_KP_Separator , ESC O l
1329# XK_KP_Subtract - ESC O m
1330# XK_KP_Decimal . ESC O n
1331# XK_KP_Divide / ESC O o
1332# XK_KP_0 0 ESC O p
1333# XK_KP_1 1 ESC O q
1334# XK_KP_2 2 ESC O r
1335# XK_KP_3 3 ESC O s
1336# XK_KP_4 4 ESC O t
1337# XK_KP_5 5 ESC O u
1338# XK_KP_6 6 ESC O v
1339# XK_KP_7 7 ESC O w
1340# XK_KP_8 8 ESC O x
1341# XK_KP_9 9 ESC O y
1342#
1343# The source-code for rxvt actually defines mappings for F21-F35, using
1344# "ESC [ 35 ~" to "ESC [ 49 ~". Keyboards with more than 12 function keys
1345# are rare, so this entry uses the shift- and control-modifiers as in
1346# xterm+pcfkeys to define keys past F12.
1347#
1348# kIC is normally not used, since rxvt performs a paste for that (shifted
1349# insert), unless private mode 35 is set.
1350#
1351# kDN, kDN5, kDN6, etc are extensions based on the names from xterm+pcfkeys -TD
1352# Removed kDN6, etc (control+shift) since rxvt does not implement this -TD
1353rxvt+pcfkeys|fragment for PC-style fkeys:\
1354 :#2=\E[7$:#3=\E[2$:#4=\E[d:%c=\E[6$:%e=\E[5$:%i=\E[c:\
1355 :*4=\E[3$:*6=\E[4~:*7=\E[8$:@0=\E[1~:@7=\E[8~:F1=\E[23~:\
1356 :F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
1357 :F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:FB=\E[23$:\
1358 :FC=\E[24$:FD=\E[11^:FE=\E[12^:FF=\E[13^:FG=\E[14^:\
1359 :FH=\E[15^:FI=\E[17^:FJ=\E[18^:FK=\E[19^:FL=\E[20^:\
1360 :FM=\E[21^:FN=\E[23^:FO=\E[24^:FP=\E[25^:FQ=\E[26^:\
1361 :FR=\E[28^:FS=\E[29^:FT=\E[31^:FU=\E[32^:FV=\E[33^:\
1362 :FW=\E[34^:FX=\E[23@:FY=\E[24@:k1=\E[11~:k2=\E[12~:\
1363 :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
1364 :k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kE=\E[8^:kI=\E[2~:\
1365 :kN=\E[6~:kP=\E[5~:kd=\E[B:kh=\E[7~:kl=\E[D:kr=\E[C:\
1366 :ku=\E[A:
1367
1368# (sgr removed to fit entry within 1023 bytes)
1369# (acsc removed to fit entry within 1023 bytes)
1370# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1371rxvt|rxvt terminal emulator (X Window System):\
1372 :am:bs:eo:mi:ms:xn:xo:\
1373 :co#80:it#8:li#24:\
1374 :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:K1=\EOw:K2=\EOu:\
1375 :K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
1376 :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1377 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dl=\E[M:\
1378 :do=^J:ei=\E[4l:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:\
1379 :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
1380 :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
1381 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1382 :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
1383 :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
1384 :md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
1385 :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1386 :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
1387 :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
1388# (sgr removed to fit entry within 1023 bytes)
1389# (acsc removed to fit entry within 1023 bytes)
1390# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1391rxvt-color|rxvt terminal emulator (X Window System):\
1392 :am:bs:eo:mi:ms:xn:xo:\
1393 :co#80:it#8:li#24:\
1394 :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:K1=\EOw:K2=\EOu:\
1395 :K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
1396 :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1397 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dl=\E[M:\
1398 :do=^J:ei=\E[4l:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:\
1399 :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
1400 :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
1401 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1402 :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
1403 :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
1404 :md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
1405 :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1406 :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
1407 :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
1408# (sgr removed to fit entry within 1023 bytes)
1409# (acsc removed to fit entry within 1023 bytes)
1410# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1411rxvt-256color|rxvt 2.7.9 with xterm 256-colors:\
1412 :am:bs:eo:mi:ms:xn:xo:\
1413 :co#80:it#8:li#24:\
1414 :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:K1=\EOw:K2=\EOu:\
1415 :K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
1416 :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1417 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dl=\E[M:\
1418 :do=^J:ei=\E[4l:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:\
1419 :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
1420 :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
1421 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1422 :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
1423 :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
1424 :md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
1425 :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1426 :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
1427 :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
1428# (sgr removed to fit entry within 1023 bytes)
1429# (acsc removed to fit entry within 1023 bytes)
1430# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1431rxvt-88color|rxvt 2.7.9 with xterm 88-colors:\
1432 :am:bs:eo:mi:ms:xn:xo:\
1433 :co#80:it#8:li#24:\
1434 :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:K1=\EOw:K2=\EOu:\
1435 :K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
1436 :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1437 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dl=\E[M:\
1438 :do=^J:ei=\E[4l:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:\
1439 :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
1440 :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
1441 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1442 :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
1443 :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
1444 :md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
1445 :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1446 :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
1447 :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
1448# (sgr removed to fit entry within 1023 bytes)
1449# (acsc removed to fit entry within 1023 bytes)
1450# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1451rxvt-xpm|rxvt terminal emulator (X Window System):\
1452 :am:bs:eo:mi:ms:xn:xo:\
1453 :co#80:it#8:li#24:\
1454 :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:K1=\EOw:K2=\EOu:\
1455 :K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
1456 :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1457 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dl=\E[M:\
1458 :do=^J:ei=\E[4l:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:\
1459 :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
1460 :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
1461 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1462 :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
1463 :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
1464 :md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
1465 :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1466 :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
1467 :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
1468# (sgr removed to fit entry within 1023 bytes)
1469# (rmacs/smacs removed for consistency)
1470# (acsc removed to fit entry within 1023 bytes)
1471# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1472rxvt-cygwin|rxvt terminal emulator (X Window System) on cygwin:\
1473 :am:bs:eo:mi:ms:xn:xo:\
1474 :co#80:it#8:li#24:\
1475 :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:K1=\EOw:K2=\EOu:\
1476 :K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
1477 :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1478 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dl=\E[M:\
1479 :do=^J:ei=\E[4l:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:\
1480 :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
1481 :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
1482 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1483 :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
1484 :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
1485 :md=\E[1m:me=\E[0m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
1486 :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1487 :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
1488 :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
1489# (sgr removed to fit entry within 1023 bytes)
1490# (rmacs/smacs removed for consistency)
1491# (acsc removed to fit entry within 1023 bytes)
1492# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1493rxvt-cygwin-native|rxvt terminal emulator (native MS Window System port) on cygwin:\
1494 :am:bs:eo:mi:ms:xn:xo:\
1495 :co#80:it#8:li#24:\
1496 :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:K1=\EOw:K2=\EOu:\
1497 :K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
1498 :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1499 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dl=\E[M:\
1500 :do=^J:ei=\E[4l:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:\
1501 :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
1502 :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
1503 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1504 :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
1505 :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
1506 :md=\E[1m:me=\E[0m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
1507 :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1508 :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
1509 :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
1510
1511# Entries for use by the `screen' program by Juergen Weigert,
1512# Michael Schroeder, Oliver Laumann. The screen and
1513# screen-w entries came with version 3.7.1. The screen2 and screen3 entries
1514# come from University of Wisconsin and may be older.
1515# (screen: added :ve: on ANSI model -- esr)
1516#
1517# 'screen' defines extensions to termcap. Some are used in its terminal
1518# description:
1519# G0 (bool) Terminal can deal with ISO 2022 font selection sequences.
1520# AX (bool) Does understand ANSI set default fg/bg color
1521# (\E[39m / \E[49m).
1522# S0 (str) Switch charset 'G0' to the specified charset.
1523# E0 (str) Switch charset 'G0' back to standard charset.
1524#
1525# tested with screen 3.09.08
1526screen|VT 100/ANSI X3.64 virtual terminal:\
1527 :am:bs:km:mi:ms:pt:xn:\
1528 :Co#8:NC#3:co#80:it#8:li#24:pa#64:\
1529 :@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
1530 :DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:IC=\E[%d@:\
1531 :Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
1532 :ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1533 :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
1534 :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1535 :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
1536 :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1537 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1538 :k;=\E[21~:kB=\E[Z:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1539 :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
1540 :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
1541 :mr=\E[7m:nd=\E[C:nw=\EE:op=\E[39;49m:rc=\E8:\
1542 :rs=\Ec\E[?1000l\E[?25h:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:\
1543 :sr=\EM:st=\EH:ta=^I:te=\E[?1049l:ti=\E[?1049h:ue=\E[24m:\
1544 :up=\EM:us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:\
1545 :vs=\E[34l:
1546# The bce and status-line entries are from screen 3.9.13 (and require some
1547# changes to .screenrc).
1548# (sgr removed to fit entry within 1023 bytes)
1549# (acsc removed to fit entry within 1023 bytes)
1550screen-bce|VT 100/ANSI X3.64 virtual terminal with bce:\
1551 :am:bs:km:mi:ms:pt:ut:xn:\
1552 :Co#8:NC#3:co#80:it#8:li#24:pa#64:\
1553 :@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
1554 :DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:IC=\E[%d@:\
1555 :Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\
1556 :bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1557 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
1558 :dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
1559 :is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:\
1560 :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1561 :kB=\E[Z:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
1562 :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1563 :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:\
1564 :nw=\EE:op=\E[39;49m:rc=\E8:rs=\Ec\E[?1000l\E[?25h:\
1565 :sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
1566 :te=\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\EM:us=\E[4m:\
1567 :vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l:
1568# (sgr removed to fit entry within 1023 bytes)
1569# (acsc removed to fit entry within 1023 bytes)
1570screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line:\
1571 :am:bs:km:mi:ms:pt:xn:\
1572 :Co#8:NC#3:co#80:it#8:li#24:pa#64:\
1573 :@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
1574 :DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:IC=\E[%d@:\
1575 :Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\
1576 :bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1577 :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
1578 :dl=\E[M:do=^J:ds=\E_\E\\:eA=\E(B\E)0:ei=\E[4l:fs=\E\\:\
1579 :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1580 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1581 :k;=\E[21~:kB=\E[Z:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1582 :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
1583 :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
1584 :mr=\E[7m:nd=\E[C:nw=\EE:op=\E[39;49m:rc=\E8:\
1585 :rs=\Ec\E[?1000l\E[?25h:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:\
1586 :sr=\EM:st=\EH:ta=^I:te=\E[?1049l:ti=\E[?1049h:ts=\E_:\
1587 :ue=\E[24m:up=\EM:us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:\
1588 :vi=\E[?25l:vs=\E[34l:
1589
1590# ======================================================================
1591# Entries for GNU Screen with 16 colors.
1592# Those variations permit to benefit from 16 colors palette, and from
1593# bold font and blink attribute separated from bright colors. But they
1594# are less portable than the generic "screen" 8 color entries: Their
1595# usage makes real sense only if the terminals you attach and reattach
1596# do all support 16 color palette.
1597
1598screen-16color|GNU Screen with 16 colors:\
1599 :am:bs:km:mi:ms:pt:xn:\
1600 :Co#16:NC#3:co#80:it#8:li#24:pa#256:\
1601 :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
1602 :F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
1603 :RI=\E[%dC:UP=\E[%dA:\
1604 :ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1605 :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
1606 :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1607 :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
1608 :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1609 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1610 :k;=\E[21~:kB=\E[Z:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1611 :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
1612 :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
1613 :mr=\E[7m:nd=\E[C:nw=\EE:op=\E[39;49m:rc=\E8:\
1614 :rs=\Ec\E[?1000l\E[?25h:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:\
1615 :sr=\EM:st=\EH:ta=^I:te=\E[?1049l:ti=\E[?1049h:ue=\E[24m:\
1616 :up=\EM:us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:\
1617 :vs=\E[34l:
1618
1619# (sgr removed to fit entry within 1023 bytes)
1620# (acsc removed to fit entry within 1023 bytes)
1621screen-16color-s|GNU Screen with 16 colors and status line:\
1622 :am:bs:km:mi:ms:pt:xn:\
1623 :Co#16:NC#3:co#80:it#8:li#24:pa#256:\
1624 :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
1625 :F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
1626 :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
1627 :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
1628 :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1629 :ds=\E_\E\\:eA=\E(B\E)0:ei=\E[4l:fs=\E\\:ho=\E[H:im=\E[4h:\
1630 :is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:\
1631 :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1632 :kB=\E[Z:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
1633 :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1634 :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:\
1635 :nw=\EE:op=\E[39;49m:rc=\E8:rs=\Ec\E[?1000l\E[?25h:\
1636 :sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
1637 :te=\E[?1049l:ti=\E[?1049h:ts=\E_:ue=\E[24m:up=\EM:\
1638 :us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l:
1639
1640screen-16color-bce|GNU Screen with 16 colors and BCE:\
1641 :am:bs:km:mi:ms:pt:ut:xn:\
1642 :Co#16:NC#3:co#80:it#8:li#24:pa#256:\
1643 :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
1644 :F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
1645 :RI=\E[%dC:UP=\E[%dA:\
1646 :ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1647 :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
1648 :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1649 :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
1650 :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1651 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1652 :k;=\E[21~:kB=\E[Z:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1653 :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
1654 :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
1655 :mr=\E[7m:nd=\E[C:nw=\EE:op=\E[39;49m:rc=\E8:\
1656 :rs=\Ec\E[?1000l\E[?25h:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:\
1657 :sr=\EM:st=\EH:ta=^I:te=\E[?1049l:ti=\E[?1049h:ue=\E[24m:\
1658 :up=\EM:us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:\
1659 :vs=\E[34l:
1660
1661# (sgr removed to fit entry within 1023 bytes)
1662# (acsc removed to fit entry within 1023 bytes)
1663screen-16color-bce-s|GNU Screen with 16 colors, BCE, and status line:\
1664 :am:bs:km:mi:ms:pt:ut:xn:\
1665 :Co#16:NC#3:co#80:it#8:li#24:pa#256:\
1666 :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
1667 :F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
1668 :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
1669 :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
1670 :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1671 :ds=\E_\E\\:eA=\E(B\E)0:ei=\E[4l:fs=\E\\:ho=\E[H:im=\E[4h:\
1672 :is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:\
1673 :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1674 :kB=\E[Z:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
1675 :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1676 :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:\
1677 :nw=\EE:op=\E[39;49m:rc=\E8:rs=\Ec\E[?1000l\E[?25h:\
1678 :sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
1679 :te=\E[?1049l:ti=\E[?1049h:ts=\E_:ue=\E[24m:up=\EM:\
1680 :us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l:
1681
1682# ======================================================================
1683# Entries for GNU Screen 4.02 with --enable-colors256.
1684
1685screen-256color|GNU Screen with 256 colors:\
1686 :am:bs:cc@:km:mi:ms:pt:xn:\
1687 :Co#256:NC#3:co#80:it#8:li#24:pa#32767:\
1688 :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
1689 :F1=\E[23~:F2=\E[24~:IC=\E[%d@:Ic@:Km=\E[M:LE=\E[%dD:\
1690 :RI=\E[%dC:UP=\E[%dA:\
1691 :ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1692 :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
1693 :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1694 :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
1695 :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1696 :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1697 :k;=\E[21~:kB=\E[Z:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1698 :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
1699 :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
1700 :mr=\E[7m:nd=\E[C:nw=\EE:op=\E[39;49m:rc=\E8:\
1701 :rs=\Ec\E[?1000l\E[?25h:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:\
1702 :sr=\EM:st=\EH:ta=^I:te=\E[?1049l:ti=\E[?1049h:ue=\E[24m:\
1703 :up=\EM:us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:\
1704 :vs=\E[34l:
1705
1706# (sgr removed to fit entry within 1023 bytes)
1707# (acsc removed to fit entry within 1023 bytes)
1708screen-256color-s|GNU Screen with 256 colors and status line:\
1709 :am:bs:cc@:km:mi:ms:pt:xn:\
1710 :Co#256:NC#3:co#80:it#8:li#24:pa#32767:\
1711 :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
1712 :F1=\E[23~:F2=\E[24~:IC=\E[%d@:Ic@:Km=\E[M:LE=\E[%dD:\
1713 :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
1714 :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
1715 :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1716 :ds=\E_\E\\:eA=\E(B\E)0:ei=\E[4l:fs=\E\\:ho=\E[H:im=\E[4h:\
1717 :is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:\
1718 :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1719 :kB=\E[Z:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
1720 :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1721 :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:\
1722 :nw=\EE:op=\E[39;49m:rc=\E8:rs=\Ec\E[?1000l\E[?25h:\
1723 :sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
1724 :te=\E[?1049l:ti=\E[?1049h:ts=\E_:ue=\E[24m:up=\EM:\
1725 :us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l:
1726
1727# (sgr removed to fit entry within 1023 bytes)
1728# (acsc removed to fit entry within 1023 bytes)
1729screen-256color-bce|GNU Screen with 256 colors and BCE:\
1730 :am:bs:cc@:km:mi:ms:pt:ut:xn:\
1731 :Co#256:NC#3:co#80:it#8:li#24:pa#32767:\
1732 :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
1733 :F1=\E[23~:F2=\E[24~:IC=\E[%d@:Ic@:Km=\E[M:LE=\E[%dD:\
1734 :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
1735 :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
1736 :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1737 :eA=\E(B\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:\
1738 :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
1739 :k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:kI=\E[2~:\
1740 :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
1741 :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
1742 :md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\EE:op=\E[39;49m:\
1743 :rc=\E8:rs=\Ec\E[?1000l\E[?25h:sc=\E7:se=\E[23m:sf=^J:\
1744 :so=\E[3m:sr=\EM:st=\EH:ta=^I:te=\E[?1049l:ti=\E[?1049h:\
1745 :ue=\E[24m:up=\EM:us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:\
1746 :vi=\E[?25l:vs=\E[34l:
1747
1748# (sgr removed to fit entry within 1023 bytes)
1749# (acsc removed to fit entry within 1023 bytes)
1750screen-256color-bce-s|GNU Screen with 256 colors, BCE, and status line:\
1751 :am:bs:cc@:km:mi:ms:pt:ut:xn:\
1752 :Co#256:NC#3:co#80:it#8:li#24:pa#32767:\
1753 :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
1754 :F1=\E[23~:F2=\E[24~:IC=\E[%d@:Ic@:Km=\E[M:LE=\E[%dD:\
1755 :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
1756 :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
1757 :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1758 :ds=\E_\E\\:eA=\E(B\E)0:ei=\E[4l:fs=\E\\:ho=\E[H:im=\E[4h:\
1759 :is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:\
1760 :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1761 :kB=\E[Z:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
1762 :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1763 :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:\
1764 :nw=\EE:op=\E[39;49m:rc=\E8:rs=\Ec\E[?1000l\E[?25h:\
1765 :sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
1766 :te=\E[?1049l:ti=\E[?1049h:ts=\E_:ue=\E[24m:up=\EM:\
1767 :us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l:
1768
1769# Use this for cygwin (tested with version 1.1.0).
1770# I've combined pcansi and linux. Some values of course were different and
1771# I've indicated which of these were and which I used.
1772# Cheers, earnie_boyd@yahoo.com
1773# several changes based on running with tack and comparing with older entry -TD
1774# more changes from csw:
1775# add cbt [backtab]
1776# remove eo [erase overstrike with blank]
1777# change clear was \E[H\E[J now \E[2J (faster?)
1778# remove cols
1779# remove lines
1780# remove ncv#3 [colors collide with highlights, bitmask] not applicable
1781# to MSDOS box?
1782# add cub [cursor back param]
1783# add cuf [cursor forward param]
1784# add cuu [cursor up param]
1785# add cud [cursor down param]
1786# add hs [has status line]
1787# add fsl [return from status line]
1788# add tsl [go to status line]
1789# add smacs [Start alt charset] (not sure if this works)
1790# add rmacs [End alt charset] (ditto)
1791# add smcup [enter_ca_mode] (save console; thanks Corinna)
1792# add rmcup [exit_ca_mode] (restore console; thanks Corinna)
1793# add kb2 [center of keypad]
1794# add u8 [user string 8] \E[?6c
1795# add el [clear to end of line] \E[K
1796# Notes:
1797# cnorm [make cursor normal] not implemented
1798# flash [flash] not implemented
1799# blink [blink] not implemented very usefully in cygwin? \E[5m
1800# dim [dim] not implemented very usefully in cygwin? \E[2m
1801# cub1 [cursor back 1] typically \E[D, but ^H is faster?
1802# kNXT [shifted next key] not implemented
1803# kPRV [shifted prev key] not implemented
1804# khome [home key] really is \E[1~ NOT \E[H
1805# tbc [clear tab stops] not implemented
1806# xenl [newline ignnored after 80 cols] messes up last line? Ehud Karni
1807# smpch [Start PC charset] is \E[11m, same as smacs
1808# rmpch [End PC charset] is \E[10m, same as rmacs
1809# mir [move in insert mode] fails in tack?
1810# bce [back color erase] causes problems with change background color?
1811# cvvis [make cursor very visible] causes a stackdump when testing with
1812# testcurs using the output option? \E[?25h\E[?8c
1813# civis [make cursor invisible] causes everything to stackdump? \E[?25l\E[?1c
1814# ech [erase characters param] broken \E[%p1%dX
1815# kcbt [back-tab key] not implemented in cygwin? \E[Z
1816#
1817# 2005/11/12 -TD
1818# Remove cbt since it does not work in current cygwin
1819# Add 'mir' and 'in' flags based on tack
1820# (sgr removed to fit entry within 1023 bytes)
1821# (rmacs/smacs removed for consistency)
1822# (acsc removed to fit entry within 1023 bytes)
1823cygwin|ansi emulation for Cygwin:\
1824 :am:hs:mi:ms:xo:\
1825 :Co#8:it#8:pa#64:\
1826 :&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
1827 :DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
1828 :F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
1829 :F9=\E[33~:FA=\E[34~:IC=\E[%d@:K2=\E[G:LE=\E[%dD:\
1830 :RI=\E[%dC:S2=\E[11m:S3=\E[10m:UP=\E[%dA:al=\E[L:bl=^G:\
1831 :cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:\
1832 :cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
1833 :ei=\E[4l:fs=^G:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:\
1834 :k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
1835 :k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1836 :kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
1837 :md=\E[1m:me=\E[0m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:\
1838 :op=\E[39;49m:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
1839 :so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
1840 :ts=\E];:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:\
1841 :ue=\E[24m:up=\E[A:us=\E[4m:
1842ibm+16color|IBM aixterm color definitions:\
1843 :Co#16:pa#256:
1844msys:\
1845 :tc=cygwin:
1846
Note: See TracBrowser for help on using the repository browser.