ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.man.in
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.1.man.in (file contents):
Revision 1.17 by root, Wed Feb 16 22:16:30 2005 UTC vs.
Revision 1.20 by root, Sat Feb 19 01:08:26 2005 UTC

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-16" "5.2" "RXVT-UNICODE" 132.TH rxvt 1 "2005-02-19" "5.2" "RXVT-UNICODE"
133.SH "NAME" 133.SH "NAME"
134rxvt\-unicode (ouR XVT, unicode) \- (a VT102 emulator for the X window system) 134rxvt\-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 ]]
441\&\fBsecondaryScreen\fR. 441\&\fBsecondaryScreen\fR.
442.IP "\fB\-ssr\fR|\fB+ssr\fR" 4 442.IP "\fB\-ssr\fR|\fB+ssr\fR" 4
443.IX Item "-ssr|+ssr" 443.IX Item "-ssr|+ssr"
444Turn on/off secondary screen scroll (default enabled); resource 444Turn on/off secondary screen scroll (default enabled); resource
445\&\fBsecondaryScroll\fR. 445\&\fBsecondaryScroll\fR.
446.IP "\fB\-keysym.\fR\fIsym\fR: \fIstring\fR" 4 446.IP "\fB\-keysym.\fR\fIsym\fR \fIstring\fR" 4
447.IX Item "-keysym.sym: string" 447.IX Item "-keysym.sym string"
448Remap a key symbol. See resource \fBkeysym\fR. 448Remap a key symbol. See resource \fBkeysym\fR.
449.IP "\fB\-embed\fR: \fIwindowid\fR" 4 449.IP "\fB\-embed\fR \fIwindowid\fR" 4
450.IX Item "-embed: windowid" 450.IX Item "-embed windowid"
451Tells @@RXVT_NAME@@ to embed it's windows into an already-existing window, 451Tells @@RXVT_NAME@@ to embed it's windows into an already-existing window,
452which enables applications to easily embed a terminal. 452which enables applications to easily embed a terminal.
453.Sp 453.Sp
454Right now, @@RXVT_NAME@@ will first unmap/map the specified window, so it 454Right now, @@RXVT_NAME@@ will first unmap/map the specified window, so it
455shouldn't be a top-level window. @@RXVT_NAME@@ will also reconfigure it 455shouldn't be a top-level window. @@RXVT_NAME@@ will also reconfigure it
461It might be useful to know that @@RXVT_NAME@@ will not close file 461It might be useful to know that @@RXVT_NAME@@ will not close file
462descriptors passed to it (except for stdin/out/err, of course), so you 462descriptors passed to it (except for stdin/out/err, of course), so you
463can use file descriptors to communicate with the programs within the 463can use file descriptors to communicate with the programs within the
464terminal. This works regardless of wether the \f(CW\*(C`\-embed\*(C'\fR option was used or 464terminal. This works regardless of wether the \f(CW\*(C`\-embed\*(C'\fR option was used or
465not. 465not.
466.Sp
467Here is a short Gtk2\-perl snippet that illustrates how this option can be
468used (a longer example is in \fIdoc/embed\fR):
469.Sp
470.Vb 5
471\& my $rxvt = new Gtk2::Socket;
472\& $rxvt->signal_connect_after (realize => sub {
473\& my $xid = $_[0]->window->get_xid;
474\& system "@@RXVT_NAME@@ -embed $xid &";
475\& });
476.Ve
477.IP "\fB\-pty\-fd\fR \fIfileno\fR" 4
478.IX Item "-pty-fd fileno"
479Tells @@RXVT_NAME@@ \s-1NOT\s0 to execute any commands or create a new pty/tty
480pair but instead use the given filehandle as the tty master. This is
481useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator
482without having to run a program within it.
483.Sp
484If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp
485entries and will not tinker with pty/tty permissions \- you have to do that
486yourself if you want that.
487.Sp
488Here is a example in perl that illustrates how this option can be used (a
489longer example is in \fIdoc/pty\-fd\fR):
490.Sp
491.Vb 2
492\& use IO::Pty;
493\& use Fcntl;
494.Ve
495.Sp
496.Vb 4
497\& my $pty = new IO::Pty;
498\& fcntl $pty, F_SETFD, 0; # clear close-on-exec
499\& system "@@RXVT_NAME@@ -pty-fd " . (fileno $pty) . "&";
500\& close $pty;
501.Ve
502.Sp
503.Vb 3
504\& # now communicate with rxvt
505\& my $slave = $pty->slave;
506\& while (<$slave>) { print $slave "got <$_>\en" }
507.Ve
466.SH "RESOURCES (available also as long\-options)" 508.SH "RESOURCES (available also as long\-options)"
467.IX Header "RESOURCES (available also as long-options)" 509.IX Header "RESOURCES (available also as long-options)"
468Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long 510Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long
469options) compiled into your version. 511options) compiled into your version.
470.PP 512.PP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines