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.238 by sf-exg, Sat Oct 11 22:02:50 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines