| 1 | # $Id: emx.src,v 1.8 2003/01/26 01:17:55 tom Exp $
|
|---|
| 2 | # This is a reformatted copy of the terminfo source for OS/2 EMX from
|
|---|
| 3 | # Juan Jose Garcia Ripoll <worm@arrakis.es>.
|
|---|
| 4 | # http://www.arrakis.es/~worm/
|
|---|
| 5 | #----------------------------------------------------------------------------
|
|---|
| 6 | #
|
|---|
| 7 | # This section describes terminal classes and maker brands that are still
|
|---|
| 8 | # quite common.
|
|---|
| 9 | #
|
|---|
| 10 |
|
|---|
| 11 | #### Specials
|
|---|
| 12 | #
|
|---|
| 13 | # Special "terminals". These are used to label tty lines when you don't
|
|---|
| 14 | # know what kind of terminal is on it. The characteristics of an unknown
|
|---|
| 15 | # terminal are the lowest common denominator - they look about like a ti 700.
|
|---|
| 16 | #
|
|---|
| 17 |
|
|---|
| 18 | dumb|80-column dumb tty,
|
|---|
| 19 | am,
|
|---|
| 20 | cols#80,
|
|---|
| 21 | bel=^G,
|
|---|
| 22 | cr=^M,
|
|---|
| 23 | cud1=^J,
|
|---|
| 24 | ind=^J,
|
|---|
| 25 | unknown|unknown terminal type,
|
|---|
| 26 | gn,
|
|---|
| 27 | use=dumb,
|
|---|
| 28 | lpr|printer|line printer,
|
|---|
| 29 | hc,
|
|---|
| 30 | os,
|
|---|
| 31 | cols#132,
|
|---|
| 32 | lines#66,
|
|---|
| 33 | bel=^G,
|
|---|
| 34 | cr=^M,
|
|---|
| 35 | cub1=^H,
|
|---|
| 36 | cud1=^J,
|
|---|
| 37 | ff=^L,
|
|---|
| 38 | ind=^J,
|
|---|
| 39 | glasstty|classic glass tty interpreting ASCII control characters,
|
|---|
| 40 | am,
|
|---|
| 41 | cols#80,
|
|---|
| 42 | bel=^G,
|
|---|
| 43 | clear=^L,
|
|---|
| 44 | cr=^M,
|
|---|
| 45 | cub1=^H,
|
|---|
| 46 | cud1=^J,
|
|---|
| 47 | ht=^I,
|
|---|
| 48 | kbs=^H,
|
|---|
| 49 | kcub1=^H,
|
|---|
| 50 | kcud1=^J,
|
|---|
| 51 | nel=^M^J,
|
|---|
| 52 |
|
|---|
| 53 | #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
|
|---|
| 54 | #
|
|---|
| 55 | # See the end-of-file comment for more on these.
|
|---|
| 56 | #
|
|---|
| 57 |
|
|---|
| 58 | # The IBM PC alternate character set. Plug this into any Intel console entry.
|
|---|
| 59 | # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
|
|---|
| 60 | # ROM graphics for control characters such as the diamond, up- and down-arrow.
|
|---|
| 61 | # This works with the System V, Linux, and BSDI consoles. It's a safe bet this
|
|---|
| 62 | # will work with any Intel console, they all seem to have inherited \E[11m
|
|---|
| 63 | # from the ANSI.SYS de-facto standard.
|
|---|
| 64 | klone+acs|alternate character set for ansi.sys displays,
|
|---|
| 65 | acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
|
|---|
| 66 | rmacs=\E[10m,
|
|---|
| 67 | smacs=\E[11m,
|
|---|
| 68 |
|
|---|
| 69 | # Highlight controls corresponding to the ANSI.SYS standard. Most
|
|---|
| 70 | # console drivers for Intel boxes obey these. Makes the same assumption
|
|---|
| 71 | # about \E[11m as klone+acs. True ANSI/ECMA-48 would have <rmso=\E[27m>,
|
|---|
| 72 | # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
|
|---|
| 73 | klone+sgr|attribute control for ansi.sys displays,
|
|---|
| 74 | blink=\E[5m,
|
|---|
| 75 | bold=\E[1m,
|
|---|
| 76 | invis=\E[8m,
|
|---|
| 77 | rev=\E[7m,
|
|---|
| 78 | rmacs=\E[10m,
|
|---|
| 79 | rmpch=\E[10m,
|
|---|
| 80 | rmso=\E[m,
|
|---|
| 81 | rmul=\E[m,
|
|---|
| 82 | sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
|
|---|
| 83 | sgr0=\E[0;10m,
|
|---|
| 84 | smacs=\E[11m,
|
|---|
| 85 | smpch=\E[11m,
|
|---|
| 86 | smso=\E[7m,
|
|---|
| 87 | smul=\E[4m,
|
|---|
| 88 | use=klone+acs,
|
|---|
| 89 |
|
|---|
| 90 | # Highlight controls corresponding to the ANSI.SYS standard. *All*
|
|---|
| 91 | # console drivers for Intel boxes obey these. Does not assume \E[11m will
|
|---|
| 92 | # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
|
|---|
| 93 | # diamond and arrow characters under curses.
|
|---|
| 94 | klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
|
|---|
| 95 | blink=\E[5m,
|
|---|
| 96 | bold=\E[1m,
|
|---|
| 97 | invis=\E[8m,
|
|---|
| 98 | rev=\E[7m,
|
|---|
| 99 | rmacs=\E[10m,
|
|---|
| 100 | rmso=\E[m,
|
|---|
| 101 | rmul=\E[m,
|
|---|
| 102 | sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m,
|
|---|
| 103 | sgr0=\E[0;10m,
|
|---|
| 104 | smacs=\E[12m,
|
|---|
| 105 | smso=\E[7m,
|
|---|
| 106 | smul=\E[4m,
|
|---|
| 107 | use=klone+acs,
|
|---|
| 108 |
|
|---|
| 109 | # ANSI.SYS color control.
|
|---|
| 110 | # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
|
|---|
| 111 | klone+color|color control for ansi.sys and ISO6429-compatible displays,
|
|---|
| 112 | colors#8,
|
|---|
| 113 | ncv#3,
|
|---|
| 114 | pairs#64,
|
|---|
| 115 | op=\E[37;40m,
|
|---|
| 116 | setab=\E[4%p1%dm,
|
|---|
| 117 | setaf=\E[3%p1%dm,
|
|---|
| 118 |
|
|---|
| 119 | # This is better than klone+color, it doesn't assume white-on-black as the
|
|---|
| 120 | # default color pair, but many `ANSI' terminals don't grok the <op> cap.
|
|---|
| 121 | ecma+color|color control for ECMA-48-compatible terminals,
|
|---|
| 122 | AX,
|
|---|
| 123 | colors#8,
|
|---|
| 124 | ncv#3,
|
|---|
| 125 | pairs#64,
|
|---|
| 126 | op=\E[39;49m,
|
|---|
| 127 | setab=\E[4%p1%dm,
|
|---|
| 128 | setaf=\E[3%p1%dm,
|
|---|
| 129 |
|
|---|
| 130 | #### ANSI/ECMA-48 terminals and terminal emulators
|
|---|
| 131 | #
|
|---|
| 132 | # See near the end of this file for details on ANSI conformance.
|
|---|
| 133 | # Don't mess with these entries! Lots of other entries depend on them!
|
|---|
| 134 | #
|
|---|
| 135 | # This section lists entries in a least-capable to most-capable order.
|
|---|
| 136 | # if you're in doubt about what `ANSI' matches yours, try them in that
|
|---|
| 137 | # order and back off from the first that breaks.
|
|---|
| 138 |
|
|---|
| 139 | ansi-mini|any ansi terminal with pessimistic assumptions,
|
|---|
| 140 | am,
|
|---|
| 141 | cols#80,
|
|---|
| 142 | it#8,
|
|---|
| 143 | lines#24,
|
|---|
| 144 | clear=\E[H\E[2J$<50>,
|
|---|
| 145 | cub1=\E[D,
|
|---|
| 146 | cud1=\E[B,
|
|---|
| 147 | cuf1=\E[C,
|
|---|
| 148 | cup=\E[%i%p1%d;%p2%dH,
|
|---|
| 149 | cuu1=\E[A,
|
|---|
| 150 | el=\E[K,
|
|---|
| 151 | home=\E[H,
|
|---|
| 152 | ht=^I,
|
|---|
| 153 |
|
|---|
| 154 | #
|
|---|
| 155 | # ANSI.SYS entries
|
|---|
| 156 | #
|
|---|
| 157 | # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
|
|---|
| 158 | # documentation (except for the keyboard key reassignment feature, which
|
|---|
| 159 | # doen't fit the <pfkey> model well). The klone+acs sequences were valid
|
|---|
| 160 | # though undocumented. The <pfkey> capability is untested but should work for
|
|---|
| 161 | # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
|
|---|
| 162 | # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
|
|---|
| 163 | ansi.sys-old|ANSI.SYS under PC-DOS 2.1,
|
|---|
| 164 | am,
|
|---|
| 165 | mir,
|
|---|
| 166 | msgr,
|
|---|
| 167 | xon,
|
|---|
| 168 | cols#80,
|
|---|
| 169 | lines#25,
|
|---|
| 170 | clear=\E[2J,
|
|---|
| 171 | cub1=^H,
|
|---|
| 172 | cud1=\E[B,
|
|---|
| 173 | cuf1=\E[C,
|
|---|
| 174 | cup=\E[%i%p1%d;%p2%dH,
|
|---|
| 175 | cuu1=\E[A,
|
|---|
| 176 | el=\E[k,
|
|---|
| 177 | home=\E[H,
|
|---|
| 178 | is2=\E[m\E[?7h,
|
|---|
| 179 | kcub1=^H,
|
|---|
| 180 | kcud1=^J,
|
|---|
| 181 | kcuf1=^L,
|
|---|
| 182 | kcuu1=^K,
|
|---|
| 183 | khome=^^,
|
|---|
| 184 | pfkey=\E[0;%p1%{58}%+%d;%p2"%s",
|
|---|
| 185 | rc=\E[u,
|
|---|
| 186 | rmam=\E[?7l,
|
|---|
| 187 | sc=\E[s,
|
|---|
| 188 | smam=\E[?7h,
|
|---|
| 189 | u6=\E[%i%d;%dR,
|
|---|
| 190 | u7=\E[6n,
|
|---|
| 191 | use=klone+color,
|
|---|
| 192 | use=klone+acs,
|
|---|
| 193 | use=klone+sgr,
|
|---|
| 194 | ansi.sys|ANSI.SYS 3.1 and later versions,
|
|---|
| 195 | el=\E[K,
|
|---|
| 196 | use=ansi.sys-old,
|
|---|
| 197 |
|
|---|
| 198 | ### EMX termcap.dat compatibility modes
|
|---|
| 199 | #
|
|---|
| 200 | # Keypad: Home=\0G Up=\0H PrPag=\0I
|
|---|
| 201 | # ka1,kh kcuu1 kpp,ka3
|
|---|
| 202 | #
|
|---|
| 203 | # Left=\0K 5=\0L Right=\0M
|
|---|
| 204 | # kcub1 kb2 kcuf1
|
|---|
| 205 | #
|
|---|
| 206 | # End=\0O Down=\0P NxPag=\0Q
|
|---|
| 207 | # kc1,kend kcud1 kc3,knp
|
|---|
| 208 | #
|
|---|
| 209 | # Ins=\0R Del=\0S
|
|---|
| 210 | # kich1 kdch1
|
|---|
| 211 | #
|
|---|
| 212 | # On keyboard with 12 function keys,
|
|---|
| 213 | # shifted f-keys: F13-F24
|
|---|
| 214 | # control f-keys: F25-F36
|
|---|
| 215 | # alt f-keys: F37-F48
|
|---|
| 216 | # The shift/control/alt keys do not modify each other, but alt overrides both,
|
|---|
| 217 | # and control overrides shift.
|
|---|
| 218 | #
|
|---|
| 219 | # Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
|
|---|
| 220 | # no_color_video to inform the application that standout(1), underline(2)
|
|---|
| 221 | # reverse(4) and invisible(64) don't work with color.
|
|---|
| 222 | emx-base|DOS special keys,
|
|---|
| 223 | bce,
|
|---|
| 224 | bw,
|
|---|
| 225 | it#8,
|
|---|
| 226 | ncv#71,
|
|---|
| 227 | bel=^G,
|
|---|
| 228 | ka1=\0G,
|
|---|
| 229 | ka3=\0I,
|
|---|
| 230 | kb2=\0L,
|
|---|
| 231 | kbs=^H,
|
|---|
| 232 | kc1=\0O,
|
|---|
| 233 | kc3=\0Q,
|
|---|
| 234 | kcbt=\0^O,
|
|---|
| 235 | kcub1=\0K,
|
|---|
| 236 | kcud1=\0P,
|
|---|
| 237 | kcuf1=\0M,
|
|---|
| 238 | kcuu1=\0H,
|
|---|
| 239 | kdch1=\0S,
|
|---|
| 240 | kend=\0O,
|
|---|
| 241 | kf1=\0;,
|
|---|
| 242 | kf10=\0D,
|
|---|
| 243 | kf11=\0\205,
|
|---|
| 244 | kf12=\0\206,
|
|---|
| 245 | kf13=\0T,
|
|---|
| 246 | kf14=\0U,
|
|---|
| 247 | kf15=\0V,
|
|---|
| 248 | kf16=\0W,
|
|---|
| 249 | kf17=\0X,
|
|---|
| 250 | kf18=\0Y,
|
|---|
| 251 | kf19=\0Z,
|
|---|
| 252 | kf2=\0<,
|
|---|
| 253 | kf20=\0[,
|
|---|
| 254 | kf21=\0\\,
|
|---|
| 255 | kf22=\0],
|
|---|
| 256 | kf23=\0\207,
|
|---|
| 257 | kf24=\0\210,
|
|---|
| 258 | kf25=\0\^,
|
|---|
| 259 | kf26=\0_,
|
|---|
| 260 | kf27=\0`,
|
|---|
| 261 | kf28=\0a,
|
|---|
| 262 | kf29=\0b,
|
|---|
| 263 | kf3=\0=,
|
|---|
| 264 | kf30=\0c,
|
|---|
| 265 | kf31=\0d,
|
|---|
| 266 | kf32=\0e,
|
|---|
| 267 | kf33=\0f,
|
|---|
| 268 | kf34=\0g,
|
|---|
| 269 | kf35=\0\211,
|
|---|
| 270 | kf36=\0\212,
|
|---|
| 271 | kf37=\0h,
|
|---|
| 272 | kf38=\0i,
|
|---|
| 273 | kf39=\0j,
|
|---|
| 274 | kf4=\0>,
|
|---|
| 275 | kf40=\0k,
|
|---|
| 276 | kf41=\0l,
|
|---|
| 277 | kf42=\0m,
|
|---|
| 278 | kf43=\0n,
|
|---|
| 279 | kf44=\0o,
|
|---|
| 280 | kf45=\0p,
|
|---|
| 281 | kf46=\0q,
|
|---|
| 282 | kf47=\0\213,
|
|---|
| 283 | kf48=\0\214,
|
|---|
| 284 | kf5=\0?,
|
|---|
| 285 | kf6=\0@,
|
|---|
| 286 | kf7=\0A,
|
|---|
| 287 | kf8=\0B,
|
|---|
| 288 | kf9=\0C,
|
|---|
| 289 | khome=\0G,
|
|---|
| 290 | kich1=\0R,
|
|---|
| 291 | knp=\0Q,
|
|---|
| 292 | kpp=\0I,
|
|---|
| 293 | use=ansi.sys,
|
|---|
| 294 | #
|
|---|
| 295 | # To properly translate termcap.dat -> terminfo.src remember these
|
|---|
| 296 | # equivalences:
|
|---|
| 297 | # ti <-> smcup string to start programs using cup(termcap)
|
|---|
| 298 | # te <-> rmcup string to end programs using cup
|
|---|
| 299 | # so <-> smso begin standout mode
|
|---|
| 300 | # se <-> rmso exit standout mode
|
|---|
| 301 | # us <-> smul begin underline mode
|
|---|
| 302 | # ue <-> rmul exit underline mode
|
|---|
| 303 | # mb <-> blink turn on blinking
|
|---|
| 304 | # md <-> bold turn on extra bright (bold) mode
|
|---|
| 305 | # mr <-> rev turn on reverse video mode
|
|---|
| 306 | # me <-> sgr0 turn off all atributes
|
|---|
| 307 | #
|
|---|
| 308 | # On my terminal, \E[4m looks dim.
|
|---|
| 309 | ansi-emx|ANSI.SYS color,
|
|---|
| 310 | blink=\E[5m,
|
|---|
| 311 | bold=\E[1m,
|
|---|
| 312 | kmous=\E[M,
|
|---|
| 313 | rev=\E[7m,
|
|---|
| 314 | rmcup=\E[0m,
|
|---|
| 315 | rmso=\E[0m,
|
|---|
| 316 | rmul@,
|
|---|
| 317 | sgr0=\E[0m,
|
|---|
| 318 | smcup=\E[0;37;40m,
|
|---|
| 319 | smso=\E[7m,
|
|---|
| 320 | smul@,
|
|---|
| 321 | use=emx-base,
|
|---|
| 322 | window|ANSI.SYS window,
|
|---|
| 323 | blink=\E[5m,
|
|---|
| 324 | bold=\E[1;37;47m,
|
|---|
| 325 | rev=\E[1;37;47m,
|
|---|
| 326 | rmcup=\E[0m,
|
|---|
| 327 | rmso=\E[0;37;40m,
|
|---|
| 328 | rmul=\E[0;37;40m,
|
|---|
| 329 | sgr0=\E[0;37;40m,
|
|---|
| 330 | smcup=\E[0;37;40m,
|
|---|
| 331 | smso=\E[1;37;47m,
|
|---|
| 332 | smul=\E[1;31;47m,
|
|---|
| 333 | use=emx-base,
|
|---|
| 334 | os2|OS/2-emx ANSI.SYS,
|
|---|
| 335 | cub=\E[%p1%dD,
|
|---|
| 336 | cub1=\E[D,
|
|---|
| 337 | cud=\E[%p1%dB,
|
|---|
| 338 | cud1=\E[B,
|
|---|
| 339 | cuf=\E[%p1%dC,
|
|---|
| 340 | cuf1=\E[C,
|
|---|
| 341 | cuu=\E[%p1%dA,
|
|---|
| 342 | cuu1=\E[A,
|
|---|
| 343 | rc=\E[u,
|
|---|
| 344 | sc=\E[s,
|
|---|
| 345 | use=ansi-emx,
|
|---|
| 346 | use=mono,
|
|---|
| 347 | mono|ANSI.SYS mono,
|
|---|
| 348 | blink=\E[5m,
|
|---|
| 349 | bold=\E[1m,
|
|---|
| 350 | rev=\E[7m,
|
|---|
| 351 | rmcup=\E[0m,
|
|---|
| 352 | rmso=\E[m,
|
|---|
| 353 | rmul=\E[m,
|
|---|
| 354 | sgr0=\E[m,
|
|---|
| 355 | smcup=\E[0m,
|
|---|
| 356 | smso=\E[1m,
|
|---|
| 357 | smul=\E[4m,
|
|---|
| 358 | use=emx-base,
|
|---|
| 359 | # same as mono, but use reverse video for standout (nice for Emacs)
|
|---|
| 360 | rmono|ANSI.SYS reverse mono,
|
|---|
| 361 | smso=\E[7m,
|
|---|
| 362 | use=mono,
|
|---|
| 363 | # same as mono, but use a readable color for underlining
|
|---|
| 364 | mono2|ANSI.SYS mono2,
|
|---|
| 365 | rmul=\E[0m,
|
|---|
| 366 | smul=\E[1;31;40m,
|
|---|
| 367 | use=mono,
|
|---|
| 368 | # nice colors for Emacs (white on blue, mode line white on cyan)
|
|---|
| 369 | ansi-color-2-emx|ANSI.SYS color 2,
|
|---|
| 370 | rmcup=\E[0m,
|
|---|
| 371 | rmso=\E[0;37;44m,
|
|---|
| 372 | rmul=\E[0m,
|
|---|
| 373 | sgr0=\E[0;37;44m,
|
|---|
| 374 | smcup=\E[0;37;44m,
|
|---|
| 375 | smso=\E[1;37;46m,
|
|---|
| 376 | smul=\E[1;31;40m,
|
|---|
| 377 | use=ansi-emx,
|
|---|
| 378 | # nice colors for Emacs (white on black, mode line black on cyan)
|
|---|
| 379 | ansi-color-3-emx|ANSI.SYS color 3,
|
|---|
| 380 | rmcup=\E[0m,
|
|---|
| 381 | rmso=\E[0m,
|
|---|
| 382 | rmul=\E[0m,
|
|---|
| 383 | sgr0=\E[0m,
|
|---|
| 384 | smcup=\E[0m,
|
|---|
| 385 | smso=\E[30;46m,
|
|---|
| 386 | smul=\E[1;31;40m,
|
|---|
| 387 | use=ansi-emx,
|
|---|
| 388 |
|
|---|
| 389 | #### X terminal emulators
|
|---|
| 390 | #
|
|---|
| 391 | # X10/6.6 11/7/86, minus alternate screen, plus (csr)
|
|---|
| 392 | # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
|
|---|
| 393 | # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
|
|---|
| 394 | # as these seem not to work -- esr)
|
|---|
| 395 | x10term|vs100-x10|xterm terminal emulator (X10 window system),
|
|---|
| 396 | am,
|
|---|
| 397 | km,
|
|---|
| 398 | mir,
|
|---|
| 399 | msgr,
|
|---|
| 400 | xenl,
|
|---|
| 401 | xon,
|
|---|
| 402 | cols#80,
|
|---|
| 403 | it#8,
|
|---|
| 404 | lines#65,
|
|---|
| 405 | bold=\E[1m,
|
|---|
| 406 | clear=\E[H\E[2J,
|
|---|
| 407 | csr=\E[%i%p1%d;%p2%dr,
|
|---|
| 408 | cub1=^H,
|
|---|
| 409 | cud1=^J,
|
|---|
| 410 | cuf1=\E[C,
|
|---|
| 411 | cup=\E[%i%p1%d;%p2%dH,
|
|---|
| 412 | cuu1=\E[A,
|
|---|
| 413 | dch=\E[%p1%dP,
|
|---|
| 414 | dch1=\E[P,
|
|---|
| 415 | dl=\E[%p1%dM,
|
|---|
| 416 | dl1=\E[M,
|
|---|
| 417 | ed=\E[J,
|
|---|
| 418 | el=\E[K,
|
|---|
| 419 | home=\E[H,
|
|---|
| 420 | ht=^I,
|
|---|
| 421 | il=\E[%p1%dL,
|
|---|
| 422 | il1=\E[L,
|
|---|
| 423 | ind=^J,
|
|---|
| 424 | is2=\E\E[m\E[?7h\E[?1;4l,
|
|---|
| 425 | kbs=^H,
|
|---|
| 426 | kcub1=\EOD,
|
|---|
| 427 | kcud1=\EOB,
|
|---|
| 428 | kcuf1=\EOC,
|
|---|
| 429 | kcuu1=\EOA,
|
|---|
| 430 | kf1=\EOP,
|
|---|
| 431 | kf2=\EOQ,
|
|---|
| 432 | kf3=\EOR,
|
|---|
| 433 | kf4=\EOS,
|
|---|
| 434 | rev=\E[7m,
|
|---|
| 435 | ri=\EM,
|
|---|
| 436 | rmam=\E[?7l,
|
|---|
| 437 | rmir=\E[4l,
|
|---|
| 438 | rmkx=\E[?1l\E>,
|
|---|
| 439 | rmso=\E[m,
|
|---|
| 440 | rmul=\E[m,
|
|---|
| 441 | sgr0=\E[m,
|
|---|
| 442 | smam=\E[?7h,
|
|---|
| 443 | smir=\E[4h,
|
|---|
| 444 | smkx=\E[?1h\E=,
|
|---|
| 445 | smso=\E[7m,
|
|---|
| 446 | smul=\E[4m,
|
|---|
| 447 | # X11R6 xterm. This is known good for the XFree86 version under Linux.
|
|---|
| 448 | # It is *way* more featureful than the stock X consortium entry (has acsc,
|
|---|
| 449 | # for starters). The <kmous> key is actually the \E[M prefix returned by
|
|---|
| 450 | # xterm's internal mouse-tracking facility; ncurses will interpret the
|
|---|
| 451 | # following three bytes of mouse status information.
|
|---|
| 452 | # From: Eric S. Raymond <esr@snark.thyrsus.com> 14 Dec 1995
|
|---|
| 453 | xterm-r6|xterm terminal emulator (X11R6 Window System),
|
|---|
| 454 | am,
|
|---|
| 455 | km,
|
|---|
| 456 | mir,
|
|---|
| 457 | msgr,
|
|---|
| 458 | xenl,
|
|---|
| 459 | xon,
|
|---|
| 460 | cols#80,
|
|---|
| 461 | it#8,
|
|---|
| 462 | lines#65,
|
|---|
| 463 | acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
|---|
| 464 | bel=^G,
|
|---|
| 465 | bold=\E[1m,
|
|---|
| 466 | clear=\E[H\E[2J,
|
|---|
| 467 | cr=^M,
|
|---|
| 468 | csr=\E[%i%p1%d;%p2%dr,
|
|---|
| 469 | cub=\E[%p1%dD,
|
|---|
| 470 | cub1=^H,
|
|---|
| 471 | cud=\E[%p1%dB,
|
|---|
| 472 | cud1=^J,
|
|---|
| 473 | cuf=\E[%p1%dC,
|
|---|
| 474 | cuf1=\E[C,
|
|---|
| 475 | cup=\E[%i%p1%d;%p2%dH,
|
|---|
| 476 | cuu=\E[%p1%dA,
|
|---|
| 477 | cuu1=\E[A,
|
|---|
| 478 | dch=\E[%p1%dP,
|
|---|
| 479 | dch1=\E[P,
|
|---|
| 480 | dl=\E[%p1%dM,
|
|---|
| 481 | dl1=\E[M,
|
|---|
| 482 | ed=\E[J,
|
|---|
| 483 | el=\E[K,
|
|---|
| 484 | enacs=\E(B\E)0,
|
|---|
| 485 | home=\E[H,
|
|---|
| 486 | ht=^I,
|
|---|
| 487 | ich=\E[%p1%d@,
|
|---|
| 488 | ich1=\E[@,
|
|---|
| 489 | il=\E[%p1%dL,
|
|---|
| 490 | il1=\E[L,
|
|---|
| 491 | ind=^J,
|
|---|
| 492 | is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
|
|---|
| 493 | kbs=^H,
|
|---|
| 494 | kcub1=\EOD,
|
|---|
| 495 | kcud1=\EOB,
|
|---|
| 496 | kcuf1=\EOC,
|
|---|
| 497 | kcuu1=\EOA,
|
|---|
| 498 | kend=\EOe,
|
|---|
| 499 | kent=\EOM,
|
|---|
| 500 | kf1=\E[11~,
|
|---|
| 501 | kf10=\E[21~,
|
|---|
| 502 | kf11=\E[23~,
|
|---|
| 503 | kf12=\E[24~,
|
|---|
| 504 | kf13=\E[25~,
|
|---|
| 505 | kf14=\E[26~,
|
|---|
| 506 | kf15=\E[28~,
|
|---|
| 507 | kf16=\E[29~,
|
|---|
| 508 | kf17=\E[31~,
|
|---|
| 509 | kf18=\E[32~,
|
|---|
| 510 | kf19=\E[33~,
|
|---|
| 511 | kf2=\E[12~,
|
|---|
| 512 | kf20=\E[34~,
|
|---|
| 513 | kf3=\E[13~,
|
|---|
| 514 | kf4=\E[14~,
|
|---|
| 515 | kf5=\E[15~,
|
|---|
| 516 | kf6=\E[17~,
|
|---|
| 517 | kf7=\E[18~,
|
|---|
| 518 | kf8=\E[19~,
|
|---|
| 519 | kf9=\E[20~,
|
|---|
| 520 | kfnd=\E[1~,
|
|---|
| 521 | khome=\EO\0,
|
|---|
| 522 | kich1=\E[2~,
|
|---|
| 523 | kmous=\E[M,
|
|---|
| 524 | knp=\E[6~,
|
|---|
| 525 | kpp=\E[5~,
|
|---|
| 526 | rc=\E8,
|
|---|
| 527 | rev=\E[7m,
|
|---|
| 528 | ri=\EM,
|
|---|
| 529 | rmacs=^O,
|
|---|
| 530 | rmam=\E[?7l,
|
|---|
| 531 | rmcup=\E[2J\E[?47l\E8,
|
|---|
| 532 | rmir=\E[4l,
|
|---|
| 533 | rmkx=\E[?1l\E>,
|
|---|
| 534 | rmso=\E[m,
|
|---|
| 535 | rmul=\E[m,
|
|---|
| 536 | rs1=^O,
|
|---|
| 537 | rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
|
|---|
| 538 | sc=\E7,
|
|---|
| 539 | sgr0=\E[m,
|
|---|
| 540 | smacs=^N,
|
|---|
| 541 | smam=\E[?7h,
|
|---|
| 542 | smcup=\E7\E[?47h,
|
|---|
| 543 | smir=\E[4h,
|
|---|
| 544 | smkx=\E[?1h\E=,
|
|---|
| 545 | smso=\E[7m,
|
|---|
| 546 | smul=\E[4m,
|
|---|
| 547 | tbc=\E[3k,
|
|---|
| 548 | u6=\E[%i%d;%dR,
|
|---|
| 549 | u7=\E[6n,
|
|---|
| 550 | u8=\E[?1;2c,
|
|---|
| 551 | u9=\E[c,
|
|---|
| 552 | xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
|
|---|
| 553 | smso=\E[1m,
|
|---|
| 554 | use=xterm,
|
|---|
| 555 | xterms|vs100s|xterm terminal emulator (small screen 24x80),
|
|---|
| 556 | cols#80,
|
|---|
| 557 | lines#24,
|
|---|
| 558 | use=xterm,
|
|---|
| 559 | # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
|
|---|
| 560 | kterm|kterm kanji terminal emulator (X window system),
|
|---|
| 561 | eslok,
|
|---|
| 562 | hs,
|
|---|
| 563 | csr=\E[%i%p1%d;%p2%dr,
|
|---|
| 564 | dsl=\E[?H,
|
|---|
| 565 | fsl=\E[?F,
|
|---|
| 566 | rc=\E8,
|
|---|
| 567 | sc=\E7,
|
|---|
| 568 | tsl=\E[?E\E[?%i%dT,
|
|---|
| 569 | use=xterm,
|
|---|
| 570 | use=ecma+color,
|
|---|
| 571 |
|
|---|
| 572 | # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
|
|---|
| 573 | xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
|
|---|
| 574 | ich@,
|
|---|
| 575 | ich1@,
|
|---|
| 576 | use=xterm,
|
|---|
| 577 |
|
|---|
| 578 | # Should work with the color xterm on the X11R6 contrib tape.
|
|---|
| 579 | # Assumes the xterm attribute default is black on white.
|
|---|
| 580 | # From: Eric S. Raymond <esr@snark.thyrsus.com> March 4 1996
|
|---|
| 581 | xterm-color|xterm with color support,
|
|---|
| 582 | op=\E[30;47m,
|
|---|
| 583 | use=xterm,
|
|---|
| 584 | use=klone+color,
|
|---|
| 585 |
|
|---|
| 586 | # From: Thomas Dickey <dickey@clark.net> 13 Dec 1995
|
|---|
| 587 | rxvt|rxvt terminal emulator,
|
|---|
| 588 | kend=\EOw,
|
|---|
| 589 | khome=\E[H,
|
|---|
| 590 | kmous@,
|
|---|
| 591 | use=xterm,
|
|---|
| 592 | use=klone+color,
|
|---|
| 593 |
|
|---|
| 594 | # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
|
|---|
| 595 | # Here's a termcap entry I've been using for xterm_color, which comes
|
|---|
| 596 | # with BSD/OS 2.0, and the X11R6 contrib tape too I think. Besides the
|
|---|
| 597 | # color stuff, I also have a status line defined as the window manager
|
|---|
| 598 | # title bar. [I have translated it to terminfo -- ESR]
|
|---|
| 599 | xterm-pcolor|xterm with color used for highlights and status line,
|
|---|
| 600 | hs,
|
|---|
| 601 | wsl#40,
|
|---|
| 602 | bold=\E[1m\E[43m,
|
|---|
| 603 | dsl=\E]0;\007,
|
|---|
| 604 | fsl=^G,
|
|---|
| 605 | rev=\E[7m\E[34m,
|
|---|
| 606 | smso=\E[7m\E[31m,
|
|---|
| 607 | smul=\E[4m\E[42m,
|
|---|
| 608 | tsl=\E]0;,
|
|---|
| 609 | use=xterm,
|
|---|
| 610 |
|
|---|
| 611 | # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
|
|---|
| 612 | hpterm|X-hpterm|hp X11 terminal emulator,
|
|---|
| 613 | am,
|
|---|
| 614 | da,
|
|---|
| 615 | db,
|
|---|
| 616 | mir,
|
|---|
| 617 | xhp,
|
|---|
| 618 | cols#80,
|
|---|
| 619 | lh#2,
|
|---|
| 620 | lines#24,
|
|---|
| 621 | lm#0,
|
|---|
| 622 | lw#8,
|
|---|
| 623 | nlab#8,
|
|---|
| 624 | pb#9600,
|
|---|
| 625 | xmc#0,
|
|---|
| 626 | bel=^G,
|
|---|
| 627 | bold=\E&dB,
|
|---|
| 628 | cbt=\Ei,
|
|---|
| 629 | clear=\E&a0y0C\EJ,
|
|---|
| 630 | cr=^M,
|
|---|
| 631 | cub1=^H,
|
|---|
| 632 | cud1=\EB,
|
|---|
| 633 | cuf1=\EC,
|
|---|
| 634 | cup=\E&a%p1%dy%p2%dC,
|
|---|
| 635 | cuu1=\EA,
|
|---|
| 636 | dch1=\EP,
|
|---|
| 637 | dim=\E&dH,
|
|---|
| 638 | dl1=\EM,
|
|---|
| 639 | ed=\EJ$<1>,
|
|---|
| 640 | el=\EK,
|
|---|
| 641 | hpa=\E&a%p1%dC,
|
|---|
| 642 | ht=^I,
|
|---|
| 643 | hts=\E1,
|
|---|
| 644 | il1=\EL,
|
|---|
| 645 | ind=^J,
|
|---|
| 646 | kbs=^H,
|
|---|
| 647 | kclr=\EJ,
|
|---|
| 648 | kctab=\E2,
|
|---|
| 649 | kcub1=\ED,
|
|---|
| 650 | kcud1=\EB,
|
|---|
| 651 | kcuf1=\EC,
|
|---|
| 652 | kcuu1=\EA,
|
|---|
| 653 | kdch1=\EP,
|
|---|
| 654 | kdl1=\EM,
|
|---|
| 655 | ked=\EJ,
|
|---|
| 656 | kel=\EK,
|
|---|
| 657 | kf1=\Ep,
|
|---|
| 658 | kf2=\Eq,
|
|---|
| 659 | kf3=\Er,
|
|---|
| 660 | kf4=\Es,
|
|---|
| 661 | kf5=\Et,
|
|---|
| 662 | kf6=\Eu,
|
|---|
| 663 | kf7=\Ev,
|
|---|
| 664 | kf8=\Ew,
|
|---|
| 665 | khome=\Eh,
|
|---|
| 666 | khts=\E1,
|
|---|
| 667 | kich1=\EQ,
|
|---|
| 668 | kil1=\EL,
|
|---|
| 669 | kind=\ES,
|
|---|
| 670 | kll=\EF,
|
|---|
| 671 | knp=\EU,
|
|---|
| 672 | kpp=\EV,
|
|---|
| 673 | kri=\ET,
|
|---|
| 674 | krmir=\ER,
|
|---|
| 675 | ktbc=\E3,
|
|---|
| 676 | meml=\El,
|
|---|
| 677 | memu=\Em,
|
|---|
| 678 | pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
|
|---|
| 679 | pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
|
|---|
| 680 | pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
|
|---|
| 681 | pln=\E&f%p1%dk%p2%l%dd0L%p2%s,
|
|---|
| 682 | rev=\E&dB,
|
|---|
| 683 | ri=\ET,
|
|---|
| 684 | rmacs=^O,
|
|---|
| 685 | rmir=\ER,
|
|---|
| 686 | rmkx=\E&s0A,
|
|---|
| 687 | rmln=\E&j@,
|
|---|
| 688 | rmso=\E&d@,
|
|---|
| 689 | rmul=\E&d@,
|
|---|
| 690 | sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
|
|---|
| 691 | sgr0=\E&d@,
|
|---|
| 692 | smacs=^N,
|
|---|
| 693 | smir=\EQ,
|
|---|
| 694 | smkx=\E&s1A,
|
|---|
| 695 | smln=\E&jB,
|
|---|
| 696 | smso=\E&dJ,
|
|---|
| 697 | smul=\E&dD,
|
|---|
| 698 | tbc=\E3,
|
|---|
| 699 | vpa=\E&a%p1%dY,
|
|---|
| 700 |
|
|---|
| 701 | # This entry describes an xterm with Sun-style function keys enabled
|
|---|
| 702 | # via the X resource setting "xterm*sunFunctionKeys:true"
|
|---|
| 703 | # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
|
|---|
| 704 | # The <kf13>...<kf20> keys are L3-L10. We don't set <kf16=\E[197z>
|
|---|
| 705 | # because we want it to be seen as <kcpy>.
|
|---|
| 706 | # The <kf31>...<kf45> keys are R1-R15. We treat some of these in accordance
|
|---|
| 707 | # with their Sun keyboard labels instead.
|
|---|
| 708 | # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
|
|---|
| 709 | xterm-sun|xterm with sunFunctionKeys true,
|
|---|
| 710 | kb2=\E[218z,
|
|---|
| 711 | kcpy=\E[197z,
|
|---|
| 712 | kend=\E[220z,
|
|---|
| 713 | kf1=\E[224z,
|
|---|
| 714 | kf10=\E[233z,
|
|---|
| 715 | kf11=\E[192z,
|
|---|
| 716 | kf12=\E[193z,
|
|---|
| 717 | kf13=\E[194z,
|
|---|
| 718 | kf14=\E[195z,
|
|---|
| 719 | kf15=\E[196z,
|
|---|
| 720 | kf17=\E[198z,
|
|---|
| 721 | kf18=\E[199z,
|
|---|
| 722 | kf19=\E[200z,
|
|---|
| 723 | kf2=\E[225z,
|
|---|
| 724 | kf20=\E[201z,
|
|---|
| 725 | kf3=\E[226z,
|
|---|
| 726 | kf31=\E[208z,
|
|---|
| 727 | kf32=\E[209z,
|
|---|
| 728 | kf33=\E[210z,
|
|---|
| 729 | kf34=\E[211z,
|
|---|
| 730 | kf35=\E[212z,
|
|---|
| 731 | kf36=\E[213z,
|
|---|
| 732 | kf38=\E[215z,
|
|---|
| 733 | kf4=\E[227z,
|
|---|
| 734 | kf40=\E[217z,
|
|---|
| 735 | kf42=\E[219z,
|
|---|
| 736 | kf44=\E[221z,
|
|---|
| 737 | kf5=\E[228z,
|
|---|
| 738 | kf6=\E[229z,
|
|---|
| 739 | kf7=\E[230z,
|
|---|
| 740 | kf8=\E[231z,
|
|---|
| 741 | kf9=\E[232z,
|
|---|
| 742 | kfnd=\E[200z,
|
|---|
| 743 | khlp=\E[196z,
|
|---|
| 744 | khome=\E[214z,
|
|---|
| 745 | kich1=\E[2z,
|
|---|
| 746 | knp=\E[222z,
|
|---|
| 747 | kpp=\E[216z,
|
|---|
| 748 | kund=\E[195z,
|
|---|
| 749 | use=xterm,
|
|---|
| 750 | xterms-sun|small (80x24) xterm with sunFunctionKeys true,
|
|---|
| 751 | cols#80,
|
|---|
| 752 | lines#24,
|
|---|
| 753 | use=xterm-sun,
|
|---|
| 754 |
|
|---|
| 755 | # This is for the extensible terminal emulator on the X11R6 contrib tape.
|
|---|
| 756 | emu|emu native mode,
|
|---|
| 757 | mir,
|
|---|
| 758 | msgr,
|
|---|
| 759 | xon,
|
|---|
| 760 | colors#15,
|
|---|
| 761 | cols#80,
|
|---|
| 762 | it#8,
|
|---|
| 763 | lines#24,
|
|---|
| 764 | pairs#64,
|
|---|
| 765 | vt#200,
|
|---|
| 766 | acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
|
|---|
| 767 | bel=^G,
|
|---|
| 768 | blink=\ES\EW,
|
|---|
| 769 | bold=\ES\EU,
|
|---|
| 770 | civis=\EZ,
|
|---|
| 771 | clear=\EP\EE0;0;,
|
|---|
| 772 | cnorm=\Ea,
|
|---|
| 773 | cr=^M,
|
|---|
| 774 | csr=\Ek%p1%d;%p2%d;,
|
|---|
| 775 | cub=\Eq-%p1%d;,
|
|---|
| 776 | cub1=^H,
|
|---|
| 777 | cud=\Ep%p1%d;,
|
|---|
| 778 | cud1=\EB,
|
|---|
| 779 | cuf=\Eq%p1%d;,
|
|---|
| 780 | cuf1=\ED,
|
|---|
| 781 | cup=\EE%p1%d;%p2%d;,
|
|---|
| 782 | cuu=\Ep-%p1%d;,
|
|---|
| 783 | cuu1=\EA,
|
|---|
| 784 | dch=\EI%p1%d;,
|
|---|
| 785 | dch1=\EI1;,
|
|---|
| 786 | dl=\ER%p1%d;,
|
|---|
| 787 | dl1=\ER1;,
|
|---|
| 788 | ech=\Ej%p1%d;,
|
|---|
| 789 | ed=\EN,
|
|---|
| 790 | el=\EK,
|
|---|
| 791 | el1=\EL,
|
|---|
| 792 | enacs=\0,
|
|---|
| 793 | home=\EE0;0;,
|
|---|
| 794 | ht=^I,
|
|---|
| 795 | hts=\Eh,
|
|---|
| 796 | il=\EQ%p1%d;,
|
|---|
| 797 | il1=\EQ1;,
|
|---|
| 798 | ind=\EG,
|
|---|
| 799 | is2=\ES\Er0;\Es0;,
|
|---|
| 800 | kbs=^H,
|
|---|
| 801 | kcub1=\EC,
|
|---|
| 802 | kcud1=\EB,
|
|---|
| 803 | kcuf1=\ED,
|
|---|
| 804 | kcuu1=\EA,
|
|---|
| 805 | kdch1=\177,
|
|---|
| 806 | kent=^M,
|
|---|
| 807 | kf0=\EF00,
|
|---|
| 808 | kf1=\EF01,
|
|---|
| 809 | kf10=\EF10,
|
|---|
| 810 | kf11=\EF11,
|
|---|
| 811 | kf12=\EF12,
|
|---|
| 812 | kf13=\EF13,
|
|---|
| 813 | kf14=\EF14,
|
|---|
| 814 | kf15=\EF15,
|
|---|
| 815 | kf16=\EF16,
|
|---|
| 816 | kf17=\EF17,
|
|---|
| 817 | kf18=\EF18,
|
|---|
| 818 | kf19=\EF19,
|
|---|
| 819 | kf2=\EF02,
|
|---|
| 820 | kf20=\EF20,
|
|---|
| 821 | kf3=\EF03,
|
|---|
| 822 | kf4=\EF04,
|
|---|
| 823 | kf5=\EF05,
|
|---|
| 824 | kf6=\EF06,
|
|---|
| 825 | kf7=\EF07,
|
|---|
| 826 | kf8=\EF08,
|
|---|
| 827 | kf9=\EF09,
|
|---|
| 828 | kfnd=\Efind,
|
|---|
| 829 | kich1=\Eins,
|
|---|
| 830 | knp=\Enext,
|
|---|
| 831 | kpp=\Eprior,
|
|---|
| 832 | kslt=\Esel,
|
|---|
| 833 | oc=\Es0;\Er0;,
|
|---|
| 834 | rev=\ES\ET,
|
|---|
| 835 | ri=\EF,
|
|---|
| 836 | rmacs=\0,
|
|---|
| 837 | rmir=\EX,
|
|---|
| 838 | rmso=\ES,
|
|---|
| 839 | rmul=\ES,
|
|---|
| 840 | rs2=\ES\Es0;\Er0;,
|
|---|
| 841 | setab=\Es%i%p1%d;,
|
|---|
| 842 | setaf=\Er%i%p1%d;,
|
|---|
| 843 | sgr0=\ES,
|
|---|
| 844 | smacs=\0,
|
|---|
| 845 | smir=\EY,
|
|---|
| 846 | smso=\ES\ET,
|
|---|
| 847 | smul=\ES\EV,
|
|---|
| 848 | tbc=\Ej,
|
|---|
| 849 | ###############################################################################
|
|---|
| 850 | # Aliases which conflict with terminfo.src
|
|---|
| 851 | ansi|ANSI.SYS color,
|
|---|
| 852 | use=ansi-emx,
|
|---|
| 853 | ansi-color-2|ANSI.SYS color 2,
|
|---|
| 854 | use=ansi-color-2-emx,
|
|---|
| 855 | ansi-color-3|ANSI.SYS color 3,
|
|---|
| 856 | use=ansi-color-3-emx,
|
|---|
| 857 | xterm|vs100|xterm terminal emulator (X11R6 Window System),
|
|---|
| 858 | use=xterm-r6,
|
|---|