… | |
… | |
1022 | example the following means "change the current locale to C<zh_CN.GBK> |
1022 | example the following means "change the current locale to C<zh_CN.GBK> |
1023 | when Control-Meta-c is being pressed": |
1023 | when Control-Meta-c is being pressed": |
1024 | |
1024 | |
1025 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 |
1025 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 |
1026 | |
1026 | |
|
|
1027 | If I<string> takes the form C<perl:STRING>, then the specified B<STRING> |
|
|
1028 | is passed to the C<on_keyboard_command> perl handler. See the @@RXVT_NAME@@perl(3) |
|
|
1029 | manpage. For example, the F<selection> extension (activated via |
|
|
1030 | C<@@RXVT_NAME@@ -pe selection>) listens for C<selection:rot13> events: |
|
|
1031 | |
|
|
1032 | URxvt.keysym.M-C-c: perl:selection:rot13 |
|
|
1033 | |
1027 | Due the the large number of modifier combinations, a defined key mapping |
1034 | Due the the large number of modifier combinations, a defined key mapping |
1028 | will match if at I<at least> the specified identifiers are being set, and |
1035 | will match if at I<at least> the specified identifiers are being set, and |
1029 | no other key mappings with those and more bits are being defined. That |
1036 | no other key mappings with those and more bits are being defined. That |
1030 | means that defining a key map for C<a> will automatically provide |
1037 | means that defining a key map for C<a> will automatically provide |
1031 | definitions for C<Meta-a>, C<Shift-a> and so on, unless some of those are defined |
1038 | definitions for C<Meta-a>, C<Shift-a> and so on, unless some of those are defined |
… | |
… | |
1063 | if necessary, and bound to the current terminal instance; option B<-pe>. |
1070 | if necessary, and bound to the current terminal instance; option B<-pe>. |
1064 | |
1071 | |
1065 | =item B<perl-eval>: I<string> |
1072 | =item B<perl-eval>: I<string> |
1066 | |
1073 | |
1067 | Perl code to be evaluated when all extensions have been registered. See the |
1074 | Perl code to be evaluated when all extensions have been registered. See the |
1068 | rxvtperl(3) manpage. |
1075 | @@RXVT_NAME@@perl(3) manpage. |
1069 | |
1076 | |
1070 | =item B<perl-lib>: I<path> |
1077 | =item B<perl-lib>: I<path> |
1071 | |
1078 | |
1072 | Colon-separated list of additional directories that hold extension |
1079 | Colon-separated list of additional directories that hold extension |
1073 | scripts. When looking for extensions specified by the C<perl> resource, |
1080 | scripts. When looking for extensions specified by the C<perl> resource, |
1074 | @@RXVT_NAME@@ will first look in these directories and then in |
1081 | @@RXVT_NAME@@ will first look in these directories and then in |
1075 | F<@@RXVT_LIBDIR@@/urxvt/perl-ext/>. |
1082 | F<@@RXVT_LIBDIR@@/urxvt/perl/>. |
1076 | |
1083 | |
1077 | See the rxvtperl(3) manpage. |
1084 | See the @@RXVT_NAME@@perl(3) manpage. |
1078 | |
1085 | |
1079 | =back |
1086 | =back |
1080 | |
1087 | |
1081 | =head1 THE SCROLLBAR |
1088 | =head1 THE SCROLLBAR |
1082 | |
1089 | |