… | |
… | |
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 | it. 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 | |
1090 | instance. Each extension is looked up in the library directories, loaded |
1098 | Each extension is looked up in the library directories, loaded if |
1091 | if necessary, and bound to the current terminal instance. If this |
1099 | necessary, and bound to the current terminal instance. |
1092 | resource is empty or missing, then the perl interpreter will not be |
1100 | |
1093 | initialized. The idea behind two options is that B<perl-ext-common> will |
1101 | 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 |
1102 | interpreter will not be initialized. The idea behind two options is that |
1095 | B<perl-ext> is used for specific instances; option B<-pe>. |
1103 | B<perl-ext-common> will be used for extensions that should be available to |
|
|
1104 | all instances, while B<perl-ext> is used for specific instances. |
1096 | |
1105 | |
1097 | =item B<perl-eval>: I<string> |
1106 | =item B<perl-eval>: I<string> |
1098 | |
1107 | |
1099 | Perl code to be evaluated when all extensions have been registered. See the |
1108 | Perl code to be evaluated when all extensions have been registered. See the |
1100 | @@RXVT_NAME@@perl(3) manpage. |
1109 | @@RXVT_NAME@@perl(3) manpage. |