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.87 by root, Fri Jan 6 20:50:58 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 in this terminal
469instance. See resource B<perl-ext>. 472instance. See resource B<perl-ext>.
470 473
471=back 474=back
472 475
473=head1 RESOURCES (available also as long-options) 476=head1 RESOURCES (available also as long-options)
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 to use in this terminal
1087instance. Each extension is looked up in the library directories, loaded 1090instance. Each extension is looked up in the library directories, loaded
1088if necessary, and bound to the current terminal instance. If this 1091if necessary, and bound to the current terminal instance. If this
1089resource is empty or missing, then the perl interpreter will not be 1092resource is empty or missing, then the perl interpreter will not be
1090initialized. The idea behind two options is that B<perl-ext-common> will 1093initialized. The idea behind two options is that B<perl-ext-common> will
1091be used for extensions that should be available to all instances, while 1094be used for extensions that should be available to all instances, while

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines