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.77 by root, Mon Jan 2 19:36:07 2006 UTC vs.
Revision 1.82 by root, Tue Jan 3 18:11:34 2006 UTC

453 453
454 # now communicate with rxvt 454 # now communicate with rxvt
455 my $slave = $pty->slave; 455 my $slave = $pty->slave;
456 while (<$slave>) { print $slave "got <$_>\n" } 456 while (<$slave>) { print $slave "got <$_>\n" }
457 457
458=item B<-perl> I<string> 458=item B<-pe> I<string>
459 459
460Used by perl extension. See resource B<perl>. 460Colon-separated list of perl extension scripts to use in this terminal instance. See resource B<perl-ext>.
461 461
462=back 462=back
463 463
464=head1 RESOURCES (available also as long-options) 464=head1 RESOURCES (available also as long-options)
465 465
1022example the following means "change the current locale to C<zh_CN.GBK> 1022example the following means "change the current locale to C<zh_CN.GBK>
1023when Control-Meta-c is being pressed": 1023when 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
1027If I<string> takes the form C<perl:STRING>, then the specified B<STRING>
1028is passed to the C<on_keyboard_command> perl handler. See the @@RXVT_NAME@@perl(3)
1029manpage. For example, the F<selection> extension (activated via
1030C<@@RXVT_NAME@@ -pe selection>) listens for C<selection:rot13> events:
1031
1032 URxvt.keysym.M-C-c: perl:selection:rot13
1033
1027Due the the large number of modifier combinations, a defined key mapping 1034Due the the large number of modifier combinations, a defined key mapping
1028will match if at I<at least> the specified identifiers are being set, and 1035will match if at I<at least> the specified identifiers are being set, and
1029no other key mappings with those and more bits are being defined. That 1036no other key mappings with those and more bits are being defined. That
1030means that defining a key map for C<a> will automatically provide 1037means that defining a key map for C<a> will automatically provide
1031definitions for C<Meta-a>, C<Shift-a> and so on, unless some of those are defined 1038definitions for C<Meta-a>, C<Shift-a> and so on, unless some of those are defined
1054info): 1061info):
1055 1062
1056 URxvt.keysym.M-C-3: command:\033[8;25;80t 1063 URxvt.keysym.M-C-3: command:\033[8;25;80t
1057 URxvt.keysym.M-C-4: command:\033[8;48;110t 1064 URxvt.keysym.M-C-4: command:\033[8;48;110t
1058 1065
1059=item B<perl>: I<string> 1066=item B<perl-ext>: I<string>
1060 1067
1061Used by perl extension and is free for any use, as it is not interpreted 1068Colon-separated list of perl extension scripts to use in this terminal
1062by rxvt-unicode itself; option B<perl>. 1069instance. Each extension is looked up in the library directories, loaded
1070if necessary, and bound to the current terminal instance. If this resource
1071is empty or missing, then the perl interpreter will not be initialized;
1072option B<-pe>.
1063 1073
1064=item B<perl-eval>: I<string> 1074=item B<perl-eval>: I<string>
1065 1075
1066Perl code to be evaluated when all extensions have been loaded. See the 1076Perl code to be evaluated when all extensions have been registered. See the
1067rxvtperl(3) manpage. 1077@@RXVT_NAME@@perl(3) manpage.
1068 1078
1069=item B<perl-lib>: I<path> 1079=item B<perl-lib>: I<path>
1070 1080
1071Additional directory that holds extension scripts that are loaded and 1081Colon-separated list of additional directories that hold extension
1072enabled for this terminal instance, in addition to scripts stored in 1082scripts. When looking for extensions specified by the C<perl> resource,
1073F<@@RXVT_LIBDIR@@/urxvt/perl-ext/>, which are global to all terminal 1083@@RXVT_NAME@@ will first look in these directories and then in
1074instances. 1084F<@@RXVT_LIBDIR@@/urxvt/perl/>.
1075 1085
1076See the rxvtperl(3) manpage. 1086See the @@RXVT_NAME@@perl(3) manpage.
1077 1087
1078=back 1088=back
1079 1089
1080=head1 THE SCROLLBAR 1090=head1 THE SCROLLBAR
1081 1091

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines