terminfo revision e39b573c
1# $XTermId: terminfo,v 1.156 2011/07/04 11:11:43 tom Exp $ 2# 3# $XFree86: xc/programs/xterm/terminfo,v 3.59 2006/02/13 01:14:59 dickey Exp $ 4# 5# Updates/notes/new entries (e.g., xterm-8bit, xterm-16color, xterm-256color) 6# - Thomas E. Dickey 7# 8#------------------------------------------------------------------------------ 9# Copyright 1996-2007,2011 by Thomas E. Dickey 10# 11# All Rights Reserved 12# 13# Permission is hereby granted, free of charge, to any person obtaining a 14# copy of this software and associated documentation files (the 15# "Software"), to deal in the Software without restriction, including 16# without limitation the rights to use, copy, modify, merge, publish, 17# distribute, sublicense, and/or sell copies of the Software, and to 18# permit persons to whom the Software is furnished to do so, subject to 19# the following conditions: 20# 21# The above copyright notice and this permission notice shall be included 22# in all copies or substantial portions of the Software. 23# 24# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 25# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 26# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 27# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY 28# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 29# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 30# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 31# 32# Except as contained in this notice, the name(s) of the above copyright 33# holders shall not be used in advertising or otherwise to promote the 34# sale, use or other dealings in this Software without prior written 35# authorization. 36#------------------------------------------------------------------------------ 37# 38# Special Capabilities: 39# -------------------- 40# ich has a corresponding capability that inserts a single blank. We could 41# have used ich1=\E[@, which works with ncurses, but that is not standard 42# behavior. If it is set, then SVr4 vi (e.g., Solaris 2.6) emits both 43# smir/rmir and ich1. 44# meml locks memory above the cursor; memu unlocks (ala HP terminals). This 45# is not recognized by some older (e.g., SVr3) tic programs, but none 46# do more than warn about it. Ignore the warning. 47# smcup clears memory before switching to the alternate screen. The older 48# (deprecated) \E[?47h did not do this, requiring applications to 49# embed a \E[2J in the rmcup string. However, that behavior cannot 50# be disabled via titeInhibit, making that resource not function as 51# intended on systems with terminfo. 52# rs2/is2 are shorter with XFree86 xterm because it supports DECSTR. We 53# use the shorter sequence for compatibility with the termcap, which 54# is trimmed to keep it shorter than 1023 characters. It (escape \E[!p) 55# replaces these in the conventional vt100 reset-string: 56# \E7 - save cursor (fixes origin-mode side-effect) 57# \E[r - reset scrolling margins 58# \E[m - reset SGR (including color) 59# \E[?7h - reset wraparound mode (DECAWM) 60# \E[?1l - reset application cursor keys (DECCKM) 61# \E[?6l - reset origin mode (DECOM) 62# \E8 - restore cursor 63# DECSTR is recognized by XFree86 xterm even in vt52 mode. 64# 65# Editing Keypad: 66# -------------- 67# XFree86 xterm emulates vt220 if the decTerminalID resource is set to 200 or 68# higher. Otherwise it emulates a vt100 or vt52 depending on the value of the 69# resource. When emulating a vt220, we support the editing keypad. Sun and PC 70# keyboards have an editing keypad which is similar to the vt220: 71# 72# VT220 editing keypad 73# ---------------------------- 74# Find Insert Remove 75# Select Prev Next 76# ---------------------------- 77# 78# Sun/PC editing keypad 79# ---------------------------- 80# Insert Home PageUp 81# Delete End PageDn 82# ---------------------------- 83# 84# If the sunKeyboard resource is true, we map it this way (adjusting the values 85# of Home, End and Delete): 86# VT220 Sun/PC 87# ---------------------------- 88# Find Home 89# Select End 90# Insert Insert 91# Remove Delete 92# Prev PageUp 93# Next PageDn 94# ---------------------------- 95# 96# Note that all of the keys on the editing keypad transmit escape sequences. A 97# vt220 does this only when in vt220 mode; when emulating a vt100 the editing 98# keypad is inactive. 99# 100# Alternative keycodes: 101# -------------------- 102# Several of the function keys have alternative names, depending on the type of 103# host which your xterm is connected to. DEC (i.e., the VMS system) uses F15 104# as the HELP key, F16 as the DO key. Unix applications generally do not do 105# this. Curses applications in particular, assign a unique keycode to each 106# capability string. These terminal descriptions do not have conflicting 107# definitions, to ensure that Unix curses applications use a consistent set of 108# keycodes. To get a VMS-bias, make these substitutions: 109# 1. change khome to kfnd 110# 2. change kend to kslt 111# The original xterm-r6 entry does in fact have a VMS bias. 112# 113# Some legacy applications using the termcap emulation may expect kll where 114# we have specified kend. 115# 116# Function keys with modifiers (Sun/PC): 117# ------------------------------------- 118# Shift-Fx - kf{12+x} 119# Control-Fx - kf{24+x} 120# Shift-Control-Fx - kf{36+x} 121# 122# The terminfo defines some special keys which are documented as "shifted", 123# e.g., kDC is shifted-delete-character. 124# 125# Note however, that even though the terminfo says a key might be sent, there 126# may be conflicts which prevent this. For example, it is common to use 127# shifted pageup and pagedown for window manager functions. The default 128# translation for xterm since X11R4 has overridden shifted Insert, Select, 129# PageUp and PageDown, which correspond to terminfo kIC, kEND, kPRV and kNXT 130# respectively. 131# 132xterm-new|modern xterm terminal emulator, 133 npc, 134 indn=\E[%p1%dS, 135 kb2=\EOE, 136 kcbt=\E[Z, 137 kent=\EOM, 138 rin=\E[%p1%dT, 139 use=xterm+pcfkeys, 140 use=xterm+tmux, 141 use=xterm-basic, 142# 143# Encode modifiers using parameters (see "Xterm Control Sequences" ctlseqs.ms). 144# Note that this is unrelated to PCTERM. 145# 146# Some names are extensions allowed by ncurses, e.g., 147# kDN, kDN5, kDN6, kLFT5, kLFT6, kRIT5, kRIT6, kUP, kUP5, kUP6 148# 149# The uppercase names are made up, since there are no standards that apply. 150# If they were limited to two characters, they could in principle be translated 151# to termcap. However, termcap sizes are limited to 1023 bytes, so there is 152# little point in ensuring that extended key names can be translated to 153# termcap. A terminfo file can be up to 4096 bytes; using all extended keys 154# that xterm can generate would in fact exceed that limit. 155# 156# The numbers correspond to the modifier parameters documented in Xterm 157# Control Sequences: 158# 159# 2 Shift 160# 3 Alt 161# 4 Shift + Alt 162# 5 Control 163# 6 Shift + Control 164# 7 Alt + Control 165# 8 Shift + Alt + Control 166# 167# X/Open Curses defines some shift combinations, which are also used here 168# where applicable. Since it does define some shift combinations, no number 169# (2) is used for suffixing the made-up names. Some combinations are not 170# useful, e.g., they may reboot your computer, or they may require too many 171# fingers. I stopped at modifier 7, just to keep things simple -TD 172# 173# XTerm resources: 174# --------------- 175# The xterm+pcfn, xterm+pcf0, xterm+pcf1, xterm+pcf2 and xterm+pcf3 fragments 176# correspond to default resource settings for xterm on a 104-key PC keyboard 177# with 12 function-keys: 178# 179# *sunKeyboard:false 180# *oldXtermFKeys:false 181# *modifyCursorKeys:2 182# *modifyFunctionKeys:2 183# *ctrlFKeys:10 184# 185# The key numbers are computed based on the modifiers: 186# 187# kf1-kf12 are F1-F12 188# kf13-kf24 are shift F1-F12 189# kf25-kf36 are control F1-F12 190# kf37-kf48 are control+shift F1-F12 191# kf49-kf60 are alt F1-F12 192# kf61-kf63 are shift-alt F1-F3 193# 194# Note that ncurses would allow definition of kf64 and beyond, if there were 195# an application that required it. 196# 197xterm+pcfkeys|fragment for PC-style keys, 198 use=xterm+app, 199 use=xterm+pcf2, 200 use=xterm+pce2, 201 use=xterm+pcc2, 202 203# This chunk is based on suggestions by Ailin Nemui and Nicholas Marriott, who 204# asked for some of xterm's advanced features to be added to its terminfo 205# entry. It defines extended capabilities not found in standard terminfo or 206# termcap. These are useful in tmux, for instance, hence the name. 207# 208# One caveat in adding extended capabilities in ncurses is that if the names 209# are longer than two characters, then they will not be visible through the 210# termcap interface. 211# 212# Ms modifies the selection/clipboard. Its parameters are 213# p1 = the storage unit (clipboard, selection or cut buffer) 214# p2 = the base64-encoded clipboard content. 215# 216# Ss is used to set the cursor style as described by the DECSCUSR 217# function to a block or underline. 218# Se resets the cursor style to the terminal power-on default. 219# 220# Cs and Ce set and reset the cursor colour. 221xterm+tmux|advanced xterm features used in tmux, 222 Cr=\E]112\007, 223 Cs=\E]12;%p1%s\007, 224 Ms=\E]52;%p1%s;%p2%s\007, 225 Se=\E[2 q, 226 Ss=\E[%p1%d q, 227# 228# The ctrlFKeys resource is only relevant to the xterm+pcfn and xterm+pcfN 229# entries, since the modifyFunctionKeys resource overrides ctrlFKeys when it is 230# positive. A different choice of ctrlFKeys would give a different set of 231# function-key strings. 232xterm+pcfn|fragment with modifyFunctionKeys:-1 and ctrlFKeys:10, 233 kf1=\EOP, 234 kf10=\E[21~, 235 kf11=\E[23~, 236 kf12=\E[24~, 237 kf13=\E[25~, 238 kf14=\E[26~, 239 kf15=\E[28~, 240 kf16=\E[29~, 241 kf17=\E[31~, 242 kf18=\E[32~, 243 kf19=\E[33~, 244 kf2=\EOQ, 245 kf20=\E[34~, 246 kf21=\E[42~, 247 kf22=\E[43~, 248 kf23=\E[44~, 249 kf24=\E[45~, 250 kf25=\E[46~, 251 kf26=\E[47~, 252 kf27=\E[48~, 253 kf28=\E[49~, 254 kf29=\E[50~, 255 kf3=\EOR, 256 kf30=\E[51~, 257 kf31=\E[52~, 258 kf32=\E[53~, 259 kf33=\E[54~, 260 kf34=\E[55~, 261 kf35=\E[56~, 262 kf36=\E[57~, 263 kf37=\E[58~, 264 kf38=\E[59~, 265 kf39=\E[60~, 266 kf4=\EOS, 267 kf40=\E[61~, 268 kf41=\E[62~, 269 kf42=\E[63~, 270 kf43=\E[64~, 271 kf44=\E[65~, 272 kf45=\E[66~, 273 kf46=\E[67~, 274 kf47=\E[68~, 275 kf48=\E[69~, 276 kf5=\E[15~, 277 kf6=\E[17~, 278 kf7=\E[18~, 279 kf8=\E[19~, 280 kf9=\E[20~, 281 282# Changing ctrlFKeys to 12 would let us number the keys using just shift- and 283# control- modifiers: 284# kf1-kf12 are F1-F12 285# kf13-kf24 are shift F1-F12 286# kf25-kf36 are control F1-F12 287# kf37-kf48 are control+shift F1-F12 288xterm+pcfN|fragment with modifyFunctionKeys:-1 and ctrlFKeys:12, 289 kf1=\EOP, 290 kf10=\E[21~, 291 kf11=\E[23~, 292 kf12=\E[24~, 293 kf13=\E[25~, 294 kf14=\E[26~, 295 kf15=\E[28~, 296 kf16=\E[29~, 297 kf17=\E[31~, 298 kf18=\E[32~, 299 kf19=\E[33~, 300 kf2=\EOQ, 301 kf20=\E[34~, 302 kf21=\E[42~, 303 kf22=\E[43~, 304 kf23=\E[44~, 305 kf24=\E[45~, 306 kf25=\E[46~, 307 kf26=\E[47~, 308 kf27=\E[48~, 309 kf28=\E[49~, 310 kf29=\E[50~, 311 kf3=\EOR, 312 kf30=\E[51~, 313 kf31=\E[52~, 314 kf32=\E[53~, 315 kf33=\E[54~, 316 kf34=\E[55~, 317 kf35=\E[56~, 318 kf36=\E[57~, 319 kf37=\E[58~, 320 kf38=\E[59~, 321 kf39=\E[60~, 322 kf4=\EOS, 323 kf40=\E[61~, 324 kf41=\E[62~, 325 kf42=\E[63~, 326 kf43=\E[64~, 327 kf44=\E[65~, 328 kf45=\E[66~, 329 kf46=\E[67~, 330 kf47=\E[68~, 331 kf48=\E[69~, 332 kf5=\E[15~, 333 kf6=\E[17~, 334 kf7=\E[18~, 335 kf8=\E[19~, 336 kf9=\E[20~, 337 338xterm+pcf0|fragment with modifyFunctionKeys:0, 339 kf1=\EOP, 340 kf10=\E[21~, 341 kf11=\E[23~, 342 kf12=\E[24~, 343 kf13=\EO2P, 344 kf14=\EO2Q, 345 kf15=\EO2R, 346 kf16=\EO2S, 347 kf17=\E[15;2~, 348 kf18=\E[17;2~, 349 kf19=\E[18;2~, 350 kf2=\EOQ, 351 kf20=\E[19;2~, 352 kf21=\E[20;2~, 353 kf22=\E[21;2~, 354 kf23=\E[23;2~, 355 kf24=\E[24;2~, 356 kf25=\EO5P, 357 kf26=\EO5Q, 358 kf27=\EO5R, 359 kf28=\EO5S, 360 kf29=\E[15;5~, 361 kf3=\EOR, 362 kf30=\E[17;5~, 363 kf31=\E[18;5~, 364 kf32=\E[19;5~, 365 kf33=\E[20;5~, 366 kf34=\E[21;5~, 367 kf35=\E[23;5~, 368 kf36=\E[24;5~, 369 kf37=\EO6P, 370 kf38=\EO6Q, 371 kf39=\EO6R, 372 kf4=\EOS, 373 kf40=\EO6S, 374 kf41=\E[15;6~, 375 kf42=\E[17;6~, 376 kf43=\E[18;6~, 377 kf44=\E[19;6~, 378 kf45=\E[20;6~, 379 kf46=\E[21;6~, 380 kf47=\E[23;6~, 381 kf48=\E[24;6~, 382 kf49=\EO3P, 383 kf5=\E[15~, 384 kf50=\EO3Q, 385 kf51=\EO3R, 386 kf52=\EO3S, 387 kf53=\E[15;3~, 388 kf54=\E[17;3~, 389 kf55=\E[18;3~, 390 kf56=\E[19;3~, 391 kf57=\E[20;3~, 392 kf58=\E[21;3~, 393 kf59=\E[23;3~, 394 kf6=\E[17~, 395 kf60=\E[24;3~, 396 kf61=\EO4P, 397 kf62=\EO4Q, 398 kf63=\EO4R, 399 kf7=\E[18~, 400 kf8=\E[19~, 401 kf9=\E[20~, 402 403# This is almost the same as xterm+pcf2 because the unmodified keys all happen 404# to have a pattern that forces the modifier to the same position. 405xterm+pcf1|fragment with modifyFunctionKeys:1, 406 kf1=\EOP, 407 kf10=\E[21~, 408 kf11=\E[23~, 409 kf12=\E[24~, 410 kf13=\E[2P, 411 kf14=\E[2Q, 412 kf15=\E[2R, 413 kf16=\E[2S, 414 kf17=\E[15;2~, 415 kf18=\E[17;2~, 416 kf19=\E[18;2~, 417 kf2=\EOQ, 418 kf20=\E[19;2~, 419 kf21=\E[20;2~, 420 kf22=\E[21;2~, 421 kf23=\E[23;2~, 422 kf24=\E[24;2~, 423 kf25=\E[5P, 424 kf26=\E[5Q, 425 kf27=\E[5R, 426 kf28=\E[5S, 427 kf29=\E[15;5~, 428 kf3=\EOR, 429 kf30=\E[17;5~, 430 kf31=\E[18;5~, 431 kf32=\E[19;5~, 432 kf33=\E[20;5~, 433 kf34=\E[21;5~, 434 kf35=\E[23;5~, 435 kf36=\E[24;5~, 436 kf37=\E[6P, 437 kf38=\E[6Q, 438 kf39=\E[6R, 439 kf4=\EOS, 440 kf40=\E[6S, 441 kf41=\E[15;6~, 442 kf42=\E[17;6~, 443 kf43=\E[18;6~, 444 kf44=\E[19;6~, 445 kf45=\E[20;6~, 446 kf46=\E[21;6~, 447 kf47=\E[23;6~, 448 kf48=\E[24;6~, 449 kf49=\E[3P, 450 kf5=\E[15~, 451 kf50=\E[3Q, 452 kf51=\E[3R, 453 kf52=\E[3S, 454 kf53=\E[15;3~, 455 kf54=\E[17;3~, 456 kf55=\E[18;3~, 457 kf56=\E[19;3~, 458 kf57=\E[20;3~, 459 kf58=\E[21;3~, 460 kf59=\E[23;3~, 461 kf6=\E[17~, 462 kf60=\E[24;3~, 463 kf61=\E[4P, 464 kf62=\E[4Q, 465 kf63=\E[4R, 466 kf7=\E[18~, 467 kf8=\E[19~, 468 kf9=\E[20~, 469 470xterm+pcf2|fragment with modifyFunctionKeys:2, 471 kf1=\EOP, 472 kf10=\E[21~, 473 kf11=\E[23~, 474 kf12=\E[24~, 475 kf13=\E[1;2P, 476 kf14=\E[1;2Q, 477 kf15=\E[1;2R, 478 kf16=\E[1;2S, 479 kf17=\E[15;2~, 480 kf18=\E[17;2~, 481 kf19=\E[18;2~, 482 kf2=\EOQ, 483 kf20=\E[19;2~, 484 kf21=\E[20;2~, 485 kf22=\E[21;2~, 486 kf23=\E[23;2~, 487 kf24=\E[24;2~, 488 kf25=\E[1;5P, 489 kf26=\E[1;5Q, 490 kf27=\E[1;5R, 491 kf28=\E[1;5S, 492 kf29=\E[15;5~, 493 kf3=\EOR, 494 kf30=\E[17;5~, 495 kf31=\E[18;5~, 496 kf32=\E[19;5~, 497 kf33=\E[20;5~, 498 kf34=\E[21;5~, 499 kf35=\E[23;5~, 500 kf36=\E[24;5~, 501 kf37=\E[1;6P, 502 kf38=\E[1;6Q, 503 kf39=\E[1;6R, 504 kf4=\EOS, 505 kf40=\E[1;6S, 506 kf41=\E[15;6~, 507 kf42=\E[17;6~, 508 kf43=\E[18;6~, 509 kf44=\E[19;6~, 510 kf45=\E[20;6~, 511 kf46=\E[21;6~, 512 kf47=\E[23;6~, 513 kf48=\E[24;6~, 514 kf49=\E[1;3P, 515 kf5=\E[15~, 516 kf50=\E[1;3Q, 517 kf51=\E[1;3R, 518 kf52=\E[1;3S, 519 kf53=\E[15;3~, 520 kf54=\E[17;3~, 521 kf55=\E[18;3~, 522 kf56=\E[19;3~, 523 kf57=\E[20;3~, 524 kf58=\E[21;3~, 525 kf59=\E[23;3~, 526 kf6=\E[17~, 527 kf60=\E[24;3~, 528 kf61=\E[1;4P, 529 kf62=\E[1;4Q, 530 kf63=\E[1;4R, 531 kf7=\E[18~, 532 kf8=\E[19~, 533 kf9=\E[20~, 534 535xterm+pcf3|fragment with modifyFunctionKeys:3, 536 kf1=\EOP, 537 kf10=\E[21~, 538 kf11=\E[23~, 539 kf12=\E[24~, 540 kf13=\E[>1;2P, 541 kf14=\E[>1;2Q, 542 kf15=\E[>1;2R, 543 kf16=\E[>1;2S, 544 kf17=\E[>15;2~, 545 kf18=\E[>17;2~, 546 kf19=\E[>18;2~, 547 kf2=\EOQ, 548 kf20=\E[>19;2~, 549 kf21=\E[>20;2~, 550 kf22=\E[>21;2~, 551 kf23=\E[>23;2~, 552 kf24=\E[>24;2~, 553 kf25=\E[>1;5P, 554 kf26=\E[>1;5Q, 555 kf27=\E[>1;5R, 556 kf28=\E[>1;5S, 557 kf29=\E[>15;5~, 558 kf3=\EOR, 559 kf30=\E[>17;5~, 560 kf31=\E[>18;5~, 561 kf32=\E[>19;5~, 562 kf33=\E[>20;5~, 563 kf34=\E[>21;5~, 564 kf35=\E[>23;5~, 565 kf36=\E[>24;5~, 566 kf37=\E[>1;6P, 567 kf38=\E[>1;6Q, 568 kf39=\E[>1;6R, 569 kf4=\EOS, 570 kf40=\E[>1;6S, 571 kf41=\E[>15;6~, 572 kf42=\E[>17;6~, 573 kf43=\E[>18;6~, 574 kf44=\E[>19;6~, 575 kf45=\E[>20;6~, 576 kf46=\E[>21;6~, 577 kf47=\E[>23;6~, 578 kf48=\E[>24;6~, 579 kf49=\E[>1;3P, 580 kf5=\E[15~, 581 kf50=\E[>1;3Q, 582 kf51=\E[>1;3R, 583 kf52=\E[>1;3S, 584 kf53=\E[>15;3~, 585 kf54=\E[>17;3~, 586 kf55=\E[>18;3~, 587 kf56=\E[>19;3~, 588 kf57=\E[>20;3~, 589 kf58=\E[>21;3~, 590 kf59=\E[>23;3~, 591 kf6=\E[17~, 592 kf60=\E[>24;3~, 593 kf61=\E[>1;4P, 594 kf62=\E[>1;4Q, 595 kf63=\E[>1;4R, 596 kf7=\E[18~, 597 kf8=\E[19~, 598 kf9=\E[20~, 599# 600# The "PC-style" modifier scheme was introduced in xterm patch #94 (1999/3/27) 601# and revised in patch #167 (2002/8/24). 602# 603# The original assignments from patch #94 for cursor-keys had some technical 604# issues: 605# 606# A parameter for a function-key to represent a modifier is just more 607# bits. But for a cursor-key it may change the behavior of the 608# application. For instance, emacs decodes the first parameter of a 609# cursor-key as a repeat count. 610# 611# A parameterized string should (really) not begin with SS3 (\EO). 612# Rather, CSI (\E[) should be used. 613# 614# For these reasons, the original assignments were deprecated. For 615# compatibility reasons, they are still available as a setting of xterm's 616# modifyCursorKeys resource. These fragments list the modified cursor-keys 617# that might apply to xterm+pcfkeys with different values of that resource. 618xterm+pcc3|fragment with modifyCursorKeys:3, 619 kLFT=\E[>1;2D, 620 kRIT=\E[>1;2C, 621 kind=\E[>1;2B, 622 kri=\E[>1;2A, 623 kDN=\E[>1;2B, 624 kDN3=\E[>1;3B, 625 kDN4=\E[>1;4B, 626 kDN5=\E[>1;5B, 627 kDN6=\E[>1;6B, 628 kDN7=\E[>1;7B, 629 kLFT3=\E[>1;3D, 630 kLFT4=\E[>1;4D, 631 kLFT5=\E[>1;5D, 632 kLFT6=\E[>1;6D, 633 kLFT7=\E[>1;7D, 634 kRIT3=\E[>1;3C, 635 kRIT4=\E[>1;4C, 636 kRIT5=\E[>1;5C, 637 kRIT6=\E[>1;6C, 638 kRIT7=\E[>1;7C, 639 kUP=\E[>1;2A, 640 kUP3=\E[>1;3A, 641 kUP4=\E[>1;4A, 642 kUP5=\E[>1;5A, 643 kUP6=\E[>1;6A, 644 kUP7=\E[>1;7A, 645 646xterm+pcc2|fragment with modifyCursorKeys:2, 647 kLFT=\E[1;2D, 648 kRIT=\E[1;2C, 649 kind=\E[1;2B, 650 kri=\E[1;2A, 651 kDN=\E[1;2B, 652 kDN3=\E[1;3B, 653 kDN4=\E[1;4B, 654 kDN5=\E[1;5B, 655 kDN6=\E[1;6B, 656 kDN7=\E[1;7B, 657 kLFT3=\E[1;3D, 658 kLFT4=\E[1;4D, 659 kLFT5=\E[1;5D, 660 kLFT6=\E[1;6D, 661 kLFT7=\E[1;7D, 662 kRIT3=\E[1;3C, 663 kRIT4=\E[1;4C, 664 kRIT5=\E[1;5C, 665 kRIT6=\E[1;6C, 666 kRIT7=\E[1;7C, 667 kUP=\E[1;2A, 668 kUP3=\E[1;3A, 669 kUP4=\E[1;4A, 670 kUP5=\E[1;5A, 671 kUP6=\E[1;6A, 672 kUP7=\E[1;7A, 673 674xterm+pcc1|fragment with modifyCursorKeys:1, 675 kLFT=\E[2D, 676 kRIT=\E[2C, 677 kind=\E[2B, 678 kri=\E[2A, 679 kDN=\E[2B, 680 kDN3=\E[3B, 681 kDN4=\E[4B, 682 kDN5=\E[5B, 683 kDN6=\E[6B, 684 kDN7=\E[7B, 685 kLFT3=\E[3D, 686 kLFT4=\E[4D, 687 kLFT5=\E[5D, 688 kLFT6=\E[6D, 689 kLFT7=\E[7D, 690 kRIT3=\E[3C, 691 kRIT4=\E[4C, 692 kRIT5=\E[5C, 693 kRIT6=\E[6C, 694 kRIT7=\E[7C, 695 kUP=\E[2A, 696 kUP3=\E[3A, 697 kUP4=\E[4A, 698 kUP5=\E[5A, 699 kUP6=\E[6A, 700 kUP7=\E[7A, 701 702xterm+pcc0|fragment with modifyCursorKeys:0, 703 kLFT=\EO2D, 704 kRIT=\EO2C, 705 kind=\EO2B, 706 kri=\EO2A, 707 kDN=\EO2B, 708 kDN3=\EO3B, 709 kDN4=\EO4B, 710 kDN5=\EO5B, 711 kDN6=\EO6B, 712 kDN7=\EO7B, 713 kLFT3=\EO3D, 714 kLFT4=\EO4D, 715 kLFT5=\EO5D, 716 kLFT6=\EO6D, 717 kLFT7=\EO7D, 718 kRIT3=\EO3C, 719 kRIT4=\EO4C, 720 kRIT5=\EO5C, 721 kRIT6=\EO6C, 722 kRIT7=\EO7C, 723 kUP=\EO2A, 724 kUP3=\EO3A, 725 kUP4=\EO4A, 726 kUP5=\EO5A, 727 kUP6=\EO6A, 728 kUP7=\EO7A, 729 730# The home/end keys on the editing keypad are also treated as cursor keys. 731xterm+pce3|fragment with modifyCursorKeys:3, 732 kDC=\E[>3;2~, 733 kEND=\E[>1;2F, 734 kHOM=\E[>1;2H, 735 kIC=\E[>2;2~, 736 kNXT=\E[>6;2~, 737 kPRV=\E[>5;2~, 738 kDC3=\E[>3;3~, 739 kDC4=\E[>3;4~, 740 kDC5=\E[>3;5~, 741 kDC6=\E[>3;6~, 742 kDC7=\E[>3;7~, 743 kEND3=\E[>1;3F, 744 kEND4=\E[>1;4F, 745 kEND5=\E[>1;5F, 746 kEND6=\E[>1;6F, 747 kEND7=\E[>1;7F, 748 kHOM3=\E[>1;3H, 749 kHOM4=\E[>1;4H, 750 kHOM5=\E[>1;5H, 751 kHOM6=\E[>1;6H, 752 kHOM7=\E[>1;7H, 753 kIC3=\E[>2;3~, 754 kIC4=\E[>2;4~, 755 kIC5=\E[>2;5~, 756 kIC6=\E[>2;6~, 757 kIC7=\E[>2;7~, 758 kNXT3=\E[>6;3~, 759 kNXT4=\E[>6;4~, 760 kNXT5=\E[>6;5~, 761 kNXT6=\E[>6;6~, 762 kNXT7=\E[>6;7~, 763 kPRV3=\E[>5;3~, 764 kPRV4=\E[>5;4~, 765 kPRV5=\E[>5;5~, 766 kPRV6=\E[>5;6~, 767 kPRV7=\E[>5;7~, 768 use=xterm+pce0, 769 770xterm+pce2|fragment with modifyCursorKeys:2, 771 kDC=\E[3;2~, 772 kEND=\E[1;2F, 773 kHOM=\E[1;2H, 774 kIC=\E[2;2~, 775 kNXT=\E[6;2~, 776 kPRV=\E[5;2~, 777 kDC3=\E[3;3~, 778 kDC4=\E[3;4~, 779 kDC5=\E[3;5~, 780 kDC6=\E[3;6~, 781 kDC7=\E[3;7~, 782 kEND3=\E[1;3F, 783 kEND4=\E[1;4F, 784 kEND5=\E[1;5F, 785 kEND6=\E[1;6F, 786 kEND7=\E[1;7F, 787 kHOM3=\E[1;3H, 788 kHOM4=\E[1;4H, 789 kHOM5=\E[1;5H, 790 kHOM6=\E[1;6H, 791 kHOM7=\E[1;7H, 792 kIC3=\E[2;3~, 793 kIC4=\E[2;4~, 794 kIC5=\E[2;5~, 795 kIC6=\E[2;6~, 796 kIC7=\E[2;7~, 797 kNXT3=\E[6;3~, 798 kNXT4=\E[6;4~, 799 kNXT5=\E[6;5~, 800 kNXT6=\E[6;6~, 801 kNXT7=\E[6;7~, 802 kPRV3=\E[5;3~, 803 kPRV4=\E[5;4~, 804 kPRV5=\E[5;5~, 805 kPRV6=\E[5;6~, 806 kPRV7=\E[5;7~, 807 use=xterm+pce0, 808 809xterm+pce1|fragment with modifyCursorKeys:1, 810 kDC=\E[3;2~, 811 kEND=\E[2F, 812 kHOM=\E[2H, 813 kIC=\E[2;2~, 814 kNXT=\E[6;2~, 815 kPRV=\E[5;2~, 816 kDC3=\E[3;3~, 817 kDC4=\E[3;4~, 818 kDC5=\E[3;5~, 819 kDC6=\E[3;6~, 820 kDC7=\E[3;7~, 821 kEND3=\E[3F, 822 kEND4=\E[4F, 823 kEND5=\E[5F, 824 kEND6=\E[6F, 825 kEND7=\E[7F, 826 kHOM3=\E[3H, 827 kHOM4=\E[4H, 828 kHOM5=\E[5H, 829 kHOM6=\E[6H, 830 kHOM7=\E[7H, 831 kIC3=\E[2;3~, 832 kIC4=\E[2;4~, 833 kIC5=\E[2;5~, 834 kIC6=\E[2;6~, 835 kIC7=\E[2;7~, 836 kNXT3=\E[6;3~, 837 kNXT4=\E[6;4~, 838 kNXT5=\E[6;5~, 839 kNXT6=\E[6;6~, 840 kNXT7=\E[6;7~, 841 kPRV3=\E[5;3~, 842 kPRV4=\E[5;4~, 843 kPRV5=\E[5;5~, 844 kPRV6=\E[5;6~, 845 kPRV7=\E[5;7~, 846 use=xterm+pce0, 847 848xterm+pce0|fragment with modifyCursorKeys:0, 849 kDC=\E[3;2~, 850 kEND=\EO2F, 851 kHOM=\EO2H, 852 kIC=\E[2;2~, 853 kNXT=\E[6;2~, 854 kPRV=\E[5;2~, 855 kDC3=\E[3;3~, 856 kDC4=\E[3;4~, 857 kDC5=\E[3;5~, 858 kDC6=\E[3;6~, 859 kDC7=\E[3;7~, 860 kEND3=\EO3F, 861 kEND4=\EO4F, 862 kEND5=\EO5F, 863 kEND6=\EO6F, 864 kEND7=\EO7F, 865 kHOM3=\EO3H, 866 kHOM4=\EO4H, 867 kHOM5=\EO5H, 868 kHOM6=\EO6H, 869 kHOM7=\EO7H, 870 kIC3=\E[2;3~, 871 kIC4=\E[2;4~, 872 kIC5=\E[2;5~, 873 kIC6=\E[2;6~, 874 kIC7=\E[2;7~, 875 kNXT3=\E[6;3~, 876 kNXT4=\E[6;4~, 877 kNXT5=\E[6;5~, 878 kNXT6=\E[6;6~, 879 kNXT7=\E[6;7~, 880 kPRV3=\E[5;3~, 881 kPRV4=\E[5;4~, 882 kPRV5=\E[5;5~, 883 kPRV6=\E[5;6~, 884 kPRV7=\E[5;7~, 885 use=xterm+edit, 886# 887# This chunk is used for building the VT220/Sun/PC keyboard variants. 888xterm-basic|modern xterm terminal emulator - common, 889 OTbs, 890 am, 891 bce, 892 km, 893 mc5i, 894 mir, 895 msgr, 896 xenl, 897 AX, 898 colors#8, 899 cols#80, 900 it#8, 901 lines#24, 902 pairs#64, 903 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 904 bel=^G, 905 blink=\E[5m, 906 bold=\E[1m, 907 cbt=\E[Z, 908 civis=\E[?25l, 909 clear=\E[H\E[2J, 910 cnorm=\E[?12l\E[?25h, 911 cr=^M, 912 csr=\E[%i%p1%d;%p2%dr, 913 cub=\E[%p1%dD, 914 cub1=^H, 915 cud=\E[%p1%dB, 916 cud1=^J, 917 cuf=\E[%p1%dC, 918 cuf1=\E[C, 919 cup=\E[%i%p1%d;%p2%dH, 920 cuu=\E[%p1%dA, 921 cuu1=\E[A, 922 cvvis=\E[?12;25h, 923 dch=\E[%p1%dP, 924 dch1=\E[P, 925 dl=\E[%p1%dM, 926 dl1=\E[M, 927 ech=\E[%p1%dX, 928 ed=\E[J, 929 el=\E[K, 930 el1=\E[1K, 931 flash=\E[?5h$<100/>\E[?5l, 932 home=\E[H, 933 hpa=\E[%i%p1%dG, 934 ht=^I, 935 hts=\EH, 936 ich=\E[%p1%d@, 937 il=\E[%p1%dL, 938 il1=\E[L, 939 ind=^J, 940 invis=\E[8m, 941 is2=\E[!p\E[?3;4l\E[4l\E>, 942 kbs=^H, 943 kmous=\E[M, 944 mc0=\E[i, 945 mc4=\E[4i, 946 mc5=\E[5i, 947 meml=\El, 948 memu=\Em, 949 op=\E[39;49m, 950 rc=\E8, 951 rev=\E[7m, 952 ri=\EM, 953 rmacs=\E(B, 954 rmam=\E[?7l, 955 rmcup=\E[?1049l, 956 rmir=\E[4l, 957 rmkx=\E[?1l\E>, 958 rmm=\E[?1034l, 959 rmso=\E[27m, 960 rmul=\E[24m, 961 rs1=\Ec, 962 rs2=\E[!p\E[?3;4l\E[4l\E>, 963 sc=\E7, 964 setab=\E[4%p1%dm, 965 setaf=\E[3%p1%dm, 966 setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 967 setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 968 sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m, 969 sgr0=\E(B\E[m, 970 smacs=\E(0, 971 smam=\E[?7h, 972 smcup=\E[?1049h, 973 smir=\E[4h, 974 smkx=\E[?1h\E=, 975 smm=\E[?1034h, 976 smso=\E[7m, 977 smul=\E[4m, 978 tbc=\E[3g, 979 u6=\E[%i%d;%dR, 980 u7=\E[6n, 981 u8=\E[?1;2c, 982 u9=\E[c, 983 vpa=\E[%i%p1%dd, 984# 985# The xterm-new description has all of the features, but is not completely 986# compatible with vt220. If you are using a Sun or PC keyboard, set the 987# sunKeyboard resource to true: 988# + maps the editing keypad 989# + interprets control-function-key as a second array of keys, so a 990# 12-fkey keyboard can support vt220's 20-fkeys. 991# + maps numeric keypad "+" to ",". 992# + uses DEC-style control sequences for the application keypad. 993# 994# Some packagers modify xterm's resource definitions to provide extra function 995# keys by using the shift-modifier in the translations resource. However, that 996# interferes with the DECUDK functionality. 997# 998xterm-vt220|xterm emulating vt220, 999 ka1=\EOw, 1000 ka3=\EOy, 1001 kb2=\EOu, 1002 kc1=\EOq, 1003 kc3=\EOs, 1004 kcbt=\E[Z, 1005 kend=\E[4~, 1006 kent=\EOM, 1007 kf1=\EOP, 1008 kf10=\E[21~, 1009 kf11=\E[23~, 1010 kf12=\E[24~, 1011 kf13=\E[25~, 1012 kf14=\E[26~, 1013 kf15=\E[28~, 1014 kf16=\E[29~, 1015 kf17=\E[31~, 1016 kf18=\E[32~, 1017 kf19=\E[33~, 1018 kf2=\EOQ, 1019 kf20=\E[34~, 1020 kf3=\EOR, 1021 kf4=\EOS, 1022 kf5=\E[15~, 1023 kf6=\E[17~, 1024 kf7=\E[18~, 1025 kf8=\E[19~, 1026 kf9=\E[20~, 1027 khome=\E[1~, 1028 kich1=\E[2~, 1029 knp=\E[6~, 1030 kpp=\E[5~, 1031 ka2=\EOx, 1032 kb1=\EOt, 1033 kb3=\EOv, 1034 kc2=\EOr, 1035 use=xterm+app, 1036 use=xterm+edit, 1037 use=xterm-basic, 1038# 1039xterm-vt52|xterm emulating dec vt52, 1040 cols#80, 1041 it#8, 1042 lines#24, 1043 acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 1044 bel=^G, 1045 clear=\EH\EJ, 1046 cr=^M, 1047 cub1=\ED, 1048 cud1=\EB, 1049 cuf1=\EC, 1050 cup=\EY%p1%' '%+%c%p2%' '%+%c, 1051 cuu1=\EA, 1052 ed=\EJ, 1053 el=\EK, 1054 home=\EH, 1055 ht=^I, 1056 ind=^J, 1057 kbs=^H, 1058 kcub1=\ED, 1059 kcud1=\EB, 1060 kcuf1=\EC, 1061 kcuu1=\EA, 1062 nel=^M^J, 1063 ri=\EI, 1064 rmacs=\EG, 1065 smacs=\EF, 1066# 1067# Sun does not number the function keys this way in their sparse termcap; their 1068# terminal descriptions ignore the keypads. kb(7M) states that there are codes 1069# reserved for 64 function keys, 16 each in left, right, top and bottom. Each 1070# keyboard type has a different number of function keys in different 1071# arrangements. Using xkeycaps for reference: 1072# 1073# Type 3: left 10, top 9, right 15 1074# ------ 1075# kf1-kf9 are XK_F1-XK_F9 1076# There is no kf10 on this keyboard type. 1077# kf11-kf20 are keysyms XK_L1 through XK_L10. 1078# kf31-kf45 are keysyms XK_R1 through XK_R15. 1079# 1080# However, X's keysymdef.h is hard-coded to make 1081# XK_L1==XK_F11 and 1082# XK_R1==XK_F21, 1083# by someone who was unfamiliar with terminal types other than Sun's. So 1084# xterm uses the internal X keysymbols, but the terminfo entry uses the Sun 1085# numbering scheme. 1086# 1087# Type 4: left 11, top 12, right 15 1088# ------ 1089# The left-keypad contains an unnumbered Help-key. 1090# The right-keypad also contains NumLock, Ins, Del, Enter, + and - keys which 1091# do not appear to be part of the R-sequence. 1092# 1093# Type 5: left 9, top 12, right (more than one keypad) 1094# ------ 1095# These keyboards do not use the same naming convention, look like a hybrid of 1096# the type 4 and IBM keyboards. 1097# 1098# XTerm resources: 1099# --------------- 1100# Set the modifyFunctionKeys resource to negative (-1) to make it simple to 1101# enter the higher function-key values using shift- and control-modifiers. 1102# 1103xterm-sun|xterm with sun function keys, 1104 kb2=\E[218z, 1105 kcpy=\E[197z, 1106 kcub1=\EOD, 1107 kcud1=\EOB, 1108 kcuf1=\EOC, 1109 kcuu1=\EOA, 1110 kdch1=\E[3z, 1111 kend=\E[220z, 1112 kent=\EOM, 1113 kf1=\E[224z, 1114 kf10=\E[233z, 1115 kf11=\E[192z, 1116 kf12=\E[193z, 1117 kf13=\E[194z, 1118 kf14=\E[195z, 1119 kf15=\E[196z, 1120 kf17=\E[198z, 1121 kf18=\E[199z, 1122 kf19=\E[200z, 1123 kf2=\E[225z, 1124 kf20=\E[201z, 1125 kf3=\E[226z, 1126 kf31=\E[208z, 1127 kf32=\E[209z, 1128 kf33=\E[210z, 1129 kf34=\E[211z, 1130 kf35=\E[212z, 1131 kf36=\E[213z, 1132 kf38=\E[215z, 1133 kf4=\E[227z, 1134 kf40=\E[217z, 1135 kf42=\E[219z, 1136 kf44=\E[221z, 1137 kf45=\E[222z, 1138 kf46=\E[234z, 1139 kf47=\E[235z, 1140 kf5=\E[228z, 1141 kf6=\E[229z, 1142 kf7=\E[230z, 1143 kf8=\E[231z, 1144 kf9=\E[232z, 1145 kfnd=\E[200z, 1146 khlp=\E[196z, 1147 khome=\E[214z, 1148 kich1=\E[2z, 1149 knp=\E[222z, 1150 kpp=\E[216z, 1151 kund=\E[195z, 1152 use=xterm-basic, 1153# 1154xterm-hp|xterm with hpterm function keys, 1155 kclr=\EJ, 1156 kcub1=\ED, 1157 kcud1=\EB, 1158 kcuf1=\EC, 1159 kcuu1=\EA, 1160 kdch1=\EP, 1161 kend=\EF, 1162 kf1=\Ep, 1163 kf2=\Eq, 1164 kf3=\Er, 1165 kf4=\Es, 1166 kf5=\Et, 1167 kf6=\Eu, 1168 kf7=\Ev, 1169 kf8=\Ew, 1170 khome=\Eh, 1171 kich1=\EQ, 1172 knp=\ES, 1173 kpp=\ET, 1174 use=xterm-basic, 1175# 1176# scoterm implements 48 function-keys using shift- and control-modifiers to 1177# multiple 12 function-keys. X has a hard-coded limit of 35 function-keys, 1178# but xterm can represent larger values. 1179# 1180# XTerm resources: 1181# --------------- 1182# Set the modifyFunctionKeys resource to negative (-1) to make it simple to 1183# enter the higher function-key values using shift- and control-modifiers. 1184# 1185# Also, set ctrlFKeys resource to 12 (the default is 10) to make xterm see 48 1186# function-keys on a keyboard with 12 function-keys and 4 control/shift 1187# modifier combinations. 1188# 1189xterm-sco|xterm with SCO function keys, 1190 kbeg=\E[E, 1191 kdch1=\177, 1192 kf1=\E[M, 1193 kf10=\E[V, 1194 kf11=\E[W, 1195 kf12=\E[X, 1196 kf13=\E[Y, 1197 kf14=\E[Z, 1198 kf15=\E[a, 1199 kf16=\E[b, 1200 kf17=\E[c, 1201 kf18=\E[d, 1202 kf19=\E[e, 1203 kf2=\E[N, 1204 kf20=\E[f, 1205 kf21=\E[g, 1206 kf22=\E[h, 1207 kf23=\E[i, 1208 kf24=\E[j, 1209 kf25=\E[k, 1210 kf26=\E[l, 1211 kf27=\E[m, 1212 kf28=\E[n, 1213 kf29=\E[o, 1214 kf3=\E[O, 1215 kf30=\E[p, 1216 kf31=\E[q, 1217 kf32=\E[r, 1218 kf33=\E[s, 1219 kf34=\E[t, 1220 kf35=\E[u, 1221 kf36=\E[v, 1222 kf37=\E[w, 1223 kf38=\E[x, 1224 kf39=\E[y, 1225 kf4=\E[P, 1226 kf40=\E[z, 1227 kf41=\E[@, 1228 kf42=\E[[, 1229 kf43=\E[\\, 1230 kf44=\E[], 1231 kf45=\E[\^, 1232 kf46=\E[_, 1233 kf47=\E[`, 1234 kf48=\E[{, 1235 kf5=\E[Q, 1236 kf6=\E[R, 1237 kf7=\E[S, 1238 kf8=\E[T, 1239 kf9=\E[U, 1240 kich1=\E[L, 1241 kmous=\E[>M, 1242 knp=\E[G, 1243 kpp=\E[I, 1244 use=xterm+noapp, 1245 use=xterm-basic, 1246# 1247# Other variants (these are all very old entries, from X11R5): 1248xterm-24|xterms|vs100|xterm terminal emulator (X Window System), 1249 lines#24, 1250 use=xterm-old, 1251xterm-65|xterm with tall window 65x80 (X Window System), 1252 lines#65, 1253 use=xterm-old, 1254xterm-bold|xterm with bold instead of underline (X Window System), 1255 smso=\E[7m, 1256 smul=\E[1m, 1257 use=xterm-old, 1258xterm-boldso|xterm with bold for standout (X Window System), 1259 rmso=\E[m, 1260 smso=\E[1m, 1261 use=xterm-old, 1262xterm-mono|monochrome xterm, 1263 bce@, 1264 colors@, 1265 ncv@, 1266 pairs@, 1267 op@, 1268 setab@, 1269 setaf@, 1270 setb@, 1271 setf@, 1272 sgr@, 1273 use=xterm-old, 1274# 1275# VTxxx terminals are usually set up so that full-screen applications will use 1276# the cursor application mode strings. This is good for full-screen 1277# applications, including legacy applications which may have hard-coded 1278# behavior, but bad for interactive shells (e.g., tcsh, bash) which use arrow 1279# keys to scroll through a history of command strings. 1280# 1281# To see the difference between normal/application modes, consider this example: 1282# + In normal (non-application) mode, the terminal transmits a down-arrow 1283# as \E[C, which happens to echo as a down-arrow. 1284# + In application mode the terminal transmits \EOC, which echoes as C. 1285# That is because the \EO is the SS3 control, which says to use the 1286# character from the G3 character set for the next cell. 1287# 1288# One example of hard-coded behavior would be for applications written to work 1289# with VT52 and VT100 terminals. If the application's parser ignores 'O' and 1290# '?' characters after the escape, then the cursor and keypad strings for the 1291# two terminals are the same. (Indeed, one of the first curses applications 1292# which I used did something like this to cover "ANSI" terminals -TD). 1293# 1294# To make this work (leaving the cursor keys in normal mode), we have to adjust 1295# the terminal initialization sequences: 1296# 1297# smkx/rmkx set/reset the cursor and keypad application modes. We retain 1298# the latter (otherwise many applications fail). 1299# 1300# smcup/rmcup set/restore cursor-addressing mode for full-screen 1301# applications. For xterm, this normally means the alternate 1302# screen, which is not compatible with interactive shells. Some 1303# programs are "smart" and disable these. 1304# 1305xterm-noapp|xterm with cursor keys in normal mode, 1306 rmcup@, 1307 rmkx=\E>, 1308 smcup@, 1309 smkx=\E=, 1310 use=xterm+noapp, 1311 use=xterm, 1312 1313xterm+noapp|fragment with cursor keys in normal mode, 1314 kcub1=\E[D, 1315 kcud1=\E[B, 1316 kcuf1=\E[C, 1317 kcuu1=\E[A, 1318 use=xterm+noapp+pc, 1319 1320xterm+app|fragment with cursor keys in application mode, 1321 kcub1=\EOD, 1322 kcud1=\EOB, 1323 kcuf1=\EOC, 1324 kcuu1=\EOA, 1325 use=xterm+app+pc, 1326 1327xterm+noapp+pc|fragment for noapp pc-style home/end, 1328 kend=\E[F, 1329 khome=\E[H, 1330 1331xterm+app+pc|fragment for app pc-style home/end, 1332 kend=\EOF, 1333 khome=\EOH, 1334 1335xterm+edit|fragment for 6-key editing-keypad, 1336 kdch1=\E[3~, 1337 kich1=\E[2~, 1338 knp=\E[6~, 1339 kpp=\E[5~, 1340 use=xterm+pc+edit, 1341 1342xterm+decedit|fragment for vt220 6-key editing-keypad, 1343 kdch1=\E[3~, 1344 kich1=\E[2~, 1345 knp=\E[6~, 1346 kpp=\E[5~, 1347 use=xterm+vt+edit, 1348 1349xterm+pc+edit|fragment for pc-style editing keypad, 1350 kend=\E[4~, 1351 khome=\E[1~, 1352 1353xterm+vt+edit|fragment for vt220-style editing keypad, 1354 kfnd=\E[1~, 1355 kslt=\E[4~, 1356 1357# 1358# This should work for the commonly used "color xterm" variations (XFree86 1359# xterm, color_xterm, nxterm, rxvt). Note that it does not set 'bce', so for 1360# XFree86 and and rxvt, some applications that use colors will be less 1361# efficient, and in a few special cases (with "smart" optimization) the wrong 1362# color will be painted in spots. 1363xterm-color|generic "ANSI" color xterm (X Window System), 1364 colors#8, 1365 ncv@, 1366 pairs#64, 1367 op=\E[m, 1368 setab=\E[4%p1%dm, 1369 setaf=\E[3%p1%dm, 1370 use=xterm-r6, 1371# 1372# vi may work better with this entry, because vi 1373# doesn't use insert mode much 1374xterm-ic|xterm-vi|xterm with insert character instead of insert mode, 1375 mir@, 1376 ich=\E[%p1%d@, 1377 ich1=\E[@, 1378 rmir@, 1379 smir@, 1380 use=xterm, 1381# 1382# This is used only for testing (it's not relevant to DEC VTxxx terminals, but 1383# to ncurses). 1384xterm-xmc|xterm with magic-cookie glitch, 1385 xmc#1, 1386 use=xterm-new, 1387# 1388# This one also is primarily for testing ncurses; while the ISO 6429 defines 1389# the REP control, none of the DEC VTxxx terminals (VT52 through VT420) support 1390# it. 1391xterm-rep|xterm with repeat-character control, 1392 rep=%p1%c\E[%p2%{1}%-%db, 1393 use=xterm-new, 1394# 1395# This is mainly for testing xterm; the real VT220 will not let you switch 1396# character sets without first altering the keyboard language in the setup 1397# screen. Some emulators allow this anyway. (Note that these strings are 1398# normally used only for printers). The parameter to csnm and scs is the same 1399# in both cases: the keyboard language parameter returned by CSI ? 2 6 n. 1400xterm-nrc|xterm with VT220 national replacement character sets, 1401 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%;, 1402 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%;, 1403 use=xterm-new, 1404# 1405# Foreground 0-15 maps (with toggles) into 30-37 & 90-97 1406# Background 0-15 maps (with toggles) into 40-47 & 100-107 1407# 1408# Originally I suppressed setaf/setab, since ANSI specifies only 8 colors, but 1409# Stephen Marley persuaded me to allow the "ANSI" color controls to extend to 1410# 16 colors. (Note that ncurses 4.2 uses setf/setb from this description; 1411# however 5.0 selects either according to their availability). - T.Dickey 1412# 1413# SVr4 curses does not use more than 8 colors anyway, so using 16 colors is 1414# either for terminfo-level applications or via ncurses. 1415xterm-16color|xterm with 16 colors, 1416 colors#16, 1417 pairs#256, 1418 setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm, 1419 setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm, 1420 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, 1421 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, 1422 use=xterm-new, 1423# 1424# This uses RGB values 0..1000 1425# 1426# 256 colors should give 65536 pairs, but terminfo stores numbers in a signed 1427# short. Most people will not notice problems with only 32767 pairs. 1428xterm-256color|xterm with 256 colors, 1429 ccc, 1430 colors#256, 1431 pairs#32767, 1432 initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, 1433 setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, 1434 setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, 1435 setb@, 1436 setf@, 1437 use=xterm-new, 1438xterm-88color|xterm with 88 colors, 1439 colors#88, 1440 pairs#7744, 1441 use=xterm-256color, 1442# 1443# This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color. 1444# To use it, your decTerminalID resource must be set to 200 or above, and the 1445# sunKeyboard resource set to true. 1446# 1447# HTS \E H \210 1448# RI \E M \215 1449# SS3 \E O \217 1450# CSI \E [ \233 1451# 1452xterm-8bit|xterm terminal emulator with 8-bit controls (X Window System), 1453 OTbs, 1454 am, 1455 bce, 1456 km, 1457 mc5i, 1458 mir, 1459 msgr, 1460 npc, 1461 xenl, 1462 AX, 1463 colors#8, 1464 cols#80, 1465 it#8, 1466 lines#24, 1467 pairs#64, 1468 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 1469 bel=^G, 1470 blink=\2335m, 1471 bold=\2331m, 1472 cbt=\233Z, 1473 civis=\233?25l, 1474 clear=\233H\2332J, 1475 cnorm=\233?25l\233?25h, 1476 cr=^M, 1477 csr=\233%i%p1%d;%p2%dr, 1478 cub=\233%p1%dD, 1479 cub1=^H, 1480 cud=\233%p1%dB, 1481 cud1=^J, 1482 cuf=\233%p1%dC, 1483 cuf1=\233C, 1484 cup=\233%i%p1%d;%p2%dH, 1485 cuu=\233%p1%dA, 1486 cuu1=\233A, 1487 cvvis=\233?12;25h, 1488 dch=\233%p1%dP, 1489 dch1=\233P, 1490 dl=\233%p1%dM, 1491 dl1=\233M, 1492 ech=\233%p1%dX, 1493 ed=\233J, 1494 el=\233K, 1495 el1=\2331K, 1496 flash=\233?5h$<100/>\233?5l, 1497 home=\233H, 1498 hpa=\233%i%p1%dG, 1499 ht=^I, 1500 hts=\210, 1501 ich=\233%p1%d@, 1502 il=\233%p1%dL, 1503 il1=\233L, 1504 ind=^J, 1505 invis=\2338m, 1506 is2=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8, 1507 ka1=\217w, 1508 ka3=\217u, 1509 kb2=\217y, 1510 kbeg=\217E, 1511 kbs=^H, 1512 kc1=\217q, 1513 kc3=\217s, 1514 kcbt=\233Z, 1515 kcub1=\217D, 1516 kcud1=\217B, 1517 kcuf1=\217C, 1518 kcuu1=\217A, 1519 kdch1=\2333~, 1520 kend=\2334~, 1521 kent=\217M, 1522 kf1=\23311~, 1523 kf10=\23321~, 1524 kf11=\23323~, 1525 kf12=\23324~, 1526 kf13=\23325~, 1527 kf14=\23326~, 1528 kf15=\23328~, 1529 kf16=\23329~, 1530 kf17=\23331~, 1531 kf18=\23332~, 1532 kf19=\23333~, 1533 kf2=\23312~, 1534 kf20=\23334~, 1535 kf3=\23313~, 1536 kf4=\23314~, 1537 kf5=\23315~, 1538 kf6=\23317~, 1539 kf7=\23318~, 1540 kf8=\23319~, 1541 kf9=\23320~, 1542 khome=\2331~, 1543 kich1=\2332~, 1544 kmous=\233M, 1545 knp=\2336~, 1546 kpp=\2335~, 1547 mc0=\233i, 1548 mc4=\2334i, 1549 mc5=\2335i, 1550 meml=\El, 1551 memu=\Em, 1552 op=\23339;49m, 1553 rc=\E8, 1554 rev=\2337m, 1555 ri=\215, 1556 rmacs=\E(B, 1557 rmam=\233?7l, 1558 rmcup=\233?1049l, 1559 rmir=\2334l, 1560 rmkx=\233?1l\E>, 1561 rmso=\23327m, 1562 rmul=\23324m, 1563 rs1=\Ec, 1564 rs2=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8, 1565 sc=\E7, 1566 setab=\2334%p1%dm, 1567 setaf=\2333%p1%dm, 1568 setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 1569 setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 1570 sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;, 1571 sgr0=\2330m\E(B, 1572 smacs=\E(0, 1573 smam=\233?7h, 1574 smcup=\233?1049h, 1575 smir=\2334h, 1576 smkx=\233?1h\E=, 1577 smso=\2337m, 1578 smul=\2334m, 1579 tbc=\2333g, 1580 u6=\233[%i%d;%dR, 1581 u7=\E[6n, 1582 u8=\233[?1;2c, 1583 u9=\E[c, 1584 vpa=\233%i%p1%dd, 1585# 1586xterm-xf86-v44|xterm terminal emulator (XFree86 4.4 Window System), 1587 OTbs, 1588 am, 1589 bce, 1590 km, 1591 mc5i, 1592 mir, 1593 msgr, 1594 npc, 1595 xenl, 1596 AX, 1597 colors#8, 1598 cols#80, 1599 it#8, 1600 lines#24, 1601 pairs#64, 1602 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 1603 bel=^G, 1604 blink=\E[5m, 1605 bold=\E[1m, 1606 cbt=\E[Z, 1607 civis=\E[?25l, 1608 clear=\E[H\E[2J, 1609 cnorm=\E[?12l\E[?25h, 1610 cr=^M, 1611 csr=\E[%i%p1%d;%p2%dr, 1612 cub=\E[%p1%dD, 1613 cub1=^H, 1614 cud=\E[%p1%dB, 1615 cud1=^J, 1616 cuf=\E[%p1%dC, 1617 cuf1=\E[C, 1618 cup=\E[%i%p1%d;%p2%dH, 1619 cuu=\E[%p1%dA, 1620 cuu1=\E[A, 1621 cvvis=\E[?12;25h, 1622 dch=\E[%p1%dP, 1623 dch1=\E[P, 1624 dl=\E[%p1%dM, 1625 dl1=\E[M, 1626 ech=\E[%p1%dX, 1627 ed=\E[J, 1628 el=\E[K, 1629 el1=\E[1K, 1630 enacs=\E(B\E)0, 1631 flash=\E[?5h$<100/>\E[?5l, 1632 home=\E[H, 1633 hpa=\E[%i%p1%dG, 1634 ht=^I, 1635 hts=\EH, 1636 ich=\E[%p1%d@, 1637 il=\E[%p1%dL, 1638 il1=\E[L, 1639 ind=^J, 1640 indn=\E[%p1%dS, 1641 invis=\E[8m, 1642 is2=\E[!p\E[?3;4l\E[4l\E>, 1643 kDC=\E[3;2~, 1644 kEND=\E[1;2F, 1645 kHOM=\E[1;2H, 1646 kIC=\E[2;2~, 1647 kLFT=\E[1;2D, 1648 kNXT=\E[6;2~, 1649 kPRV=\E[5;2~, 1650 kRIT=\E[1;2C, 1651 kb2=\EOE, 1652 kbs=^H, 1653 kcbt=\E[Z, 1654 kcub1=\EOD, 1655 kcud1=\EOB, 1656 kcuf1=\EOC, 1657 kcuu1=\EOA, 1658 kdch1=\E[3~, 1659 kend=\EOF, 1660 kent=\EOM, 1661 kf1=\EOP, 1662 kf10=\E[21~, 1663 kf11=\E[23~, 1664 kf12=\E[24~, 1665 kf13=\EO2P, 1666 kf14=\EO2Q, 1667 kf15=\EO2R, 1668 kf16=\EO2S, 1669 kf17=\E[15;2~, 1670 kf18=\E[17;2~, 1671 kf19=\E[18;2~, 1672 kf2=\EOQ, 1673 kf20=\E[19;2~, 1674 kf21=\E[20;2~, 1675 kf22=\E[21;2~, 1676 kf23=\E[23;2~, 1677 kf24=\E[24;2~, 1678 kf25=\EO5P, 1679 kf26=\EO5Q, 1680 kf27=\EO5R, 1681 kf28=\EO5S, 1682 kf29=\E[15;5~, 1683 kf3=\EOR, 1684 kf30=\E[17;5~, 1685 kf31=\E[18;5~, 1686 kf32=\E[19;5~, 1687 kf33=\E[20;5~, 1688 kf34=\E[21;5~, 1689 kf35=\E[23;5~, 1690 kf36=\E[24;5~, 1691 kf37=\EO6P, 1692 kf38=\EO6Q, 1693 kf39=\EO6R, 1694 kf4=\EOS, 1695 kf40=\EO6S, 1696 kf41=\E[15;6~, 1697 kf42=\E[17;6~, 1698 kf43=\E[18;6~, 1699 kf44=\E[19;6~, 1700 kf45=\E[20;6~, 1701 kf46=\E[21;6~, 1702 kf47=\E[23;6~, 1703 kf48=\E[24;6~, 1704 kf5=\E[15~, 1705 kf6=\E[17~, 1706 kf7=\E[18~, 1707 kf8=\E[19~, 1708 kf9=\E[20~, 1709 khome=\EOH, 1710 kich1=\E[2~, 1711 kmous=\E[M, 1712 knp=\E[6~, 1713 kpp=\E[5~, 1714 mc0=\E[i, 1715 mc4=\E[4i, 1716 mc5=\E[5i, 1717 meml=\El, 1718 memu=\Em, 1719 op=\E[39;49m, 1720 rc=\E8, 1721 rev=\E[7m, 1722 ri=\EM, 1723 rin=\E[%p1%dT, 1724 rmacs=^O, 1725 rmam=\E[?7l, 1726 rmcup=\E[?1049l, 1727 rmir=\E[4l, 1728 rmkx=\E[?1l\E>, 1729 rmso=\E[27m, 1730 rmul=\E[24m, 1731 rs1=\Ec, 1732 rs2=\E[!p\E[?3;4l\E[4l\E>, 1733 sc=\E7, 1734 setab=\E[4%p1%dm, 1735 setaf=\E[3%p1%dm, 1736 setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 1737 setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 1738 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%;, 1739 sgr0=\E[m\017, 1740 smacs=^N, 1741 smam=\E[?7h, 1742 smcup=\E[?1049h, 1743 smir=\E[4h, 1744 smkx=\E[?1h\E=, 1745 smso=\E[7m, 1746 smul=\E[4m, 1747 tbc=\E[3g, 1748 u6=\E[%i%d;%dR, 1749 u7=\E[6n, 1750 u8=\E[?1;2c, 1751 u9=\E[c, 1752 vpa=\E[%i%p1%dd, 1753 ka2=\EOx, 1754 kb1=\EOt, 1755 kb3=\EOv, 1756 kc2=\EOr, 1757xterm-xfree86|xterm terminal emulator (XFree86 4.4 Window System), 1758 use=xterm-xf86-v44, 1759# 1760# Compatible with the R6 xterm, with the following changes: 1761# + added acsc (perhaps some versions of tic assume the standard vt100 1762# alternate character set) 1763# + added u6, u7, u8, u9 strings for Daniel Weaver's tack program. 1764# + added kmous string for ncurses. 1765# + added khome/kend strings (which conflict with kfnd/kslt, see note). 1766xterm-r6|xterm-old|xterm X11R6 version, 1767 OTbs, 1768 am, 1769 km, 1770 mir, 1771 msgr, 1772 xenl, 1773 cols#80, 1774 it#8, 1775 lines#24, 1776 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 1777 bel=^G, 1778 bold=\E[1m, 1779 clear=\E[H\E[2J, 1780 cr=^M, 1781 csr=\E[%i%p1%d;%p2%dr, 1782 cub=\E[%p1%dD, 1783 cub1=^H, 1784 cud=\E[%p1%dB, 1785 cud1=^J, 1786 cuf=\E[%p1%dC, 1787 cuf1=\E[C, 1788 cup=\E[%i%p1%d;%p2%dH, 1789 cuu=\E[%p1%dA, 1790 cuu1=\E[A, 1791 dch=\E[%p1%dP, 1792 dch1=\E[P, 1793 dl=\E[%p1%dM, 1794 dl1=\E[M, 1795 ed=\E[J, 1796 el=\E[K, 1797 enacs=\E)0, 1798 home=\E[H, 1799 ht=^I, 1800 hts=\EH, 1801 il=\E[%p1%dL, 1802 il1=\E[L, 1803 ind=^J, 1804 is2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8, 1805 kbs=^H, 1806 kcub1=\EOD, 1807 kcud1=\EOB, 1808 kcuf1=\EOC, 1809 kcuu1=\EOA, 1810 kdch1=\E[3~, 1811 kf1=\E[11~, 1812 kf10=\E[21~, 1813 kf11=\E[23~, 1814 kf12=\E[24~, 1815 kf13=\E[25~, 1816 kf14=\E[26~, 1817 kf15=\E[28~, 1818 kf16=\E[29~, 1819 kf17=\E[31~, 1820 kf18=\E[32~, 1821 kf19=\E[33~, 1822 kf2=\E[12~, 1823 kf20=\E[34~, 1824 kf3=\E[13~, 1825 kf4=\E[14~, 1826 kf5=\E[15~, 1827 kf6=\E[17~, 1828 kf7=\E[18~, 1829 kf8=\E[19~, 1830 kf9=\E[20~, 1831 kmous=\E[M, 1832 meml=\El, 1833 memu=\Em, 1834 rc=\E8, 1835 rev=\E[7m, 1836 ri=\EM, 1837 rmacs=^O, 1838 rmcup=\E[2J\E[?47l\E8, 1839 rmir=\E[4l, 1840 rmkx=\E[?1l\E>, 1841 rmso=\E[m, 1842 rmul=\E[m, 1843 rs2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8, 1844 sc=\E7, 1845 sgr0=\E[m, 1846 smacs=^N, 1847 smcup=\E7\E[?47h, 1848 smir=\E[4h, 1849 smkx=\E[?1h\E=, 1850 smso=\E[7m, 1851 smul=\E[4m, 1852 tbc=\E[3g, 1853 u6=\E[%i%d;%dR, 1854 u7=\E[6n, 1855 u8=\E[?1;2c, 1856 u9=\E[c, 1857 use=xterm+decedit, 1858# 1859# Compatible with the R5 xterm, with the following changes: 1860# + changed 'blink=@', to 'blink@' (the former meant that "@" would start 1861# a blink, the latter that it is not supported). 1862# + changed kf1 through kf4 to correspond with actual usage. Though X 1863# supports keypad symbols for PF1 to PF4, and xterm interprets these 1864# correctly, the F1 to F4 codes are commonly (but incorrectly) used. 1865# + moved reset string from rs1 to rs2, to correlate better with termcap. 1866# + make khome consistent with other entries. 1867# + use rmul/smul, rmir/smir from termcap, but not rmcup/smcup because 1868# not everyone wants the alternate screen. 1869# + added u6, u7, u8, u9 strings for Daniel Weaver's tack program. 1870# + added kmous string for ncurses. 1871xterm-r5|xterm R5 version, 1872 OTbs, 1873 am, 1874 km, 1875 msgr, 1876 xenl, 1877 cols#80, 1878 it#8, 1879 lines#24, 1880 bel=^G, 1881 bold=\E[1m, 1882 clear=\E[H\E[2J, 1883 cr=^M, 1884 csr=\E[%i%p1%d;%p2%dr, 1885 cub=\E[%p1%dD, 1886 cub1=^H, 1887 cud=\E[%p1%dB, 1888 cud1=^J, 1889 cuf=\E[%p1%dC, 1890 cuf1=\E[C, 1891 cup=\E[%i%p1%d;%p2%dH, 1892 cuu=\E[%p1%dA, 1893 cuu1=\E[A, 1894 dch=\E[%p1%dP, 1895 dch1=\E[P, 1896 dl=\E[%p1%dM, 1897 dl1=\E[M, 1898 ed=\E[J, 1899 el=\E[K, 1900 home=\E[H, 1901 ht=^I, 1902 hts=\EH, 1903 ich=\E[%p1%d@, 1904 ich1=\E[@, 1905 il=\E[%p1%dL, 1906 il1=\E[L, 1907 ind=^J, 1908 kbs=^H, 1909 kcub1=\EOD, 1910 kcud1=\EOB, 1911 kcuf1=\EOC, 1912 kcuu1=\EOA, 1913 kdch1=\E[3~, 1914 kdl1=\E[31~, 1915 kel=\E[8~, 1916 kend=\E[4~, 1917 kf0=\EOq, 1918 kf1=\E[11~, 1919 kf10=\E[21~, 1920 kf11=\E[23~, 1921 kf12=\E[24~, 1922 kf2=\E[12~, 1923 kf3=\E[13~, 1924 kf4=\E[14~, 1925 kf5=\E[15~, 1926 kf6=\E[17~, 1927 kf7=\E[18~, 1928 kf8=\E[19~, 1929 kf9=\E[20~, 1930 khome=\E[1~, 1931 kich1=\E[2~, 1932 kil1=\E[30~, 1933 kmous=\E[M, 1934 knp=\E[6~, 1935 kpp=\E[5~, 1936 rc=\E8, 1937 rev=\E[7m, 1938 ri=\EM, 1939 rmir=\E[4l, 1940 rmkx=\E[?1l\E>, 1941 rmso=\E[m, 1942 rmul=\E[m, 1943 rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H, 1944 sc=\E7, 1945 sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 1946 sgr0=\E[m, 1947 smir=\E[4h, 1948 smkx=\E[?1h\E=, 1949 smso=\E[7m, 1950 smul=\E[4m, 1951 tbc=\E[3g, 1952 u6=\E[%i%d;%dR, 1953 u7=\E[6n, 1954 u8=\E[?1;2c, 1955 u9=\E[c, 1956# 1957# 1958# Customization begins here. 1959# 1960# This is the only entry which you should have to customize, since "xterm" 1961# is widely used for a variety of incompatible terminal emulations including 1962# color_xterm and rxvt. 1963xterm|X11 terminal emulator, 1964 use=xterm-new, 1965# use=xterm-r6, 1966