… | |
… | |
127 | .\} |
127 | .\} |
128 | .rm #[ #] #H #V #F C |
128 | .rm #[ #] #H #V #F C |
129 | .\" ======================================================================== |
129 | .\" ======================================================================== |
130 | .\" |
130 | .\" |
131 | .IX Title "rxvt 1" |
131 | .IX Title "rxvt 1" |
132 | .TH rxvt 1 "2006-01-04" "6.3" "RXVT-UNICODE" |
132 | .TH rxvt 1 "2006-01-07" "6.3" "RXVT-UNICODE" |
133 | .SH "NAME" |
133 | .SH "NAME" |
134 | rxvt\-unicode (ouR XVT, unicode) \- (a VT102 emulator for the X window system) |
134 | rxvt\-unicode (ouR XVT, unicode) \- (a VT102 emulator for the X window system) |
135 | .SH "SYNOPSIS" |
135 | .SH "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
137 | \&\fB@@RXVT_NAME@@\fR [options] [\-e command [ args ]] |
137 | \&\fB@@RXVT_NAME@@\fR [options] [\-e command [ args ]] |
… | |
… | |
508 | \& $rxvt->signal_connect_after (realize => sub { |
508 | \& $rxvt->signal_connect_after (realize => sub { |
509 | \& my $xid = $_[0]->window->get_xid; |
509 | \& my $xid = $_[0]->window->get_xid; |
510 | \& system "@@RXVT_NAME@@ -embed $xid &"; |
510 | \& system "@@RXVT_NAME@@ -embed $xid &"; |
511 | \& }); |
511 | \& }); |
512 | .Ve |
512 | .Ve |
513 | .IP "\fB\-pty\-fd\fR \fIfileno\fR" 4 |
513 | .IP "\fB\-pty\-fd\fR \fIfile descriptor\fR" 4 |
514 | .IX Item "-pty-fd fileno" |
514 | .IX Item "-pty-fd file descriptor" |
515 | Tells @@RXVT_NAME@@ \s-1NOT\s0 to execute any commands or create a new pty/tty |
515 | Tells @@RXVT_NAME@@ \s-1NOT\s0 to execute any commands or create a new pty/tty |
516 | pair but instead use the given filehandle as the tty master. This is |
516 | pair but instead use the given filehandle as the tty master. This is |
517 | useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator |
517 | useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator |
518 | without having to run a program within it. |
518 | without having to run a program within it. |
519 | .Sp |
519 | .Sp |
520 | If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp |
520 | If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp |
521 | entries and will not tinker with pty/tty permissions \- you have to do that |
521 | entries and will not tinker with pty/tty permissions \- you have to do that |
522 | yourself if you want that. |
522 | yourself if you want that. |
|
|
523 | .Sp |
|
|
524 | As an extremely special case, specifying \f(CW\*(C`\-1\*(C'\fR will completely suppress |
|
|
525 | pty/tty operations. |
523 | .Sp |
526 | .Sp |
524 | Here is a example in perl that illustrates how this option can be used (a |
527 | Here is a example in perl that illustrates how this option can be used (a |
525 | longer example is in \fIdoc/pty\-fd\fR): |
528 | longer example is in \fIdoc/pty\-fd\fR): |
526 | .Sp |
529 | .Sp |
527 | .Vb 2 |
530 | .Vb 2 |
… | |
… | |
541 | \& my $slave = $pty->slave; |
544 | \& my $slave = $pty->slave; |
542 | \& while (<$slave>) { print $slave "got <$_>\en" } |
545 | \& while (<$slave>) { print $slave "got <$_>\en" } |
543 | .Ve |
546 | .Ve |
544 | .IP "\fB\-pe\fR \fIstring\fR" 4 |
547 | .IP "\fB\-pe\fR \fIstring\fR" 4 |
545 | .IX Item "-pe string" |
548 | .IX Item "-pe string" |
546 | Colon-separated list of perl extension scripts to use in this terminal |
549 | Comma-separated list of perl extension scripts to use in this terminal |
547 | instance. See resource \fBperl-ext\fR. |
550 | instance. See resource \fBperl-ext\fR. |
548 | .SH "RESOURCES (available also as long\-options)" |
551 | .SH "RESOURCES (available also as long\-options)" |
549 | .IX Header "RESOURCES (available also as long-options)" |
552 | .IX Header "RESOURCES (available also as long-options)" |
550 | Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long |
553 | Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long |
551 | options) compiled into your version. |
554 | options) compiled into your version. |
… | |
… | |
1107 | .IX Item "perl-ext-common: string" |
1110 | .IX Item "perl-ext-common: string" |
1108 | .PD 0 |
1111 | .PD 0 |
1109 | .IP "\fBperl-ext\fR: \fIstring\fR" 4 |
1112 | .IP "\fBperl-ext\fR: \fIstring\fR" 4 |
1110 | .IX Item "perl-ext: string" |
1113 | .IX Item "perl-ext: string" |
1111 | .PD |
1114 | .PD |
1112 | Colon-separated list(s) of perl extension scripts to use in this terminal |
1115 | Comma-separated list(s) of perl extension scripts to use in this terminal |
1113 | instance. Each extension is looked up in the library directories, loaded |
1116 | instance. Each extension is looked up in the library directories, loaded |
1114 | if necessary, and bound to the current terminal instance. If this |
1117 | if necessary, and bound to the current terminal instance. If this |
1115 | resource is empty or missing, then the perl interpreter will not be |
1118 | resource is empty or missing, then the perl interpreter will not be |
1116 | initialized. The idea behind two options is that \fBperl-ext-common\fR will |
1119 | initialized. The idea behind two options is that \fBperl-ext-common\fR will |
1117 | be used for extensions that should be available to all instances, while |
1120 | be used for extensions that should be available to all instances, while |