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