]> git.pld-linux.org Git - packages/compat-ncurses5.git/blob - ncurses-xtermchanges.patch
230573ebc19a1155a156154eeffd90ac patch-5.2-20010908.sh
[packages/compat-ncurses5.git] / ncurses-xtermchanges.patch
1 diff -Nru ncurses-5.2/misc/terminfo.src ncurses-5.2.new/misc/terminfo.src
2 --- ncurses-5.2/misc/terminfo.src       Wed Nov  8 01:51:59 2000
3 +++ ncurses-5.2.new/misc/terminfo.src   Wed Nov  8 02:57:15 2000
4 @@ -391,8 +391,8 @@
5  
6  # This is better than klone+color, it doesn't assume white-on-black as the
7  # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
8 +# This is part of the definition, but not accepted: AX, 
9  ecma+color|color control for ECMA-48-compatible terminals, 
10 -       AX, 
11         colors#8, ncv#3, pairs#64, 
12         op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
13  
14 @@ -2484,217 +2484,321 @@
15         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
16         sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
17         smso=\E[7m, smul=\E[4m, 
18 -# Compatible with the R5 xterm 
19 -# (from the XFree86 3.2 distribution, <blink=@> removed)
20 -# added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
21 -# corrected typos in rs2 string - TD
22 -# added u6-u9 -TD
23 -xterm-r5|xterm R5 version, 
24 -       OTbs, am, km, msgr, xenl, 
25 -       cols#80, it#8, lines#24, 
26 -       bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
27 -       csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
28 -       cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
29 -       cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
30 -       dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
31 -       el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
32 -       il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, 
33 -       kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, 
34 -       kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~, 
35 -       kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
36 -       kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
37 -       kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, 
38 -       kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, 
39 -       rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
40 -       rmul=\E[m, 
41 -       rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H, 
42 -       sc=\E7, 
43 -       sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
44 -       sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
45 -       smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, 
46 -       u8=\E[?1;2c, u9=\E[c, 
47 -# Compatible with the R6 xterm
48 -# (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
49 -# added khome/kend, hts based on the R6 xterm code - TD
50 -# (khome/kend do not actually work in X11R5 or X11R6, but many people use this
51 -# for compatibility with other emulators).
52 -xterm-r6|xterm-old|xterm X11R6 version, 
53 -       OTbs, am, km, mir, msgr, xenl, 
54 -       cols#80, it#8, lines#24, 
55 -       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
56 -       bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
57 -       csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
58 -       cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
59 -       cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
60 -       dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
61 -       el=\E[K, enacs=\E)0, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
62 -       il1=\E[L, ind=^J, 
63 -       is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H, 
64 -       kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
65 -       kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
66 -       kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
67 -       kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
68 -       kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
69 -       kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
70 -       kfnd=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
71 -       kslt=\E[4~, meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, 
72 -       rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
73 -       rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
74 -       rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7, 
75 -       sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, 
76 -       smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
77 -       u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
78 -# This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
79 -# The name has been changed and some aliases have been removed.
80 -xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System), 
81 -       OTbs, am, bce, km, mir, msgr, xenl, 
82 -       cols#80, it#8, lines#24, ncv@, 
83 -       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
84 -       bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
85 -       clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
86 -       csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
87 -       cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
88 -       cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
89 -       dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
90 -       ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
91 -       flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, 
92 -       ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
93 -       il1=\E[L, ind=^J, 
94 -       is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, 
95 -       ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq, 
96 -       kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
97 -       kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~, 
98 -       kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
99 -       kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
100 -       kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
101 -       kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
102 -       kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~, 
103 -       kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El, 
104 -       memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
105 -       rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
106 -       rmso=\E[27m, rmul=\E[24m, rs1=^O, 
107 -       rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7, 
108 -       setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
109 -       setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
110 -       sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
111 -       sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
112 -       smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
113 -       tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
114 -       vpa=\E[%i%p1%dd, use=ecma+color, 
115 -
116 -# This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
117 -# codes for F1-F4 except while in VT220 mode.
118 -xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System), 
119 -       kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=xterm-xf86-v32, 
120 -
121 -# This version was released in XFree86 3.3.3 (November 1998).
122 -# Besides providing printer support, it exploits a new feature that allows
123 -# xterm to use terminfo-based descriptions with the titeInhibit resource.
124 -# -- the distribution contained incorrect khome/kend values -TD
125 -xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System), 
126 -       mc5i, 
127 -       blink=\E[5m, ich1@, invis=\E[8m, 
128 -       is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kfnd@, kslt@, 
129 -       mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l, 
130 -       rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, 
131 -       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%;, 
132 -       smcup=\E[?1048h\E[?1047h, use=xterm-xf86-v33, 
133 -
134 -# This version was released in XFree86 4.0.
135 -xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System), 
136 -       npc, 
137 -       kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~, 
138 -       kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C, ka1@, 
139 -       ka3@, kb2=\EOE, kc1@, kc3@, kcbt=\E[Z, kdch1=\E[3~, kend=\EOF, 
140 -       kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S, 
141 -       kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, 
142 -       kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~, 
143 -       kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q, 
144 -       kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf30=\E[17;5~, 
145 -       kf31=\E[18;5~, kf32=\E[19;5~, kf33=\E[20;5~, 
146 -       kf34=\E[21;5~, kf35=\E[23;5~, kf36=\E[24;5~, kf37=\EO6P, 
147 -       kf38=\EO6Q, kf39=\EO6R, kf40=\EO6S, kf41=\E[15;6~, 
148 -       kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~, 
149 -       kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~, 
150 -       kf48=\E[24;6~, khome=\EOH, rmcup=\E[?1049l, 
151 -       sgr=\E[0%?%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
152 -       smcup=\E[?1049h, use=xterm-xf86-v333, 
153 -
154 -xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System), 
155 -       npc, 
156 -       kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~, 
157 -       kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C, 
158 -       kb2=\EOE, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
159 -       kcuu1=\EOA, kend=\EOF, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
160 -       kf11=\E[23~, kf12=\E[24~, kf13=\EO2P, kf14=\EO2Q, 
161 -       kf15=\EO2R, kf16=\EO2S, kf17=\E[15;2~, kf18=\E[17;2~, 
162 -       kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~, 
163 -       kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, 
164 -       kf26=\EO5Q, kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, 
165 -       kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~, 
166 -       kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~, 
167 -       kf36=\E[24;5~, kf37=\EO6P, kf38=\EO6Q, kf39=\EO6R, 
168 -       kf4=\EOS, kf40=\EO6S, kf41=\E[15;6~, kf42=\E[17;6~, 
169 -       kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~, 
170 -       kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~, kf5=\E[15~, 
171 -       kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\EOH, 
172 -       kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
173 -       use=xterm-basic, 
174 -#
175 -# This chunk is used for building the VT220/Sun/PC keyboard variants.
176 -xterm-basic|xterm terminal emulator - common (XFree86), 
177 -       am, bce, km, mc5i, mir, msgr, xenl, 
178 -       colors#8, cols#80, it#8, lines#24, pairs#64, 
179 -       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
180 -       bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
181 -       clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
182 -       csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
183 -       cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
184 -       cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
185 -       dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
186 -       ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
187 -       flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, 
188 -       ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
189 -       ind=^J, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, kbs=^H, 
190 -       kdch1=\E[3~, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El, 
191 -       memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
192 -       rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, 
193 -       rmso=\E[27m, rmul=\E[24m, rs1=\Ec, 
194 -       rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7, setab=\E[4%p1%dm, 
195 -       setaf=\E[3%p1%dm, 
196 -       setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
197 -       setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
198 -       sgr=\E[0%?%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
199 -       sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[?1049h, 
200 -       smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
201 -       tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
202 -       vpa=\E[%i%p1%dd, 
203 -
204 -# From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
205 -xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1, 
206 -       rmso=\E[m, rmul=\E[m, use=xterm-xf86-v33, 
207 -
208 -# This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
209 -xterm-16color|xterm with 16 colors like aixterm, 
210 -       colors#16, ncv#32, pairs#256, 
211 -       setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm, 
212 -       setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm, 
213 -       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, 
214 -       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, 
215 -       use=xterm-xfree86, 
216 -
217 -# These variants of XFree86 3.9.16 xterm are built as a configure option.
218 -xterm-256color|xterm with 256 colors, 
219 -       ccc, 
220 -       colors#256, ncv#32, pairs#256, 
221 -       initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, 
222 -       setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm, 
223 -       setb=\E[48;5;%p1%dm, setf=\E[38;5;%p1%dm, 
224 -       use=xterm-xfree86, 
225 -xterm-88color|xterm with 88 colors, 
226 -       colors#88, pairs#88, use=xterm-256color, 
227 +# XFree86 updates/notes/new entries (including xterm-8bit, xterm-16color)
228 +# - Thomas E. Dickey <dickey@clark.net>
229 +#
230 +# Special Capabilities:
231 +# --------------------
232 +# ich has a corresponding capability that inserts a single blank.  We could
233 +#     have used ich1=\E[@, which works with ncurses, but that is not standard
234 +#     behavior.  If it is set, then SVr4 vi (e.g., Solaris 2.6) emits both
235 +#     smir/rmir and ich1.
236 +# meml locks memory above the cursor; memu unlocks (ala HP terminals).  This
237 +#     is not recognized by some older (e.g., SVr3) tic programs, but none
238 +#     do more than warn about it.  Ignore the warning.
239 +# rmcup clears memory before switching to the alternate screen.  The older
240 +#     (deprecated) \E[?47h did not do this, requiring applications to
241 +#     embed a \E[2J in the rmcup string.  However, that behavior cannot
242 +#     be disabled via titeInhibit, making that resource not function as
243 +#     intended on systems with terminfo.
244 +# rs2/is2 are shorter with XFree86 xterm because it supports DECSTR.  We
245 +#     use the shorter sequence for compatibility with the termcap, which
246 +#     is trimmed to keep it shorter than 1023 characters.  It (escape \E[!p)
247 +#     replaces these in the conventional vt100 reset-string:
248 +#             \E7     - save cursor (fixes origin-mode side-effect)
249 +#             \E[r    - reset scrolling margins
250 +#             \E[m    - reset SGR (including color)
251 +#             \E[?7h  - reset wraparound mode (DECAWM)
252 +#             \E[?1l  - reset application cursor keys (DECCKM)
253 +#             \E[?6l  - reset origin mode (DECOM)
254 +#             \E8     - restore cursor
255 +#     DECSTR is recognized by XFree86 xterm even in vt52 mode.
256 +#
257 +# Editing Keypad:
258 +# --------------
259 +# XFree86 xterm emulates vt220 if the decTerminalID resource is set to 200 or
260 +# 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
261 +# keyboards have an editing keypad which is similar to the vt220:
262 +#
263 +#     VT220 editing keypad
264 +#     ----------------------------
265 +#     Find      Insert      Remove
266 +#     Select    Prev        Next
267 +#     ----------------------------
268 +#
269 +#     Sun/PC editing keypad
270 +#     ----------------------------
271 +#     Insert    Home        PageUp
272 +#     Delete    End         PageDn
273 +#     ----------------------------
274 +#
275 +# If the sunKeyboard resource is true, we map it this way (adjusting the values
276 +# of Home, End and Delete):
277 +#     VT220                 Sun/PC
278 +#     ----------------------------
279 +#     Find                  Home
280 +#     Select                End
281 +#     Insert                Insert
282 +#     Remove                Delete
283 +#     Prev                  PageUp
284 +#     Next                  PageDn
285 +#     ----------------------------
286 +#
287 +# Note that all of the keys on the editing keypad transmit escape sequences.
288 +A
289 +# vt220 does this only when in vt220 mode; when emulating a vt100 the editing
290 +# keypad is inactive.
291 +#
292 +# Alternative keycodes:
293 +# --------------------
294 +# Several of the function keys have alternative names, depending on the type of
295 +# host which your xterm is connected to.  DEC (i.e., the VMS system) uses F15
296 +# as the HELP key, F16 as the DO key.  Unix applications generally do not do
297 +# this.  Curses applications in particular, assign a unique keycode to each
298 +# capability string.  These terminal descriptions do not have conflicting
299 +# definitions, to ensure that Unix curses applications use a consistent set of
300 +# keycodes.  To get a VMS-bias, make these substitutions:
301 +#     1. change khome to kfnd
302 +#     2. change kend to kslt
303 +# Some legacy applications using the termcap emulation may expect kll where
304 +# we have specified kend.
305 +#
306 +xterm-xfree86|xterm-new|xterm terminal emulator (XFree86),
307 +       am,
308 +       bce,
309 +       km,
310 +       mc5i,
311 +       mir,
312 +       msgr,
313 +       xenl,
314 +       colors#8,
315 +       cols#80,
316 +       it#8,
317 +       lines#24,
318 +       pairs#64,
319 +       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
320 +       bel=^G,
321 +       blink=\E[5m,
322 +       bold=\E[1m,
323 +       cbt=\E[Z,
324 +       civis=\E[?25l,
325 +       clear=\E[H\E[2J,
326 +       cnorm=\E[?25h,
327 +       cr=^M,
328 +       csr=\E[%i%p1%d;%p2%dr,
329 +       cub=\E[%p1%dD,
330 +       cub1=^H,
331 +       cud=\E[%p1%dB,
332 +       cud1=^J,
333 +       cuf=\E[%p1%dC,
334 +       cuf1=\E[C,
335 +       cup=\E[%i%p1%d;%p2%dH,
336 +       cuu=\E[%p1%dA,
337 +       cuu1=\E[A,
338 +       cvvis=\E[?25h,
339 +       dch=\E[%p1%dP,
340 +       dch1=\E[P,
341 +       dl=\E[%p1%dM,
342 +       dl1=\E[M,
343 +       ech=\E[%p1%dX,
344 +       ed=\E[J,
345 +       el=\E[K,
346 +       el1=\E[1K,
347 +       enacs=\E(B\E)0,
348 +       flash=\E[?5h\E[?5l,
349 +       home=\E[H,
350 +       hpa=\E[%i%p1%dG,
351 +       ht=^I,
352 +       hts=\EH,
353 +       ich=\E[%p1%d@,
354 +       il=\E[%p1%dL,
355 +       il1=\E[L,
356 +       ind=^J,
357 +       invis=\E[8m,
358 +       is2=\E[!p\E[?3;4l\E[4l\E>,
359 +       ka1=\EOw,
360 +       ka3=\EOu,
361 +       kb2=\EOy,
362 +       kbeg=\EOE,
363 +       kbs=^H,
364 +       kc1=\EOq,
365 +       kc3=\EOs,
366 +       kcub1=\EOD,
367 +       kcud1=\EOB,
368 +       kcuf1=\EOC,
369 +       kcuu1=\EOA,
370 +       kdch1=\E[3~,
371 +       kend=\E[4~,
372 +       kent=\EOM,
373 +       kf1=\EOP,
374 +       kf10=\E[21~,
375 +       kf11=\E[23~,
376 +       kf12=\E[24~,
377 +       kf13=\E[25~,
378 +       kf14=\E[26~,
379 +       kf15=\E[28~,
380 +       kf16=\E[29~,
381 +       kf17=\E[31~,
382 +       kf18=\E[32~,
383 +       kf19=\E[33~,
384 +       kf2=\EOQ,
385 +       kf20=\E[34~,
386 +       kf3=\EOR,
387 +       kf4=\EOS,
388 +       kf5=\E[15~,
389 +       kf6=\E[17~,
390 +       kf7=\E[18~,
391 +       kf8=\E[19~,
392 +       kf9=\E[20~,
393 +       khome=\E[1~,
394 +       kich1=\E[2~,
395 +       kmous=\E[M,
396 +       knp=\E[6~,
397 +       kpp=\E[5~,
398 +       mc0=\E[i,
399 +       mc4=\E[4i,
400 +       mc5=\E[5i,
401 +       meml=\El,
402 +       memu=\Em,
403 +       op=\E[39;49m,
404 +       rc=\E8,
405 +       rev=\E[7m,
406 +       ri=\EM,
407 +       rmacs=^O,
408 +       rmam=\E[?7l,
409 +       rmcup=\E[?1047l\E[?1048l,
410 +       rmir=\E[4l,
411 +       rmkx=\E[?1l\E>,
412 +       rmso=\E[27m,
413 +       rmul=\E[24m,
414 +       rs1=\Ec,
415 +       rs2=\E[!p\E[?3;4l\E[4l\E>,
416 +       sc=\E7,
417 +       setab=\E[4%p1%dm,
418 +       setaf=\E[3%p1%dm,
419 +       setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
420 +       setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
421 +       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%;,
422 +       sgr0=\E[m\017,
423 +       smacs=^N,
424 +       smam=\E[?7h,
425 +       smcup=\E[?1048h\E[?1047h,
426 +       smir=\E[4h,
427 +       smkx=\E[?1h\E=,
428 +       smso=\E[7m,
429 +       smul=\E[4m,
430 +       tbc=\E[3g,
431 +       u6=\E[%i%d;%dR,
432 +       u7=\E[6n,
433 +       u8=\E[?1;2c,
434 +       u9=\E[c,
435 +       vpa=\E[%i%p1%dd,
436 +# xterm-redhat is identical to xterm-xfree86 with the addition of a small
437 +# VT220-ism regarding the backspace and delete keys; this is mandated by
438 +# the keyboard configuration section of the Debian Policy Manual.
439 +xterm-redhat|Red Hat xterm (backspace and delete changed),
440 +         kbs=^H,
441 +         kdch1=\E[3~,
442 +         use=xterm-xfree86,
443  
444 -# This is another variant, for XFree86 4.0 xterm (T.Dickey)
445 +#
446 +# 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
447 +# sunKeyboard resource to true:
448 +# maps the editing keypad
449 +# interprets control-function-key as a second array of keys, so a
450 +#       12-fkey keyboard can support vt220's 20-fkeys.
451 +# maps numeric keypad "+" to ",".
452 +#
453 +xterm-vt220|XFree86 xterm emulating vt220,
454 +       kdch1=\E[3~,
455 +       kend=\E[4~,
456 +       khome=\E[1~,
457 +       use=xterm-xfree86,
458 +
459 +# Other variants:
460 +xterm-24|xterms|vs100|xterm terminal emulator (X Window System),
461 +       lines#24,
462 +       use=xterm,
463 +xterm-65|xterm with tall window 65x80 (X Window System),
464 +       lines#65,
465 +       use=xterm,
466 +xterm-bold|xterm with bold instead of underline (X Window System),
467 +       smso=\E[7m,
468 +       smul=\E[1m,
469 +       use=xterm,
470 +xterm-mono|monochrome xterm (X Window System),
471 +       colors@,
472 +       ncv@,
473 +       pairs@,
474 +       op@,
475 +       setab@,
476 +       setaf@,
477 +       setb@,
478 +       setf@,
479 +       sgr@,
480 +       use=xterm,
481 +#
482 +# This should work for the commonly used "color xterm" variations (XFree86
483 +# xterm, color_xterm, nxterm, rxvt):
484 +xterm-color|generic "ANSI" color xterm (X Window System),
485 +       colors#8,
486 +       ncv@,
487 +       pairs#64,
488 +       op=\E[m,
489 +       setab=\E[4%p1%dm,
490 +       setaf=\E[3%p1%dm,
491 +       use=xterm-r6,
492 +#
493 +xterm-boldso|xterm with bold for standout (X Window System),
494 +       rmso=\E[m,
495 +       smso=\E[1m,
496 +       use=xterm,
497 +#
498 +# vi may work better with this entry, because vi
499 +# doesn't use insert mode much
500 +xterm-ic|xterm-vi|xterm with insert character instead of insert mode,
501 +       mir@,
502 +       ich=\E[%p1%d@,
503 +       ich1=\E[@,
504 +       rmir@,
505 +       smir@,
506 +       use=xterm,
507 +#
508 +# This one also is primarily for testing ncurses; while the ISO 6429 defines
509 +# the REP control, none of the DEC VTxxx terminals (VT52 through VT420) support
510 +# it.
511 +xterm-rep|xterm with repeat-character control,
512 +       rep=%p1%c\E[%p2%{1}%-%db,
513 +       use=xterm,
514 +#
515 +# This is mainly for testing xterm; the real VT220 will not let you switch
516 +# character sets without first altering the keyboard language in the setup
517 +# screen.  Some emulators allow this anyway.  (Note that these strings are
518 +# 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.
519 +xterm-nrc|xterm with VT220 national replacement character sets,
520 +       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%;,
521 +       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%;,
522 +       use=xterm,
523 +#
524 +# Foreground 0-15 maps (with toggles) into 30-37 & 90-97
525 +# Background 0-15 maps (with toggles) into 40-47 & 100-107
526 +#
527 +# 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
528 +# 16 colors.  (Note that ncurses 4.2 uses setf/setb from this description;
529 +# however 5.0 selects either according to their availability).  - T.Dickey
530 +#
531 +# SVr4 curses does not use more than 8 colors anyway, so using 16 colors is
532 +# either for terminfo-level applications or via ncurses.
533 +xterm-16color|xterm with 16 colors,
534 +       colors#16,
535 +       ncv#32,
536 +       pairs#256,
537 +       setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
538 +       setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
539 +       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,
540 +       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,
541 +       use=xterm-xfree86,
542 +#
543  # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
544  # To use it, your decTerminalID resource must be set to 200 or above.
545  #
546 @@ -2703,122 +2807,339 @@
547  #      SS3     \E O    \217
548  #      CSI     \E [    \233
549  #
550 -xterm-8bit|xterm terminal emulator 8-bit controls (X Window System), 
551 -       OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl, 
552 -       colors#8, cols#80, it#8, lines#24, pairs#64, 
553 -       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
554 -       bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z, 
555 -       civis=\233?25l, clear=\233H\2332J, cnorm=\233?25h, cr=^M, 
556 -       csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
557 -       cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
558 -       cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
559 -       dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M, 
560 -       ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, 
561 -       enacs=\E(B\E)0, flash=\233?5h$<100/>\233?5l, 
562 -       home=\233H, hpa=\233%i%p1%dG, ht=^I, hts=\210, 
563 -       ich=\233%p1%d@, il=\233%p1%dL, il1=\233L, ind=^J, 
564 -       invis=\2338m, 
565 -       is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
566 -       ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H, 
567 -       kc1=\217q, kc3=\217s, kcbt=\233Z, kcub1=\217D, kcud1=\217B, 
568 -       kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~, 
569 -       kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~, 
570 -       kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
571 -       kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
572 -       kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~, 
573 -       kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~, 
574 -       kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M, 
575 -       knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i, 
576 -       meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m, 
577 -       ri=\215, rmacs=^O, rmam=\233?7l, rmcup=\233?1049l, 
578 -       rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, 
579 -       rs1=\Ec, 
580 -       rs2=\E[62"p\E G\E7\233r\E8\233m\233?7h\233?1;3;4;6l\2334l\E>, 
581 -       sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm, 
582 -       setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
583 -       setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
584 -       sgr=\2330%?%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
585 -       sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\233?1049h, 
586 -       smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m, 
587 -       tbc=\2333g, u6=\233[%i%d;%dR, u7=\E[6n, u8=\233[?1;2c, 
588 -       u9=\E[c, vpa=\233%i%p1%dd, 
589 -
590 -xterm-hp|XFree86 xterm with hpterm function keys, 
591 -       kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
592 -       kdch1=\EP, kend=\EF, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, 
593 -       kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, kich1=\EQ, 
594 -       knp=\ES, kpp=\ET, use=xterm-basic, 
595 -
596 -xterm-sco|XFree86 xterm with SCO function keys, 
597 -       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, 
598 -       kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf13=\E[Y, 
599 -       kf15=\E[a, kf16=\E[b, kf17=\E[c, kf18=\E[d, kf19=\E[e, 
600 -       kf2=\E[N, kf20=\E[f, kf21=\E[g, kf22=\E[h, kf23=\E[i, 
601 -       kf24=\E[j, kf25=\E[k, kf26=\E[l, kf27=\E[m, kf28=\E[n, 
602 -       kf29=\E[o, kf3=\E[O, kf30=\E[p, kf31=\E[q, kf32=\E[r, 
603 -       kf33=\E[s, kf34=\E[t, kf35=\E[u, kf4=\E[P, kf5=\E[Q, 
604 -       kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, 
605 -       kich1=\E[L, knp=\E[G, kpp=\E[I, use=xterm-basic, 
606 -
607 -# The xterm-xfree86 description has all of the features, but is not completely
608 -# compatible with vt220.  If you are using a Sun or PC keyboard, set the
609 -# sunKeyboard resource to true:
610 -#      + maps the editing keypad
611 -#      + interprets control-function-key as a second array of keys, so a
612 -#        12-fkey keyboard can support vt220's 20-fkeys.
613 -#      + maps numeric keypad "+" to ",".
614 -#      + uses DEC-style control sequences for the application keypad.
615 -#        
616 -xterm-vt220|XFree86 xterm emulating vt220, 
617 -       ka1=\EOw, ka3=\EOy, kbeg=\EOu, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, 
618 -       kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[4~, 
619 -       kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
620 -       kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
621 -       kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
622 -       kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~, 
623 -       kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[1~, 
624 -       kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
625 -       use=xterm-basic, 
626 -
627 -xterm-vt52|XFree86 xterm emulating dec vt52, 
628 -       cols#80, it#8, lines#24, 
629 -       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
630 -       bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
631 -       cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, ed=\EJ, el=\EK, 
632 -       home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
633 -       kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF, 
634 -
635 -xterm-noapp|xterm with cursor keys in normal mode, 
636 -       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rmcup@, 
637 -       rmkx=\E>, smcup@, smkx=\E=, use=xterm, 
638 -
639 -xterm-24|vs100|xterms|xterm terminal emulator (X Window System), 
640 -       lines#24, use=xterm-r6, 
641 -
642 -# This is xterm for ncurses.
643 -xterm|xterm terminal emulator (X Window System), 
644 -       use=xterm-r6, 
645 -#      use=xterm-xfree86, 
646 -
647 -# These entries allow access to the X titlebar and icon name as a status line. 
648 -# Note that twm (and possibly window managers descended from it such as tvtwm, 
649 -# ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
650 -# with it.
651 -xterm+sl|access X title line and icon name, 
652 -       hs, 
653 -       wsl#40, 
654 -       dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm, 
655 -xterm+sl-twm|access X title line (pacify twm-descended window managers), 
656 -       hs, 
657 -       wsl#40, 
658 -       dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm, 
659 -
660 -#
661 -# The following xterm variants don't depend on your base version
662 -#
663 -# xterm with bold instead of underline
664 -xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold, 
665 -       smso=\E[7m, smul=\E[1m, use=xterm, 
666 +xterm-8bit|xterm terminal emulator with 8-bit controls (X Window System),
667 +       am,
668 +       bce,
669 +       km,
670 +       mc5i,
671 +       mir,
672 +       msgr,
673 +       xenl,
674 +       colors#8,
675 +       cols#80,
676 +       it#8,
677 +       lines#24,
678 +       pairs#64,
679 +       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
680 +       bel=^G,
681 +       blink=\2335m,
682 +       bold=\2331m,
683 +       cbt=\233Z,
684 +       civis=\233?25l,
685 +       clear=\233H\2332J,
686 +       cnorm=\233?25h,
687 +       cr=^M,
688 +       csr=\233%i%p1%d;%p2%dr,
689 +       cub=\233%p1%dD,
690 +       cub1=^H,
691 +       cud=\233%p1%dB,
692 +       cud1=^J,
693 +       cuf=\233%p1%dC,
694 +       cuf1=\233C,
695 +       cup=\233%i%p1%d;%p2%dH,
696 +       cuu=\233%p1%dA,
697 +       cuu1=\233A,
698 +       cvvis=\233?25h,
699 +       dch=\233%p1%dP,
700 +       dch1=\233P,
701 +       dl=\233%p1%dM,
702 +       dl1=\233M,
703 +       ech=\233%p1%dX,
704 +       ed=\233J,
705 +       el=\233K,
706 +       el1=\2331K,
707 +       enacs=\E(B\E)0,
708 +       flash=\233?5h\233?5l,
709 +       home=\233H,
710 +       hpa=\233%i%p1%dG,
711 +       ht=^I,
712 +       hts=\210,
713 +       hpa=\E[%i%p1%dG,
714 +       ich=\233%p1%d@,
715 +       il=\233%p1%dL,
716 +       il1=\233L,
717 +       ind=^J,
718 +       invis=\2338m,
719 +       is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
720 +       ka1=\217w,
721 +       ka3=\217u,
722 +       kb2=\217y,
723 +       kbeg=\217E,
724 +       kbs=^H,
725 +       kc1=\217q,
726 +       kc3=\217s,
727 +       kcub1=\217D,
728 +       kcud1=\217B,
729 +       kcuf1=\217C,
730 +       kcuu1=\217A,
731 +       kdch1=\2333~,
732 +       kend=\2334~,
733 +       kent=\217M,
734 +       kf1=\23311~,
735 +       kf10=\23321~,
736 +       kf11=\23323~,
737 +       kf12=\23324~,
738 +       kf13=\23325~,
739 +       kf14=\23326~,
740 +       kf15=\23328~,
741 +       kf16=\23329~,
742 +       kf17=\23331~,
743 +       kf18=\23332~,
744 +       kf19=\23333~,
745 +       kf2=\23312~,
746 +       kf20=\23334~,
747 +       kf3=\23313~,
748 +       kf4=\23314~,
749 +       kf5=\23315~,
750 +       kf6=\23317~,
751 +       kf7=\23318~,
752 +       kf8=\23319~,
753 +       kf9=\23320~,
754 +       khome=\2331~,
755 +       kich1=\2332~,
756 +       kmous=\233M,
757 +       knp=\2336~,
758 +       kpp=\2335~,
759 +       mc0=\233i,
760 +       mc4=\2334i,
761 +       mc5=\2335i,
762 +       meml=\El,
763 +       memu=\Em,
764 +       op=\23339;49m,
765 +       rc=\E8,
766 +       rev=\2337m,
767 +       ri=\215,
768 +       rmacs=^O,
769 +       rmam=\233?7l,
770 +       rmcup=\233?1047l\233?1048l,
771 +       rmir=\2334l,
772 +       rmkx=\233?1l\E>,
773 +       rmso=\23327m,
774 +       rmul=\23324m,
775 +       rs1=\Ec,
776 +       rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
777 +       sc=\E7,
778 +       setab=\2334%p1%dm,
779 +       setaf=\2333%p1%dm,
780 +       setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
781 +       setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
782 +       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%;,
783 +       sgr0=\233m^O,
784 +       smacs=^N,
785 +       smam=\233?7h,
786 +       smcup=\233?1048h\233?1047h,
787 +       smir=\2334h,
788 +       smkx=\233?1h\E=,
789 +       smso=\2337m,
790 +       smul=\2334m,
791 +       tbc=\2333g,
792 +       u6=\233[%i%d;%dR,
793 +       u7=\E[6n,
794 +       u8=\233[?1;2c,
795 +       u9=\E[c,
796 +       vpa=\233%i%p1%dd,
797 +#
798 +# Compatible with the R6 xterm, with the following changes:
799 +# added acsc (perhaps some versions of tic assume the standard vt100
800 +#       alternate character set)
801 +# added u6, u7, u8, u9 strings for Daniel Weaver's tack program.
802 +# added kmous string for ncurses.
803 +# added khome/kend strings.
804 +xterm-r6|xterm-old|xterm X11R6 version,
805 +       am,
806 +       km,
807 +       mir,
808 +       msgr,
809 +       xenl,
810 +       cols#80,
811 +       it#8,
812 +       lines#24,
813 +       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
814 +       bel=^G,
815 +       blink@,
816 +       bold=\E[1m,
817 +       clear=\E[H\E[2J,
818 +       cr=^M,
819 +       csr=\E[%i%p1%d;%p2%dr,
820 +       cub=\E[%p1%dD,
821 +       cub1=^H,
822 +       cud=\E[%p1%dB,
823 +       cud1=^J,
824 +       cuf=\E[%p1%dC,
825 +       cuf1=\E[C,
826 +       cup=\E[%i%p1%d;%p2%dH,
827 +       cuu=\E[%p1%dA,
828 +       cuu1=\E[A,
829 +       dch=\E[%p1%dP,
830 +       dch1=\E[P,
831 +       dl=\E[%p1%dM,
832 +       dl1=\E[M,
833 +       ed=\E[J,
834 +       el=\E[K,
835 +       enacs=\E)0,
836 +       home=\E[H,
837 +       hpa=\E[%i%p1%dG,
838 +       ht=^I,
839 +       il=\E[%p1%dL,
840 +       il1=\E[L,
841 +       ind=^J,
842 +       is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
843 +       kbs=^H,
844 +       kcub1=\EOD,
845 +       kcud1=\EOB,
846 +       kcuf1=\EOC,
847 +       kcuu1=\EOA,
848 +       kdch1=\E[3~,
849 +       kend=\E[4~,
850 +       kf1=\EOP,
851 +       kf10=\E[21~,
852 +       kf11=\E[23~,
853 +       kf12=\E[24~,
854 +       kf13=\E[25~,
855 +       kf14=\E[26~,
856 +       kf15=\E[28~,
857 +       kf16=\E[29~,
858 +       kf17=\E[31~,
859 +       kf18=\E[32~,
860 +       kf19=\E[33~,
861 +       kf2=\EOQ,
862 +       kf20=\E[34~,
863 +       kf3=\EOR,
864 +       kf4=\EOS,
865 +       kf5=\E[15~,
866 +       kf6=\E[17~,
867 +       kf7=\E[18~,
868 +       kf8=\E[19~,
869 +       kf9=\E[20~,
870 +       khome=\E[1~,
871 +       kich1=\E[2~,
872 +       kmous=\E[M,
873 +       knp=\E[6~,
874 +       kpp=\E[5~,
875 +       meml=\El,
876 +       memu=\Em,
877 +       rc=\E8,
878 +       rev=\E[7m,
879 +       ri=\EM,
880 +       rmacs=^O,
881 +       rmcup=\E[2J\E[?47l\E8,
882 +       rmir=\E[4l,
883 +       rmkx=\E[?1l\E>,
884 +       rmso=\E[m,
885 +       rmul=\E[m,
886 +       rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
887 +       sc=\E7,
888 +       sgr0=\E[m,
889 +       smacs=^N,
890 +       smcup=\E7\E[?47h,
891 +       smir=\E[4h,
892 +       smkx=\E[?1h\E=,
893 +       smso=\E[7m,
894 +       smul=\E[4m,
895 +       tbc=\E[3g,
896 +       u6=\E[%i%d;%dR,
897 +       u7=\E[6n,
898 +       u8=\E[?1;2c,
899 +       u9=\E[c,
900 +#
901 +# Compatible with the R5 xterm, with the following changes:
902 +# changed 'blink=@', to 'blink@' (the former meant that "@" would start
903 +#       a blink, the latter that it is not supported).
904 +# changed kf1 through kf4 to correspond with actual usage.  Though X
905 +#       supports keypad symbols for PF1 to PF4, and xterm interprets these
906 +#       correctly, the F1 to F4 codes are commonly (but incorrectly) used.
907 +# moved reset string from rs1 to rs2, to correlate better with termcap.
908 +# make khome consistent with other entries.
909 +# use rmul/smul, rmir/smir from termcap, but not rmcup/smcup because
910 +#       not everyone wants the alternate screen.
911 +xterm-r5|xterm R5 version,
912 +       am,
913 +       km,
914 +       msgr,
915 +       xenl,
916 +       cols#80,
917 +       it#8,
918 +       lines#24,
919 +       bel=^G,
920 +       blink@,
921 +       bold=\E[1m,
922 +       clear=\E[H\E[2J,
923 +       cr=^M,
924 +       csr=\E[%i%p1%d;%p2%dr,
925 +       cub=\E[%p1%dD,
926 +       cub1=^H,
927 +       cud=\E[%p1%dB,
928 +       cud1=^J,
929 +       cuf=\E[%p1%dC,
930 +       cuf1=\E[C,
931 +       cup=\E[%i%p1%d;%p2%dH,
932 +       cuu=\E[%p1%dA,
933 +       cuu1=\E[A,
934 +       dch=\E[%p1%dP,
935 +       dch1=\E[P,
936 +       dl=\E[%p1%dM,
937 +       dl1=\E[M,
938 +       ed=\E[J,
939 +       el=\E[K,
940 +       home=\E[H,
941 +       ht=^I,
942 +       hts=\EH,
943 +       ich=\E[%p1%d@,
944 +       ich1=\E[@,
945 +       il=\E[%p1%dL,
946 +       il1=\E[L,
947 +       ind=^J,
948 +       kbs=^H,
949 +       kcub1=\EOD,
950 +       kcud1=\EOB,
951 +       kcuf1=\EOC,
952 +       kcuu1=\EOA,
953 +       kdch1=\177,
954 +       kdl1=\E[31~,
955 +       kel=\E[8~,
956 +       kend=\E[4~,
957 +       kf0=\EOq,
958 +       kf1=\E[11~,
959 +       kf10=\E[21~,
960 +       kf11=\E[23~,
961 +       kf12=\E[24~,
962 +       kf2=\E[12~,
963 +       kf3=\E[13~,
964 +       kf4=\E[14~,
965 +       kf5=\E[15~,
966 +       kf6=\E[17~,
967 +       kf7=\E[18~,
968 +       kf8=\E[19~,
969 +       kf9=\E[20~,
970 +       khome=\E[1~,
971 +       kich1=\E[2~,
972 +       kil1=\E[30~,
973 +       knp=\E[6~,
974 +       kpp=\E[5~,
975 +       rc=\E8,
976 +       rev=\E[7m,
977 +       ri=\EM,
978 +       rmir=\E[4l,
979 +       rmkx=\E[?1l\E>,
980 +       rmso=\E[m,
981 +       rmul=\E[m,
982 +       rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H,
983 +       sc=\E7,
984 +       sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
985 +       sgr0=\E[m,
986 +       smir=\E[4h,
987 +       smkx=\E[?1h\E=,
988 +       smso=\E[7m,
989 +       smul=\E[4m,
990 +       tbc=\E[3g,
991 +#
992 +# This is the only entry which you should have to customize, since "xterm"
993 +# is widely used for a variety of incompatible terminal emulations including
994 +# color_xterm and rxvt.
995 +xterm|X11 terminal emulator,
996 +         use=xterm-r6,
997 +#     use=xterm-xfree86,
998 +#     use=xterm-redhat,
999  # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
1000  # (kterm should not invoke DEC Graphics as the alternate character set
1001  #  -- Kenji Rikitake)
1002 @@ -2869,18 +3190,6 @@
1003         smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m, 
1004         smul=\E[4m, use=ecma+color, 
1005  
1006 -# The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
1007 -# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
1008 -# SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
1009 -# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
1010 -# that each of those implements the home, end, delete keys differently.
1011 -#
1012 -# Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
1013 -# colors; note that this is not compatible with the 5.2 version.
1014 -nxterm|xterm-color|generic color xterm, 
1015 -       ncv@, 
1016 -       op=\E[m, use=xterm-r6, use=klone+color, 
1017 -
1018  # this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
1019  gnome|Gnome terminal, 
1020         bce, 
1021 @@ -3023,15 +3332,6 @@
1022         setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
1023         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
1024         use=xtermm, 
1025 -
1026 -# From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
1027 -# Here's a termcap entry I've been using for xterm_color, which comes
1028 -# with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
1029 -# color stuff, I also have a status line defined as the window manager
1030 -# title bar. [I have translated it to terminfo -- ESR]
1031 -xterm-pcolor|xterm with color used for highlights and status line, 
1032 -       bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m, 
1033 -       smul=\E[4m\E[42m, use=xterm+sl, use=xterm-r6, 
1034  
1035  # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
1036  # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
This page took 0.12395 seconds and 3 git commands to generate.