… | |
… | |
466 | my $slave = $pty->slave; |
466 | my $slave = $pty->slave; |
467 | while (<$slave>) { print $slave "got <$_>\n" } |
467 | while (<$slave>) { print $slave "got <$_>\n" } |
468 | |
468 | |
469 | =item B<-pe> I<string> |
469 | =item B<-pe> I<string> |
470 | |
470 | |
471 | Comma-separated list of perl extension scripts to use in this terminal |
471 | Comma-separated list of perl extension scripts to use (or not to use) in |
472 | instance. See resource B<perl-ext>. |
472 | this terminal instance. See resource B<perl-ext> for details. |
473 | |
473 | |
474 | =back |
474 | =back |
475 | |
475 | |
476 | =head1 RESOURCES (available also as long-options) |
476 | =head1 RESOURCES (available also as long-options) |
477 | |
477 | |
… | |
… | |
1084 | |
1084 | |
1085 | =item B<perl-ext-common>: I<string> |
1085 | =item B<perl-ext-common>: I<string> |
1086 | |
1086 | |
1087 | =item B<perl-ext>: I<string> |
1087 | =item B<perl-ext>: I<string> |
1088 | |
1088 | |
1089 | Comma-separated list(s) of perl extension scripts to use in this terminal |
1089 | Comma-separated list(s) of perl extension scripts (default: C<default>) to |
|
|
1090 | use in this terminal instance; option B<-pe>. |
|
|
1091 | |
|
|
1092 | Extension names can be prefixed with a C<-> sign to prohibit using |
|
|
1093 | them. This can be useful to selectively disable some extensions loaded |
|
|
1094 | by default, or specified via the C<perl-ext-common> resource. For |
|
|
1095 | example, C<default,-selection> will use all the default extension except |
|
|
1096 | C<selection>. |
|
|
1097 | |
|
|
1098 | Extension names can also be followed by an argument in angle brackets |
|
|
1099 | (e.g. C<< searchable-scrollback<M-s> >>, which binds the hotkey for |
|
|
1100 | searchable scorllback to Alt/Meta-s). Mentioning the same extension |
|
|
1101 | multiple times with different arguments will pass multiple arguments to |
|
|
1102 | the extension. |
|
|
1103 | |
1090 | instance. Each extension is looked up in the library directories, loaded |
1104 | Each extension is looked up in the library directories, loaded if |
1091 | if necessary, and bound to the current terminal instance. If this |
1105 | necessary, and bound to the current terminal instance. |
1092 | resource is empty or missing, then the perl interpreter will not be |
1106 | |
1093 | initialized. The idea behind two options is that B<perl-ext-common> will |
1107 | If both of these resources are the empty string, then the perl |
1094 | be used for extensions that should be available to all instances, while |
1108 | interpreter will not be initialized. The idea behind two options is that |
1095 | B<perl-ext> is used for specific instances; option B<-pe>. |
1109 | B<perl-ext-common> will be used for extensions that should be available to |
|
|
1110 | all instances, while B<perl-ext> is used for specific instances. |
1096 | |
1111 | |
1097 | =item B<perl-eval>: I<string> |
1112 | =item B<perl-eval>: I<string> |
1098 | |
1113 | |
1099 | Perl code to be evaluated when all extensions have been registered. See the |
1114 | Perl code to be evaluated when all extensions have been registered. See |
1100 | @@RXVT_NAME@@perl(3) manpage. |
1115 | the @@RXVT_NAME@@perl(3) manpage. Due to security reasons, this resource |
|
|
1116 | will be ignored when running setuid/setgid. |
1101 | |
1117 | |
1102 | =item B<perl-lib>: I<path> |
1118 | =item B<perl-lib>: I<path> |
1103 | |
1119 | |
1104 | Colon-separated list of additional directories that hold extension |
1120 | Colon-separated list of additional directories that hold extension |
1105 | scripts. When looking for extensions specified by the C<perl> resource, |
1121 | scripts. When looking for extensions specified by the C<perl> resource, |
1106 | @@RXVT_NAME@@ will first look in these directories and then in |
1122 | @@RXVT_NAME@@ will first look in these directories and then in |
1107 | F<@@RXVT_LIBDIR@@/urxvt/perl/>. |
1123 | F<@@RXVT_LIBDIR@@/urxvt/perl/>. Due to security reasons, this resource |
|
|
1124 | will be ignored when running setuid/setgid. |
1108 | |
1125 | |
1109 | See the @@RXVT_NAME@@perl(3) manpage. |
1126 | See the @@RXVT_NAME@@perl(3) manpage. |
|
|
1127 | |
|
|
1128 | =item B<transient-for>: I<windowid> |
|
|
1129 | |
|
|
1130 | Sets the WM_TRANSIENT_FOR property to the given window iw. |
1110 | |
1131 | |
1111 | =back |
1132 | =back |
1112 | |
1133 | |
1113 | =head1 THE SCROLLBAR |
1134 | =head1 THE SCROLLBAR |
1114 | |
1135 | |