… | |
… | |
1101 | </dd> |
1101 | </dd> |
1102 | <p></p> |
1102 | <p></p> |
1103 | <dt><strong><a name="item_keysym_2esym_3a_string"><strong>keysym.</strong><em>sym</em>: <em>string</em></a></strong><br /> |
1103 | <dt><strong><a name="item_keysym_2esym_3a_string"><strong>keysym.</strong><em>sym</em>: <em>string</em></a></strong><br /> |
1104 | </dt> |
1104 | </dt> |
1105 | <dd> |
1105 | <dd> |
1106 | Associate <em>string</em> with keysym <em>sym</em> (<strong>0xFF00 - 0xFFFF</strong>). It may |
1106 | Associate <em>string</em> with keysym <em>sym</em>. The intervening resource |
|
|
1107 | name <strong>keysym.</strong> cannot be omitted. This resource is only available |
|
|
1108 | when compiled with KEYSYM_RESOURCE. |
|
|
1109 | </dd> |
|
|
1110 | <dd> |
|
|
1111 | <p>The format of <em>sym</em> is ``<em>(mask-)key</em>'', |
|
|
1112 | where <em>mask</em> can be any combination of <strong>Control</strong>, <strong>NumLock</strong>, |
|
|
1113 | <strong>Shift</strong>, <strong>Meta</strong>, <strong>Lock</strong>, <strong>Mod1</strong>, <strong>Mod2</strong>, <strong>Mod3</strong>, <strong>Mod4</strong>, |
|
|
1114 | <strong>Mod5</strong>, and the abbreviated |
|
|
1115 | <strong>C</strong>, <strong>N</strong>, <strong>S</strong>, <strong>M</strong>, <strong>A</strong>, <strong>L</strong>, <strong>1</strong>, <strong>2</strong>, <strong>3</strong>, <strong>4</strong>, <strong>5</strong>. |
|
|
1116 | The spellings of <em>key</em> can be obtained by using <strong>xev</strong>(1) |
|
|
1117 | command or searching keysym macros from |
|
|
1118 | <strong>/usr/X11R6/include/X11/keysymdef.h</strong> and omit the prefix <strong>XK_</strong>. |
|
|
1119 | Alternatively you can specify <em>key</em> by its hex keysym value |
|
|
1120 | (<strong>0x0000 - 0xFFFF</strong>). |
|
|
1121 | Note that the lookup of <em>sym</em>s is not performed in an exact manner; |
|
|
1122 | however, the closest match is assured.</p> |
|
|
1123 | </dd> |
|
|
1124 | <dd> |
|
|
1125 | <p><em>string</em> may |
1107 | contain escape values (\a: bell, \b: backspace, \e, \E: escape, \n: |
1126 | contain escape values (\a: bell, \b: backspace, \e, \E: escape, \n: |
1108 | newline, \r: return, \t: |
1127 | newline, \r: return, \t: |
1109 | tab, \000: octal number) or control characters (^?: delete, ^@: null, |
1128 | tab, \000: octal number) or control characters (^?: delete, ^@: null, |
1110 | ^A ...) and may enclosed with double quotes so that it can start or end |
1129 | ^A ...) and may enclosed with double quotes so that it can start or end |
1111 | with whitespace. The intervening resource name <strong>keysym.</strong> cannot be |
1130 | with whitespace.</p> |
1112 | omitted. This resource is only available when compiled with |
1131 | </dd> |
1113 | KEYSYM_RESOURCE. |
1132 | <dd> |
|
|
1133 | <p>You can define a range of keysyms in one shot by providing a <em>string</em> |
|
|
1134 | with pattern <strong>list/STRING1/STRING2/STRING3</strong>, where the delimeter `/' |
|
|
1135 | should be a character not used by the <strong>STRING</strong>s.</p> |
|
|
1136 | </dd> |
|
|
1137 | <dd> |
|
|
1138 | <p>Its usage can be demonstrated by an example: |
|
|
1139 | URxvt.keysym.M-C-0x61: list.abc.\e<M-C-.></p> |
|
|
1140 | </dd> |
|
|
1141 | <dd> |
|
|
1142 | <p>The above line is equivalent to the following three lines: |
|
|
1143 | URxvt.keysym.Meta-Control-0x61: \e<M-C-a> |
|
|
1144 | URxvt.keysym.Meta-Control-0x62: \e<M-C-b> |
|
|
1145 | URxvt.keysym.Meta-Control-0x63: \e<M-C-c></p> |
|
|
1146 | </dd> |
|
|
1147 | <dd> |
|
|
1148 | <p>If <em>string</em> takes the form of <strong>proto:STRING</strong>, |
|
|
1149 | the specified <strong>STRING</strong> is interpreted and executed as <strong>rxvt</strong>'s |
|
|
1150 | control sequence. For example, <strong>``proto:\033]701;zh_CN.GBK\007''</strong> |
|
|
1151 | means changing the current locale to zh_CN.GBK.</p> |
1114 | </dd> |
1152 | </dd> |
1115 | <p></p></dl> |
1153 | <p></p></dl> |
1116 | <p> |
1154 | <p> |
1117 | </p> |
1155 | </p> |
1118 | <hr /> |
1156 | <hr /> |