… | |
… | |
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 "2005-02-18" "5.2" "RXVT-UNICODE" |
132 | .TH rxvt 1 "2005-02-19" "5.2" "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 ]] |
… | |
… | |
465 | not. |
465 | not. |
466 | .Sp |
466 | .Sp |
467 | Here is a short Gtk2\-perl snippet that illustrates how this option can be |
467 | Here is a short Gtk2\-perl snippet that illustrates how this option can be |
468 | used (a longer example is in \fIdoc/embed\fR): |
468 | used (a longer example is in \fIdoc/embed\fR): |
469 | .Sp |
469 | .Sp |
470 | .Vb 4 |
470 | .Vb 5 |
471 | \& my $rxvt = new Gtk2::DrawingArea; |
471 | \& my $rxvt = new Gtk2::Socket; |
472 | \& $...->add ($rxvt); # important to add it somewhere first |
472 | \& $rxvt->signal_connect_after (realize => sub { |
473 | \& $rxvt->realize; # now it can be realized |
|
|
474 | \& my $xid = $rxvt->window->get_xid; |
473 | \& my $xid = $_[0]->window->get_xid; |
475 | .Ve |
|
|
476 | .Sp |
|
|
477 | .Vb 1 |
|
|
478 | \& system "@@RXVT_NAME@@ -embed $xid &"; |
474 | \& system "@@RXVT_NAME@@ -embed $xid &"; |
|
|
475 | \& }); |
479 | .Ve |
476 | .Ve |
480 | .IP "\fB\-pty\-fd\fR \fIfileno\fR" 4 |
477 | .IP "\fB\-pty\-fd\fR \fIfileno\fR" 4 |
481 | .IX Item "-pty-fd fileno" |
478 | .IX Item "-pty-fd fileno" |
482 | Tells @@RXVT_NAME@@ \s-1NOT\s0 to execute any commands or create a new pty/tty |
479 | Tells @@RXVT_NAME@@ \s-1NOT\s0 to execute any commands or create a new pty/tty |
483 | pair but instead use the given filehandle as the tty master. This is |
480 | pair but instead use the given filehandle as the tty master. This is |