… | |
… | |
108 | of graphical corruption. This is harmless, but we can't do anything about |
108 | of graphical corruption. This is harmless, but we can't do anything about |
109 | this, so watch out] |
109 | this, so watch out] |
110 | |
110 | |
111 | =item B<-visual> I<visualID> |
111 | =item B<-visual> I<visualID> |
112 | |
112 | |
113 | Compile I<frills>: Use the given visual (see e.g. C<xdpyinfo> for possible |
113 | Compile I<frills>: Use the given visual (see e.g. C<xdpyinfo> for |
114 | visual ids). |
114 | possible visual ids) instead of the default, and also allocate a private |
|
|
115 | colormap. All visual types except for DirectColor are supported. |
115 | |
116 | |
116 | =item B<-geometry> I<geom> |
117 | =item B<-geometry> I<geom> |
117 | |
118 | |
118 | Window geometry (B<-g> still respected); resource B<geometry>. |
119 | Window geometry (B<-g> still respected); resource B<geometry>. |
119 | |
120 | |
… | |
… | |
1119 | |
1120 | |
1120 | URxvt.keysym.Shift-Tab: string:echo rm -rf /\n |
1121 | URxvt.keysym.Shift-Tab: string:echo rm -rf /\n |
1121 | |
1122 | |
1122 | This could in theory be used to completely redefine your keymap. |
1123 | This could in theory be used to completely redefine your keymap. |
1123 | |
1124 | |
|
|
1125 | In addition, for actions of this type, you can define a range of |
|
|
1126 | keysyms in one shot by loading the C<keysym-list> perl extension and |
|
|
1127 | providing an I<action> with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where |
|
|
1128 | the delimiter `/' should be a character not used by the strings. |
|
|
1129 | |
|
|
1130 | Its usage can be demonstrated by an example: |
|
|
1131 | |
|
|
1132 | URxvt.keysym.M-C-0x61: list|\033<|abc|> |
|
|
1133 | |
|
|
1134 | The above line is equivalent to the following three lines: |
|
|
1135 | |
|
|
1136 | URxvt.keysym.Meta-Control-0x61: string:\033<a> |
|
|
1137 | URxvt.keysym.Meta-Control-0x62: string:\033<b> |
|
|
1138 | URxvt.keysym.Meta-Control-0x63: string:\033<c> |
|
|
1139 | |
1124 | =item command:STRING |
1140 | =item command:STRING |
1125 | |
1141 | |
1126 | If I<action> takes the form of C<command:STRING>, the specified B<STRING> |
1142 | If I<action> takes the form of C<command:STRING>, the specified B<STRING> |
1127 | is interpreted and executed as @@RXVT_NAME@@'s control sequence (basically |
1143 | is interpreted and executed as @@RXVT_NAME@@'s control sequence (basically |
1128 | the opposite of C<string:> - instead of sending it to the program running |
1144 | the opposite of C<string:> - instead of sending it to the program running |
… | |
… | |
1192 | URxvt.keysym.C-M-c: builtin-string: |
1208 | URxvt.keysym.C-M-c: builtin-string: |
1193 | URxvt.keysym.C-M-v: builtin-string: |
1209 | URxvt.keysym.C-M-v: builtin-string: |
1194 | |
1210 | |
1195 | =item EXTENSION:STRING |
1211 | =item EXTENSION:STRING |
1196 | |
1212 | |
1197 | An action of this form passes the B<STRING> to the @@RXVT_NAME@@perl(3) |
1213 | An action of this form invokes the action B<STRING>, if any, provided |
1198 | extension of the same name. The extension will be loaded automatically if |
1214 | by the @@RXVT_NAME@@perl(3) extension B<EXTENSION>. The extension will |
1199 | necessary. |
1215 | be loaded automatically if necessary. |
1200 | |
1216 | |
1201 | Not all extensions define key actions, but popular extensions that do |
1217 | Not all extensions define actions, but popular extensions that do |
1202 | include the I<selection> and I<matcher> extensions (documented in their |
1218 | include the I<selection> and I<matcher> extensions (documented in their |
1203 | own manpages, @@RXVT_NAME@@-selection(1) and @@RXVT_NAME@@-matcher(1), |
1219 | own manpages, @@RXVT_NAME@@-selection(1) and @@RXVT_NAME@@-matcher(1), |
1204 | respectively). |
1220 | respectively). |
1205 | |
1221 | |
1206 | From the silly examples department, this will rot13-"encrypt" |
1222 | From the silly examples department, this will rot13-"encrypt" |
… | |
… | |
1209 | |
1225 | |
1210 | URxvt.keysym.M-C-c: selection:rot13 |
1226 | URxvt.keysym.M-C-c: selection:rot13 |
1211 | |
1227 | |
1212 | =item perl:STRING *DEPRECATED* |
1228 | =item perl:STRING *DEPRECATED* |
1213 | |
1229 | |
1214 | This is a deprecated way of passing key mappings to perl extensions. It is |
1230 | This is a deprecated way of invoking commands provided by perl |
1215 | still supported, but should not be used anymore. |
1231 | extensions. It is still supported, but should not be used anymore. |
1216 | |
1232 | |
1217 | =back |
1233 | =back |
1218 | |
1234 | |
1219 | =item B<perl-ext-common>: I<string> |
1235 | =item B<perl-ext-common>: I<string> |
1220 | |
1236 | |