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.241 by root, Wed Dec 17 15:22:10 2014 UTC

108of graphical corruption. This is harmless, but we can't do anything about 108of graphical corruption. This is harmless, but we can't do anything about
109this, so watch out] 109this, so watch out]
110 110
111=item B<-visual> I<visualID> 111=item B<-visual> I<visualID>
112 112
113Compile I<frills>: Use the given visual (see e.g. C<xdpyinfo> for possible 113Compile I<frills>: Use the given visual (see e.g. C<xdpyinfo> for
114visual ids). 114possible visual ids) instead of the default, and also allocate a private
115colormap. All visual types except for DirectColor are supported.
115 116
116=item B<-geometry> I<geom> 117=item B<-geometry> I<geom>
117 118
118Window geometry (B<-g> still respected); resource B<geometry>. 119Window 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
1122This could in theory be used to completely redefine your keymap. 1123This could in theory be used to completely redefine your keymap.
1123 1124
1125In addition, for actions of this type, you can define a range of
1126keysyms in one shot by loading the C<keysym-list> perl extension and
1127providing an I<action> with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where
1128the delimiter `/' should be a character not used by the strings.
1129
1130Its usage can be demonstrated by an example:
1131
1132 URxvt.keysym.M-C-0x61: list|\033<|abc|>
1133
1134The 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
1126If I<action> takes the form of C<command:STRING>, the specified B<STRING> 1142If I<action> takes the form of C<command:STRING>, the specified B<STRING>
1127is interpreted and executed as @@RXVT_NAME@@'s control sequence (basically 1143is interpreted and executed as @@RXVT_NAME@@'s control sequence (basically
1128the opposite of C<string:> - instead of sending it to the program running 1144the 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
1197An action of this form passes the B<STRING> to the @@RXVT_NAME@@perl(3) 1213An action of this form invokes the action B<STRING>, if any, provided
1198extension of the same name. The extension will be loaded automatically if 1214by the @@RXVT_NAME@@perl(3) extension B<EXTENSION>. The extension will
1199necessary. 1215be loaded automatically if necessary.
1200 1216
1201Not all extensions define key actions, but popular extensions that do 1217Not all extensions define actions, but popular extensions that do
1202include the I<selection> and I<matcher> extensions (documented in their 1218include the I<selection> and I<matcher> extensions (documented in their
1203own manpages, @@RXVT_NAME@@-selection(1) and @@RXVT_NAME@@-matcher(1), 1219own manpages, @@RXVT_NAME@@-selection(1) and @@RXVT_NAME@@-matcher(1),
1204respectively). 1220respectively).
1205 1221
1206From the silly examples department, this will rot13-"encrypt" 1222From 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
1214This is a deprecated way of passing key mappings to perl extensions. It is 1230This is a deprecated way of invoking commands provided by perl
1215still supported, but should not be used anymore. 1231extensions. 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
1228by default, or specified via the C<perl-ext-common> resource. For 1244by default, or specified via the C<perl-ext-common> resource. For
1229example, C<default,-selection> will use all the default extensions except 1245example, C<default,-selection> will use all the default extensions except
1230C<selection>. 1246C<selection>.
1231 1247
1232The default set includes the C<selection>, C<option-popup>, 1248The default set includes the C<selection>, C<option-popup>,
1233C<selection-popup> and C<readline> extensions, any extensions that define 1249C<selection-popup> and C<readline> extensions, any extensions that
1234keybindings via C<BINDING> meta comments, extensions loaded because 1250define keybindings via C<BINDING> meta comments, and extensions which
1235their resources/commandline switches were used, and extensions which are
1236mentioned in B<keysym> resources. 1251are mentioned in B<keysym> resources.
1252
1253Any extension such that a corresponding resource is given on the
1254command line is automatically appended to B<perl-ext>.
1237 1255
1238Each extension is looked up in the library directories, loaded if 1256Each extension is looked up in the library directories, loaded if
1239necessary, and bound to the current terminal instance. When the library 1257necessary, and bound to the current terminal instance. When the library
1240search path contains multiple extension files of the same name, then the 1258search path contains multiple extension files of the same name, then the
1241first one found will be used. 1259first one found will be used.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines