… | |
… | |
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-14" "5.1" "RXVT-UNICODE" |
132 | .TH rxvt 1 "2005-04-17" "5.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 ]] |
… | |
… | |
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" |
444 | Turn on/off secondary screen scroll (default enabled); resource |
444 | Turn 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" |
448 | Remap a key symbol. See resource \fBkeysym\fR. |
448 | Remap 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" |
451 | Tells @@RXVT_NAME@@ to embed it's windows into an already-existing window, |
451 | Tells @@RXVT_NAME@@ to embed it's windows into an already-existing window, |
452 | which enables applications to easily embed a terminal. |
452 | which enables applications to easily embed a terminal. |
453 | .Sp |
453 | .Sp |
454 | Right now, @@RXVT_NAME@@ will first unmap/map the specified window, so it |
454 | Right now, @@RXVT_NAME@@ will first unmap/map the specified window, so it |
455 | shouldn't be a top-level window. @@RXVT_NAME@@ will also reconfigure it |
455 | shouldn't be a top-level window. @@RXVT_NAME@@ will also reconfigure it |
456 | quite a bit, so don't expect it to keep some specific state. It's best to |
456 | quite a bit, so don't expect it to keep some specific state. It's best to |
457 | create an extra subwindow for @@RXVT_NAME@@ and leave it alone. |
457 | create an extra subwindow for @@RXVT_NAME@@ and leave it alone. |
|
|
458 | .Sp |
|
|
459 | The window will not be destroyed when @@RXVT_NAME@@ exits. |
458 | .Sp |
460 | .Sp |
459 | It might be useful to know that @@RXVT_NAME@@ will not close file |
461 | It might be useful to know that @@RXVT_NAME@@ will not close file |
460 | descriptors passed to it (except for stdin/out/err, of course), so you |
462 | descriptors passed to it (except for stdin/out/err, of course), so you |
461 | can use file descriptors to communicate with the programs within the |
463 | can use file descriptors to communicate with the programs within the |
462 | terminal. This works regardless of wether the \f(CW\*(C`\-embed\*(C'\fR option was used or |
464 | terminal. This works regardless of wether the \f(CW\*(C`\-embed\*(C'\fR option was used or |
463 | not. |
465 | not. |
|
|
466 | .Sp |
|
|
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): |
|
|
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" |
|
|
479 | Tells @@RXVT_NAME@@ \s-1NOT\s0 to execute any commands or create a new pty/tty |
|
|
480 | pair but instead use the given filehandle as the tty master. This is |
|
|
481 | useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator |
|
|
482 | without having to run a program within it. |
|
|
483 | .Sp |
|
|
484 | If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp |
|
|
485 | entries and will not tinker with pty/tty permissions \- you have to do that |
|
|
486 | yourself if you want that. |
|
|
487 | .Sp |
|
|
488 | Here is a example in perl that illustrates how this option can be used (a |
|
|
489 | longer 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 |
464 | .SH "RESOURCES (available also as long\-options)" |
508 | .SH "RESOURCES (available also as long\-options)" |
465 | .IX Header "RESOURCES (available also as long-options)" |
509 | .IX Header "RESOURCES (available also as long-options)" |
466 | Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long |
510 | Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long |
467 | options) compiled into your version. |
511 | options) compiled into your version. |
468 | .PP |
512 | .PP |
… | |
… | |
738 | \&\fBFalse\fR: do not scroll to bottom when tty receives output; option |
782 | \&\fBFalse\fR: do not scroll to bottom when tty receives output; option |
739 | \&\fB+si\fR. |
783 | \&\fB+si\fR. |
740 | .IP "\fBscrollWithBuffer:\fR \fIboolean\fR" 4 |
784 | .IP "\fBscrollWithBuffer:\fR \fIboolean\fR" 4 |
741 | .IX Item "scrollWithBuffer: boolean" |
785 | .IX Item "scrollWithBuffer: boolean" |
742 | \&\fBTrue\fR: scroll with scrollback buffer when tty receives new lines (and |
786 | \&\fBTrue\fR: scroll with scrollback buffer when tty receives new lines (and |
743 | \&\fBscrollTtyOutput\fR is False); option \fB+sw\fR. \fBFalse\fR: do not scroll |
787 | \&\fBscrollTtyOutput\fR is False); option \fB\-sw\fR. \fBFalse\fR: do not scroll |
744 | with scrollback buffer when tty recieves new lines; option \fB\-sw\fR. |
788 | with scrollback buffer when tty recieves new lines; option \fB+sw\fR. |
745 | .IP "\fBscrollTtyKeypress:\fR \fIboolean\fR" 4 |
789 | .IP "\fBscrollTtyKeypress:\fR \fIboolean\fR" 4 |
746 | .IX Item "scrollTtyKeypress: boolean" |
790 | .IX Item "scrollTtyKeypress: boolean" |
747 | \&\fBTrue\fR: scroll to bottom when a non-special key is pressed. Special keys |
791 | \&\fBTrue\fR: scroll to bottom when a non-special key is pressed. Special keys |
748 | are those which are intercepted by rxvt-unicode for special handling and |
792 | are those which are intercepted by rxvt-unicode for special handling and |
749 | are not passed onto the shell; option \fB\-sk\fR. \fBFalse\fR: do not scroll to |
793 | are not passed onto the shell; option \fB\-sk\fR. \fBFalse\fR: do not scroll to |
… | |
… | |
799 | .IP "\fBpointerColor2:\fR \fIcolour\fR" 4 |
843 | .IP "\fBpointerColor2:\fR \fIcolour\fR" 4 |
800 | .IX Item "pointerColor2: colour" |
844 | .IX Item "pointerColor2: colour" |
801 | Mouse pointer background colour. |
845 | Mouse pointer background colour. |
802 | .IP "\fBpointerBlankDelay:\fR \fInumber\fR" 4 |
846 | .IP "\fBpointerBlankDelay:\fR \fInumber\fR" 4 |
803 | .IX Item "pointerBlankDelay: number" |
847 | .IX Item "pointerBlankDelay: number" |
804 | Specifies number of seconds before blanking the pointer [default 2]. |
848 | Specifies number of seconds before blanking the pointer [default 2]. Use a |
|
|
849 | large number (e.g. \f(CW987654321\fR) to effectively disable the timeout. |
805 | .IP "\fBbackspacekey:\fR \fIstring\fR" 4 |
850 | .IP "\fBbackspacekey:\fR \fIstring\fR" 4 |
806 | .IX Item "backspacekey: string" |
851 | .IX Item "backspacekey: string" |
807 | The string to send when the backspace key is pressed. If set to \fB\s-1DEC\s0\fR |
852 | The string to send when the backspace key is pressed. If set to \fB\s-1DEC\s0\fR |
808 | or unset it will send \fBDelete\fR (code 127) or, if shifted, \fBBackspace\fR |
853 | or unset it will send \fBDelete\fR (code 127) or, if shifted, \fBBackspace\fR |
809 | (code 8) \- which can be reversed with the appropriate \s-1DEC\s0 private mode |
854 | (code 8) \- which can be reversed with the appropriate \s-1DEC\s0 private mode |