… | |
… | |
501 | |
501 | |
502 | I don't like the key-bindings. How do I change them? |
502 | I don't like the key-bindings. How do I change them? |
503 | There are some compile-time selections available via configure. |
503 | There are some compile-time selections available via configure. |
504 | Unless you have run "configure" with the "--disable-resources" |
504 | Unless you have run "configure" with the "--disable-resources" |
505 | option you can use the `keysym' resource to alter the keystrings |
505 | option you can use the `keysym' resource to alter the keystrings |
506 | associated with keysym 0xFF00 - 0xFFFF (function, cursor keys, etc). |
506 | associated with keysyms. |
507 | |
507 | |
508 | Here's an example for a tn3270 session started using `rxvt -name |
508 | Here's an example for a URxvt session started using `rxvt -name |
509 | tn3270' |
509 | URxvt' |
510 | |
510 | |
511 | !# ----- special uses ------: |
511 | URxvt*keysym.Home: \e[1~ |
512 | ! tn3270 login, remap function and arrow keys. |
512 | URxvt*keysym.End: \e[4~ |
513 | tn3270*font: *clean-bold-*-*--15-* |
513 | URxvt*keysym.C-apostrophe: \e<C-'> |
514 | |
514 | URxvt*keysym.C-slash: \e<C-/> |
515 | ! keysym - used by rxvt only |
515 | URxvt*keysym.C-semicolon: \e<C-;> |
516 | ! Delete - ^D |
516 | URxvt*keysym.C-grave: \e<C-`> |
517 | tn3270*keysym.0xFFFF: \004 |
517 | URxvt*keysym.C-comma: \e<C-,> |
518 | |
518 | URxvt*keysym.C-period: \e<C-.> |
519 | ! Home - ^A |
519 | URxvt*keysym.C-0x60: \e<C-`> |
520 | tn3270*keysym.0xFF50: \001 |
520 | URxvt*keysym.C-Tab: \e<C-Tab> |
521 | ! Left - ^B |
521 | URxvt*keysym.C-Return: \e<C-Return> |
522 | tn3270*keysym.0xFF51: \002 |
522 | URxvt*keysym.S-Return: \e<S-Return> |
523 | ! Up - ^P |
523 | URxvt*keysym.S-space: \e<S-Space> |
524 | tn3270*keysym.0xFF52: \020 |
524 | URxvt*keysym.M-Up: \e<M-Up> |
525 | ! Right - ^F |
525 | URxvt*keysym.M-Down: \e<M-Down> |
526 | tn3270*keysym.0xFF53: \006 |
526 | URxvt*keysym.M-Left: \e<M-Left> |
527 | ! Down - ^N |
527 | URxvt*keysym.M-Right: \e<M-Right> |
528 | tn3270*keysym.0xFF54: \016 |
528 | URxvt*keysym.M-C-0: list.0123456789.\e<M-C-.> |
529 | ! End - ^E |
529 | URxvt*keysym.M-C-a: list.abcdefghijklmnopqrstuvwxyz.\033<M-C-.> |
530 | tn3270*keysym.0xFF57: \005 |
530 | URxvt*keysym.F12: proto:\033]701;zh_CN.GBK\007 |
531 | |
|
|
532 | ! F1 - F12 |
|
|
533 | tn3270*keysym.0xFFBE: \e1 |
|
|
534 | tn3270*keysym.0xFFBF: \e2 |
|
|
535 | tn3270*keysym.0xFFC0: \e3 |
|
|
536 | tn3270*keysym.0xFFC1: \e4 |
|
|
537 | tn3270*keysym.0xFFC2: \e5 |
|
|
538 | tn3270*keysym.0xFFC3: \e6 |
|
|
539 | tn3270*keysym.0xFFC4: \e7 |
|
|
540 | tn3270*keysym.0xFFC5: \e8 |
|
|
541 | tn3270*keysym.0xFFC6: \e9 |
|
|
542 | tn3270*keysym.0xFFC7: \e0 |
|
|
543 | tn3270*keysym.0xFFC8: \e- |
|
|
544 | tn3270*keysym.0xFFC9: \e= |
|
|
545 | |
|
|
546 | ! map Prior/Next to F7/F8 |
|
|
547 | tn3270*keysym.0xFF55: \e7 |
|
|
548 | tn3270*keysym.0xFF56: \e8 |
|
|
549 | |
531 | |
550 | I'm using keyboard model XXX that has extra Prior/Next/Insert keys. How |
532 | I'm using keyboard model XXX that has extra Prior/Next/Insert keys. How |
551 | do I make use of them? For example, the Sun Keyboard type 4 has the |
533 | do I make use of them? For example, the Sun Keyboard type 4 has the |
552 | following mappings that rxvt-unicode doesn't recognize. |
534 | following mappings that rxvt-unicode doesn't recognize. |
553 | KP_Insert == Insert |
535 | KP_Insert == Insert |