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.7 by root, Thu Feb 3 10:24:10 2005 UTC vs.
Revision 1.24 by root, Thu Jul 7 19:37:46 2005 UTC

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-07-07" "5.6" "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 ]]
142require features such as Tektronix 4014 emulation and toolkit-style 142require features such as Tektronix 4014 emulation and toolkit-style
143configurability. As a result, \fBrxvt-unicode\fR uses much less swap space \*(-- 143configurability. As a result, \fBrxvt-unicode\fR uses much less swap space \*(--
144a significant advantage on a machine serving many X sessions. 144a 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"
147See @@RXVT_NAME@@(7) (try \f(CW\*(C`man 7 @@RXVT_NAME@@\*(C'\fR) for a list of frequently 147See @@RXVT_NAME@@(7) (try \f(CW\*(C`man 7 @@RXVT_NAME@@\*(C'\fR) for a list of
148asked questions and answer to them and some common problems. 148frequently asked questions and answer to them and some common
149problems. 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"
151Unlike the original rxvt, \fBrxvt-unicode\fR stores all text in Unicode 153Unlike the original rxvt, \fBrxvt-unicode\fR stores all text in Unicode
152internally. That means it can store and display most scripts in the 154internally. That means it can store and display most scripts in the
153world. Being a terminal emulator, however, some things are very difficult, 155world. 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"
334Put scrollbar on right/left; resource \fBscrollBar_right\fR. 336Put 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"
337Display normal (non XTerm/NeXT) scrollbar without/with a trough; 339Display rxvt (non XTerm/NeXT) scrollbar without/with a trough;
338resource \fBscrollBar_floating\fR. 340resource \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"
341If enabled (default), \*(L"Horizontal Tab\*(R" characters are being stored as 343If enabled (default), \*(L"Horizontal Tab\*(R" characters are being stored as
342actual wide characters in the screen buffer, which makes it possible to 344actual 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"
442Turn on/off secondary screen scroll (default enabled); resource 444Turn 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"
446No effect on rxvt\-unicode. Simply passes through an argument to be made 448Remap a key symbol. See resource \fBkeysym\fR.
447available in the instance's argument list. Appears in \fI\s-1WM_COMMAND\s0\fR in 449.IP "\fB\-embed\fR \fIwindowid\fR" 4
448some window managers. 450.IX Item "-embed windowid"
451Tells @@RXVT_NAME@@ to embed it's windows into an already-existing window,
452which enables applications to easily embed a terminal.
453.Sp
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
456quite a bit, so don't expect it to keep some specific state. It's best to
457create an extra subwindow for @@RXVT_NAME@@ and leave it alone.
458.Sp
459The window will not be destroyed when @@RXVT_NAME@@ exits.
460.Sp
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
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
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
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)"
451Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long 510Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long
452options) compiled into your version. 511options) compiled into your version.
453.PP 512.PP
454There are two different methods that @@RXVT_NAME@@ can use to get the 513There are two different methods that @@RXVT_NAME@@ can use to get the
455Xresource data: using the X libraries (Xrm*\-functions) or internal 514Xresource data: using the X libraries (Xrm*\-functions) or internal
456Xresources reader (\fB~/.Xdefaults\fR). For the first method (ie. 515Xresources 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
458resources using X11 tools like \fBxset\fR. Many distribution do also load 517resources using X11 tools like \fBxrdb\fR. Many distribution do also load
459settings from the \fB~/.Xresources\fR file when X starts. 518settings from the \fB~/.Xresources\fR file when X starts. @@RXVT_NAME@@
519will consult the following files/resources in order, with later settings
520overwriting 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
461If compiled with internal Xresources support (i.e. \fB@@RXVT_NAME@@ \-h\fR 530If compiled with internal Xresources support (i.e. \fB@@RXVT_NAME@@ \-h\fR
462lists \fB.Xdefaults\fR) then \fB@@RXVT_NAME@@\fR accepts application defaults 531lists \fB.Xdefaults\fR) then \fB@@RXVT_NAME@@\fR accepts application defaults
463set in XAPPLOADDIR/URxvt (compile\-time defined: usually 532set 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"
558Use the specified colour for the scrollbar [default #B2B2B2]. 627Use 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"
561Use the specified colour for the scrollbar's trough area [default 630Use 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"
565The colour of the border around the text area and between the scrollbar 634The colour of the border around the text area and between the scrollbar
566and the text. 635and the text.
567.IP "\fBbackgroundPixmap:\fR \fIfile[;geom]\fR" 4 636.IP "\fBbackgroundPixmap:\fR \fIfile[;geom]\fR" 4
655xterm style with 2.20 old word selection, or anything else which gives 724xterm style with 2.20 old word selection, or anything else which gives
656xterm style selection. 725xterm 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"
659Set scrollbar style to \fBrxvt\fR, \fBplain\fR, \fBnext\fR or \fBxterm\fR. \fBplain\fR is 728Set scrollbar style to \fBrxvt\fR, \fBplain\fR, \fBnext\fR or \fBxterm\fR. \fBplain\fR is
660the author's favourite.. 729the 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"
663Set window title string, the default title is the command-line 732Set window title string, the default title is the command-line
664specified after the \fB\-e\fR option, if any, otherwise the application 733specified after the \fB\-e\fR option, if any, otherwise the application
665name; option \fB\-title\fR. 734name; option \fB\-title\fR.
689.IP "\fBprint\-pipe:\fR \fIstring\fR" 4 758.IP "\fBprint\-pipe:\fR \fIstring\fR" 4
690.IX Item "print-pipe: string" 759.IX Item "print-pipe: string"
691Specify a command pipe for vt100 printer [default \fI\fIlpr\fI\|(1)\fR]. Use 760Specify a command pipe for vt100 printer [default \fI\fIlpr\fI\|(1)\fR]. Use
692\&\fBPrint\fR to initiate a screen dump to the printer and \fBCtrl-Print\fR or 761\&\fBPrint\fR to initiate a screen dump to the printer and \fBCtrl-Print\fR or
693\&\fBShift-Print\fR to include the scrollback as well. 762\&\fBShift-Print\fR to include the scrollback as well.
763.Sp
764The string will be interpreted as if typed into the shell as\-is.
765.Sp
766Example:
767.Sp
768.Vb 1
769\& URxvt*print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX)
770.Ve
771.Sp
772This creates a new file in your home directory with the screen contents
773everytime you hit \f(CW\*(C`Print\*(C'\fR.
694.IP "\fBscrollBar:\fR \fIboolean\fR" 4 774.IP "\fBscrollBar:\fR \fIboolean\fR" 4
695.IX Item "scrollBar: boolean" 775.IX Item "scrollBar: boolean"
696\&\fBTrue\fR: enable the scrollbar [default]; option \fB\-sb\fR. \fBFalse\fR: 776\&\fBTrue\fR: enable the scrollbar [default]; option \fB\-sb\fR. \fBFalse\fR:
697disable the scrollbar; option \fB+sb\fR. 777disable the scrollbar; option \fB+sb\fR.
698.IP "\fBscrollBar_right:\fR \fIboolean\fR" 4 778.IP "\fBscrollBar_right:\fR \fIboolean\fR" 4
713\&\fBFalse\fR: do not scroll to bottom when tty receives output; option 793\&\fBFalse\fR: do not scroll to bottom when tty receives output; option
714\&\fB+si\fR. 794\&\fB+si\fR.
715.IP "\fBscrollWithBuffer:\fR \fIboolean\fR" 4 795.IP "\fBscrollWithBuffer:\fR \fIboolean\fR" 4
716.IX Item "scrollWithBuffer: boolean" 796.IX Item "scrollWithBuffer: boolean"
717\&\fBTrue\fR: scroll with scrollback buffer when tty receives new lines (and 797\&\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 798\&\fBscrollTtyOutput\fR is False); option \fB\-sw\fR. \fBFalse\fR: do not scroll
719with scrollback buffer when tty recieves new lines; option \fB\-sw\fR. 799with scrollback buffer when tty recieves new lines; option \fB+sw\fR.
720.IP "\fBscrollTtyKeypress:\fR \fIboolean\fR" 4 800.IP "\fBscrollTtyKeypress:\fR \fIboolean\fR" 4
721.IX Item "scrollTtyKeypress: boolean" 801.IX Item "scrollTtyKeypress: boolean"
722\&\fBTrue\fR: scroll to bottom when a non-special key is pressed. Special keys 802\&\fBTrue\fR: scroll to bottom when a non-special key is pressed. Special keys
723are those which are intercepted by rxvt-unicode for special handling and 803are those which are intercepted by rxvt-unicode for special handling and
724are not passed onto the shell; option \fB\-sk\fR. \fBFalse\fR: do not scroll to 804are not passed onto the shell; option \fB\-sk\fR. \fBFalse\fR: do not scroll to
774.IP "\fBpointerColor2:\fR \fIcolour\fR" 4 854.IP "\fBpointerColor2:\fR \fIcolour\fR" 4
775.IX Item "pointerColor2: colour" 855.IX Item "pointerColor2: colour"
776Mouse pointer background colour. 856Mouse pointer background colour.
777.IP "\fBpointerBlankDelay:\fR \fInumber\fR" 4 857.IP "\fBpointerBlankDelay:\fR \fInumber\fR" 4
778.IX Item "pointerBlankDelay: number" 858.IX Item "pointerBlankDelay: number"
779Specifies number of seconds before blanking the pointer [default 2]. 859Specifies number of seconds before blanking the pointer [default 2]. Use a
860large number (e.g. \f(CW987654321\fR) to effectively disable the timeout.
780.IP "\fBbackspacekey:\fR \fIstring\fR" 4 861.IP "\fBbackspacekey:\fR \fIstring\fR" 4
781.IX Item "backspacekey: string" 862.IX Item "backspacekey: string"
782The string to send when the backspace key is pressed. If set to \fB\s-1DEC\s0\fR 863The string to send when the backspace key is pressed. If set to \fB\s-1DEC\s0\fR
783or unset it will send \fBDelete\fR (code 127) or, if shifted, \fBBackspace\fR 864or 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 865(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, 957\&\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, 958\&\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 959\&\f(CW\*(C`^@\*(C'\fR: null, \f(CW\*(C`^A\*(C'\fR ...) and may be enclosed with double quotes so that it
879can start or end with whitespace. 960can start or end with whitespace.
880.Sp 961.Sp
962Please note that you need to double the \f(CW\*(C`\e\*(C'\fR when using
963\&\f(CW\*(C`\-\-enable\-xgetdefault\*(C'\fR, as X itself does it's own de-escaping (you can
964use \f(CW\*(C`\e033\*(C'\fR instead of \f(CW\*(C`\ee\*(C'\fR (and so on), which will work with both Xt and
965@@RXVT_NAME@@'s own processing).
966.Sp
881You can define a range of keysyms in one shot by providing a \fIstring\fR 967You can define a range of keysyms in one shot by providing a \fIstring\fR
882with pattern \fBlist/PREFIX/MIDDLE/SUFFIX\fR, where the delimeter `/' 968with pattern \fBlist/PREFIX/MIDDLE/SUFFIX\fR, where the delimeter `/'
883should be a character not used by the strings. 969should be a character not used by the strings.
884.Sp 970.Sp
885Its usage can be demonstrated by an example: 971Its usage can be demonstrated by an example:
886.Sp 972.Sp
887.Vb 1 973.Vb 1
888\& URxvt.keysym.M-C-0x61: list|\ee<M-C-|abc|> 974\& URxvt.keysym.M-C-0x61: list|\e033<M-C-|abc|>
889.Ve 975.Ve
890.Sp 976.Sp
891The above line is equivalent to the following three lines: 977The above line is equivalent to the following three lines:
892.Sp 978.Sp
893.Vb 3 979.Vb 3
894\& URxvt.keysym.Meta-Control-0x61: \ee<M-C-a> 980\& URxvt.keysym.Meta-Control-0x61: \e033<M-C-a>
895\& URxvt.keysym.Meta-Control-0x62: \ee<M-C-b> 981\& URxvt.keysym.Meta-Control-0x62: \e033<M-C-b>
896\& URxvt.keysym.Meta-Control-0x63: \ee<M-C-c> 982\& URxvt.keysym.Meta-Control-0x63: \e033<M-C-c>
897.Ve 983.Ve
898.Sp 984.Sp
899If \fIstring\fR takes the form of \f(CW\*(C`proto:STRING\*(C'\fR, the specified \fB\s-1STRING\s0\fR 985If \fIstring\fR takes the form of \f(CW\*(C`command:STRING\*(C'\fR, the specified \fB\s-1STRING\s0\fR
900is interpreted and executed as @@RXVT_NAME@@'s control sequence. For 986is interpreted and executed as @@RXVT_NAME@@'s control sequence. For
901example the following means "change the current locale to \f(CW\*(C`zh_CN.GBK\*(C'\fR 987example the following means "change the current locale to \f(CW\*(C`zh_CN.GBK\*(C'\fR
902when Control-Meta-c is being pressed": 988when Control-Meta-c is being pressed":
903.Sp 989.Sp
904.Vb 1 990.Vb 1
905\& URxvt.keysym.M-C-c: proto:\e033]701;zh_CN.GBK\e007 991\& URxvt.keysym.M-C-c: command:\e033]701;zh_CN.GBK\e007
906.Ve 992.Ve
993.Sp
994Due the the large number of modifier combinations, a defined key mapping
995will match if at \fIat least\fR the specified identifiers are being set, and
996no other key mappings with those and more bits are being defined. That
997means that defining a key map for \f(CW\*(C`a\*(C'\fR will automatically provide
998definitions for \f(CW\*(C`Meta\-a\*(C'\fR, \f(CW\*(C`Shift\-a\*(C'\fR and so on, unless some of those are defined
999mappings themselves.
1000.Sp
1001Unfortunately, this will override built-in key mappings. For example
1002if you overwrite the \f(CW\*(C`Insert\*(C'\fR key you will disable @@RXVT_NAME@@'s
1003\&\f(CW\*(C`Shift\-Insert\*(C'\fR mapping. To re-enable that, you can poke \*(L"holes\*(R" into the
1004user-defined keymap using the \f(CW\*(C`builtin:\*(C'\fR replacement:
1005.Sp
1006.Vb 2
1007\& URxvt.keysym.Insert: <my insert key sequence>
1008\& URxvt.keysym.S-Insert: builtin:
1009.Ve
1010.Sp
1011The first line defines a mapping for \f(CW\*(C`Insert\*(C'\fR and \fIany\fR combination
1012of modifiers. The second line re-establishes the default mapping for
1013\&\f(CW\*(C`Shift\-Insert\*(C'\fR.
907.Sp 1014.Sp
908The following example will map Control\-Meta\-1 and Control\-Meta\-2 to 1015The following example will map Control\-Meta\-1 and Control\-Meta\-2 to
909the fonts \f(CW\*(C`suxuseuro\*(C'\fR and \f(CW\*(C`9x15bold\*(C'\fR, so you cna have some limited 1016the fonts \f(CW\*(C`suxuseuro\*(C'\fR and \f(CW\*(C`9x15bold\*(C'\fR, so you can have some limited
910font-switching at runtime: 1017font-switching at runtime:
911.Sp 1018.Sp
912.Vb 2 1019.Vb 2
913\& URxvt.keysym.M-C-1: proto:\e033]50;suxuseuro\e007 1020\& URxvt.keysym.M-C-1: command:\e033]50;suxuseuro\e007
914\& URxvt.keysym.M-C-2: proto:\e033]50;9x15bold\e007 1021\& URxvt.keysym.M-C-2: command:\e033]50;9x15bold\e007
915.Ve 1022.Ve
916.Sp 1023.Sp
917\&\f(CW\*(C`proto:\e033]701;zh_CN.GBK\e007\*(C'\fR means: change the current locale to 1024Other things are possible, e.g. resizing (see @@RXVT_NAME@@(7) for more
918\&\f(CW\*(C`zh_CN.GBK\*(C'\fR. 1025info):
1026.Sp
1027.Vb 2
1028\& URxvt.keysym.M-C-3: command:\e033[8;25;80t
1029\& URxvt.keysym.M-C-4: command:\e033[8;48;110t
1030.Ve
919.SH "THE SCROLLBAR" 1031.SH "THE SCROLLBAR"
920.IX Header "THE SCROLLBAR" 1032.IX Header "THE SCROLLBAR"
921Lines of text that scroll off the top of the \fB@@RXVT_NAME@@\fR window 1033Lines 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 1034(resource: \fBsaveLines\fR) and can be scrolled back using the scrollbar
923or by keystrokes. The normal \fB@@RXVT_NAME@@\fR scrollbar has arrows and 1035or by keystrokes. The normal \fB@@RXVT_NAME@@\fR scrollbar has arrows and
933the normal text selection/insertion, hold either the Shift or the Meta 1045the normal text selection/insertion, hold either the Shift or the Meta
934(Alt) key while performing the desired mouse action. 1046(Alt) key while performing the desired mouse action.
935.PP 1047.PP
936If mouse reporting mode is active, the normal scrollbar actions are 1048If mouse reporting mode is active, the normal scrollbar actions are
937disabled \*(-- on the assumption that we are using a fullscreen 1049disabled \*(-- on the assumption that we are using a fullscreen
938application. Instead, pressing Button1 and Button3 sends \fBESC[6~\fR 1050application. Instead, pressing Button1 and Button3 sends \fB\s-1ESC\s0 [ 6 ~\fR
939(Next) and \fBESC[5~\fR (Prior), respectively. Similarly, clicking on the 1051(Next) and \fB\s-1ESC\s0 [ 5 ~\fR (Prior), respectively. Similarly, clicking on the
940up and down arrows sends \fBESC[A\fR (Up) and \fBESC[B\fR (Down), 1052up and down arrows sends \fB\s-1ESC\s0 [ A\fR (Up) and \fB\s-1ESC\s0 [ B\fR (Down),
941respectively. 1053respectively.
942.SH "TEXT SELECTION AND INSERTION" 1054.SH "TEXT SELECTION AND INSERTION"
943.IX Header "TEXT SELECTION AND INSERTION" 1055.IX Header "TEXT SELECTION AND INSERTION"
944The behaviour of text selection and insertion mechanism is similar to 1056The behaviour of text selection and insertion mechanism is similar to
945\&\fIxterm\fR(1). 1057\&\fIxterm\fR(1).
1076.IX Item "@@RXVT_NAME@@ -fg Black -bg White -rv" 1188.IX Item "@@RXVT_NAME@@ -fg Black -bg White -rv"
1077would yield White on Black, while on \fIxterm\fR(1) it would yield Black 1189would yield White on Black, while on \fIxterm\fR(1) it would yield Black
1078on White. 1190on White.
1079.SH "ENVIRONMENT" 1191.SH "ENVIRONMENT"
1080.IX Header "ENVIRONMENT" 1192.IX Header "ENVIRONMENT"
1081\&\fB@@RXVT_NAME@@\fR sets the environment variables \fB\s-1TERM\s0\fR, \fB\s-1COLORTERM\s0\fR 1193\&\fB@@RXVT_NAME@@\fR sets and/or uses the following environment variables:
1082and \fB\s-1COLORFGBG\s0\fR. The environment variable \fB\s-1WINDOWID\s0\fR is set to the X 1194.IP "\fB\s-1TERM\s0\fR" 4
1083window id number of the \fB@@RXVT_NAME@@\fR window and it also uses and 1195.IX Item "TERM"
1084sets the environment variable \fB\s-1DISPLAY\s0\fR to specify which display 1196Normally set to \f(CW\*(C`rxvt\-unicode\*(C'\fR, unless overwritten at configure time, via
1085terminal to use. \fB@@RXVT_NAME@@\fR uses the environment variables 1197resources or on the commandline.
1086\&\fB\s-1RXVTPATH\s0\fR and \fB\s-1PATH\s0\fR to find \s-1XPM\s0 files. 1198.IP "\fB\s-1COLORTERM\s0\fR" 4
1199.IX Item "COLORTERM"
1200Either \f(CW\*(C`rxvt\*(C'\fR, \f(CW\*(C`rxvt\-xpm\*(C'\fR, depending on wether @@RXVT_NAME@@ was
1201compiled with \s-1XPM\s0 support, and optionally with the added extension
1202\&\f(CW\*(C`\-mono\*(C'\fR to indicate that rxvt-unicode runs on a monochrome screen.
1203.IP "\fB\s-1COLORFGBG\s0\fR" 4
1204.IX Item "COLORFGBG"
1205Set 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
1206the colour code used as default foreground/text colour (or the string
1207\&\f(CW\*(C`default\*(C'\fR to indicate that the default-colour escape sequence is to be
1208used), \f(CW\*(C`bg\*(C'\fR is the colour code used as default background colour (or the
1209string \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@@
1210was compiled with \s-1XPM\s0 support. Libraries like \f(CW\*(C`ncurses\*(C'\fR and \f(CW\*(C`slang\*(C'\fR can
1211(and do) use this information to optimize screen output.
1212.IP "\fB\s-1WINDOWID\s0\fR" 4
1213.IX Item "WINDOWID"
1214Set to the (decimal) X Window \s-1ID\s0 of the @@RXVT_NAME@@ window (the toplevel
1215window, which usually has subwindows for the scrollbar, the terminal
1216window and so on).
1217.IP "\fB\s-1TERMINFO\s0\fR" 4
1218.IX Item "TERMINFO"
1219Set to the terminfo directory iff @@RXVT_NAME@@ was configured with
1220\&\f(CW\*(C`\-\-with\-terminfo=PATH\*(C'\fR.
1221.IP "\fB\s-1DISPLAY\s0\fR" 4
1222.IX Item "DISPLAY"
1223Used by @@RXVT_NAME@@ to connect to the display and set to the correct
1224display in it's child processes.
1225.IP "\fB\s-1SHELL\s0\fR" 4
1226.IX Item "SHELL"
1227The shell to be used for command execution, defaults to \f(CW\*(C`/bin/sh\*(C'\fR.
1228.IP "\fB\s-1RXVTPATH\s0\fR" 4
1229.IX Item "RXVTPATH"
1230The path where @@RXVT_NAME@@ looks for support files such as menu and xpm
1231files.
1232.IP "\fB\s-1PATH\s0\fR" 4
1233.IX Item "PATH"
1234Used in the same way as \f(CW\*(C`RXVTPATH\*(C'\fR.
1235.IP "\fB\s-1RXVT_SOCKET\s0\fR" 4
1236.IX Item "RXVT_SOCKET"
1237The unix domain socket path used by @@RXVT_NAME@@c(1) and
1238@@RXVT_NAME@@d(1).
1239.Sp
1240Default \fI$HOME/.rxvt\-unicode\-\fI<nodename\fI\fR.
1241.IP "\fB\s-1HOME\s0\fR" 4
1242.IX Item "HOME"
1243Used to locate the default directory for the unix domain socket for
1244daemon communications and to locate various resource files (such as
1245\&\f(CW\*(C`.Xdefaults\*(C'\fR)
1246.IP "\fB\s-1XAPPLRESDIR\s0\fR" 4
1247.IX Item "XAPPLRESDIR"
1248Directory where various X resource files are being located.
1249.IP "\fB\s-1XENVIRONMENT\s0\fR" 4
1250.IX Item "XENVIRONMENT"
1251If set and accessible, gives the name of a X resource file to be loaded by
1252@@RXVT_NAME@@.
1087.SH "FILES" 1253.SH "FILES"
1088.IX Header "FILES" 1254.IX Header "FILES"
1089.IP "\fB/usr/lib/X11/rgb.txt\fR" 4 1255.IP "\fB/usr/lib/X11/rgb.txt\fR" 4
1090.IX Item "/usr/lib/X11/rgb.txt" 1256.IX Item "/usr/lib/X11/rgb.txt"
1091Color names. 1257Color names.
1092.SH "SEE ALSO" 1258.SH "SEE ALSO"
1093.IX Header "SEE ALSO" 1259.IX Header "SEE ALSO"
1094@@RXVT_NAME@@(7), \fIxterm\fR\|(1), \fIsh\fR\|(1), \fIresize\fR\|(1), X(1), \fIpty\fR\|(4), \fItty\fR\|(4), \fIutmp\fR\|(5) 1260@@RXVT_NAME@@(7), @@RXVT_NAME@@c(1), @@RXVT_NAME@@d(1), \fIxterm\fR\|(1), \fIsh\fR\|(1), \fIresize\fR\|(1), X(1), \fIpty\fR\|(4), \fItty\fR\|(4), \fIutmp\fR\|(5)
1095.SH "BUGS" 1261.SH "BUGS"
1096.IX Header "BUGS" 1262.IX Header "BUGS"
1097Check the \s-1BUGS\s0 file for an up-to-date list. 1263Check the \s-1BUGS\s0 file for an up-to-date list.
1098.PP 1264.PP
1099Cursor change support is not yet implemented. 1265Cursor change support is not yet implemented.
1101Click-and-drag doesn't work with X11 mouse report overriding. 1267Click-and-drag doesn't work with X11 mouse report overriding.
1102.SH "CURRENT PROJECT COORDINATOR" 1268.SH "CURRENT PROJECT COORDINATOR"
1103.IX Header "CURRENT PROJECT COORDINATOR" 1269.IX Header "CURRENT PROJECT COORDINATOR"
1104.IP "Project Coordinator" 4 1270.IP "Project Coordinator" 4
1105.IX Item "Project Coordinator" 1271.IX Item "Project Coordinator"
1106@@RXVT_MAINT@@ @@RXVT_MAINTEMAIL@@ 1272Marc 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 1273.Sp
1111@@RXVT_WEBPAGE@@ 1274<http://software.schmorp.de/#rxvt\-unicode>
1112.SH "AUTHORS" 1275.SH "AUTHORS"
1113.IX Header "AUTHORS" 1276.IX Header "AUTHORS"
1114.IP "John Bovey" 4 1277.IP "John Bovey" 4
1115.IX Item "John Bovey" 1278.IX Item "John Bovey"
1116University of Kent, 1992, wrote the original Xvt. 1279University of Kent, 1992, wrote the original Xvt.
1130Project Coordinator (changes.txt 2.21a to 2.4.5) 1293Project Coordinator (changes.txt 2.21a to 2.4.5)
1131.IP "Geoff Wing <gcw@pobox.com>" 4 1294.IP "Geoff Wing <gcw@pobox.com>" 4
1132.IX Item "Geoff Wing <gcw@pobox.com>" 1295.IX Item "Geoff Wing <gcw@pobox.com>"
1133Rewrote screen display and text selection routines. Project Coordinator 1296Rewrote screen display and text selection routines. Project Coordinator
1134(changes.txt 2.4.6 \- rxvt\-unicode) 1297(changes.txt 2.4.6 \- rxvt\-unicode)
1135.IP "Marc Alexander Lehmann <rxvt@schmorp.de>" 4 1298.IP "Marc Alexander Lehmann <rxvt\-unicode@schmorp.de>" 4
1136.IX Item "Marc Alexander Lehmann <rxvt@schmorp.de>" 1299.IX Item "Marc Alexander Lehmann <rxvt-unicode@schmorp.de>"
1137Forked rxvt\-unicode, rewrote most of the display code and internal 1300Forked rxvt\-unicode, rewrote most of the display code and internal
1138character handling to store text in unicode, improve xterm 1301character handling to store text in unicode, improve xterm
1139compatibility and apply numerous other bugfixes and extensions. 1302compatibility and apply numerous other bugfixes and extensions.
1140.Sp 1303.Sp
1141Project Coordinator (Changes 1.0 \-) 1304Project Coordinator (Changes 1.0 \-)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines