ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.pod
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.1.pod (file contents):
Revision 1.237 by sf-exg, Thu Aug 21 19:21:14 2014 UTC vs.
Revision 1.240 by sf-exg, Mon Oct 13 17:05:32 2014 UTC

1119 1119
1120 URxvt.keysym.Shift-Tab: string:echo rm -rf /\n 1120 URxvt.keysym.Shift-Tab: string:echo rm -rf /\n
1121 1121
1122This could in theory be used to completely redefine your keymap. 1122This could in theory be used to completely redefine your keymap.
1123 1123
1124In addition, for actions of this type, you can define a range of
1125keysyms in one shot by loading the C<keysym-list> perl extension and
1126providing an I<action> with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where
1127the delimiter `/' should be a character not used by the strings.
1128
1129Its usage can be demonstrated by an example:
1130
1131 URxvt.keysym.M-C-0x61: list|\033<|abc|>
1132
1133The above line is equivalent to the following three lines:
1134
1135 URxvt.keysym.Meta-Control-0x61: string:\033<a>
1136 URxvt.keysym.Meta-Control-0x62: string:\033<b>
1137 URxvt.keysym.Meta-Control-0x63: string:\033<c>
1138
1124=item command:STRING 1139=item command:STRING
1125 1140
1126If I<action> takes the form of C<command:STRING>, the specified B<STRING> 1141If I<action> takes the form of C<command:STRING>, the specified B<STRING>
1127is interpreted and executed as @@RXVT_NAME@@'s control sequence (basically 1142is interpreted and executed as @@RXVT_NAME@@'s control sequence (basically
1128the opposite of C<string:> - instead of sending it to the program running 1143the opposite of C<string:> - instead of sending it to the program running
1192 URxvt.keysym.C-M-c: builtin-string: 1207 URxvt.keysym.C-M-c: builtin-string:
1193 URxvt.keysym.C-M-v: builtin-string: 1208 URxvt.keysym.C-M-v: builtin-string:
1194 1209
1195=item EXTENSION:STRING 1210=item EXTENSION:STRING
1196 1211
1197An action of this form passes the B<STRING> to the @@RXVT_NAME@@perl(3) 1212An action of this form invokes the action B<STRING>, if any, provided
1198extension of the same name. The extension will be loaded automatically if 1213by the @@RXVT_NAME@@perl(3) extension B<EXTENSION>. The extension will
1199necessary. 1214be loaded automatically if necessary.
1200 1215
1201Not all extensions define key actions, but popular extensions that do 1216Not all extensions define actions, but popular extensions that do
1202include the I<selection> and I<matcher> extensions (documented in their 1217include the I<selection> and I<matcher> extensions (documented in their
1203own manpages, @@RXVT_NAME@@-selection(1) and @@RXVT_NAME@@-matcher(1), 1218own manpages, @@RXVT_NAME@@-selection(1) and @@RXVT_NAME@@-matcher(1),
1204respectively). 1219respectively).
1205 1220
1206From the silly examples department, this will rot13-"encrypt" 1221From the silly examples department, this will rot13-"encrypt"
1209 1224
1210 URxvt.keysym.M-C-c: selection:rot13 1225 URxvt.keysym.M-C-c: selection:rot13
1211 1226
1212=item perl:STRING *DEPRECATED* 1227=item perl:STRING *DEPRECATED*
1213 1228
1214This is a deprecated way of passing key mappings to perl extensions. It is 1229This is a deprecated way of invoking commands provided by perl
1215still supported, but should not be used anymore. 1230extensions. It is still supported, but should not be used anymore.
1216 1231
1217=back 1232=back
1218 1233
1219=item B<perl-ext-common>: I<string> 1234=item B<perl-ext-common>: I<string>
1220 1235
1228by default, or specified via the C<perl-ext-common> resource. For 1243by default, or specified via the C<perl-ext-common> resource. For
1229example, C<default,-selection> will use all the default extensions except 1244example, C<default,-selection> will use all the default extensions except
1230C<selection>. 1245C<selection>.
1231 1246
1232The default set includes the C<selection>, C<option-popup>, 1247The default set includes the C<selection>, C<option-popup>,
1233C<selection-popup> and C<readline> extensions, any extensions that define 1248C<selection-popup> and C<readline> extensions, any extensions that
1234keybindings via C<BINDING> meta comments, extensions loaded because 1249define keybindings via C<BINDING> meta comments, and extensions which
1235their resources/commandline switches were used, and extensions which are
1236mentioned in B<keysym> resources. 1250are mentioned in B<keysym> resources.
1251
1252Any extension such that a corresponding resource is given on the
1253command line is automatically appended to B<perl-ext>.
1237 1254
1238Each extension is looked up in the library directories, loaded if 1255Each extension is looked up in the library directories, loaded if
1239necessary, and bound to the current terminal instance. When the library 1256necessary, and bound to the current terminal instance. When the library
1240search path contains multiple extension files of the same name, then the 1257search path contains multiple extension files of the same name, then the
1241first one found will be used. 1258first one found will be used.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines