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.85 by root, Wed Jan 4 20:43:37 2006 UTC vs.
Revision 1.88 by root, Sun Jan 8 00:20:12 2006 UTC

435 $rxvt->signal_connect_after (realize => sub { 435 $rxvt->signal_connect_after (realize => sub {
436 my $xid = $_[0]->window->get_xid; 436 my $xid = $_[0]->window->get_xid;
437 system "@@RXVT_NAME@@ -embed $xid &"; 437 system "@@RXVT_NAME@@ -embed $xid &";
438 }); 438 });
439 439
440=item B<-pty-fd> I<fileno> 440=item B<-pty-fd> I<file descriptor>
441 441
442Tells @@RXVT_NAME@@ NOT to execute any commands or create a new pty/tty 442Tells @@RXVT_NAME@@ NOT to execute any commands or create a new pty/tty
443pair but instead use the given filehandle as the tty master. This is 443pair but instead use the given filehandle as the tty master. This is
444useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator 444useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator
445without having to run a program within it. 445without having to run a program within it.
446 446
447If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp 447If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp
448entries and will not tinker with pty/tty permissions - you have to do that 448entries and will not tinker with pty/tty permissions - you have to do that
449yourself if you want that. 449yourself if you want that.
450 450
451As an extremely special case, specifying C<-1> will completely suppress
452pty/tty operations.
453
451Here is a example in perl that illustrates how this option can be used (a 454Here is a example in perl that illustrates how this option can be used (a
452longer example is in F<doc/pty-fd>): 455longer example is in F<doc/pty-fd>):
453 456
454 use IO::Pty; 457 use IO::Pty;
455 use Fcntl; 458 use Fcntl;
463 my $slave = $pty->slave; 466 my $slave = $pty->slave;
464 while (<$slave>) { print $slave "got <$_>\n" } 467 while (<$slave>) { print $slave "got <$_>\n" }
465 468
466=item B<-pe> I<string> 469=item B<-pe> I<string>
467 470
468Colon-separated list of perl extension scripts to use in this terminal 471Comma-separated list of perl extension scripts to use (or not to use) in
469instance. See resource B<perl-ext>. 472this terminal instance. See resource B<perl-ext> for details.
470 473
471=back 474=back
472 475
473=head1 RESOURCES (available also as long-options) 476=head1 RESOURCES (available also as long-options)
474 477
1081 1084
1082=item B<perl-ext-common>: I<string> 1085=item B<perl-ext-common>: I<string>
1083 1086
1084=item B<perl-ext>: I<string> 1087=item B<perl-ext>: I<string>
1085 1088
1086Colon-separated list(s) of perl extension scripts to use in this terminal 1089Comma-separated list(s) of perl extension scripts (default: C<default>) to
1090use in this terminal instance; option B<-pe>.
1091
1092Extension names can be prefixed with a C<-> sign to prohibit using
1093it. This can be useful to selectively disable some extensions loaded
1094by default, or specified via the C<perl-ext-common> resource. For
1095example, C<default,-selection> will use all the default extension except
1096C<selection>.
1097
1087instance. Each extension is looked up in the library directories, loaded 1098Each extension is looked up in the library directories, loaded if
1088if necessary, and bound to the current terminal instance. If this 1099necessary, and bound to the current terminal instance.
1089resource is empty or missing, then the perl interpreter will not be 1100
1090initialized. The idea behind two options is that B<perl-ext-common> will 1101If both of these resources are the empty string, then the perl
1091be used for extensions that should be available to all instances, while 1102interpreter will not be initialized. The idea behind two options is that
1092B<perl-ext> is used for specific instances; option B<-pe>. 1103B<perl-ext-common> will be used for extensions that should be available to
1104all instances, while B<perl-ext> is used for specific instances.
1093 1105
1094=item B<perl-eval>: I<string> 1106=item B<perl-eval>: I<string>
1095 1107
1096Perl code to be evaluated when all extensions have been registered. See the 1108Perl code to be evaluated when all extensions have been registered. See the
1097@@RXVT_NAME@@perl(3) manpage. 1109@@RXVT_NAME@@perl(3) manpage.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines