… | |
… | |
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-06-18" "5.5" "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 ]] |
… | |
… | |
334 | .IP "\fB\-sr\fR|\fB+sr\fR" 4 |
334 | .IP "\fB\-sr\fR|\fB+sr\fR" 4 |
335 | .IX Item "-sr|+sr" |
335 | .IX Item "-sr|+sr" |
336 | Put scrollbar on right/left; resource \fBscrollBar_right\fR. |
336 | Put scrollbar on right/left; resource \fBscrollBar_right\fR. |
337 | .IP "\fB\-st\fR|\fB+st\fR" 4 |
337 | .IP "\fB\-st\fR|\fB+st\fR" 4 |
338 | .IX Item "-st|+st" |
338 | .IX Item "-st|+st" |
339 | Display normal (non XTerm/NeXT) scrollbar without/with a trough; |
339 | Display rxvt (non XTerm/NeXT) scrollbar without/with a trough; |
340 | resource \fBscrollBar_floating\fR. |
340 | resource \fBscrollBar_floating\fR. |
341 | .IP "\fB\-ptab\fR|\fB+ptab\fR" 4 |
341 | .IP "\fB\-ptab\fR|\fB+ptab\fR" 4 |
342 | .IX Item "-ptab|+ptab" |
342 | .IX Item "-ptab|+ptab" |
343 | If enabled (default), \*(L"Horizontal Tab\*(R" characters are being stored as |
343 | If enabled (default), \*(L"Horizontal Tab\*(R" characters are being stored as |
344 | actual wide characters in the screen buffer, which makes it possible to |
344 | actual wide characters in the screen buffer, which makes it possible to |
… | |
… | |
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 |
… | |
… | |
629 | .IX Item "scrollColor: colour" |
626 | .IX Item "scrollColor: colour" |
630 | Use the specified colour for the scrollbar [default #B2B2B2]. |
627 | Use the specified colour for the scrollbar [default #B2B2B2]. |
631 | .IP "\fBtroughColor:\fR \fIcolour\fR" 4 |
628 | .IP "\fBtroughColor:\fR \fIcolour\fR" 4 |
632 | .IX Item "troughColor: colour" |
629 | .IX Item "troughColor: colour" |
633 | Use the specified colour for the scrollbar's trough area [default |
630 | Use the specified colour for the scrollbar's trough area [default |
634 | #969696]. Only relevant for normal (non XTerm/NeXT) scrollbar. |
631 | #969696]. Only relevant for rxvt (non XTerm/NeXT) scrollbar. |
635 | .IP "\fBborderColor:\fR \fIcolour\fR" 4 |
632 | .IP "\fBborderColor:\fR \fIcolour\fR" 4 |
636 | .IX Item "borderColor: colour" |
633 | .IX Item "borderColor: colour" |
637 | The colour of the border around the text area and between the scrollbar |
634 | The colour of the border around the text area and between the scrollbar |
638 | and the text. |
635 | and the text. |
639 | .IP "\fBbackgroundPixmap:\fR \fIfile[;geom]\fR" 4 |
636 | .IP "\fBbackgroundPixmap:\fR \fIfile[;geom]\fR" 4 |
… | |
… | |
727 | xterm style with 2.20 old word selection, or anything else which gives |
724 | xterm style with 2.20 old word selection, or anything else which gives |
728 | xterm style selection. |
725 | xterm style selection. |
729 | .IP "\fBscrollstyle:\fR \fImode\fR" 4 |
726 | .IP "\fBscrollstyle:\fR \fImode\fR" 4 |
730 | .IX Item "scrollstyle: mode" |
727 | .IX Item "scrollstyle: mode" |
731 | Set scrollbar style to \fBrxvt\fR, \fBplain\fR, \fBnext\fR or \fBxterm\fR. \fBplain\fR is |
728 | Set scrollbar style to \fBrxvt\fR, \fBplain\fR, \fBnext\fR or \fBxterm\fR. \fBplain\fR is |
732 | the author's favourite.. |
729 | the author's favourite. |
733 | .IP "\fBtitle:\fR \fIstring\fR" 4 |
730 | .IP "\fBtitle:\fR \fIstring\fR" 4 |
734 | .IX Item "title: string" |
731 | .IX Item "title: string" |
735 | Set window title string, the default title is the command-line |
732 | Set window title string, the default title is the command-line |
736 | specified after the \fB\-e\fR option, if any, otherwise the application |
733 | specified after the \fB\-e\fR option, if any, otherwise the application |
737 | name; option \fB\-title\fR. |
734 | name; option \fB\-title\fR. |
… | |
… | |
846 | .IP "\fBpointerColor2:\fR \fIcolour\fR" 4 |
843 | .IP "\fBpointerColor2:\fR \fIcolour\fR" 4 |
847 | .IX Item "pointerColor2: colour" |
844 | .IX Item "pointerColor2: colour" |
848 | Mouse pointer background colour. |
845 | Mouse pointer background colour. |
849 | .IP "\fBpointerBlankDelay:\fR \fInumber\fR" 4 |
846 | .IP "\fBpointerBlankDelay:\fR \fInumber\fR" 4 |
850 | .IX Item "pointerBlankDelay: number" |
847 | .IX Item "pointerBlankDelay: number" |
851 | 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. |
852 | .IP "\fBbackspacekey:\fR \fIstring\fR" 4 |
850 | .IP "\fBbackspacekey:\fR \fIstring\fR" 4 |
853 | .IX Item "backspacekey: string" |
851 | .IX Item "backspacekey: string" |
854 | 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 |
855 | 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 |
856 | (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 |
… | |
… | |
980 | .Sp |
978 | .Sp |
981 | .Vb 1 |
979 | .Vb 1 |
982 | \& URxvt.keysym.M-C-c: command:\e033]701;zh_CN.GBK\e007 |
980 | \& URxvt.keysym.M-C-c: command:\e033]701;zh_CN.GBK\e007 |
983 | .Ve |
981 | .Ve |
984 | .Sp |
982 | .Sp |
|
|
983 | Due the the large number of modifier combinations, a defined key mapping |
|
|
984 | will match if at \fIat least\fR the specified identifiers are being set, and |
|
|
985 | no other key mappings with those and more bits are being defined. That |
|
|
986 | means that defining a key map for \f(CW\*(C`a\*(C'\fR will automatically provide |
|
|
987 | definitions for \f(CW\*(C`Meta\-a\*(C'\fR, \f(CW\*(C`Shift\-a\*(C'\fR and so on, unless some of those are defined |
|
|
988 | mappings themselves. |
|
|
989 | .Sp |
|
|
990 | Unfortunately, this will override built-in key mappings. For example |
|
|
991 | if you overwrite the \f(CW\*(C`Insert\*(C'\fR key you will disable @@RXVT_NAME@@'s |
|
|
992 | \&\f(CW\*(C`Shift\-Insert\*(C'\fR mapping. To re-enable that, you can poke \*(L"holes\*(R" into the |
|
|
993 | user-defined keymap using the \f(CW\*(C`builtin:\*(C'\fR replacement: |
|
|
994 | .Sp |
|
|
995 | .Vb 2 |
|
|
996 | \& URxvt.keysym.Insert: <my insert key sequence> |
|
|
997 | \& URxvt.keysym.S-Insert: builtin: |
|
|
998 | .Ve |
|
|
999 | .Sp |
|
|
1000 | The first line defines a mapping for \f(CW\*(C`Insert\*(C'\fR and \fIany\fR combination |
|
|
1001 | of modifiers. The second line re-establishes the default mapping for |
|
|
1002 | \&\f(CW\*(C`Shift\-Insert\*(C'\fR. |
|
|
1003 | .Sp |
985 | The following example will map Control\-Meta\-1 and Control\-Meta\-2 to |
1004 | The following example will map Control\-Meta\-1 and Control\-Meta\-2 to |
986 | the fonts \f(CW\*(C`suxuseuro\*(C'\fR and \f(CW\*(C`9x15bold\*(C'\fR, so you can have some limited |
1005 | the fonts \f(CW\*(C`suxuseuro\*(C'\fR and \f(CW\*(C`9x15bold\*(C'\fR, so you can have some limited |
987 | font-switching at runtime: |
1006 | font-switching at runtime: |
988 | .Sp |
1007 | .Sp |
989 | .Vb 2 |
1008 | .Vb 2 |