… | |
… | |
98 | is still respected. but deprecated). In the absence of this option, the |
98 | is still respected. but deprecated). In the absence of this option, the |
99 | display specified by the B<DISPLAY> environment variable is used. |
99 | display specified by the B<DISPLAY> environment variable is used. |
100 | |
100 | |
101 | =item B<-depth> I<bitdepth> |
101 | =item B<-depth> I<bitdepth> |
102 | |
102 | |
103 | Compile I<xft>: Attempt to find a visual with the given bit depth; |
103 | Compile I<frills>: Attempt to find a visual with the given bit depth; |
104 | resource B<depth>. |
104 | resource B<depth>. |
105 | |
105 | |
106 | [Please note that many X servers (and libXft) are buggy with |
106 | [Please note that many X servers (and libXft) are buggy with |
107 | respect to C<-depth 32> and/or alpha channels, and will cause all sorts |
107 | respect to C<-depth 32> and/or alpha channels, and will cause all sorts |
108 | of graphical corruption. This is harmless, but we can't do anything about |
108 | of graphical corruption. This is harmless, but we can't do anything about |
109 | this, so watch out] |
109 | this, so watch out] |
110 | |
110 | |
|
|
111 | =item B<-visual> I<visualID> |
|
|
112 | |
|
|
113 | Compile I<frills>: Use the given visual (see e.g. C<xdpyinfo> for possible |
|
|
114 | visual ids). |
|
|
115 | |
111 | =item B<-geometry> I<geom> |
116 | =item B<-geometry> I<geom> |
112 | |
117 | |
113 | Window geometry (B<-g> still respected); resource B<geometry>. |
118 | Window geometry (B<-g> still respected); resource B<geometry>. |
114 | |
119 | |
115 | =item B<-rv>|B<+rv> |
120 | =item B<-rv>|B<+rv> |
… | |
… | |
121 | Turn on/off jump scrolling (allow multiple lines per refresh); resource B<jumpScroll>. |
126 | Turn on/off jump scrolling (allow multiple lines per refresh); resource B<jumpScroll>. |
122 | |
127 | |
123 | =item B<-ss>|B<+ss> |
128 | =item B<-ss>|B<+ss> |
124 | |
129 | |
125 | Turn on/off skip scrolling (allow multiple screens per refresh); resource B<skipScroll>. |
130 | Turn on/off skip scrolling (allow multiple screens per refresh); resource B<skipScroll>. |
126 | |
|
|
127 | =item B<-tr>|B<+tr> |
|
|
128 | |
|
|
129 | Turn on/off illusion of a transparent window background; resource B<transparent>. |
|
|
130 | |
|
|
131 | B<-ip> is still accepted as an obsolete alias but will be removed in |
|
|
132 | future versions. |
|
|
133 | |
|
|
134 | I<Please address all transparency related issues to Sasha Vasko at |
|
|
135 | sasha@aftercode.net. Read the FAQ (man 7 @@RXVT_NAME@@)!> |
|
|
136 | |
131 | |
137 | =item B<-fade> I<number> |
132 | =item B<-fade> I<number> |
138 | |
133 | |
139 | Fade the text by the given percentage when focus is lost. Small values |
134 | Fade the text by the given percentage when focus is lost. Small values |
140 | fade a little only, 100 completely replaces all colours by the fade |
135 | fade a little only, 100 completely replaces all colours by the fade |
… | |
… | |
143 | =item B<-fadecolor> I<colour> |
138 | =item B<-fadecolor> I<colour> |
144 | |
139 | |
145 | Fade to this colour when fading is used (see B<-fade>). The default colour |
140 | Fade to this colour when fading is used (see B<-fade>). The default colour |
146 | is opaque black. resource B<fadeColor>. |
141 | is opaque black. resource B<fadeColor>. |
147 | |
142 | |
148 | =item B<-tint> I<colour> |
|
|
149 | |
|
|
150 | Tint the transparent background pixmap with the given colour when |
|
|
151 | transparency is enabled with B<-tr>. This only works for |
|
|
152 | non-tiled backgrounds, currently. See also the B<-sh> option that can be |
|
|
153 | used to brighten or darken the image in addition to tinting it. |
|
|
154 | Please note that certain tint colours can be applied on the server-side, |
|
|
155 | thus yielding performance gain of two orders of magnitude. These colours are: |
|
|
156 | blue, red, green, cyan, magenta, yellow, and those close to them. Also |
|
|
157 | pure black and pure white colors essentially mean no tinting; resource |
|
|
158 | I<tintColor>. Example: |
|
|
159 | |
|
|
160 | @@RXVT_NAME@@ -tr -tint blue -sh 40 |
|
|
161 | |
|
|
162 | =item B<-sh> I<number> |
|
|
163 | |
|
|
164 | Darken (0 .. 100) or lighten (100 .. 200) the transparent |
|
|
165 | background image in addition to (or instead of) tinting it; |
|
|
166 | resource I<shading>. |
|
|
167 | |
|
|
168 | =item B<-blt> I<string> |
|
|
169 | |
|
|
170 | Specify background blending type. If background pixmap is specified |
|
|
171 | at the same time as transparency - such pixmap will be blended over |
|
|
172 | transparency image, using method specified. Supported values are : |
|
|
173 | B<add>, B<alphablend>, B<allanon> - color values averaging, B<colorize>, |
|
|
174 | B<darken>, B<diff>, B<dissipate>, B<hue>, B<lighten>, B<overlay>, |
|
|
175 | B<saturate>, B<screen>, B<sub>, B<tint>, B<value>. The default is |
|
|
176 | alpha-blending. Compile I<afterimage>; resource I<blendType>. |
|
|
177 | |
|
|
178 | =item B<-blr> I<HxV> |
|
|
179 | |
|
|
180 | Apply Gaussian Blur with the specified radii to the transparent |
|
|
181 | background image. If single number is specified - both vertical and |
|
|
182 | horizontal radii are considered to be the same. Setting one of the |
|
|
183 | radii to 1 and another to a large number creates interesting effects |
|
|
184 | on some backgrounds. Maximum radius value is 128. Compile I<afterimage>; |
|
|
185 | resource I<blurRadius>. |
|
|
186 | |
|
|
187 | =item B<-icon> I<file> |
143 | =item B<-icon> I<file> |
188 | |
144 | |
189 | Compile I<afterimage>: Use the specified image as application icon. This |
145 | Compile I<pixbuf>: Use the specified image as application icon. This |
190 | is used by many window managers, taskbars and pagers to represent the |
146 | is used by many window managers, taskbars and pagers to represent the |
191 | application window; resource I<iconFile>. |
147 | application window; resource I<iconFile>. |
192 | |
148 | |
193 | =item B<-bg> I<colour> |
149 | =item B<-bg> I<colour> |
194 | |
150 | |
195 | Window background colour; resource B<background>. |
151 | Window background colour; resource B<background>. |
196 | |
152 | |
197 | =item B<-fg> I<colour> |
153 | =item B<-fg> I<colour> |
198 | |
154 | |
199 | Window foreground colour; resource B<foreground>. |
155 | Window foreground colour; resource B<foreground>. |
200 | |
|
|
201 | =item B<-pixmap> I<file[;geom[:op1][:op2][...]]> |
|
|
202 | |
|
|
203 | Compile I<afterimage>: Specify image file for the background and also |
|
|
204 | optionally specify its scaling with a geometry string. Note you may need to |
|
|
205 | add quotes to avoid special shell interpretation of the C<;> in the |
|
|
206 | command-line; for more details see resource B<backgroundPixmap>. |
|
|
207 | |
156 | |
208 | =item B<-cr> I<colour> |
157 | =item B<-cr> I<colour> |
209 | |
158 | |
210 | The cursor colour; resource B<cursorColor>. |
159 | The cursor colour; resource B<cursorColor>. |
211 | |
160 | |
… | |
… | |
320 | on a tab character is displayed as a wide cursor; resource B<pastableTabs>. |
269 | on a tab character is displayed as a wide cursor; resource B<pastableTabs>. |
321 | |
270 | |
322 | =item B<-bc>|B<+bc> |
271 | =item B<-bc>|B<+bc> |
323 | |
272 | |
324 | Blink the cursor; resource B<cursorBlink>. |
273 | Blink the cursor; resource B<cursorBlink>. |
|
|
274 | |
|
|
275 | =item B<-uc>|B<+uc> |
|
|
276 | |
|
|
277 | Make the cursor underlined; resource B<cursorUnderline>. |
325 | |
278 | |
326 | =item B<-iconic> |
279 | =item B<-iconic> |
327 | |
280 | |
328 | Start iconified, if the window manager supports that option. |
281 | Start iconified, if the window manager supports that option. |
329 | Alternative form is B<-ic>. |
282 | Alternative form is B<-ic>. |
… | |
… | |
567 | You can set and change the resources using X11 tools like B<xrdb>. Many |
520 | You can set and change the resources using X11 tools like B<xrdb>. Many |
568 | distribution do also load settings from the B<~/.Xresources> file when X |
521 | distribution do also load settings from the B<~/.Xresources> file when X |
569 | starts. @@RXVT_NAME@@ will consult the following files/resources in order, |
522 | starts. @@RXVT_NAME@@ will consult the following files/resources in order, |
570 | with later settings overwriting earlier ones: |
523 | with later settings overwriting earlier ones: |
571 | |
524 | |
572 | 1. system-wide app-defaults file, either locale-dependent OR global |
|
|
573 | 2. app-defaults file in $XAPPLRESDIR |
525 | 1. app-defaults file in $XAPPLRESDIR |
|
|
526 | 2. $HOME/.Xdefaults |
574 | 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
527 | 3. RESOURCE_MANAGER property on root-window of screen 0 |
575 | 4. SCREEN_RESOURCES for the current screen |
528 | 4. SCREEN_RESOURCES property on root-window of the current screen |
576 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
529 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
577 | 6. resources specified via -xrm on the commandline |
530 | 6. resources specified via -xrm on the commandline |
578 | |
531 | |
579 | Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class |
532 | Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class |
580 | names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources |
533 | names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources |
… | |
… | |
621 | Use the specified colour for the colour value I<n>, where 0-7 |
574 | Use the specified colour for the colour value I<n>, where 0-7 |
622 | corresponds to low-intensity (normal) colours and 8-15 corresponds to |
575 | corresponds to low-intensity (normal) colours and 8-15 corresponds to |
623 | high-intensity (bold = bright foreground, blink = bright background) |
576 | high-intensity (bold = bright foreground, blink = bright background) |
624 | colours. The canonical names are as follows: 0=black, 1=red, 2=green, |
577 | colours. The canonical names are as follows: 0=black, 1=red, 2=green, |
625 | 3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour |
578 | 3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour |
626 | names used are listed in the B<COLORS AND GRAPHICS> section. |
579 | names used are listed in the B<COLOURS AND GRAPHICS> section. |
627 | |
580 | |
628 | Colours higher than 15 cannot be set using resources (yet), but can be |
581 | Colours higher than 15 cannot be set using resources (yet), but can be |
629 | changed using an escape command (see @@RXVT_NAME@@(7)). |
582 | changed using an escape command (see @@RXVT_NAME@@(7)). |
630 | |
583 | |
631 | Colours 16-79 form a standard 4x4x4 colour cube (the same as xterm with |
584 | Colours 16-79 form a standard 4x4x4 colour cube (the same as xterm with |
… | |
… | |
642 | =item B<colorUL:> I<colour> |
595 | =item B<colorUL:> I<colour> |
643 | |
596 | |
644 | Use the specified colour to display underlined characters when the |
597 | Use the specified colour to display underlined characters when the |
645 | foreground colour is the default. |
598 | foreground colour is the default. |
646 | |
599 | |
647 | =item B<colorRV:> I<colour> |
|
|
648 | |
|
|
649 | Use the specified colour as the background for reverse video characters |
|
|
650 | when OPTION_HC is disabled (--disable-frills). |
|
|
651 | |
|
|
652 | =item B<underlineColor:> I<colour> |
600 | =item B<underlineColor:> I<colour> |
653 | |
601 | |
654 | If set, use the specified colour as the colour for the underline |
602 | If set, use the specified colour as the colour for the underline |
655 | itself. If unset, use the foreground colour. |
603 | itself. If unset, use the foreground colour. |
|
|
604 | |
|
|
605 | =item B<highlightColor:> I<colour> |
|
|
606 | |
|
|
607 | If set, use the specified colour as the background for highlighted |
|
|
608 | characters. If unset, use reverse video. |
|
|
609 | |
|
|
610 | =item B<highlightTextColor:> I<colour> |
|
|
611 | |
|
|
612 | If set and highlightColor is set, use the specified colour as the |
|
|
613 | foreground for highlighted characters. |
656 | |
614 | |
657 | =item B<cursorColor:> I<colour> |
615 | =item B<cursorColor:> I<colour> |
658 | |
616 | |
659 | Use the specified colour for the cursor. The default is to use the |
617 | Use the specified colour for the cursor. The default is to use the |
660 | foreground colour; option B<-cr>. |
618 | foreground colour; option B<-cr>. |
… | |
… | |
667 | |
625 | |
668 | =item B<reverseVideo:> I<boolean> |
626 | =item B<reverseVideo:> I<boolean> |
669 | |
627 | |
670 | B<True>: simulate reverse video by foreground and background colours; |
628 | B<True>: simulate reverse video by foreground and background colours; |
671 | option B<-rv>. B<False>: regular screen colours [default]; option |
629 | option B<-rv>. B<False>: regular screen colours [default]; option |
672 | B<+rv>. See note in B<COLORS AND GRAPHICS> section. |
630 | B<+rv>. See note in B<COLOURS AND GRAPHICS> section. |
673 | |
631 | |
674 | =item B<jumpScroll:> I<boolean> |
632 | =item B<jumpScroll:> I<boolean> |
675 | |
633 | |
676 | B<True>: specify that jump scrolling should be used. When receiving lots |
634 | B<True>: specify that jump scrolling should be used. When receiving lots |
677 | of lines, @@RXVT_NAME@@ will only scroll once a whole screen height of lines |
635 | of lines, @@RXVT_NAME@@ will only scroll once a whole screen height of lines |
… | |
… | |
691 | |
649 | |
692 | B<False>: specify that everything is to be displayed, even |
650 | B<False>: specify that everything is to be displayed, even |
693 | if the refresh is too fast for the human eye to read anything (or the |
651 | if the refresh is too fast for the human eye to read anything (or the |
694 | monitor to display anything); option B<+ss>. |
652 | monitor to display anything); option B<+ss>. |
695 | |
653 | |
696 | =item B<transparent:> I<boolean> |
|
|
697 | |
|
|
698 | Turn on/off illusion of a transparent window background. |
|
|
699 | |
|
|
700 | B<inheritPixmap> is still accepted as an obsolete alias but will be removed in |
|
|
701 | future versions. |
|
|
702 | |
|
|
703 | I<Please address all transparency related issues to Sasha Vasko at |
|
|
704 | sasha@aftercode.net. Read the FAQ (man 7 @@RXVT_NAME@@)!> |
|
|
705 | |
|
|
706 | =item B<fading:> I<number> |
654 | =item B<fading:> I<number> |
707 | |
655 | |
708 | Fade the text by the given percentage when focus is lost; option B<-fade>. |
656 | Fade the text by the given percentage when focus is lost; option B<-fade>. |
709 | |
657 | |
710 | =item B<fadeColor:> I<colour> |
658 | =item B<fadeColor:> I<colour> |
711 | |
659 | |
712 | Fade to this colour, when fading is used (see B<fading:>). The default |
660 | Fade to this colour, when fading is used (see B<fading:>). The default |
713 | colour is black; option B<-fadecolor>. |
661 | colour is black; option B<-fadecolor>. |
714 | |
662 | |
715 | =item B<tintColor:> I<colour> |
|
|
716 | |
|
|
717 | Tint the transparent background pixmap with the given colour; option |
|
|
718 | B<-tint>. |
|
|
719 | |
|
|
720 | =item B<shading:> I<number> |
|
|
721 | |
|
|
722 | Darken (0 .. 100) or lighten (-1 .. -100) the transparent background image |
|
|
723 | in addition to tinting it; option B<-sh>. |
|
|
724 | |
|
|
725 | =item B<blendType:> I<string> |
|
|
726 | |
|
|
727 | Specify background blending type; option B<-blt>. |
|
|
728 | |
|
|
729 | =item B<blurRadius:> I<number> |
|
|
730 | |
|
|
731 | Apply gaussian blur with the specified radius to the transparent |
|
|
732 | background image; option B<-blr>. |
|
|
733 | |
|
|
734 | =item B<iconFile:> I<file> |
663 | =item B<iconFile:> I<file> |
735 | |
664 | |
736 | Set the application icon pixmap; option B<-icon>. |
665 | Set the application icon pixmap; option B<-icon>. |
737 | |
666 | |
738 | =item B<scrollColor:> I<colour> |
667 | =item B<scrollColor:> I<colour> |
… | |
… | |
746 | |
675 | |
747 | =item B<borderColor:> I<colour> |
676 | =item B<borderColor:> I<colour> |
748 | |
677 | |
749 | The colour of the border around the text area and between the scrollbar |
678 | The colour of the border around the text area and between the scrollbar |
750 | and the text. |
679 | and the text. |
751 | |
|
|
752 | =item B<backgroundPixmap:> I<file[;geom[:op1][:op2][...]]> |
|
|
753 | |
|
|
754 | Use the specified image file for the background and also |
|
|
755 | optionally specify its scaling with a geometry string B<WxH+X+Y>, |
|
|
756 | (default C<0x0+50+50>) in which B<"W" / "H"> specify the |
|
|
757 | horizontal/vertical scale (percent), and B<"X" / "Y"> locate the image |
|
|
758 | centre (percent). A scale of 0 displays the image with tiling. A scale |
|
|
759 | of 1 displays the image without any scaling. A scale of 2 to 9 specifies |
|
|
760 | an integer number of images in that direction. No image will be magnified |
|
|
761 | beyond 10 times its original size. The maximum permitted scale is 1000. |
|
|
762 | Additional operations can be specified after colon B<:op1:op2...>. |
|
|
763 | Supported operations are: |
|
|
764 | |
|
|
765 | tile force background image to be tiled and not scaled. Equivalent to 0x0 |
|
|
766 | propscale will scale image keeping proportions |
|
|
767 | auto will scale image to match window size. Equivalent to 100x100 |
|
|
768 | hscale will scale image horizontally to the window size |
|
|
769 | vscale will scale image vertically to the window size |
|
|
770 | scale will scale image to match window size |
|
|
771 | root will tile image as if it was a root window background, auto-adjusting |
|
|
772 | whenever terminal window moves |
|
|
773 | |
|
|
774 | If used in conjunction with B<-tr> option, the specified pixmap will be |
|
|
775 | blended over transparency image using either alpha-blending, or any |
|
|
776 | other blending type, specified with B<-blt "type"> option. |
|
|
777 | |
|
|
778 | =item B<path:> I<path> |
|
|
779 | |
|
|
780 | Specify the colon-delimited search path for finding background image files. |
|
|
781 | |
680 | |
782 | =item B<font:> I<fontlist> |
681 | =item B<font:> I<fontlist> |
783 | |
682 | |
784 | Select the fonts to be used. This is a comma separated list of font names |
683 | Select the fonts to be used. This is a comma separated list of font names |
785 | that are checked in order when trying to find glyphs for characters. The |
684 | that are checked in order when trying to find glyphs for characters. The |
… | |
… | |
808 | it is named first) and thus defines the character cell grid to be 9 pixels |
707 | it is named first) and thus defines the character cell grid to be 9 pixels |
809 | wide and 15 pixels high. |
708 | wide and 15 pixels high. |
810 | |
709 | |
811 | The second font is just used to add additional unicode characters not in |
710 | The second font is just used to add additional unicode characters not in |
812 | the base font, likewise the third, which is unfortunately non-bold, but |
711 | the base font, likewise the third, which is unfortunately non-bold, but |
813 | the bold version of the font does contain less characters, so this is a |
712 | the bold version of the font does contain fewer characters, so this is a |
814 | useful supplement. |
713 | useful supplement. |
815 | |
714 | |
816 | The third font is an Xft font with aliasing turned off, and the characters |
715 | The third font is an Xft font with aliasing turned off, and the characters |
817 | are limited to the B<JIS 0208> codeset (i.e. japanese kanji). The font |
716 | are limited to the B<JIS 0208> codeset (i.e. japanese kanji). The font |
818 | contains other characters, but we are not interested in them. |
717 | contains other characters, but we are not interested in them. |
… | |
… | |
908 | =item B<scrollstyle:> I<mode> |
807 | =item B<scrollstyle:> I<mode> |
909 | |
808 | |
910 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
809 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
911 | the author's favourite. |
810 | the author's favourite. |
912 | |
811 | |
|
|
812 | =item B<thickness:> I<number> |
|
|
813 | |
|
|
814 | Set the scrollbar width in pixels. |
|
|
815 | |
913 | =item B<scrollBar:> I<boolean> |
816 | =item B<scrollBar:> I<boolean> |
914 | |
817 | |
915 | B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
818 | B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
916 | disable the scrollbar; option B<+sb>. |
819 | disable the scrollbar; option B<+sb>. |
917 | |
820 | |
… | |
… | |
936 | B<False>: do not scroll to bottom when tty receives output; option |
839 | B<False>: do not scroll to bottom when tty receives output; option |
937 | B<+si>. |
840 | B<+si>. |
938 | |
841 | |
939 | =item B<scrollWithBuffer:> I<boolean> |
842 | =item B<scrollWithBuffer:> I<boolean> |
940 | |
843 | |
941 | B<True>: scroll with scrollback buffer when tty receives new lines (and |
844 | B<True>: scroll with scrollback buffer when tty receives new lines (i.e. |
942 | B<scrollTtyOutput> is False); option B<-sw>. B<False>: do not scroll |
845 | try to show the same lines) and B<scrollTtyOutput> is False; option |
943 | with scrollback buffer when tty receives new lines; option B<+sw>. |
846 | B<-sw>. B<False>: do not scroll with scrollback buffer when tty receives |
|
|
847 | new lines; option B<+sw>. |
944 | |
848 | |
945 | =item B<scrollTtyKeypress:> I<boolean> |
849 | =item B<scrollTtyKeypress:> I<boolean> |
946 | |
850 | |
947 | B<True>: scroll to bottom when a non-special key is pressed. Special keys |
851 | B<True>: scroll to bottom when a non-special key is pressed. Special keys |
948 | are those which are intercepted by rxvt-unicode for special handling and |
852 | are those which are intercepted by rxvt-unicode for special handling and |
… | |
… | |
1004 | =item B<cursorBlink:> I<boolean> |
908 | =item B<cursorBlink:> I<boolean> |
1005 | |
909 | |
1006 | B<True>: blink the cursor. B<False>: do not blink the cursor [default]; |
910 | B<True>: blink the cursor. B<False>: do not blink the cursor [default]; |
1007 | option B<-bc>. |
911 | option B<-bc>. |
1008 | |
912 | |
|
|
913 | =item B<cursorUnderline:> I<boolean> |
|
|
914 | |
|
|
915 | B<True>: Make the cursor underlined. B<False>: Make the cursor a box [default]; |
|
|
916 | option B<-uc>. |
|
|
917 | |
1009 | =item B<pointerBlank:> I<boolean> |
918 | =item B<pointerBlank:> I<boolean> |
1010 | |
919 | |
1011 | B<True>: blank the pointer when a key is pressed or after a set number |
920 | B<True>: blank the pointer when a key is pressed or after a set number |
1012 | of seconds of inactivity. B<False>: the pointer is always visible |
921 | of seconds of inactivity. B<False>: the pointer is always visible |
1013 | [default]. |
922 | [default]. |
… | |
… | |
1026 | large number (e.g. C<987654321>) to effectively disable the timeout. |
935 | large number (e.g. C<987654321>) to effectively disable the timeout. |
1027 | |
936 | |
1028 | =item B<backspacekey:> I<string> |
937 | =item B<backspacekey:> I<string> |
1029 | |
938 | |
1030 | The string to send when the backspace key is pressed. If set to B<DEC> |
939 | The string to send when the backspace key is pressed. If set to B<DEC> |
1031 | or unset it will send B<Delete> (code 127) or, if shifted, B<Backspace> |
940 | or unset it will send B<Delete> (code 127) or, with control, B<Backspace> |
1032 | (code 8) - which can be reversed with the appropriate DEC private mode |
941 | (code 8) - which can be reversed with the appropriate DEC private mode |
1033 | escape sequence. |
942 | escape sequence. |
1034 | |
943 | |
1035 | =item B<deletekey:> I<string> |
944 | =item B<deletekey:> I<string> |
1036 | |
945 | |
… | |
… | |
1132 | Sets the working directory for the shell (or the command specified via |
1041 | Sets the working directory for the shell (or the command specified via |
1133 | B<-e>). The I<path> must be an absolute path and it must exist for |
1042 | B<-e>). The I<path> must be an absolute path and it must exist for |
1134 | @@RXVT_NAME@@ to start. If it isn't specified then the current working |
1043 | @@RXVT_NAME@@ to start. If it isn't specified then the current working |
1135 | directory will be used; option B<-cd>. |
1044 | directory will be used; option B<-cd>. |
1136 | |
1045 | |
1137 | =item B<keysym.>I<sym>: I<string> |
1046 | =item B<keysym.>I<sym>: I<action> |
1138 | |
1047 | |
1139 | Compile I<frills>: Associate I<string> with keysym I<sym>. The |
1048 | Compile I<frills>: Associate I<action> with keysym I<sym>. The intervening |
1140 | intervening resource name B<keysym.> cannot be omitted. |
1049 | resource name B<keysym.> cannot be omitted. |
1141 | |
1050 | |
1142 | The format of I<sym> is "I<(modifiers-)key>", where I<modifiers> can be |
1051 | Using this resource, you can map key combinations such as |
1143 | any combination of B<ISOLevel3>, B<AppKeypad>, B<Control>, B<NumLock>, |
1052 | C<Ctrl-Shift-BackSpace> to various actions, such as outputting a different |
1144 | B<Shift>, B<Meta>, B<Lock>, B<Mod1>, B<Mod2>, B<Mod3>, B<Mod4>, B<Mod5>, |
1053 | string than would normally result from that combination, making the |
1145 | and the abbreviated B<I>, B<K>, B<C>, B<N>, B<S>, B<M>, B<A>, B<L>, B<1>, |
1054 | terminal scroll up or down the way you want it, or any other thing an |
1146 | B<2>, B<3>, B<4>, B<5>. |
1055 | extension might provide. |
|
|
1056 | |
|
|
1057 | The key combination that triggers the action, I<sym>, has the following format: |
|
|
1058 | |
|
|
1059 | (modifiers-)key |
|
|
1060 | |
|
|
1061 | Where I<modifiers> can be any combination of B<ISOLevel3>, B<AppKeypad>, |
|
|
1062 | B<Control>, B<NumLock>, B<Shift>, B<Meta>, B<Lock>, B<Mod1>, B<Mod2>, |
|
|
1063 | B<Mod3>, B<Mod4>, B<Mod5>, and the abbreviated B<I>, B<K>, B<C>, B<N>, |
|
|
1064 | B<S>, B<M>, B<A>, B<L>, B<1>, B<2>, B<3>, B<4>, B<5>. |
1147 | |
1065 | |
1148 | The B<NumLock>, B<Meta> and B<ISOLevel3> modifiers are usually aliased to |
1066 | The B<NumLock>, B<Meta> and B<ISOLevel3> modifiers are usually aliased to |
1149 | whatever modifier the NumLock key, Meta/Alt keys or ISO Level3 Shift/AltGr |
1067 | whatever modifier the NumLock key, Meta/Alt keys or ISO Level3 Shift/AltGr |
1150 | keys are being mapped. B<AppKeypad> is a synthetic modifier mapped to the |
1068 | keys are being mapped. B<AppKeypad> is a synthetic modifier mapped to the |
1151 | current application keymap mode state. |
1069 | current application keymap mode state. |
1152 | |
1070 | |
1153 | The spellings of I<key> can be obtained by using B<xev>(1) command or |
1071 | Due the the large number of modifier combinations, a key mapping will |
1154 | searching keysym macros from B</usr/X11R6/include/X11/keysymdef.h> and |
1072 | match if I<at least> the specified identifiers are being set, and no other |
|
|
1073 | key mappings with those and more bits are being defined. That means that |
|
|
1074 | defining a mapping for C<a> will automatically provide definitions for |
|
|
1075 | C<Meta-a>, C<Shift-a> and so on, unless some of those are defined mappings |
|
|
1076 | themselves. See the C<builtin:> action, below, for a way to work around |
|
|
1077 | this when this is a problem. |
|
|
1078 | |
|
|
1079 | The spelling of I<key> depends on your implementation of X. An easy way to |
|
|
1080 | find a key name is to use the B<xev>(1) command. You can find a list by |
|
|
1081 | looking for the C<XK_> macros in the B<X11/keysymdef.h> include file (omit |
1155 | omitting the prefix B<XK_>. Alternatively you can specify I<key> by its hex |
1082 | the C<XK_> prefix). Alternatively you can specify I<key> by its hex keysym |
1156 | keysym value (B<0x0000 - 0xFFFF>). Note that the lookup of I<sym>s is not |
1083 | value (B<0x0000 - 0xFFFF>). |
1157 | performed in an exact manner; however, the closest match is assured. |
|
|
1158 | |
1084 | |
1159 | I<string> may contain escape values (C<\n>: newline, C<\000>: octal |
1085 | As with any resource value, the I<action> string may contain backslash |
|
|
1086 | escape sequences (C<\n>: newline, C<\\>: backslash, C<\000>: octal |
1160 | number), see RESOURCES in C<man 7 X> for futher details. |
1087 | number), see RESOURCES in C<man 7 X> for further details. |
1161 | |
1088 | |
1162 | You can define a range of keysyms in one shot by providing a I<string> |
1089 | An action starts with an action prefix that selects a certain type |
1163 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
1090 | of action, followed by a colon. An action string without colons is |
1164 | should be a character not used by the strings. |
1091 | interpreted as a literal string to pass to the tty (as if it was |
|
|
1092 | prefixed with C<string:>). |
1165 | |
1093 | |
1166 | Its usage can be demonstrated by an example: |
1094 | The following action prefixes are known - extensions can provide |
|
|
1095 | additional prefixes: |
1167 | |
1096 | |
1168 | URxvt.keysym.M-C-0x61: list|\033<M-C-|abc|> |
1097 | =over 4 |
1169 | |
1098 | |
1170 | The above line is equivalent to the following three lines: |
1099 | =item string:STRING |
1171 | |
1100 | |
1172 | URxvt.keysym.Meta-Control-0x61: \033<M-C-a> |
1101 | If the I<action> starts with C<string:> (or otherwise contains no colons), |
1173 | URxvt.keysym.Meta-Control-0x62: \033<M-C-b> |
1102 | then the remaining C<STRING> will be passed to the program running in the |
1174 | URxvt.keysym.Meta-Control-0x63: \033<M-C-c> |
1103 | terminal. For example, you could replace whatever Shift-Tab outputs by the |
|
|
1104 | string C<echo rm -rf /> followed by a newline: |
1175 | |
1105 | |
|
|
1106 | URxvt.keysym.Shift-Tab: string:echo rm -rf /\n |
|
|
1107 | |
|
|
1108 | This could in theory be used to completely redefine your keymap. |
|
|
1109 | |
|
|
1110 | =item command:STRING |
|
|
1111 | |
1176 | If I<string> takes the form of C<command:STRING>, the specified B<STRING> |
1112 | If I<action> takes the form of C<command:STRING>, the specified B<STRING> |
1177 | is interpreted and executed as @@RXVT_NAME@@'s control sequence. For |
1113 | is interpreted and executed as @@RXVT_NAME@@'s control sequence (basically |
|
|
1114 | the opposite of C<string:> - instead of sending it to the program running |
|
|
1115 | in the terminal, it will be treated as if it were program output). This is |
|
|
1116 | most useful to feed command sequences into @@RXVT_NAME@@. |
|
|
1117 | |
1178 | example the following means "change the current locale to C<zh_CN.GBK> |
1118 | For example the following means "change the current locale to C<zh_CN.GBK> |
1179 | when Control-Meta-c is being pressed": |
1119 | when Control-Meta-c is being pressed": |
1180 | |
1120 | |
1181 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 |
1121 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 |
1182 | |
1122 | |
1183 | If I<string> takes the form C<perl:STRING>, then the specified B<STRING> |
1123 | The following example will map Control-Meta-1 and Control-Meta-2 to |
1184 | is passed to the C<on_keyboard_command> perl handler. See the @@RXVT_NAME@@perl(3) |
1124 | the fonts C<suxuseuro> and C<9x15bold>, so you can have some limited |
1185 | manpage. For example, the F<selection> extension (activated via |
1125 | font-switching at runtime: |
1186 | C<@@RXVT_NAME@@ -pe selection>) listens for C<selection:rot13> events: |
|
|
1187 | |
1126 | |
1188 | URxvt.keysym.M-C-c: perl:selection:rot13 |
1127 | URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007 |
|
|
1128 | URxvt.keysym.M-C-2: command:\033]50;9x15bold\007 |
1189 | |
1129 | |
1190 | Due the the large number of modifier combinations, a defined key mapping |
1130 | Other things are possible, e.g. resizing (see @@RXVT_NAME@@(7) for more |
1191 | will match if at I<at least> the specified identifiers are being set, and |
1131 | info): |
1192 | no other key mappings with those and more bits are being defined. That |
|
|
1193 | means that defining a key map for C<a> will automatically provide |
|
|
1194 | definitions for C<Meta-a>, C<Shift-a> and so on, unless some of those are defined |
|
|
1195 | mappings themselves. |
|
|
1196 | |
1132 | |
1197 | Unfortunately, this will override built-in key mappings. For example |
1133 | URxvt.keysym.M-C-3: command:\033[8;25;80t |
|
|
1134 | URxvt.keysym.M-C-4: command:\033[8;48;110t |
|
|
1135 | |
|
|
1136 | =item builtin: |
|
|
1137 | |
|
|
1138 | The builtin action is the action that @@RXVT_NAME@@ would execute if no |
|
|
1139 | key binding existed for the key combination. The obvious use is to undo |
|
|
1140 | the effect of existing bindings. The not so obvious use is to reinstate |
|
|
1141 | bindings when another binding overrides too many modifiers. |
|
|
1142 | |
1198 | if you overwrite the C<Insert> key you will disable @@RXVT_NAME@@'s |
1143 | For example if you overwrite the C<Insert> key you will disable |
1199 | C<Shift-Insert> mapping. To re-enable that, you can poke "holes" into the |
1144 | @@RXVT_NAME@@'s C<Shift-Insert> mapping. To re-enable that, you can poke |
1200 | user-defined keymap using the C<builtin:> replacement: |
1145 | "holes" into the user-defined keymap using the C<builtin:> replacement: |
1201 | |
1146 | |
1202 | URxvt.keysym.Insert: <my insert key sequence> |
1147 | URxvt.keysym.Insert: <my insert key sequence> |
1203 | URxvt.keysym.S-Insert: builtin: |
1148 | URxvt.keysym.S-Insert: builtin: |
1204 | |
1149 | |
1205 | The first line defines a mapping for C<Insert> and I<any> combination |
1150 | The first line defines a mapping for C<Insert> and I<any> combination |
1206 | of modifiers. The second line re-establishes the default mapping for |
1151 | of modifiers. The second line re-establishes the default mapping for |
1207 | C<Shift-Insert>. |
1152 | C<Shift-Insert>. |
1208 | |
1153 | |
1209 | The following example will map Control-Meta-1 and Control-Meta-2 to |
1154 | =item builtin-string: |
1210 | the fonts C<suxuseuro> and C<9x15bold>, so you can have some limited |
|
|
1211 | font-switching at runtime: |
|
|
1212 | |
1155 | |
1213 | URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007 |
1156 | This action is mainly useful to restore string mappings for keys that |
1214 | URxvt.keysym.M-C-2: command:\033]50;9x15bold\007 |
1157 | have predefined actions in @@RXVT_NAME@@. The exact semantics are a bit |
|
|
1158 | difficult to explain - basically, this action will send the string to the |
|
|
1159 | application that would be sent if @@RXVT_NAME@@ wouldn't have a built-in |
|
|
1160 | action for it. |
1215 | |
1161 | |
1216 | Other things are possible, e.g. resizing (see @@RXVT_NAME@@(7) for more |
1162 | An example might make it clearer: @@RXVT_NAME@@ normally pastes the |
1217 | info): |
1163 | selection when you press C<Shift-Insert>. With the following bindings, it |
|
|
1164 | would instead emit the (undocumented, but what applications running in the |
|
|
1165 | terminal might expect) sequence C<ESC [ 2 $> instead: |
1218 | |
1166 | |
1219 | URxvt.keysym.M-C-3: command:\033[8;25;80t |
1167 | URxvt.keysym.S-Insert: builtin-string: |
1220 | URxvt.keysym.M-C-4: command:\033[8;48;110t |
1168 | URxvt.keysym.C-S-Insert: builtin: |
|
|
1169 | |
|
|
1170 | The first line disables the paste functionality for that key |
|
|
1171 | combination, and the second reinstates the default behaviour for |
|
|
1172 | C<Control-Shift-Insert>, which would otherwise be overridden. |
|
|
1173 | |
|
|
1174 | Similarly, to let applications gain access to the C<C-M-c> (copy to |
|
|
1175 | clipboard) and C<C-M-v> (paste clipboard) key combination, you can do |
|
|
1176 | this: |
|
|
1177 | |
|
|
1178 | URxvt.keysym.C-S-c: builtin-string: |
|
|
1179 | URxvt.keysym.C-S-v: builtin-string: |
|
|
1180 | |
|
|
1181 | =item EXTENSION:STRING |
|
|
1182 | |
|
|
1183 | An action of this form passes the B<STRING> to the @@RXVT_NAME@@perl(3) |
|
|
1184 | extension of the same name. The extension will be loaded automatically if |
|
|
1185 | neccessary. |
|
|
1186 | |
|
|
1187 | Not all extensions define key actions, but popular extensions that do |
|
|
1188 | include the I<selection> and I<matcher> extensions (documented in their |
|
|
1189 | own manpages, @@RXVT_NAME@@-selection(1) and @@RXVT_NAME@@-matcher(1), |
|
|
1190 | respectively). |
|
|
1191 | |
|
|
1192 | From the silly examples department, this will rot13-"encrypt" |
|
|
1193 | @@RXVT_NAME@@'s selection when Alt-Control-c is pressed on typical PC |
|
|
1194 | keyboards: |
|
|
1195 | |
|
|
1196 | URxvt.keysym.M-C-c: selection:rot13 |
|
|
1197 | |
|
|
1198 | =item perl:STRING *DEPRECATED* |
|
|
1199 | |
|
|
1200 | This is a deprecated way of passing key mappings to perl extensions. It is |
|
|
1201 | still supported, but should not be used anymore. |
|
|
1202 | |
|
|
1203 | =back |
1221 | |
1204 | |
1222 | =item B<perl-ext-common>: I<string> |
1205 | =item B<perl-ext-common>: I<string> |
1223 | |
1206 | |
1224 | =item B<perl-ext>: I<string> |
1207 | =item B<perl-ext>: I<string> |
1225 | |
1208 | |
… | |
… | |
1227 | use in this terminal instance; option B<-pe>. |
1210 | use in this terminal instance; option B<-pe>. |
1228 | |
1211 | |
1229 | Extension names can be prefixed with a C<-> sign to prohibit using |
1212 | Extension names can be prefixed with a C<-> sign to prohibit using |
1230 | them. This can be useful to selectively disable some extensions loaded |
1213 | them. This can be useful to selectively disable some extensions loaded |
1231 | by default, or specified via the C<perl-ext-common> resource. For |
1214 | by default, or specified via the C<perl-ext-common> resource. For |
1232 | example, C<default,-selection> will use all the default extension except |
1215 | example, C<default,-selection> will use all the default extensions except |
1233 | C<selection>. |
1216 | C<selection>. |
1234 | |
1217 | |
1235 | Extension names can also be followed by an argument in angle brackets |
1218 | The default set includes the C<selection>, C<option-popup>, |
1236 | (e.g. C<< searchable-scrollback<M-s> >>, which binds the hotkey for |
1219 | C<selection-popup> and C<readline> extensions, any extensions that define |
1237 | searchable scrollback to Alt/Meta-s). Mentioning the same extension |
1220 | keybindings via C<BINDING> meta comments, extensions loaded because |
1238 | multiple times with different arguments will pass multiple arguments to |
1221 | their resources/commandline switches were used, and extensions which are |
1239 | the extension. |
1222 | mentioned in B<keysym> resources. |
1240 | |
1223 | |
1241 | Each extension is looked up in the library directories, loaded if |
1224 | Each extension is looked up in the library directories, loaded if |
1242 | necessary, and bound to the current terminal instance. |
1225 | necessary, and bound to the current terminal instance. When the library |
|
|
1226 | search path contains multiple extension files of the same name, then the |
|
|
1227 | first one found will be used. |
1243 | |
1228 | |
1244 | If both of these resources are the empty string, then the perl |
1229 | If both of these resources are the empty string, then the perl interpreter |
1245 | interpreter will not be initialized. The idea behind two options is that |
1230 | will not be initialized. The rationale for having two options is that |
1246 | B<perl-ext-common> will be used for extensions that should be available to |
1231 | B<perl-ext-common> will be used for extensions that should be available to |
1247 | all instances, while B<perl-ext> is used for specific instances. |
1232 | all instances, while B<perl-ext> is used for specific instances. |
1248 | |
1233 | |
1249 | =item B<perl-eval>: I<string> |
1234 | =item B<perl-eval>: I<string> |
1250 | |
1235 | |
… | |
… | |
1252 | the @@RXVT_NAME@@perl(3) manpage. |
1237 | the @@RXVT_NAME@@perl(3) manpage. |
1253 | |
1238 | |
1254 | =item B<perl-lib>: I<path> |
1239 | =item B<perl-lib>: I<path> |
1255 | |
1240 | |
1256 | Colon-separated list of additional directories that hold extension |
1241 | Colon-separated list of additional directories that hold extension |
1257 | scripts. When looking for extensions specified by the C<perl> resource, |
1242 | scripts. When looking for perl extensions, @@RXVT_NAME@@ will first look |
1258 | @@RXVT_NAME@@ will first look in these directories and then in |
1243 | in these directories, then in C<$URXVT_PERL_LIB>, F<$HOME/.urxvt/ext> and |
1259 | F<@@RXVT_LIBDIR@@/urxvt/perl/>. |
1244 | lastly in F<@@RXVT_LIBDIR@@/urxvt/perl/>. |
1260 | |
1245 | |
1261 | See the @@RXVT_NAME@@perl(3) manpage. |
1246 | See the @@RXVT_NAME@@perl(3) manpage. |
1262 | |
1247 | |
1263 | =item B<< selection.pattern-I<idx> >>: I<perl-regex> |
1248 | =item B<< selection.pattern-I<idx> >>: I<perl-regex> |
1264 | |
1249 | |
… | |
… | |
1268 | =item B<< selection-autotransform.I<idx> >>: I<perl-transform> |
1253 | =item B<< selection-autotransform.I<idx> >>: I<perl-transform> |
1269 | |
1254 | |
1270 | Selection auto-transform patterns, see the @@RXVT_NAME@@perl(3) manpage |
1255 | Selection auto-transform patterns, see the @@RXVT_NAME@@perl(3) manpage |
1271 | for details. |
1256 | for details. |
1272 | |
1257 | |
1273 | =item B<searchable-scrollback:> I<keysym> |
1258 | =item B<searchable-scrollback:> I<keysym> *DEPRECATED* |
1274 | |
1259 | |
1275 | Sets the hotkey that starts the incremental scrollback buffer search |
1260 | This resource is deprecated and will be removed. Use a B<keysym> resource |
1276 | (default: C<M-s>). |
1261 | instead, e.g.: |
1277 | |
1262 | |
|
|
1263 | URxvt.keysym.M-s: searchable-scrollback:start |
|
|
1264 | |
1278 | =item B<urlLauncher>: I<string> |
1265 | =item B<url-launcher>: I<string> |
1279 | |
1266 | |
1280 | Specifies the program to be started with a URL argument. Used by the |
1267 | Specifies the program to be started with a URL argument. Used by the |
1281 | C<selection-popup> and C<matcher> perl extensions. |
1268 | C<selection-popup> and C<matcher> perl extensions. |
1282 | |
1269 | |
1283 | =item B<transient-for>: I<windowid> |
1270 | =item B<transient-for>: I<windowid> |
… | |
… | |
1287 | =item B<override-redirect>: I<boolean> |
1274 | =item B<override-redirect>: I<boolean> |
1288 | |
1275 | |
1289 | Compile I<frills>: Sets override-redirect for the terminal window, making |
1276 | Compile I<frills>: Sets override-redirect for the terminal window, making |
1290 | it almost invisible to window managers; option B<-override-redirect>. |
1277 | it almost invisible to window managers; option B<-override-redirect>. |
1291 | |
1278 | |
|
|
1279 | =item B<iso14755:> I<boolean> |
|
|
1280 | |
|
|
1281 | Turn on/off ISO 14755 (default enabled). |
|
|
1282 | |
1292 | =item B<iso14755_52:> I<boolean> |
1283 | =item B<iso14755_52:> I<boolean> |
1293 | |
1284 | |
1294 | Turn on/off ISO 14755 5.2 mode (default enabled). |
1285 | Turn on/off ISO 14755 5.2 mode (default enabled). |
|
|
1286 | |
|
|
1287 | =back |
|
|
1288 | |
|
|
1289 | =head1 BACKGROUND IMAGE OPTIONS AND RESOURCES |
|
|
1290 | |
|
|
1291 | =over 4 |
|
|
1292 | |
|
|
1293 | =item B<-pixmap> I<file[;oplist]> |
|
|
1294 | |
|
|
1295 | =item B<backgroundPixmap:> I<file[;oplist]> |
|
|
1296 | |
|
|
1297 | Compile I<pixbuf>: Use the specified image file as the window's |
|
|
1298 | background and also optionally specify a colon separated list of |
|
|
1299 | operations to modify it. Note that you may need to quote the C<;> |
|
|
1300 | character when using the command line option, as C<;> is usually a |
|
|
1301 | metacharacter in shells. Supported operations are: |
|
|
1302 | |
|
|
1303 | =over 4 |
|
|
1304 | |
|
|
1305 | =item B<WxH+X+Y> |
|
|
1306 | |
|
|
1307 | sets scale and position. B<"W" / "H"> specify the horizontal/vertical |
|
|
1308 | scale (percent), and B<"X" / "Y"> locate the image centre (percent). A |
|
|
1309 | scale of 0 disables scaling. |
|
|
1310 | |
|
|
1311 | =item B<op=tile> |
|
|
1312 | |
|
|
1313 | enables tiling |
|
|
1314 | |
|
|
1315 | =item B<op=keep-aspect> |
|
|
1316 | |
|
|
1317 | maintain the image aspect ratio when scaling |
|
|
1318 | |
|
|
1319 | =item B<op=root-align> |
|
|
1320 | |
|
|
1321 | use the position of the terminal window relative to the root window as |
|
|
1322 | the image offset, simulating a root window background |
|
|
1323 | |
|
|
1324 | =back |
|
|
1325 | |
|
|
1326 | The default scale and position setting is C<100x100+50+50>. |
|
|
1327 | Alternatively, a predefined set of templates can be used to achieve |
|
|
1328 | the most common setups: |
|
|
1329 | |
|
|
1330 | =over 4 |
|
|
1331 | |
|
|
1332 | =item B<style=tiled> |
|
|
1333 | |
|
|
1334 | the image is tiled with no scaling. Equivalent to 0x0+0+0:op=tile |
|
|
1335 | |
|
|
1336 | =item B<style=aspect-stretched> |
|
|
1337 | |
|
|
1338 | the image is scaled to fill the whole window maintaining the aspect |
|
|
1339 | ratio and centered. Equivalent to 100x100+50+50:op=keep-aspect |
|
|
1340 | |
|
|
1341 | =item B<style=stretched> |
|
|
1342 | |
|
|
1343 | the image is scaled to fill the whole window. Equivalent to 100x100 |
|
|
1344 | |
|
|
1345 | =item B<style=centered> |
|
|
1346 | |
|
|
1347 | the image is centered with no scaling. Equivalent to 0x0+50+50 |
|
|
1348 | |
|
|
1349 | =item B<style=root-tiled> |
|
|
1350 | |
|
|
1351 | the image is tiled with no scaling and using 'root' positioning. |
|
|
1352 | Equivalent to 0x0:op=tile:op=root-align |
|
|
1353 | |
|
|
1354 | =back |
|
|
1355 | |
|
|
1356 | If multiple templates are specified the last one wins. Note that a |
|
|
1357 | template overrides all the scale, position and operations settings. |
|
|
1358 | |
|
|
1359 | If used in conjunction with pseudo-transparency, the specified pixmap |
|
|
1360 | will be blended over the transparent background using alpha-blending. |
|
|
1361 | |
|
|
1362 | =item B<-tr>|B<+tr> |
|
|
1363 | |
|
|
1364 | =item B<transparent:> I<boolean> |
|
|
1365 | |
|
|
1366 | Turn on/off pseudo-transparency by using the root pixmap as background. |
|
|
1367 | |
|
|
1368 | B<-ip> (B<inheritPixmap>) is still accepted as an obsolete alias but |
|
|
1369 | will be removed in future versions. |
|
|
1370 | |
|
|
1371 | =item B<-tint> I<colour> |
|
|
1372 | |
|
|
1373 | =item B<tintColor:> I<colour> |
|
|
1374 | |
|
|
1375 | Tint the transparent background with the given colour. Note that a |
|
|
1376 | black tint yields a completely black image while a white tint yields |
|
|
1377 | the image unchanged. |
|
|
1378 | |
|
|
1379 | =item B<-sh> I<number> |
|
|
1380 | |
|
|
1381 | =item B<shading:> I<number> |
|
|
1382 | |
|
|
1383 | Darken (0 .. 99) or lighten (101 .. 200) the transparent background. |
|
|
1384 | A value of 100 means no shading. |
|
|
1385 | |
|
|
1386 | =item B<-blr> I<HxV> |
|
|
1387 | |
|
|
1388 | =item B<blurRadius:> I<HxV> |
|
|
1389 | |
|
|
1390 | Apply gaussian blur with the specified radius to the transparent |
|
|
1391 | background. If a single number is specified, the vertical and |
|
|
1392 | horizontal radii are considered to be the same. Setting one of the |
|
|
1393 | radii to 1 and the other to a large number creates interesting effects |
|
|
1394 | on some backgrounds. The maximum radius value is 128. An horizontal or |
|
|
1395 | vertical radius of 0 disables blurring. |
|
|
1396 | |
|
|
1397 | =item B<path:> I<path> |
|
|
1398 | |
|
|
1399 | Specify the colon-delimited search path for finding background image files. |
1295 | |
1400 | |
1296 | =back |
1401 | =back |
1297 | |
1402 | |
1298 | =head1 THE SCROLLBAR |
1403 | =head1 THE SCROLLBAR |
1299 | |
1404 | |
… | |
… | |
1347 | window causes the value of the PRIMARY selection (or CLIPBOARD with the |
1452 | window causes the value of the PRIMARY selection (or CLIPBOARD with the |
1348 | B<Meta> modifier) to be inserted as if it had been typed on the keyboard. |
1453 | B<Meta> modifier) to be inserted as if it had been typed on the keyboard. |
1349 | |
1454 | |
1350 | Pressing B<Shift-Insert> causes the value of the PRIMARY selection to be |
1455 | Pressing B<Shift-Insert> causes the value of the PRIMARY selection to be |
1351 | inserted too. |
1456 | inserted too. |
|
|
1457 | |
|
|
1458 | rxvt-unicode also provides the bindings B<Ctrl-Meta-c> and |
|
|
1459 | <Ctrl-Meta-v> to interact with the CLIPBOARD selection. The first |
|
|
1460 | binding causes the value of the internal selection to be copied to the |
|
|
1461 | CLIPBOARD selection, while the second binding causes the value of the |
|
|
1462 | CLIPBOARD selection to be inserted. |
1352 | |
1463 | |
1353 | =back |
1464 | =back |
1354 | |
1465 | |
1355 | =head1 CHANGING FONTS |
1466 | =head1 CHANGING FONTS |
1356 | |
1467 | |
… | |
… | |
1438 | B<@@RXVT_NAME@@> tries to write an entry into the I<utmp>(5) file so that |
1549 | B<@@RXVT_NAME@@> tries to write an entry into the I<utmp>(5) file so that |
1439 | it can be seen via the I<who(1)> command, and can accept messages. To |
1550 | it can be seen via the I<who(1)> command, and can accept messages. To |
1440 | allow this feature, B<@@RXVT_NAME@@> may need to be installed setuid root |
1551 | allow this feature, B<@@RXVT_NAME@@> may need to be installed setuid root |
1441 | on some systems or setgid to root or to some other group on others. |
1552 | on some systems or setgid to root or to some other group on others. |
1442 | |
1553 | |
1443 | =head1 COLORS AND GRAPHICS |
1554 | =head1 COLOURS AND GRAPHICS |
1444 | |
1555 | |
1445 | In addition to the default foreground and background colours, |
1556 | In addition to the default foreground and background colours, |
1446 | B<@@RXVT_NAME@@> can display up to 16 colours (8 ANSI colours plus |
1557 | B<@@RXVT_NAME@@> can display up to 88/256 colours: 8 ANSI colours plus |
1447 | high-intensity bold/blink versions of the same). Here is a list of the |
1558 | high-intensity (potentially bold/blink) versions of the same, and 72 (or |
1448 | colours with their names. |
1559 | 240 in 256 colour mode) colours arranged in an 4x4x4 (or 6x6x6) colour RGB |
|
|
1560 | cube plus a 8 (24) colour greyscale ramp. |
|
|
1561 | |
|
|
1562 | Here is a list of the ANSI colours with their names. |
1449 | |
1563 | |
1450 | =begin table |
1564 | =begin table |
1451 | |
1565 | |
1452 | B<color0> (black) = Black |
1566 | B<color0> (black) = Black |
1453 | B<color1> (red) = Red3 |
1567 | B<color1> (red) = Red3 |
… | |
… | |
1473 | It is also possible to specify the colour values of B<foreground>, |
1587 | It is also possible to specify the colour values of B<foreground>, |
1474 | B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
1588 | B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
1475 | a number 0-15, as a convenient shorthand to reference the colour name of |
1589 | a number 0-15, as a convenient shorthand to reference the colour name of |
1476 | color0-color15. |
1590 | color0-color15. |
1477 | |
1591 | |
1478 | In addition to the colours defined above, @@RXVT_NAME@@ offers an |
1592 | The following text gives values for the standard 88 colour mode (and |
1479 | additional 72 colours. The first 64 of those (with indices 16 to 79) |
1593 | values for the 256 colour mode in parentheses). |
1480 | consist of a 4*4*4 RGB colour cube (i.e. I<index = r * 16 + g * 4 + b + |
|
|
1481 | 16>), followed by 8 additional shades of gray (with indices 80 to 87). |
|
|
1482 | |
1594 | |
|
|
1595 | The RGB cube uses indices 16..79 (16..231) using the following formulas: |
|
|
1596 | |
|
|
1597 | index_88 = (r * 4 + g) * 4 + b + 16 # r, g, b = 0..3 |
|
|
1598 | index_256 = (r * 6 + g) * 6 + b + 16 # r, g, b = 0..5 |
|
|
1599 | |
|
|
1600 | The grayscale ramp uses indices 80..87 (232..239), from 10% to 90% in 10% |
|
|
1601 | steps (1/26 to 25/26 in 1/26 steps) - black and white are already part of |
|
|
1602 | the RGB cube. |
|
|
1603 | |
1483 | Together, all those colours implement the 88 colour xterm colours. Only |
1604 | Together, all those colours implement the 88 (256) colour xterm |
1484 | the first 16 can be changed using resources currently, the rest can only |
1605 | colours. Only the first 16 can be changed using resources currently, the |
1485 | be changed via command sequences ("escape codes"). |
1606 | rest can only be changed via command sequences ("escape codes"). |
|
|
1607 | |
|
|
1608 | Applications are advised to use terminfo or command sequences to discover |
|
|
1609 | number and RGB values of all colours (yes, you can query this...). |
1486 | |
1610 | |
1487 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1611 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1488 | always swapping the foreground/background colours. This is in contrast to |
1612 | always swapping the foreground/background colours. This is in contrast to |
1489 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1613 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1490 | been specified. For example, |
1614 | been specified. For example, |
1491 | |
1615 | |
1492 | =over 4 |
|
|
1493 | |
|
|
1494 | =item B<@@RXVT_NAME@@ -fg Black -bg White -rv> |
1616 | @@RXVT_NAME@@ -fg Black -bg White -rv |
1495 | |
1617 | |
1496 | would yield White on Black, while on I<xterm>(1) it would yield Black |
1618 | would yield White on Black, while on I<xterm>(1) it would yield Black on |
1497 | on White. |
1619 | White. |
1498 | |
|
|
1499 | =back |
|
|
1500 | |
1620 | |
1501 | =head2 ALPHA CHANNEL SUPPORT |
1621 | =head2 ALPHA CHANNEL SUPPORT |
1502 | |
1622 | |
1503 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1623 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1504 | their act together, rxvt-unicode will do it's own alpha channel management: |
1624 | their act together, rxvt-unicode will do its own alpha channel management: |
1505 | |
1625 | |
1506 | You can prefix any color with an opaquenes percentage enclosed in |
1626 | You can prefix any colour with an opaqueness percentage enclosed in |
1507 | brackets, i.e. C<[percent]>, where C<percent> is a decimal percentage |
1627 | brackets, i.e. C<[percent]>, where C<percent> is a decimal percentage |
1508 | (0-100) that specifies the opacity of the color, where C<0> is completely |
1628 | (0-100) that specifies the opacity of the colour, where C<0> is completely |
1509 | transparent and C<100> is completely opaque. For example, C<[50]red> is a |
1629 | transparent and C<100> is completely opaque. For example, C<[50]red> is a |
1510 | half-transparent red, while C<[95]#00ff00> is an almost opaque green. This |
1630 | half-transparent red, while C<[95]#00ff00> is an almost opaque green. This |
1511 | is the recommended format to specify transparency values, and works with |
1631 | is the recommended format to specify transparency values, and works with |
1512 | all ways to specify a colour. |
1632 | all ways to specify a colour. |
1513 | |
1633 | |
… | |
… | |
1591 | |
1711 | |
1592 | =item B<SHELL> |
1712 | =item B<SHELL> |
1593 | |
1713 | |
1594 | The shell to be used for command execution, defaults to C</bin/sh>. |
1714 | The shell to be used for command execution, defaults to C</bin/sh>. |
1595 | |
1715 | |
1596 | =item B<RXVT_SOCKET> |
1716 | =item B<RXVT_SOCKET> [I<sic>] |
1597 | |
1717 | |
1598 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
1718 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
1599 | @@RXVT_NAME@@d(1). |
1719 | @@RXVT_NAME@@d(1). |
1600 | |
1720 | |
1601 | Default F<<< $HOME/.rxvt-unicode-I<< <nodename >> >>>. |
1721 | Default F<<< $HOME/.urxvt/urxvtd-I<< <nodename> >> >>>. |
|
|
1722 | |
|
|
1723 | =item B<URXVT_PERL_LIB> |
|
|
1724 | |
|
|
1725 | Additional F<:>-separated library search path for perl extensions. Will be |
|
|
1726 | searched after B<-perl-lib> but before F<~/.urxvt/ext> and the system library |
|
|
1727 | directory. |
|
|
1728 | |
|
|
1729 | =item B<URXVT_PERL_VERBOSITY> |
|
|
1730 | |
|
|
1731 | See L<@@RXVT_NAME@@perl>(3). |
1602 | |
1732 | |
1603 | =item B<HOME> |
1733 | =item B<HOME> |
1604 | |
1734 | |
1605 | Used to locate the default directory for the unix domain socket for |
1735 | Used to locate the default directory for the unix domain socket for |
1606 | daemon communications and to locate various resource files (such as |
1736 | daemon communications and to locate various resource files (such as |
1607 | C<.Xdefaults>) |
1737 | C<.Xdefaults>) |
1608 | |
1738 | |
1609 | =item B<XAPPLRESDIR> |
1739 | =item B<XAPPLRESDIR> |
1610 | |
1740 | |
1611 | Directory where various X resource files are being located. |
1741 | Directory where application-specific X resource files are located. |
1612 | |
1742 | |
1613 | =item B<XENVIRONMENT> |
1743 | =item B<XENVIRONMENT> |
1614 | |
1744 | |
1615 | If set and accessible, gives the name of a X resource file to be loaded by |
1745 | If set and accessible, gives the name of a X resource file to be loaded by |
1616 | @@RXVT_NAME@@. |
1746 | @@RXVT_NAME@@. |
… | |
… | |
1621 | |
1751 | |
1622 | =over 4 |
1752 | =over 4 |
1623 | |
1753 | |
1624 | =item B</usr/lib/X11/rgb.txt> |
1754 | =item B</usr/lib/X11/rgb.txt> |
1625 | |
1755 | |
1626 | Color names. |
1756 | Colour names. |
1627 | |
1757 | |
1628 | =back |
1758 | =back |
1629 | |
1759 | |
1630 | =head1 SEE ALSO |
1760 | =head1 SEE ALSO |
1631 | |
1761 | |
|
|
1762 | @@RXVT_NAME@@(7), @@RXVT_NAME@@c(1), @@RXVT_NAME@@d(1), @@RXVT_NAME@@-extensions(1), |
1632 | @@RXVT_NAME@@(7), @@RXVT_NAME@@c(1), @@RXVT_NAME@@d(1), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5) |
1763 | @@RXVT_NAME@@perl(3), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5) |
1633 | |
1764 | |
1634 | =head1 CURRENT PROJECT COORDINATOR |
1765 | =head1 CURRENT PROJECT COORDINATOR |
1635 | |
1766 | |
1636 | =over 4 |
1767 | =over 4 |
1637 | |
1768 | |
1638 | =item Project Coordinator |
1769 | =item Project Coordinator |
1639 | |
1770 | |
1640 | Marc A. Lehmann L<< <rxvt-unicode@schmorp.de> >> |
1771 | Marc A. Lehmann <rxvt-unicode@schmorp.de>. |
1641 | |
1772 | |
1642 | L<http://software.schmorp.de/pkg/rxvt-unicode.html> |
1773 | L<http://software.schmorp.de/pkg/rxvt-unicode.html> |
1643 | |
1774 | |
1644 | =back |
1775 | =back |
1645 | |
1776 | |
… | |
… | |
1649 | |
1780 | |
1650 | =item John Bovey |
1781 | =item John Bovey |
1651 | |
1782 | |
1652 | University of Kent, 1992, wrote the original Xvt. |
1783 | University of Kent, 1992, wrote the original Xvt. |
1653 | |
1784 | |
1654 | =item Rob Nation L<< <nation@rocket.sanders.lockheed.com> >> |
1785 | =item Rob Nation <nation@rocket.sanders.lockheed.com> |
1655 | |
1786 | |
1656 | very heavily modified Xvt and came up with Rxvt |
1787 | very heavily modified Xvt and came up with Rxvt |
1657 | |
1788 | |
1658 | =item Angelo Haritsis L<< <ah@doc.ic.ac.uk> >> |
1789 | =item Angelo Haritsis <ah@doc.ic.ac.uk> |
1659 | |
1790 | |
1660 | wrote the Greek Keyboard Input (no longer in code) |
1791 | wrote the Greek Keyboard Input (no longer in code) |
1661 | |
1792 | |
1662 | =item mj olesen L<< <olesen@me.QueensU.CA> >> |
1793 | =item mj olesen <olesen@me.QueensU.CA> |
1663 | |
1794 | |
1664 | Wrote the menu system. |
1795 | Wrote the menu system. |
1665 | |
1796 | |
1666 | Project Coordinator (changes.txt 2.11 to 2.21) |
1797 | Project Coordinator (changes.txt 2.11 to 2.21) |
1667 | |
1798 | |
1668 | =item Oezguer Kesim L<< <kesim@math.fu-berlin.de> >> |
1799 | =item Oezguer Kesim <kesim@math.fu-berlin.de> |
1669 | |
1800 | |
1670 | Project Coordinator (changes.txt 2.21a to 2.4.5) |
1801 | Project Coordinator (changes.txt 2.21a to 2.4.5) |
1671 | |
1802 | |
1672 | =item Geoff Wing L<< <gcw@pobox.com> >> |
1803 | =item Geoff Wing <gcw@pobox.com> |
1673 | |
1804 | |
1674 | Rewrote screen display and text selection routines. |
1805 | Rewrote screen display and text selection routines. |
1675 | |
1806 | |
1676 | Project Coordinator (changes.txt 2.4.6 - rxvt-unicode) |
1807 | Project Coordinator (changes.txt 2.4.6 - rxvt-unicode) |
1677 | |
1808 | |
1678 | =item Marc Alexander Lehmann L<< <rxvt-unicode@schmorp.de> >> |
1809 | =item Marc Alexander Lehmann <rxvt-unicode@schmorp.de> |
1679 | |
1810 | |
1680 | Forked rxvt-unicode, unicode support, rewrote almost all the code, perl |
1811 | Forked rxvt-unicode, unicode support, rewrote almost all the code, perl |
1681 | extension, random hacks, numerous bugfixes and extensions. |
1812 | extension, random hacks, numerous bugfixes and extensions. |
1682 | |
1813 | |
1683 | Project Coordinator (Changes 1.0 -) |
1814 | Project Coordinator (Changes 1.0 -) |
1684 | |
1815 | |
1685 | =item Emanuele Giaquinta L<< <e.giaquinta@glauco.it> >> |
1816 | =item Emanuele Giaquinta <emanuele.giaquinta@gmail.com> |
1686 | |
1817 | |
1687 | Pty/tty/utmp/wtmp rewrite, lots of random hacking and bugfixing. |
1818 | pty/utmp code rewrite, image code improvements, many random hacks and bugfixes. |
1688 | |
1819 | |
1689 | =back |
1820 | =back |
1690 | |
1821 | |