1 --- ncurses-5.0/misc/terminfo.src.xtermchanges Fri Jun 2 17:51:22 2000
2 +++ ncurses-5.0/misc/terminfo.src Fri Jun 2 19:03:23 2000
5 # This is better than klone+color, it doesn't assume white-on-black as the
6 # default color pair, but many `ANSI' terminals don't grok the <op> cap.
7 +# This is part of the definition, but not accepted: AX,
8 ecma+color|color control for ECMA-48-compatible terminals,
10 colors#8, ncv#3, pairs#64,
11 op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
13 @@ -2394,170 +2394,321 @@
14 rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
15 sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
16 smso=\E[7m, smul=\E[4m,
17 -# Compatible with the R5 xterm
18 -# (from the XFree86 3.2 distribution, <blink=@> removed)
19 -# added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
20 -# corrected typos in rs2 string - TD
22 -xterm-r5|xterm R5 version,
23 - OTbs, am, km, msgr, xenl,
24 - cols#80, it#8, lines#24,
25 - bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
26 - csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
27 - cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
28 - cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
29 - dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
30 - el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
31 - il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
32 - kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
33 - kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~,
34 - kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
35 - kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
36 - kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
37 - kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8,
38 - rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
40 - rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H,
42 - sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
43 - sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
44 - smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
45 - u8=\E[?1;2c, u9=\E[c,
46 -# Compatible with the R6 xterm
47 -# (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
48 -# added khome/kend, hts based on the R6 xterm code - TD
49 -# (khome/kend do not actually work in X11R5 or X11R6, but many people use this
50 -# for compatibility with other emulators).
51 -xterm-r6|xterm-old|xterm X11R6 version,
52 - OTbs, am, km, mir, msgr, xenl,
53 - cols#80, it#8, lines#24,
54 - acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
55 - bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
56 - csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
57 - cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
58 - cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
59 - dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
60 - el=\E[K, enacs=\E)0, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
62 - is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H,
63 - kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
64 - kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
65 - kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
66 - kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
67 - kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
68 - kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
69 - kfnd=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
70 - kslt=\E[4~, meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM,
71 - rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
72 - rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
73 - rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,
74 - sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
75 - smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
76 - u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
77 -# This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
78 -# The name has been changed and some aliases have been removed.
79 -xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
80 - OTbs, am, bce, km, mir, msgr, xenl,
81 - cols#80, it#8, lines#24, ncv@,
82 - acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
83 - bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
84 - clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
85 - csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
86 - cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
87 - cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
88 - dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
89 - ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
90 - flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
91 - ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
93 - is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
94 - ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq,
95 - kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
96 - kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~,
97 - kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
98 - kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
99 - kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
100 - kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
101 - kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~,
102 - kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El,
103 - memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l,
104 - rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>,
105 - rmso=\E[27m, rmul=\E[24m, rs1=^O,
106 - rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,
107 - setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
108 - setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
109 - sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
110 - sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
111 - smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
112 - tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
113 - vpa=\E[%i%p1%dd, use=ecma+color,
115 -# This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
116 -# codes for F1-F4 except while in VT220 mode.
117 -xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System),
118 - kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=xterm-xf86-v32,
120 -# This version was released in XFree86 3.3.3 (November 1998).
121 -# Besides providing printer support, it exploits a new feature that allows
122 -# xterm to use terminfo-based descriptions with the titeInhibit resource.
123 -# -- the distribution contained incorrect khome/kend values -TD
124 -xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System),
126 - blink=\E[5m, ich1@, invis=\E[8m,
127 - is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kfnd@, kslt@,
128 - mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l,
129 - rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>,
130 - sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
131 - smcup=\E[?1048h\E[?1047h, use=xterm-xf86-v33,
133 -# This beta version will probably be released in XFree86 4.0.
134 -xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System),
136 - kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~,
137 - kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C, ka1@,
138 - ka3@, kb2=\EOE, kc1@, kc3@, kcbt=\E[Z, kdch1=\E[3~, kend=\EOF,
139 - kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S,
140 - kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~,
141 - kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
142 - kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q,
143 - kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf30=\E[17;5~,
144 - kf31=\E[18;5~, kf32=\E[19;5~, kf33=\E[20;5~,
145 - kf34=\E[21;5~, kf35=\E[23;5~, kf36=\E[24;5~, kf37=\EO6P,
146 - kf38=\EO6Q, kf39=\EO6R, kf40=\EO6S, kf41=\E[15;6~,
147 - kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~,
148 - kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~,
149 - kf48=\E[24;6~, khome=\EOH, rmcup=\E[?1049l,
150 - sgr=\E[0%?%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
151 - smcup=\E[?1049h, use=xterm-xf86-v333,
153 -xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System),
154 - use=xterm-xf86-v40,
156 -# From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
157 -xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1,
158 - rmso=\E[m, rmul=\E[m, use=xterm-xf86-v33,
160 -# This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
161 -xterm-16color|xterm with 16 colors like aixterm,
162 - colors#16, pairs#256,
163 - setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
164 - setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
165 - setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
166 - setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
167 - use=xterm-xf86-v40,
169 -# These variants of XFree86 3.9.16 xterm are built as a configure option.
170 -xterm-256color|xterm with 256 colors,
172 - colors#256, pairs#256,
173 - initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
174 - setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm,
175 - setb=\E[48;5;%p1%dm, setf=\E[38;5;%p1%dm,
177 -xterm-88color|xterm with 88 colors,
178 - colors#88, pairs#88, use=xterm-256color,
180 -# This is another variant, for XFree86 4.0 xterm (T.Dickey)
181 +# XFree86 updates/notes/new entries (including xterm-8bit, xterm-16color)
182 +# - Thomas E. Dickey <dickey@clark.net>
184 +# Special Capabilities:
185 +# --------------------
186 +# ich has a corresponding capability that inserts a single blank. We could
187 +# have used ich1=\E[@, which works with ncurses, but that is not standard
188 +# behavior. If it is set, then SVr4 vi (e.g., Solaris 2.6) emits both
189 +# smir/rmir and ich1.
190 +# meml locks memory above the cursor; memu unlocks (ala HP terminals). This
191 +# is not recognized by some older (e.g., SVr3) tic programs, but none
192 +# do more than warn about it. Ignore the warning.
193 +# rmcup clears memory before switching to the alternate screen. The older
194 +# (deprecated) \E[?47h did not do this, requiring applications to
195 +# embed a \E[2J in the rmcup string. However, that behavior cannot
196 +# be disabled via titeInhibit, making that resource not function as
197 +# intended on systems with terminfo.
198 +# rs2/is2 are shorter with XFree86 xterm because it supports DECSTR. We
199 +# use the shorter sequence for compatibility with the termcap, which
200 +# is trimmed to keep it shorter than 1023 characters. It (escape \E[!p)
201 +# replaces these in the conventional vt100 reset-string:
202 +# \E7 - save cursor (fixes origin-mode side-effect)
203 +# \E[r - reset scrolling margins
204 +# \E[m - reset SGR (including color)
205 +# \E[?7h - reset wraparound mode (DECAWM)
206 +# \E[?1l - reset application cursor keys (DECCKM)
207 +# \E[?6l - reset origin mode (DECOM)
208 +# \E8 - restore cursor
209 +# DECSTR is recognized by XFree86 xterm even in vt52 mode.
213 +# XFree86 xterm emulates vt220 if the decTerminalID resource is set to 200 or
214 +# higher. Otherwise it emulates a vt100 or vt52 depending on the value of the+ # resource. When emulating a vt220, we support the editing keypad. Sun and PC
215 +# keyboards have an editing keypad which is similar to the vt220:
217 +# VT220 editing keypad
218 +# ----------------------------
219 +# Find Insert Remove
221 +# ----------------------------
223 +# Sun/PC editing keypad
224 +# ----------------------------
225 +# Insert Home PageUp
227 +# ----------------------------
229 +# If the sunKeyboard resource is true, we map it this way (adjusting the values
230 +# of Home, End and Delete):
232 +# ----------------------------
239 +# ----------------------------
241 +# Note that all of the keys on the editing keypad transmit escape sequences.
243 +# vt220 does this only when in vt220 mode; when emulating a vt100 the editing
244 +# keypad is inactive.
246 +# Alternative keycodes:
247 +# --------------------
248 +# Several of the function keys have alternative names, depending on the type of
249 +# host which your xterm is connected to. DEC (i.e., the VMS system) uses F15
250 +# as the HELP key, F16 as the DO key. Unix applications generally do not do
251 +# this. Curses applications in particular, assign a unique keycode to each
252 +# capability string. These terminal descriptions do not have conflicting
253 +# definitions, to ensure that Unix curses applications use a consistent set of
254 +# keycodes. To get a VMS-bias, make these substitutions:
255 +# 1. change khome to kfnd
256 +# 2. change kend to kslt
257 +# Some legacy applications using the termcap emulation may expect kll where
258 +# we have specified kend.
260 +xterm-xfree86|xterm-new|xterm terminal emulator (XFree86),
273 + acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
282 + csr=\E[%i%p1%d;%p2%dr,
289 + cup=\E[%i%p1%d;%p2%dH,
302 + flash=\E[?5h\E[?5l,
312 + is2=\E[!p\E[?3;4l\E[4l\E>,
363 + rmcup=\E[?1047l\E[?1048l,
369 + rs2=\E[!p\E[?3;4l\E[4l\E>,
373 + setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
374 + setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
375 + sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
379 + smcup=\E[?1048h\E[?1047h,
390 +# xterm-redhat is identical to xterm-xfree86 with the addition of a small
391 +# VT220-ism regarding the backspace and delete keys; this is mandated by
392 +# the keyboard configuration section of the Debian Policy Manual.
393 +xterm-redhat|Red Hat xterm (backspace and delete changed),
399 +# The xterm-xfree86 description has all of the features, but is not completely+ # compatible with vt220. If you are using a Sun or PC keyboard, set the
400 +# sunKeyboard resource to true:
401 +# maps the editing keypad
402 +# interprets control-function-key as a second array of keys, so a
403 +# 12-fkey keyboard can support vt220's 20-fkeys.
404 +# maps numeric keypad "+" to ",".
406 +xterm-vt220|XFree86 xterm emulating vt220,
413 +xterm-24|xterms|vs100|xterm terminal emulator (X Window System),
416 +xterm-65|xterm with tall window 65x80 (X Window System),
419 +xterm-bold|xterm with bold instead of underline (X Window System),
423 +xterm-mono|monochrome xterm (X Window System),
435 +# This should work for the commonly used "color xterm" variations (XFree86
436 +# xterm, color_xterm, nxterm, rxvt):
437 +xterm-color|generic "ANSI" color xterm (X Window System),
446 +xterm-boldso|xterm with bold for standout (X Window System),
451 +# vi may work better with this entry, because vi
452 +# doesn't use insert mode much
453 +xterm-ic|xterm-vi|xterm with insert character instead of insert mode,
461 +# This one also is primarily for testing ncurses; while the ISO 6429 defines
462 +# the REP control, none of the DEC VTxxx terminals (VT52 through VT420) support
464 +xterm-rep|xterm with repeat-character control,
465 + rep=%p1%c\E[%p2%{1}%-%db,
468 +# This is mainly for testing xterm; the real VT220 will not let you switch
469 +# character sets without first altering the keyboard language in the setup
470 +# screen. Some emulators allow this anyway. (Note that these strings are
471 +# normally used only for printers). The parameter to csnm and scs is the same+ # in both cases: the keyboard language parameter returned by CSI ? 2 6 n.
472 +xterm-nrc|xterm with VT220 national replacement character sets,
473 + csnm=%?%p1%{1}%=%tNorth American%e%p1%{2}%=%tBritish%e%p1%{3}%=%tFlemish%e%p1%{4}%=%tFrench Canadian%e%p1%{5}%=%tDanish%e%p1%{6}%=%tFinnish%e%p1%{7}%=%tGerman%e%p1%{8}%=%tDutch%e%p1%{9}%=%tItalian%e%p1%{10}%=%tSwiss (French)%e%p1%{11}%=%tSwiss (German)%e%p1%{12}%=%tSwedish%e%p1%{13}%=%tNorwegian%e%p1%{14}%=%tFrench/Belgian%e%p1%{15}%=%tSpanish%;,
474 + scs=%?%p1%{1}%=%t\E(B%e%p1%{2}%=%t\E(A%e%p1%{3}%=%t\E(R%e%p1%{4}%=%t\E(9%e%p1%{5}%=%t\E(E%e%p1%{6}%=%t\E(5%e%p1%{7}%=%t\E(K%e%p1%{8}%=%t\E(4%e%p1%{9}%=%t\E(Y%e%p1%{10}%=%t\E(=%e%p1%{11}%=%t\E(=%e%p1%{12}%=%t\E(7%e%p1%{13}%=%t\E(E%e%p1%{14}%=%t\E(R%e%p1%{15}%=%t\E(Z%;,
477 +# Foreground 0-15 maps (with toggles) into 30-37 & 90-97
478 +# Background 0-15 maps (with toggles) into 40-47 & 100-107
480 +# Originally I suppressed setaf/setab, since ANSI specifies only 8 colors, but+ # Stephen Marley persuaded me to allow the "ANSI" color controls to extend to
481 +# 16 colors. (Note that ncurses 4.2 uses setf/setb from this description;
482 +# however 5.0 selects either according to their availability). - T.Dickey
484 +# SVr4 curses does not use more than 8 colors anyway, so using 16 colors is
485 +# either for terminfo-level applications or via ncurses.
486 +xterm-16color|xterm with 16 colors,
490 + setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
491 + setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
492 + setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
493 + setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
496 # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
497 # To use it, your decTerminalID resource must be set to 200 or above.
499 @@ -2566,102 +2717,339 @@
503 -xterm-8bit|xterm terminal emulator 8-bit controls (X Window System),
504 - OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl,
505 - colors#8, cols#80, it#8, lines#24, pairs#64,
506 - acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
507 - bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z,
508 - civis=\233?25l, clear=\233H\2332J, cnorm=\233?25h, cr=^M,
509 - csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H,
510 - cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C,
511 - cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A,
512 - dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,
513 - ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K,
514 - enacs=\E(B\E)0, flash=\233?5h$<100/>\233?5l,
515 - home=\233H, hpa=\233%i%p1%dG, ht=^I, hts=\210,
516 - ich=\233%p1%d@, il=\233%p1%dL, il1=\233L, ind=^J,
518 - is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
519 - ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H,
520 - kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B,
521 - kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~,
522 - kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~,
523 - kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
524 - kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
525 - kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~,
526 - kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~,
527 - kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M,
528 - knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i,
529 - meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m,
530 - ri=\215, rmacs=^O, rmam=\233?7l, rmcup=\233?1049l,
531 - rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
533 - rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
534 - sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm,
535 - setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
536 - setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
537 - sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
538 - sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\233?1049h,
539 - smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m,
540 - tbc=\2333g, u6=\233[%i%d;%dR, u7=\E[6n, u8=\233[?1;2c,
541 - u9=\E[c, vpa=\233%i%p1%dd,
543 -xterm-hp|XFree86 xterm with hpterm function keys,
544 - kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
545 - kdch1=\EP, kend=\EF, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es,
546 - kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, kich1=\EQ,
547 - knp=\ES, kpp=\ET, use=xterm-xfree86,
549 -xterm-vt220|XFree86 xterm emulating vt220,
550 - ka1=\EOw, ka3=\EOy, kbeg=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs,
551 - kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
552 - kdch1=\E[3~, kend=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
553 - kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
554 - kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
555 - kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
556 - kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
557 - khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
560 -xterm-vt52|XFree86 xterm emulating dec vt52,
561 - cols#80, it#8, lines#24,
562 - acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
563 - bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
564 - cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, ed=\EJ, el=\EK,
565 - home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
566 - kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
568 -xterm-noapp|xterm with cursor keys in normal mode,
569 - kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rmcup@,
570 - rmkx=\E>, smcup@, smkx=\E=, use=xterm,
572 -xterm-24|vs100|xterms|xterm terminal emulator (X Window System),
573 - lines#24, use=xterm-r6,
575 -# This is xterm for ncurses.
576 -xterm|xterm terminal emulator (X Window System),
578 -# use=xterm-xfree86,
580 -# These entries allow access to the X titlebar and icon name as a status line.
581 -# Note that twm (and possibly window managers descended from it such as tvtwm,
582 -# ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
584 -xterm+sl|access X title line and icon name,
587 - dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm,
588 -xterm+sl-twm|access X title line (pacify twm-descended window managers),
591 - dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm,
594 -# The following xterm variants don't depend on your base version
596 -# xterm with bold instead of underline
597 -xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
598 - smso=\E[7m, smul=\E[1m, use=xterm,
599 +xterm-8bit|xterm terminal emulator with 8-bit controls (X Window System),
612 + acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
621 + csr=\233%i%p1%d;%p2%dr,
628 + cup=\233%i%p1%d;%p2%dH,
641 + flash=\233?5h\233?5l,
652 + is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
703 + rmcup=\233?1047l\233?1048l,
709 + rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
713 + setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
714 + setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
715 + sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
719 + smcup=\233?1048h\233?1047h,
731 +# Compatible with the R6 xterm, with the following changes:
732 +# added acsc (perhaps some versions of tic assume the standard vt100
733 +# alternate character set)
734 +# added u6, u7, u8, u9 strings for Daniel Weaver's tack program.
735 +# added kmous string for ncurses.
736 +# added khome/kend strings.
737 +xterm-r6|xterm-old|xterm X11R6 version,
746 + acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
752 + csr=\E[%i%p1%d;%p2%dr,
759 + cup=\E[%i%p1%d;%p2%dH,
775 + is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
814 + rmcup=\E[2J\E[?47l\E8,
819 + rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
834 +# Compatible with the R5 xterm, with the following changes:
835 +# changed 'blink=@', to 'blink@' (the former meant that "@" would start
836 +# a blink, the latter that it is not supported).
837 +# changed kf1 through kf4 to correspond with actual usage. Though X
838 +# supports keypad symbols for PF1 to PF4, and xterm interprets these
839 +# correctly, the F1 to F4 codes are commonly (but incorrectly) used.
840 +# moved reset string from rs1 to rs2, to correlate better with termcap.
841 +# make khome consistent with other entries.
842 +# use rmul/smul, rmir/smir from termcap, but not rmcup/smcup because
843 +# not everyone wants the alternate screen.
844 +xterm-r5|xterm R5 version,
857 + csr=\E[%i%p1%d;%p2%dr,
864 + cup=\E[%i%p1%d;%p2%dH,
915 + rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H,
917 + sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
925 +# This is the only entry which you should have to customize, since "xterm"
926 +# is widely used for a variety of incompatible terminal emulations including
927 +# color_xterm and rxvt.
928 +xterm|X11 terminal emulator,
930 +# use=xterm-xfree86,
932 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
933 # (kterm should not invoke DEC Graphics as the alternate character set
935 @@ -2710,18 +3096,6 @@
936 smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m,
937 smul=\E[4m, use=ecma+color,
939 -# The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
940 -# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
941 -# SGR 39 or 49. SGR 0 does reset colors (along with everything else). This
942 -# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
943 -# that each of those implements the home, end, delete keys differently.
945 -# Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
946 -# colors; note that this is not compatible with the 5.2 version.
947 -nxterm|xterm-color|generic color xterm,
949 - op=\E[m, use=xterm-r6, use=klone+color,
951 # this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
952 gnome|Gnome terminal,
954 @@ -2823,15 +3197,6 @@
955 setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
958 -# From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
959 -# Here's a termcap entry I've been using for xterm_color, which comes
960 -# with BSD/OS 2.0, and the X11R6 contrib tape too I think. Besides the
961 -# color stuff, I also have a status line defined as the window manager
962 -# title bar. [I have translated it to terminfo -- ESR]
963 -xterm-pcolor|xterm with color used for highlights and status line,
964 - bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m,
965 - smul=\E[4m\E[42m, use=xterm+sl, use=xterm-r6,
967 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
968 # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
969 hpterm|X-hpterm|hp X11 terminal emulator,
970 @@ -2986,8 +3351,9 @@
971 # G0 (bool) Terminal can deal with ISO 2022 font selection sequences.
972 # AX (bool) Does understand ANSI set default fg/bg color
974 +# G0 is part of the screen definition, but unknown.
975 screen|VT 100/ANSI X3.64 virtual terminal,
976 - OTbs, OTpt, am, km, mir, msgr, xenl, G0,
977 + OTbs, OTpt, am, km, mir, msgr, xenl,
978 colors#8, cols#80, it#8, lines#24, pairs#64,
979 acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
980 bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,