… | |
… | |
36 | . ds PI pi |
36 | . ds PI pi |
37 | . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch |
37 | . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch |
38 | . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch |
38 | . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch |
39 | . ds L" "" |
39 | . ds L" "" |
40 | . ds R" "" |
40 | . ds R" "" |
41 | . ds C` |
41 | . ds C` "" |
42 | . ds C' |
42 | . ds C' "" |
43 | 'br\} |
43 | 'br\} |
44 | .el\{\ |
44 | .el\{\ |
45 | . ds -- \|\(em\| |
45 | . ds -- \|\(em\| |
46 | . ds PI \(*p |
46 | . ds PI \(*p |
47 | . ds L" `` |
47 | . ds L" `` |
… | |
… | |
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-03" "4.9" "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 ]] |
… | |
… | |
142 | require features such as Tektronix 4014 emulation and toolkit-style |
142 | require features such as Tektronix 4014 emulation and toolkit-style |
143 | configurability. As a result, \fBrxvt-unicode\fR uses much less swap space \*(-- |
143 | configurability. As a result, \fBrxvt-unicode\fR uses much less swap space \*(-- |
144 | a significant advantage on a machine serving many X sessions. |
144 | a significant advantage on a machine serving many X sessions. |
145 | .SH "FREQUENTLY ASKED QUESTIONS" |
145 | .SH "FREQUENTLY ASKED QUESTIONS" |
146 | .IX Header "FREQUENTLY ASKED QUESTIONS" |
146 | .IX Header "FREQUENTLY ASKED QUESTIONS" |
147 | See @@RXVT_NAME@@(7) (try \f(CW\*(C`man 7 @@RXVT_NAME@@\*(C'\fR) for a list of frequently |
147 | See @@RXVT_NAME@@(7) (try \f(CW\*(C`man 7 @@RXVT_NAME@@\*(C'\fR) for a list of |
148 | asked questions and answer to them and some common problems. |
148 | frequently asked questions and answer to them and some common |
|
|
149 | problems. That document is also accessible on the World-Wide-Web at |
|
|
150 | <http://cvs.schmorp.de/browse/*checkout*/rxvt\-unicode/doc/rxvt.7.html>. |
149 | .SH "RXVT-UNICODE VS. RXVT" |
151 | .SH "RXVT-UNICODE VS. RXVT" |
150 | .IX Header "RXVT-UNICODE VS. RXVT" |
152 | .IX Header "RXVT-UNICODE VS. RXVT" |
151 | Unlike the original rxvt, \fBrxvt-unicode\fR stores all text in Unicode |
153 | Unlike the original rxvt, \fBrxvt-unicode\fR stores all text in Unicode |
152 | internally. That means it can store and display most scripts in the |
154 | internally. That means it can store and display most scripts in the |
153 | world. Being a terminal emulator, however, some things are very difficult, |
155 | world. Being a terminal emulator, however, some things are very difficult, |
… | |
… | |
332 | .IP "\fB\-sr\fR|\fB+sr\fR" 4 |
334 | .IP "\fB\-sr\fR|\fB+sr\fR" 4 |
333 | .IX Item "-sr|+sr" |
335 | .IX Item "-sr|+sr" |
334 | Put scrollbar on right/left; resource \fBscrollBar_right\fR. |
336 | Put scrollbar on right/left; resource \fBscrollBar_right\fR. |
335 | .IP "\fB\-st\fR|\fB+st\fR" 4 |
337 | .IP "\fB\-st\fR|\fB+st\fR" 4 |
336 | .IX Item "-st|+st" |
338 | .IX Item "-st|+st" |
337 | Display normal (non XTerm/NeXT) scrollbar without/with a trough; |
339 | Display rxvt (non XTerm/NeXT) scrollbar without/with a trough; |
338 | resource \fBscrollBar_floating\fR. |
340 | resource \fBscrollBar_floating\fR. |
339 | .IP "\fB\-ptab\fR|\fB+ptab\fR" 4 |
341 | .IP "\fB\-ptab\fR|\fB+ptab\fR" 4 |
340 | .IX Item "-ptab|+ptab" |
342 | .IX Item "-ptab|+ptab" |
341 | 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 |
342 | 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 |
… | |
… | |
439 | \&\fBsecondaryScreen\fR. |
441 | \&\fBsecondaryScreen\fR. |
440 | .IP "\fB\-ssr\fR|\fB+ssr\fR" 4 |
442 | .IP "\fB\-ssr\fR|\fB+ssr\fR" 4 |
441 | .IX Item "-ssr|+ssr" |
443 | .IX Item "-ssr|+ssr" |
442 | Turn on/off secondary screen scroll (default enabled); resource |
444 | Turn on/off secondary screen scroll (default enabled); resource |
443 | \&\fBsecondaryScroll\fR. |
445 | \&\fBsecondaryScroll\fR. |
444 | .IP "\fB\-xrm\fR \fIresourcestring\fR" 4 |
446 | .IP "\fB\-keysym.\fR\fIsym\fR \fIstring\fR" 4 |
445 | .IX Item "-xrm resourcestring" |
447 | .IX Item "-keysym.sym string" |
446 | No effect on rxvt\-unicode. Simply passes through an argument to be made |
448 | Remap a key symbol. See resource \fBkeysym\fR. |
447 | available in the instance's argument list. Appears in \fI\s-1WM_COMMAND\s0\fR in |
449 | .IP "\fB\-embed\fR \fIwindowid\fR" 4 |
448 | some window managers. |
450 | .IX Item "-embed windowid" |
|
|
451 | Tells @@RXVT_NAME@@ to embed it's windows into an already-existing window, |
|
|
452 | which enables applications to easily embed a terminal. |
|
|
453 | .Sp |
|
|
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 |
|
|
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. |
|
|
458 | .Sp |
|
|
459 | The window will not be destroyed when @@RXVT_NAME@@ exits. |
|
|
460 | .Sp |
|
|
461 | It might be useful to know that @@RXVT_NAME@@ will not close file |
|
|
462 | descriptors passed to it (except for stdin/out/err, of course), so you |
|
|
463 | can use file descriptors to communicate with the programs within the |
|
|
464 | terminal. This works regardless of wether the \f(CW\*(C`\-embed\*(C'\fR option was used or |
|
|
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 |
449 | .SH "RESOURCES (available also as long\-options)" |
508 | .SH "RESOURCES (available also as long\-options)" |
450 | .IX Header "RESOURCES (available also as long-options)" |
509 | .IX Header "RESOURCES (available also as long-options)" |
451 | Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long |
510 | Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long |
452 | options) compiled into your version. |
511 | options) compiled into your version. |
453 | .PP |
512 | .PP |
454 | There are two different methods that @@RXVT_NAME@@ can use to get the |
513 | There are two different methods that @@RXVT_NAME@@ can use to get the |
455 | Xresource data: using the X libraries (Xrm*\-functions) or internal |
514 | Xresource data: using the X libraries (Xrm*\-functions) or internal |
456 | Xresources reader (\fB~/.Xdefaults\fR). For the first method (ie. |
515 | Xresources reader (\fB~/.Xdefaults\fR). For the first method (ie. |
457 | \&\fB@@RXVT_NAME@@ \-h\fR lists \fBXGetDefaults\fR), you can set and change the |
516 | \&\fB@@RXVT_NAME@@ \-h\fR lists \fBXGetDefaults\fR), you can set and change the |
458 | resources using X11 tools like \fBxset\fR. Many distribution do also load |
517 | resources using X11 tools like \fBxrdb\fR. Many distribution do also load |
459 | settings from the \fB~/.Xresources\fR file when X starts. |
518 | settings from the \fB~/.Xresources\fR file when X starts. @@RXVT_NAME@@ |
|
|
519 | will consult the following files/resources in order, with later settings |
|
|
520 | overwriting earlier ones: |
|
|
521 | .PP |
|
|
522 | .Vb 5 |
|
|
523 | \& 1. system-wide app-defaults file, either locale-dependent OR global |
|
|
524 | \& 2. app-defaults file in $XAPPLRESDIR |
|
|
525 | \& 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
|
|
526 | \& 4. SCREEN_RESOURCES for the current screen |
|
|
527 | \& 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
|
|
528 | .Ve |
460 | .PP |
529 | .PP |
461 | If compiled with internal Xresources support (i.e. \fB@@RXVT_NAME@@ \-h\fR |
530 | If compiled with internal Xresources support (i.e. \fB@@RXVT_NAME@@ \-h\fR |
462 | lists \fB.Xdefaults\fR) then \fB@@RXVT_NAME@@\fR accepts application defaults |
531 | lists \fB.Xdefaults\fR) then \fB@@RXVT_NAME@@\fR accepts application defaults |
463 | set in XAPPLOADDIR/URxvt (compile\-time defined: usually |
532 | set in XAPPLOADDIR/URxvt (compile\-time defined: usually |
464 | \&\fB/usr/lib/X11/app\-defaults/URxvt\fR) and resources set in |
533 | \&\fB/usr/lib/X11/app\-defaults/URxvt\fR) and resources set in |
… | |
… | |
557 | .IX Item "scrollColor: colour" |
626 | .IX Item "scrollColor: colour" |
558 | Use the specified colour for the scrollbar [default #B2B2B2]. |
627 | Use the specified colour for the scrollbar [default #B2B2B2]. |
559 | .IP "\fBtroughColor:\fR \fIcolour\fR" 4 |
628 | .IP "\fBtroughColor:\fR \fIcolour\fR" 4 |
560 | .IX Item "troughColor: colour" |
629 | .IX Item "troughColor: colour" |
561 | Use the specified colour for the scrollbar's trough area [default |
630 | Use the specified colour for the scrollbar's trough area [default |
562 | #969696]. Only relevant for normal (non XTerm/NeXT) scrollbar. |
631 | #969696]. Only relevant for rxvt (non XTerm/NeXT) scrollbar. |
563 | .IP "\fBborderColor:\fR \fIcolour\fR" 4 |
632 | .IP "\fBborderColor:\fR \fIcolour\fR" 4 |
564 | .IX Item "borderColor: colour" |
633 | .IX Item "borderColor: colour" |
565 | 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 |
566 | and the text. |
635 | and the text. |
567 | .IP "\fBbackgroundPixmap:\fR \fIfile[;geom]\fR" 4 |
636 | .IP "\fBbackgroundPixmap:\fR \fIfile[;geom]\fR" 4 |
… | |
… | |
655 | 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 |
656 | xterm style selection. |
725 | xterm style selection. |
657 | .IP "\fBscrollstyle:\fR \fImode\fR" 4 |
726 | .IP "\fBscrollstyle:\fR \fImode\fR" 4 |
658 | .IX Item "scrollstyle: mode" |
727 | .IX Item "scrollstyle: mode" |
659 | 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 |
660 | the author's favourite.. |
729 | the author's favourite. |
661 | .IP "\fBtitle:\fR \fIstring\fR" 4 |
730 | .IP "\fBtitle:\fR \fIstring\fR" 4 |
662 | .IX Item "title: string" |
731 | .IX Item "title: string" |
663 | Set window title string, the default title is the command-line |
732 | Set window title string, the default title is the command-line |
664 | 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 |
665 | name; option \fB\-title\fR. |
734 | name; option \fB\-title\fR. |
… | |
… | |
713 | \&\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 |
714 | \&\fB+si\fR. |
783 | \&\fB+si\fR. |
715 | .IP "\fBscrollWithBuffer:\fR \fIboolean\fR" 4 |
784 | .IP "\fBscrollWithBuffer:\fR \fIboolean\fR" 4 |
716 | .IX Item "scrollWithBuffer: boolean" |
785 | .IX Item "scrollWithBuffer: boolean" |
717 | \&\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 |
718 | \&\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 |
719 | 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. |
720 | .IP "\fBscrollTtyKeypress:\fR \fIboolean\fR" 4 |
789 | .IP "\fBscrollTtyKeypress:\fR \fIboolean\fR" 4 |
721 | .IX Item "scrollTtyKeypress: boolean" |
790 | .IX Item "scrollTtyKeypress: boolean" |
722 | \&\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 |
723 | 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 |
724 | 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 |
… | |
… | |
774 | .IP "\fBpointerColor2:\fR \fIcolour\fR" 4 |
843 | .IP "\fBpointerColor2:\fR \fIcolour\fR" 4 |
775 | .IX Item "pointerColor2: colour" |
844 | .IX Item "pointerColor2: colour" |
776 | Mouse pointer background colour. |
845 | Mouse pointer background colour. |
777 | .IP "\fBpointerBlankDelay:\fR \fInumber\fR" 4 |
846 | .IP "\fBpointerBlankDelay:\fR \fInumber\fR" 4 |
778 | .IX Item "pointerBlankDelay: number" |
847 | .IX Item "pointerBlankDelay: number" |
779 | 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. |
780 | .IP "\fBbackspacekey:\fR \fIstring\fR" 4 |
850 | .IP "\fBbackspacekey:\fR \fIstring\fR" 4 |
781 | .IX Item "backspacekey: string" |
851 | .IX Item "backspacekey: string" |
782 | 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 |
783 | 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 |
784 | (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 |
… | |
… | |
876 | \&\f(CW\*(C`\ee\*(C'\fR, \f(CW\*(C`\eE\*(C'\fR: escape, \f(CW\*(C`\en\*(C'\fR: newline, \f(CW\*(C`\er\*(C'\fR: carriage return, \f(CW\*(C`\et\*(C'\fR: tab, |
946 | \&\f(CW\*(C`\ee\*(C'\fR, \f(CW\*(C`\eE\*(C'\fR: escape, \f(CW\*(C`\en\*(C'\fR: newline, \f(CW\*(C`\er\*(C'\fR: carriage return, \f(CW\*(C`\et\*(C'\fR: tab, |
877 | \&\f(CW\*(C`\e000\*(C'\fR: octal number) or verbatim control characters (\f(CW\*(C`^?\*(C'\fR: delete, |
947 | \&\f(CW\*(C`\e000\*(C'\fR: octal number) or verbatim control characters (\f(CW\*(C`^?\*(C'\fR: delete, |
878 | \&\f(CW\*(C`^@\*(C'\fR: null, \f(CW\*(C`^A\*(C'\fR ...) and may be enclosed with double quotes so that it |
948 | \&\f(CW\*(C`^@\*(C'\fR: null, \f(CW\*(C`^A\*(C'\fR ...) and may be enclosed with double quotes so that it |
879 | can start or end with whitespace. |
949 | can start or end with whitespace. |
880 | .Sp |
950 | .Sp |
|
|
951 | Please note that you need to double the \f(CW\*(C`\e\*(C'\fR when using |
|
|
952 | \&\f(CW\*(C`\-\-enable\-xgetdefault\*(C'\fR, as X itself does it's own de-escaping (you can |
|
|
953 | use \f(CW\*(C`\e033\*(C'\fR instead of \f(CW\*(C`\ee\*(C'\fR (and so on), which will work with both Xt and |
|
|
954 | @@RXVT_NAME@@'s own processing). |
|
|
955 | .Sp |
881 | You can define a range of keysyms in one shot by providing a \fIstring\fR |
956 | You can define a range of keysyms in one shot by providing a \fIstring\fR |
882 | with pattern \fBlist/PREFIX/MIDDLE/SUFFIX\fR, where the delimeter `/' |
957 | with pattern \fBlist/PREFIX/MIDDLE/SUFFIX\fR, where the delimeter `/' |
883 | should be a character not used by the strings. |
958 | should be a character not used by the strings. |
884 | .Sp |
959 | .Sp |
885 | Its usage can be demonstrated by an example: |
960 | Its usage can be demonstrated by an example: |
886 | .Sp |
961 | .Sp |
887 | .Vb 1 |
962 | .Vb 1 |
888 | \& URxvt.keysym.M-C-0x61: list|\ee<M-C-|abc|> |
963 | \& URxvt.keysym.M-C-0x61: list|\e033<M-C-|abc|> |
889 | .Ve |
964 | .Ve |
890 | .Sp |
965 | .Sp |
891 | The above line is equivalent to the following three lines: |
966 | The above line is equivalent to the following three lines: |
892 | .Sp |
967 | .Sp |
893 | .Vb 3 |
968 | .Vb 3 |
894 | \& URxvt.keysym.Meta-Control-0x61: \ee<M-C-a> |
969 | \& URxvt.keysym.Meta-Control-0x61: \e033<M-C-a> |
895 | \& URxvt.keysym.Meta-Control-0x62: \ee<M-C-b> |
970 | \& URxvt.keysym.Meta-Control-0x62: \e033<M-C-b> |
896 | \& URxvt.keysym.Meta-Control-0x63: \ee<M-C-c> |
971 | \& URxvt.keysym.Meta-Control-0x63: \e033<M-C-c> |
897 | .Ve |
972 | .Ve |
898 | .Sp |
973 | .Sp |
899 | If \fIstring\fR takes the form of \f(CW\*(C`proto:STRING\*(C'\fR, the specified \fB\s-1STRING\s0\fR |
974 | If \fIstring\fR takes the form of \f(CW\*(C`command:STRING\*(C'\fR, the specified \fB\s-1STRING\s0\fR |
900 | is interpreted and executed as @@RXVT_NAME@@'s control sequence. For |
975 | is interpreted and executed as @@RXVT_NAME@@'s control sequence. For |
901 | example the following means "change the current locale to \f(CW\*(C`zh_CN.GBK\*(C'\fR |
976 | example the following means "change the current locale to \f(CW\*(C`zh_CN.GBK\*(C'\fR |
902 | when Control-Meta-c is being pressed": |
977 | when Control-Meta-c is being pressed": |
903 | .Sp |
978 | .Sp |
904 | .Vb 1 |
979 | .Vb 1 |
905 | \& URxvt.keysym.M-C-c: proto:\e033]701;zh_CN.GBK\e007 |
980 | \& URxvt.keysym.M-C-c: command:\e033]701;zh_CN.GBK\e007 |
906 | .Ve |
981 | .Ve |
|
|
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. |
907 | .Sp |
1003 | .Sp |
908 | 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 |
909 | the fonts \f(CW\*(C`suxuseuro\*(C'\fR and \f(CW\*(C`9x15bold\*(C'\fR, so you cna 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 |
910 | font-switching at runtime: |
1006 | font-switching at runtime: |
911 | .Sp |
1007 | .Sp |
912 | .Vb 2 |
1008 | .Vb 2 |
913 | \& URxvt.keysym.M-C-1: proto:\e033]50;suxuseuro\e007 |
1009 | \& URxvt.keysym.M-C-1: command:\e033]50;suxuseuro\e007 |
914 | \& URxvt.keysym.M-C-2: proto:\e033]50;9x15bold\e007 |
1010 | \& URxvt.keysym.M-C-2: command:\e033]50;9x15bold\e007 |
915 | .Ve |
1011 | .Ve |
916 | .Sp |
1012 | .Sp |
917 | \&\f(CW\*(C`proto:\e033]701;zh_CN.GBK\e007\*(C'\fR means: change the current locale to |
1013 | Other things are possible, e.g. resizing (see @@RXVT_NAME@@(7) for more |
918 | \&\f(CW\*(C`zh_CN.GBK\*(C'\fR. |
1014 | info): |
|
|
1015 | .Sp |
|
|
1016 | .Vb 2 |
|
|
1017 | \& URxvt.keysym.M-C-3: command:\e033[8;25;80t |
|
|
1018 | \& URxvt.keysym.M-C-4: command:\e033[8;48;110t |
|
|
1019 | .Ve |
919 | .SH "THE SCROLLBAR" |
1020 | .SH "THE SCROLLBAR" |
920 | .IX Header "THE SCROLLBAR" |
1021 | .IX Header "THE SCROLLBAR" |
921 | Lines of text that scroll off the top of the \fB@@RXVT_NAME@@\fR window |
1022 | Lines of text that scroll off the top of the \fB@@RXVT_NAME@@\fR window |
922 | (resource: \fBsaveLines\fR) and can be scrolled back using the scrollbar |
1023 | (resource: \fBsaveLines\fR) and can be scrolled back using the scrollbar |
923 | or by keystrokes. The normal \fB@@RXVT_NAME@@\fR scrollbar has arrows and |
1024 | or by keystrokes. The normal \fB@@RXVT_NAME@@\fR scrollbar has arrows and |
… | |
… | |
933 | the normal text selection/insertion, hold either the Shift or the Meta |
1034 | the normal text selection/insertion, hold either the Shift or the Meta |
934 | (Alt) key while performing the desired mouse action. |
1035 | (Alt) key while performing the desired mouse action. |
935 | .PP |
1036 | .PP |
936 | If mouse reporting mode is active, the normal scrollbar actions are |
1037 | If mouse reporting mode is active, the normal scrollbar actions are |
937 | disabled \*(-- on the assumption that we are using a fullscreen |
1038 | disabled \*(-- on the assumption that we are using a fullscreen |
938 | application. Instead, pressing Button1 and Button3 sends \fBESC[6~\fR |
1039 | application. Instead, pressing Button1 and Button3 sends \fB\s-1ESC\s0 [ 6 ~\fR |
939 | (Next) and \fBESC[5~\fR (Prior), respectively. Similarly, clicking on the |
1040 | (Next) and \fB\s-1ESC\s0 [ 5 ~\fR (Prior), respectively. Similarly, clicking on the |
940 | up and down arrows sends \fBESC[A\fR (Up) and \fBESC[B\fR (Down), |
1041 | up and down arrows sends \fB\s-1ESC\s0 [ A\fR (Up) and \fB\s-1ESC\s0 [ B\fR (Down), |
941 | respectively. |
1042 | respectively. |
942 | .SH "TEXT SELECTION AND INSERTION" |
1043 | .SH "TEXT SELECTION AND INSERTION" |
943 | .IX Header "TEXT SELECTION AND INSERTION" |
1044 | .IX Header "TEXT SELECTION AND INSERTION" |
944 | The behaviour of text selection and insertion mechanism is similar to |
1045 | The behaviour of text selection and insertion mechanism is similar to |
945 | \&\fIxterm\fR(1). |
1046 | \&\fIxterm\fR(1). |
… | |
… | |
1076 | .IX Item "@@RXVT_NAME@@ -fg Black -bg White -rv" |
1177 | .IX Item "@@RXVT_NAME@@ -fg Black -bg White -rv" |
1077 | would yield White on Black, while on \fIxterm\fR(1) it would yield Black |
1178 | would yield White on Black, while on \fIxterm\fR(1) it would yield Black |
1078 | on White. |
1179 | on White. |
1079 | .SH "ENVIRONMENT" |
1180 | .SH "ENVIRONMENT" |
1080 | .IX Header "ENVIRONMENT" |
1181 | .IX Header "ENVIRONMENT" |
1081 | \&\fB@@RXVT_NAME@@\fR sets the environment variables \fB\s-1TERM\s0\fR, \fB\s-1COLORTERM\s0\fR |
1182 | \&\fB@@RXVT_NAME@@\fR sets and/or uses the following environment variables: |
1082 | and \fB\s-1COLORFGBG\s0\fR. The environment variable \fB\s-1WINDOWID\s0\fR is set to the X |
1183 | .IP "\fB\s-1TERM\s0\fR" 4 |
1083 | window id number of the \fB@@RXVT_NAME@@\fR window and it also uses and |
1184 | .IX Item "TERM" |
1084 | sets the environment variable \fB\s-1DISPLAY\s0\fR to specify which display |
1185 | Normally set to \f(CW\*(C`rxvt\-unicode\*(C'\fR, unless overwritten at configure time, via |
1085 | terminal to use. \fB@@RXVT_NAME@@\fR uses the environment variables |
1186 | resources or on the commandline. |
1086 | \&\fB\s-1RXVTPATH\s0\fR and \fB\s-1PATH\s0\fR to find \s-1XPM\s0 files. |
1187 | .IP "\fB\s-1COLORTERM\s0\fR" 4 |
|
|
1188 | .IX Item "COLORTERM" |
|
|
1189 | Either \f(CW\*(C`rxvt\*(C'\fR, \f(CW\*(C`rxvt\-xpm\*(C'\fR, depending on wether @@RXVT_NAME@@ was |
|
|
1190 | compiled with \s-1XPM\s0 support, and optionally with the added extension |
|
|
1191 | \&\f(CW\*(C`\-mono\*(C'\fR to indicate that rxvt-unicode runs on a monochrome screen. |
|
|
1192 | .IP "\fB\s-1COLORFGBG\s0\fR" 4 |
|
|
1193 | .IX Item "COLORFGBG" |
|
|
1194 | Set to a string of the form \f(CW\*(C`fg;bg\*(C'\fR or \f(CW\*(C`fg;xpm;bg\*(C'\fR, where \f(CW\*(C`fg\*(C'\fR is |
|
|
1195 | the colour code used as default foreground/text colour (or the string |
|
|
1196 | \&\f(CW\*(C`default\*(C'\fR to indicate that the default-colour escape sequence is to be |
|
|
1197 | used), \f(CW\*(C`bg\*(C'\fR is the colour code used as default background colour (or the |
|
|
1198 | string \f(CW\*(C`default\*(C'\fR), and \f(CW\*(C`xpm\*(C'\fR is the string \f(CW\*(C`default\*(C'\fR if @@RXVT_NAME@@ |
|
|
1199 | was compiled with \s-1XPM\s0 support. Libraries like \f(CW\*(C`ncurses\*(C'\fR and \f(CW\*(C`slang\*(C'\fR can |
|
|
1200 | (and do) use this information to optimize screen output. |
|
|
1201 | .IP "\fB\s-1WINDOWID\s0\fR" 4 |
|
|
1202 | .IX Item "WINDOWID" |
|
|
1203 | Set to the (decimal) X Window \s-1ID\s0 of the @@RXVT_NAME@@ window (the toplevel |
|
|
1204 | window, which usually has subwindows for the scrollbar, the terminal |
|
|
1205 | window and so on). |
|
|
1206 | .IP "\fB\s-1TERMINFO\s0\fR" 4 |
|
|
1207 | .IX Item "TERMINFO" |
|
|
1208 | Set to the terminfo directory iff @@RXVT_NAME@@ was configured with |
|
|
1209 | \&\f(CW\*(C`\-\-with\-terminfo=PATH\*(C'\fR. |
|
|
1210 | .IP "\fB\s-1DISPLAY\s0\fR" 4 |
|
|
1211 | .IX Item "DISPLAY" |
|
|
1212 | Used by @@RXVT_NAME@@ to connect to the display and set to the correct |
|
|
1213 | display in it's child processes. |
|
|
1214 | .IP "\fB\s-1SHELL\s0\fR" 4 |
|
|
1215 | .IX Item "SHELL" |
|
|
1216 | The shell to be used for command execution, defaults to \f(CW\*(C`/bin/sh\*(C'\fR. |
|
|
1217 | .IP "\fB\s-1RXVTPATH\s0\fR" 4 |
|
|
1218 | .IX Item "RXVTPATH" |
|
|
1219 | The path where @@RXVT_NAME@@ looks for support files such as menu and xpm |
|
|
1220 | files. |
|
|
1221 | .IP "\fB\s-1PATH\s0\fR" 4 |
|
|
1222 | .IX Item "PATH" |
|
|
1223 | Used in the same way as \f(CW\*(C`RXVTPATH\*(C'\fR. |
|
|
1224 | .IP "\fB\s-1RXVT_SOCKET\s0\fR" 4 |
|
|
1225 | .IX Item "RXVT_SOCKET" |
|
|
1226 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
|
|
1227 | @@RXVT_NAME@@d(1). |
|
|
1228 | .Sp |
|
|
1229 | Default \f(CW\*(C`$HOME/.rxvt\-unicode\-<nodename\*(C'\fR. |
|
|
1230 | .IP "\fB\s-1HOME\s0\fR" 4 |
|
|
1231 | .IX Item "HOME" |
|
|
1232 | Used to locate the default directory for the unix domain socket for |
|
|
1233 | daemon communications and to locate various resource files (such as |
|
|
1234 | \&\f(CW\*(C`.Xdefaults\*(C'\fR) |
|
|
1235 | .IP "\fB\s-1XAPPLRESDIR\s0\fR" 4 |
|
|
1236 | .IX Item "XAPPLRESDIR" |
|
|
1237 | Directory where various X resource files are being located. |
|
|
1238 | .IP "\fB\s-1XENVIRONMENT\s0\fR" 4 |
|
|
1239 | .IX Item "XENVIRONMENT" |
|
|
1240 | If set and accessible, gives the name of a X resource file to be loaded by |
|
|
1241 | @@RXVT_NAME@@. |
1087 | .SH "FILES" |
1242 | .SH "FILES" |
1088 | .IX Header "FILES" |
1243 | .IX Header "FILES" |
1089 | .IP "\fB/usr/lib/X11/rgb.txt\fR" 4 |
1244 | .IP "\fB/usr/lib/X11/rgb.txt\fR" 4 |
1090 | .IX Item "/usr/lib/X11/rgb.txt" |
1245 | .IX Item "/usr/lib/X11/rgb.txt" |
1091 | Color names. |
1246 | Color names. |
… | |
… | |
1101 | Click-and-drag doesn't work with X11 mouse report overriding. |
1256 | Click-and-drag doesn't work with X11 mouse report overriding. |
1102 | .SH "CURRENT PROJECT COORDINATOR" |
1257 | .SH "CURRENT PROJECT COORDINATOR" |
1103 | .IX Header "CURRENT PROJECT COORDINATOR" |
1258 | .IX Header "CURRENT PROJECT COORDINATOR" |
1104 | .IP "Project Coordinator" 4 |
1259 | .IP "Project Coordinator" 4 |
1105 | .IX Item "Project Coordinator" |
1260 | .IX Item "Project Coordinator" |
1106 | @@RXVT_MAINT@@ @@RXVT_MAINTEMAIL@@ |
1261 | Marc A. Lehmann <rxvt\-unicode@schmorp.de> |
1107 | .IP "Web page maintainter" 4 |
|
|
1108 | .IX Item "Web page maintainter" |
|
|
1109 | @@RXVT_WEBMAINT@@ @@RXVT_WEBMAINTEMAIL@@ |
|
|
1110 | .Sp |
1262 | .Sp |
1111 | @@RXVT_WEBPAGE@@ |
1263 | <http://software.schmorp.de/#rxvt\-unicode> |
1112 | .SH "AUTHORS" |
1264 | .SH "AUTHORS" |
1113 | .IX Header "AUTHORS" |
1265 | .IX Header "AUTHORS" |
1114 | .IP "John Bovey" 4 |
1266 | .IP "John Bovey" 4 |
1115 | .IX Item "John Bovey" |
1267 | .IX Item "John Bovey" |
1116 | University of Kent, 1992, wrote the original Xvt. |
1268 | University of Kent, 1992, wrote the original Xvt. |
… | |
… | |
1130 | Project Coordinator (changes.txt 2.21a to 2.4.5) |
1282 | Project Coordinator (changes.txt 2.21a to 2.4.5) |
1131 | .IP "Geoff Wing <gcw@pobox.com>" 4 |
1283 | .IP "Geoff Wing <gcw@pobox.com>" 4 |
1132 | .IX Item "Geoff Wing <gcw@pobox.com>" |
1284 | .IX Item "Geoff Wing <gcw@pobox.com>" |
1133 | Rewrote screen display and text selection routines. Project Coordinator |
1285 | Rewrote screen display and text selection routines. Project Coordinator |
1134 | (changes.txt 2.4.6 \- rxvt\-unicode) |
1286 | (changes.txt 2.4.6 \- rxvt\-unicode) |
1135 | .IP "Marc Alexander Lehmann <rxvt@schmorp.de>" 4 |
1287 | .IP "Marc Alexander Lehmann <rxvt\-unicode@schmorp.de>" 4 |
1136 | .IX Item "Marc Alexander Lehmann <rxvt@schmorp.de>" |
1288 | .IX Item "Marc Alexander Lehmann <rxvt-unicode@schmorp.de>" |
1137 | Forked rxvt\-unicode, rewrote most of the display code and internal |
1289 | Forked rxvt\-unicode, rewrote most of the display code and internal |
1138 | character handling to store text in unicode, improve xterm |
1290 | character handling to store text in unicode, improve xterm |
1139 | compatibility and apply numerous other bugfixes and extensions. |
1291 | compatibility and apply numerous other bugfixes and extensions. |
1140 | .Sp |
1292 | .Sp |
1141 | Project Coordinator (Changes 1.0 \-) |
1293 | Project Coordinator (Changes 1.0 \-) |