… | |
… | |
690 | option is enabled, scrolls on the secondary screen will change the |
690 | option is enabled, scrolls on the secondary screen will change the |
691 | scrollback buffer and switching to/from the secondary screen will |
691 | scrollback buffer and switching to/from the secondary screen will |
692 | instead scroll the screen up. |
692 | instead scroll the screen up. |
693 | |
693 | |
694 | keysym.*sym*: *string* |
694 | keysym.*sym*: *string* |
695 | Associate *string* with keysym *sym* (0xFF00 - 0xFFFF). It may |
695 | Associate *string* with keysym *sym*. The intervening resource name |
|
|
696 | keysym. cannot be omitted. This resource is only available when |
|
|
697 | compiled with KEYSYM_RESOURCE. |
|
|
698 | |
|
|
699 | The format of *sym* is "*(mask-)key*", where *mask* can be any |
|
|
700 | combination of Control, NumLock, Shift, Meta, Lock, Mod1, Mod2, |
|
|
701 | Mod3, Mod4, Mod5, and the abbreviated C, N, S, M, A, L, 1, 2, 3, 4, |
|
|
702 | 5. The spellings of *key* can be obtained by using xev(1) command or |
|
|
703 | searching keysym macros from /usr/X11R6/include/X11/keysymdef.h and |
|
|
704 | omit the prefix XK_. Alternatively you can specify *key* by its hex |
|
|
705 | keysym value (0x0000 - 0xFFFF). Note that the lookup of *sym*s is |
|
|
706 | not performed in an exact manner; however, the closest match is |
|
|
707 | assured. |
|
|
708 | |
696 | contain escape values (\a: bell, \b: backspace, \e, \E: escape, \n: |
709 | *string* may contain escape values (\a: bell, \b: backspace, \e, \E: |
697 | newline, \r: return, \t: tab, \000: octal number) or control |
710 | escape, \n: newline, \r: return, \t: tab, \000: octal number) or |
698 | characters (^?: delete, ^@: null, ^A ...) and may enclosed with |
711 | control characters (^?: delete, ^@: null, ^A ...) and may enclosed |
699 | double quotes so that it can start or end with whitespace. The |
712 | with double quotes so that it can start or end with whitespace. |
700 | intervening resource name keysym. cannot be omitted. This resource |
713 | |
701 | is only available when compiled with KEYSYM_RESOURCE. |
714 | You can define a range of keysyms in one shot by providing a |
|
|
715 | *string* with pattern list/STRING1/STRING2/STRING3, where the |
|
|
716 | delimeter `/' should be a character not used by the STRINGs. |
|
|
717 | |
|
|
718 | Its usage can be demonstrated by an example: URxvt.keysym.M-C-0x61: |
|
|
719 | list.abc.\e<M-C-.> |
|
|
720 | |
|
|
721 | The above line is equivalent to the following three lines: |
|
|
722 | URxvt.keysym.Meta-Control-0x61: \e<M-C-a> |
|
|
723 | URxvt.keysym.Meta-Control-0x62: \e<M-C-b> |
|
|
724 | URxvt.keysym.Meta-Control-0x63: \e<M-C-c> |
|
|
725 | |
|
|
726 | If *string* takes the form of proto:STRING, the specified STRING is |
|
|
727 | interpreted and executed as rxvt's control sequence. For example, |
|
|
728 | "proto:\033]701;zh_CN.GBK\007" means changing the current locale to |
|
|
729 | zh_CN.GBK. |
702 | |
730 | |
703 | THE SCROLLBAR |
731 | THE SCROLLBAR |
704 | Lines of text that scroll off the top of the rxvt window (resource: |
732 | Lines of text that scroll off the top of the rxvt window (resource: |
705 | saveLines) and can be scrolled back using the scrollbar or by |
733 | saveLines) and can be scrolled back using the scrollbar or by |
706 | keystrokes. The normal rxvt scrollbar has arrows and its behaviour is |
734 | keystrokes. The normal rxvt scrollbar has arrows and its behaviour is |