… | |
… | |
504 | |
504 | |
505 | I don't like the key-bindings. How do I change them? |
505 | I don't like the key-bindings. How do I change them? |
506 | There are some compile-time selections available via configure. |
506 | There are some compile-time selections available via configure. |
507 | Unless you have run "configure" with the "--disable-resources" |
507 | Unless you have run "configure" with the "--disable-resources" |
508 | option you can use the `keysym' resource to alter the keystrings |
508 | option you can use the `keysym' resource to alter the keystrings |
509 | associated with keysym 0xFF00 - 0xFFFF (function, cursor keys, etc). |
509 | associated with keysyms. |
510 | |
510 | |
511 | Here's an example for a tn3270 session started using `rxvt -name |
511 | Here's an example for a URxvt session started using `rxvt -name |
512 | tn3270' |
512 | URxvt' |
513 | |
513 | |
514 | !# ----- special uses ------: |
514 | URxvt.keysym.Home: \e[1~ |
515 | ! tn3270 login, remap function and arrow keys. |
515 | URxvt.keysym.End: \e[4~ |
516 | tn3270*font: *clean-bold-*-*--15-* |
516 | URxvt.keysym.C-apostrophe: \e<C-'> |
|
|
517 | URxvt.keysym.C-slash: \e<C-/> |
|
|
518 | URxvt.keysym.C-semicolon: \e<C-;> |
|
|
519 | URxvt.keysym.C-grave: \e<C-`> |
|
|
520 | URxvt.keysym.C-comma: \e<C-,> |
|
|
521 | URxvt.keysym.C-period: \e<C-.> |
|
|
522 | URxvt.keysym.C-0x60: \e<C-`> |
|
|
523 | URxvt.keysym.C-Tab: \e<C-Tab> |
|
|
524 | URxvt.keysym.C-Return: \e<C-Return> |
|
|
525 | URxvt.keysym.S-Return: \e<S-Return> |
|
|
526 | URxvt.keysym.S-space: \e<S-Space> |
|
|
527 | URxvt.keysym.M-Up: \e<M-Up> |
|
|
528 | URxvt.keysym.M-Down: \e<M-Down> |
|
|
529 | URxvt.keysym.M-Left: \e<M-Left> |
|
|
530 | URxvt.keysym.M-Right: \e<M-Right> |
|
|
531 | URxvt.keysym.M-C-0: list \e<M-C- 0123456789 > |
|
|
532 | URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz > |
|
|
533 | URxvt.keysym.F12: proto:\033]701;zh_CN.GBK\007 |
517 | |
534 | |
518 | ! keysym - used by rxvt only |
535 | See some more examples in the documentation for the keysym resource. |
519 | ! Delete - ^D |
|
|
520 | tn3270*keysym.0xFFFF: \004 |
|
|
521 | |
|
|
522 | ! Home - ^A |
|
|
523 | tn3270*keysym.0xFF50: \001 |
|
|
524 | ! Left - ^B |
|
|
525 | tn3270*keysym.0xFF51: \002 |
|
|
526 | ! Up - ^P |
|
|
527 | tn3270*keysym.0xFF52: \020 |
|
|
528 | ! Right - ^F |
|
|
529 | tn3270*keysym.0xFF53: \006 |
|
|
530 | ! Down - ^N |
|
|
531 | tn3270*keysym.0xFF54: \016 |
|
|
532 | ! End - ^E |
|
|
533 | tn3270*keysym.0xFF57: \005 |
|
|
534 | |
|
|
535 | ! F1 - F12 |
|
|
536 | tn3270*keysym.0xFFBE: \e1 |
|
|
537 | tn3270*keysym.0xFFBF: \e2 |
|
|
538 | tn3270*keysym.0xFFC0: \e3 |
|
|
539 | tn3270*keysym.0xFFC1: \e4 |
|
|
540 | tn3270*keysym.0xFFC2: \e5 |
|
|
541 | tn3270*keysym.0xFFC3: \e6 |
|
|
542 | tn3270*keysym.0xFFC4: \e7 |
|
|
543 | tn3270*keysym.0xFFC5: \e8 |
|
|
544 | tn3270*keysym.0xFFC6: \e9 |
|
|
545 | tn3270*keysym.0xFFC7: \e0 |
|
|
546 | tn3270*keysym.0xFFC8: \e- |
|
|
547 | tn3270*keysym.0xFFC9: \e= |
|
|
548 | |
|
|
549 | ! map Prior/Next to F7/F8 |
|
|
550 | tn3270*keysym.0xFF55: \e7 |
|
|
551 | tn3270*keysym.0xFF56: \e8 |
|
|
552 | |
536 | |
553 | I'm using keyboard model XXX that has extra Prior/Next/Insert keys. How |
537 | I'm using keyboard model XXX that has extra Prior/Next/Insert keys. How |
554 | do I make use of them? For example, the Sun Keyboard type 4 has the |
538 | do I make use of them? For example, the Sun Keyboard type 4 has the |
555 | following mappings that rxvt-unicode doesn't recognize. |
539 | following mappings that rxvt-unicode doesn't recognize. |
556 | KP_Insert == Insert |
540 | KP_Insert == Insert |
… | |
… | |
918 | (CSR) |
902 | (CSR) |
919 | |
903 | |
920 | "ESC [ s" |
904 | "ESC [ s" |
921 | Save Cursor (SC) |
905 | Save Cursor (SC) |
922 | |
906 | |
|
|
907 | "ESC [ Ps;Pt t" |
|
|
908 | Window Operations |
|
|
909 | |
|
|
910 | Ps = 1 Deiconify (map) window |
|
|
911 | Ps = 2 Iconify window |
|
|
912 | Ps = 3 ESC [ 3 ; X ; Y t Move window to (X|Y) |
|
|
913 | Ps = 4 ESC [ 4 ; W ; H t Resize to WxH pixels |
|
|
914 | Ps = 5 Raise window |
|
|
915 | Ps = 6 Lower window |
|
|
916 | Ps = 7 Refresh screen once |
|
|
917 | Ps = 8 ESC [ 4 ; C ; R t Resize to C columns and R rows |
|
|
918 | Ps = 11 Report window state (responds with Ps = 1 or Ps = 2 |
|
|
919 | Ps = 13 Report window position (responds with Ps = 3) |
|
|
920 | Ps = 14 Report window pixel size (responds with Ps = 4) |
|
|
921 | Ps = 18 Report window text size (responds with Ps = 7) |
|
|
922 | Ps = 19 Currently the same as Ps = 18, but responds with Ps = 9 |
|
|
923 | Ps = 20 Reports icon label (ESC ] L NAME \234) |
|
|
924 | Ps = 21 Reports window title (ESC ] l NAME \234) |
|
|
925 | Ps = 24.. Set window height to Ps rows |
|
|
926 | |
|
|
927 | "ESC [ u" |
|
|
928 | Restore Cursor |
|
|
929 | |
923 | "ESC [ Ps x" |
930 | "ESC [ Ps x" |
924 | Request Terminal Parameters (DECREQTPARM) |
931 | Request Terminal Parameters (DECREQTPARM) |
925 | |
|
|
926 | "ESC [ u" |
|
|
927 | Restore Cursor |
|
|
928 | |
932 | |
929 | |
933 | |
930 | |
934 | |
931 | DEC Private Modes |
935 | DEC Private Modes |
932 | "ESC [ ? Pm h" |
936 | "ESC [ ? Pm h" |
… | |
… | |
1727 | --enable-frills |
1731 | --enable-frills |
1728 | Add support for many small features that are not essential but nice |
1732 | Add support for many small features that are not essential but nice |
1729 | to have. Normally you want this, but for very small binaries you may |
1733 | to have. Normally you want this, but for very small binaries you may |
1730 | want to disable this. |
1734 | want to disable this. |
1731 | |
1735 | |
|
|
1736 | A non-exhaustive list of features enabled by "--enable-frills" |
|
|
1737 | (possibly in combination with other switches) is: |
|
|
1738 | |
|
|
1739 | MWM-hints |
|
|
1740 | seperate underline colour |
|
|
1741 | settable border widths and borderless switch |
|
|
1742 | settable extra linespacing |
|
|
1743 | extra window properties (e.g. UTF-8 window names and PID) |
|
|
1744 | iso-14755-2 and -3, and visual feedback |
|
|
1745 | backindex and forwardindex escape sequence |
|
|
1746 | window op and locale change escape sequences |
|
|
1747 | tripleclickwords |
|
|
1748 | settable insecure mode |
|
|
1749 | |
1732 | --enable-iso14755 |
1750 | --enable-iso14755 |
1733 | Enable extended ISO 14755 support (see rxvt(1), or doc/rxvt.1.txt). |
1751 | Enable extended ISO 14755 support (see rxvt(1), or doc/rxvt.1.txt). |
1734 | Basic support (section 5.1) is enabled by "--enable-frills", while |
1752 | Basic support (section 5.1) is enabled by "--enable-frills", while |
1735 | support for 5.2, 5.3 and 5.4 is enabled with this switch. |
1753 | support for 5.2, 5.3 and 5.4 is enabled with this switch. |
1736 | |
1754 | |
… | |
… | |
1772 | |
1790 | |
1773 | --enable-pointer-blank |
1791 | --enable-pointer-blank |
1774 | Add support to have the pointer disappear when typing or inactive. |
1792 | Add support to have the pointer disappear when typing or inactive. |
1775 | |
1793 | |
1776 | --with-name=NAME |
1794 | --with-name=NAME |
1777 | Set the basename for the installed binaries (default: urxvt, |
1795 | Set the basename for the installed binaries (default: "urxvt", |
1778 | resulting in urxvt, urxvtd etc.). Specify --with-name=rxvt to |
1796 | resulting in "urxvt", "urxvtd" etc.). Specify "--with-name=rxvt" to |
1779 | replace rxvt. |
1797 | replace with "rxvt". |
1780 | |
1798 | |
1781 | --with-term=NAME |
1799 | --with-term=NAME |
1782 | Change the environmental variable for the terminal to NAME (default |
1800 | Change the environmental variable for the terminal to NAME (default |
1783 | "rxvt") |
1801 | "rxvt-unicode") |
1784 | |
1802 | |
1785 | --with-terminfo=PATH |
1803 | --with-terminfo=PATH |
1786 | Change the environmental variable for the path to the terminfo tree |
1804 | Change the environmental variable for the path to the terminfo tree |
1787 | to PATH. |
1805 | to PATH. |
1788 | |
1806 | |