ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.pod
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.1.pod (file contents):
Revision 1.189 by sf-exg, Tue Nov 23 18:52:13 2010 UTC vs.
Revision 1.210 by sf-exg, Mon Dec 26 15:20:58 2011 UTC

183 183
184=item B<-fg> I<colour> 184=item B<-fg> I<colour>
185 185
186Window foreground colour; resource B<foreground>. 186Window foreground colour; resource B<foreground>.
187 187
188=item B<-pixmap> I<file[;geom[:op1][:op2][...]]> 188=item B<-pixmap> I<file[;oplist]>
189 189
190Compile I<afterimage> or I<pixbuf>: Specify image file for the background and also 190Compile I<afterimage> or I<pixbuf>: Specify image file for the background and also
191optionally specify its scaling with a geometry string. Note you may need to 191optionally specify a list of operations to modify it. Note you may need to
192add quotes to avoid special shell interpretation of the C<;> in the 192add quotes to avoid special shell interpretation of the C<;> in the
193command-line; for more details see resource B<backgroundPixmap>. 193command-line; for more details see resource B<backgroundPixmap>.
194 194
195=item B<-cr> I<colour> 195=item B<-cr> I<colour>
196 196
558You can set and change the resources using X11 tools like B<xrdb>. Many 558You can set and change the resources using X11 tools like B<xrdb>. Many
559distribution do also load settings from the B<~/.Xresources> file when X 559distribution do also load settings from the B<~/.Xresources> file when X
560starts. @@RXVT_NAME@@ will consult the following files/resources in order, 560starts. @@RXVT_NAME@@ will consult the following files/resources in order,
561with later settings overwriting earlier ones: 561with later settings overwriting earlier ones:
562 562
563 1. system-wide app-defaults file, either locale-dependent OR global
564 2. app-defaults file in $XAPPLRESDIR 563 1. app-defaults file in $XAPPLRESDIR
564 2. $HOME/.Xdefaults
565 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults 565 3. RESOURCE_MANAGER property on root-window of screen 0
566 4. SCREEN_RESOURCES for the current screen 566 4. SCREEN_RESOURCES property on root-window of the current screen
567 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> 567 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename>
568 6. resources specified via -xrm on the commandline 568 6. resources specified via -xrm on the commandline
569 569
570Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class 570Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class
571names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources 571names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources
705Fade to this colour, when fading is used (see B<fading:>). The default 705Fade to this colour, when fading is used (see B<fading:>). The default
706colour is black; option B<-fadecolor>. 706colour is black; option B<-fadecolor>.
707 707
708=item B<tintColor:> I<colour> 708=item B<tintColor:> I<colour>
709 709
710Tint the transparent background with the given colour; option 710Tint the transparent background with the given colour. If the RENDER
711B<-tint>. 711extension is not available only black, red, green, yellow, blue,
712magenta, cyan and white tints can be performed server-side. Note that
713a black tint yields a completely black image while a white tint yields
714the image unchanged; option B<-tint>.
712 715
713=item B<shading:> I<number> 716=item B<shading:> I<number>
714 717
715Darken (0 .. 99) or lighten (101 .. 200) the transparent background. 718Darken (0 .. 99) or lighten (101 .. 200) the transparent background.
716A value of 100 means no shading; option B<-sh>. 719A value of 100 means no shading; option B<-sh>.
740=item B<borderColor:> I<colour> 743=item B<borderColor:> I<colour>
741 744
742The colour of the border around the text area and between the scrollbar 745The colour of the border around the text area and between the scrollbar
743and the text. 746and the text.
744 747
745=item B<backgroundPixmap:> I<file[;geom[:op1][:op2][...]]> 748=item B<backgroundPixmap:> I<file[;oplist]>
746 749
747Use the specified image file for the background and also 750Use the specified image file for the background and also
748optionally specify its scaling with a geometry string B<WxH+X+Y>, 751optionally specify a colon separated list of operations to modify it.
749(default C<100x100+50+50>) in which B<"W" / "H"> specify the
750horizontal/vertical scale (percent), and B<"X" / "Y"> locate the image
751centre (percent). A scale of 0 displays the image with tiling.
752The maximum permitted scale is 1000.
753Additional operations can be specified after colon B<:op1:op2...>.
754Supported operations are: 752Supported operations are:
755 753
756 tile force background image to be tiled and not scaled. Equivalent to 0x0 754=over 4
757 propscale will scale image keeping proportions 755
758 auto will scale image to match window size. Equivalent to 100x100 756=item B<WxH+X+Y>
759 hscale will scale image horizontally to the window size 757
760 vscale will scale image vertically to the window size 758sets scale and position. B<"W" / "H"> specify the horizontal/vertical
761 scale will scale image to match window size 759scale (percent), and B<"X" / "Y"> locate the image centre (percent). A
762 root will tile image as if it was a root window background, auto-adjusting 760scale of 0 disables scaling. The maximum permitted scale is 1000.
763 whenever terminal window moves 761
762=item B<op=tile>
763
764enables tiling
765
766=item B<op=keep-aspect>
767
768maintain the image aspect ratio when scaling
769
770=item B<op=root-align>
771
772use the position of the terminal window relative to the root window as
773the image offset, simulating a root window background
774
775=back
776
777The default scale and position setting is C<100x100+50+50>.
778Alternatively, a predefined set of templates can be used to achieve
779the most common setups:
780
781=over 4
782
783=item B<style=tiled>
784
785the image is tiled with no scaling. Equivalent to 0x0+0+0:op=tile
786
787=item B<style=aspect-stretched>
788
789the image is scaled to fill the whole window maintaining the aspect
790ratio and centered. Equivalent to 100x100+50+50:op=keep-aspect
791
792=item B<style=stretched>
793
794the image is scaled to fill the whole window. Equivalent to 100x100
795
796=item B<style=centered>
797
798the image is centered with no scaling. Equivalent to 0x0+50+50
799
800=item B<style=root-tiled>
801
802the image is tiled with no scaling and using 'root' positioning.
803Equivalent to 0x0:op=tile:op=root-align
804
805=back
806
807If multiple templates are specified the last one wins. Note that a
808template overrides all the scale, position and operations settings.
764 809
765If used in conjunction with B<-tr> option, the specified pixmap will be 810If used in conjunction with B<-tr> option, the specified pixmap will be
766blended over the transparent background using alpha-blending. If I<afterimage> 811blended over the transparent background using alpha-blending. If I<afterimage>
767support has been compiled in it is possible to choose other blending 812support has been compiled in it is possible to choose other blending
768types with B<-blt "type"> option. 813types with B<-blt "type"> option.
900=item B<scrollstyle:> I<mode> 945=item B<scrollstyle:> I<mode>
901 946
902Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is 947Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is
903the author's favourite. 948the author's favourite.
904 949
950=item B<thickness:> I<number>
951
952Set the scrollbar width in pixels.
953
905=item B<scrollBar:> I<boolean> 954=item B<scrollBar:> I<boolean>
906 955
907B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: 956B<True>: enable the scrollbar [default]; option B<-sb>. B<False>:
908disable the scrollbar; option B<+sb>. 957disable the scrollbar; option B<+sb>.
909 958
928B<False>: do not scroll to bottom when tty receives output; option 977B<False>: do not scroll to bottom when tty receives output; option
929B<+si>. 978B<+si>.
930 979
931=item B<scrollWithBuffer:> I<boolean> 980=item B<scrollWithBuffer:> I<boolean>
932 981
933B<True>: scroll with scrollback buffer when tty receives new lines (and 982B<True>: scroll with scrollback buffer when tty receives new lines (i.e.
934B<scrollTtyOutput> is False); option B<-sw>. B<False>: do not scroll 983try to show the same lines) and B<scrollTtyOutput> is False; option
935with scrollback buffer when tty receives new lines; option B<+sw>. 984B<-sw>. B<False>: do not scroll with scrollback buffer when tty receives
985new lines; option B<+sw>.
936 986
937=item B<scrollTtyKeypress:> I<boolean> 987=item B<scrollTtyKeypress:> I<boolean>
938 988
939B<True>: scroll to bottom when a non-special key is pressed. Special keys 989B<True>: scroll to bottom when a non-special key is pressed. Special keys
940are those which are intercepted by rxvt-unicode for special handling and 990are those which are intercepted by rxvt-unicode for special handling and
1154performed in an exact manner; however, the closest match is assured. 1204performed in an exact manner; however, the closest match is assured.
1155 1205
1156I<string> may contain escape values (C<\n>: newline, C<\000>: octal 1206I<string> may contain escape values (C<\n>: newline, C<\000>: octal
1157number), see RESOURCES in C<man 7 X> for further details. 1207number), see RESOURCES in C<man 7 X> for further details.
1158 1208
1159You can define a range of keysyms in one shot by providing a I<string> 1209You can define a range of keysyms in one shot by
1210loading the C<keysym-list> perl extension and providing a I<string>
1160with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' 1211with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/'
1161should be a character not used by the strings. 1212should be a character not used by the strings.
1162 1213
1163Its usage can be demonstrated by an example: 1214Its usage can be demonstrated by an example:
1164 1215
1165 URxvt.keysym.M-C-0x61: list|\033<M-C-|abc|> 1216 URxvt.keysym.M-C-0x61: list|\033<|abc|>
1166 1217
1167The above line is equivalent to the following three lines: 1218The above line is equivalent to the following three lines:
1168 1219
1169 URxvt.keysym.Meta-Control-0x61: \033<M-C-a> 1220 URxvt.keysym.Meta-Control-0x61: \033<a>
1170 URxvt.keysym.Meta-Control-0x62: \033<M-C-b> 1221 URxvt.keysym.Meta-Control-0x62: \033<b>
1171 URxvt.keysym.Meta-Control-0x63: \033<M-C-c> 1222 URxvt.keysym.Meta-Control-0x63: \033<c>
1172 1223
1173If I<string> takes the form of C<command:STRING>, the specified B<STRING> 1224If I<string> takes the form of C<command:STRING>, the specified B<STRING>
1174is interpreted and executed as @@RXVT_NAME@@'s control sequence. For 1225is interpreted and executed as @@RXVT_NAME@@'s control sequence. For
1175example the following means "change the current locale to C<zh_CN.GBK> 1226example the following means "change the current locale to C<zh_CN.GBK>
1176when Control-Meta-c is being pressed": 1227when Control-Meta-c is being pressed":
1249the @@RXVT_NAME@@perl(3) manpage. 1300the @@RXVT_NAME@@perl(3) manpage.
1250 1301
1251=item B<perl-lib>: I<path> 1302=item B<perl-lib>: I<path>
1252 1303
1253Colon-separated list of additional directories that hold extension 1304Colon-separated list of additional directories that hold extension
1254scripts. When looking for extensions specified by the C<perl> resource, 1305scripts. When looking for perl extensions, @@RXVT_NAME@@ will first
1255@@RXVT_NAME@@ will first look in these directories and then in 1306look in these directories, then in $HOME/.urxvt/ext and lastly in
1256F<@@RXVT_LIBDIR@@/urxvt/perl/>. 1307F<@@RXVT_LIBDIR@@/urxvt/perl/>.
1257 1308
1258See the @@RXVT_NAME@@perl(3) manpage. 1309See the @@RXVT_NAME@@perl(3) manpage.
1259 1310
1260=item B<< selection.pattern-I<idx> >>: I<perl-regex> 1311=item B<< selection.pattern-I<idx> >>: I<perl-regex>
1509White. 1560White.
1510 1561
1511=head2 ALPHA CHANNEL SUPPORT 1562=head2 ALPHA CHANNEL SUPPORT
1512 1563
1513If Xft support has been compiled in and as long as Xft/Xrender/X don't get 1564If Xft support has been compiled in and as long as Xft/Xrender/X don't get
1514their act together, rxvt-unicode will do it's own alpha channel management: 1565their act together, rxvt-unicode will do its own alpha channel management:
1515 1566
1516You can prefix any colour with an opaqueness percentage enclosed in 1567You can prefix any colour with an opaqueness percentage enclosed in
1517brackets, i.e. C<[percent]>, where C<percent> is a decimal percentage 1568brackets, i.e. C<[percent]>, where C<percent> is a decimal percentage
1518(0-100) that specifies the opacity of the colour, where C<0> is completely 1569(0-100) that specifies the opacity of the colour, where C<0> is completely
1519transparent and C<100> is completely opaque. For example, C<[50]red> is a 1570transparent and C<100> is completely opaque. For example, C<[50]red> is a
1606=item B<RXVT_SOCKET> 1657=item B<RXVT_SOCKET>
1607 1658
1608The unix domain socket path used by @@RXVT_NAME@@c(1) and 1659The unix domain socket path used by @@RXVT_NAME@@c(1) and
1609@@RXVT_NAME@@d(1). 1660@@RXVT_NAME@@d(1).
1610 1661
1611Default F<<< $HOME/.rxvt-unicode-I<< <nodename >> >>>. 1662Default F<<< $HOME/.urxvt/urxvtd-I<< <nodename> >> >>>.
1612 1663
1613=item B<HOME> 1664=item B<HOME>
1614 1665
1615Used to locate the default directory for the unix domain socket for 1666Used to locate the default directory for the unix domain socket for
1616daemon communications and to locate various resource files (such as 1667daemon communications and to locate various resource files (such as
1617C<.Xdefaults>) 1668C<.Xdefaults>)
1618 1669
1619=item B<XAPPLRESDIR> 1670=item B<XAPPLRESDIR>
1620 1671
1621Directory where various X resource files are being located. 1672Directory where application-specific X resource files are located.
1622 1673
1623=item B<XENVIRONMENT> 1674=item B<XENVIRONMENT>
1624 1675
1625If set and accessible, gives the name of a X resource file to be loaded by 1676If set and accessible, gives the name of a X resource file to be loaded by
1626@@RXVT_NAME@@. 1677@@RXVT_NAME@@.
1692 1743
1693Project Coordinator (Changes 1.0 -) 1744Project Coordinator (Changes 1.0 -)
1694 1745
1695=item Emanuele Giaquinta L<< <e.giaquinta@glauco.it> >> 1746=item Emanuele Giaquinta L<< <e.giaquinta@glauco.it> >>
1696 1747
1697Pty/tty/utmp/wtmp rewrite, lots of random hacking and bugfixing. 1748pty/utmp code rewrite, image code improvements, many random hacks and bugfixes.
1698 1749
1699=back 1750=back
1700 1751

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines