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.153 by root, Wed Dec 12 19:57:13 2007 UTC vs.
Revision 1.170 by root, Sat May 30 08:51:23 2009 UTC

92 92
93Print out a message describing available options. 93Print out a message describing available options.
94 94
95=item B<-display> I<displayname> 95=item B<-display> I<displayname>
96 96
97Attempt to open a window on the named X display (B<-d> still 97Attempt to open a window on the named X display (the older form B<-d>
98respected). In the absence of this option, the display specified by the 98is still respected. but deprecated). In the absence of this option, the
99B<DISPLAY> environment variable is used. 99display 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
103Compile I<xft>: Attempt to find a visual with the given bit depth; 103Compile I<xft>: Attempt to find a visual with the given bit depth;
104resource B<depth>. 104resource B<depth>.
105
106[Please note that many X servers (and libXft) are buggy with
107respect to C<-depth 32> and/or alpha channels, and will cause all sorts
108of graphical corruption. This is harmless, but we can't do anything about
109this, so watch out]
105 110
106=item B<-geometry> I<geom> 111=item B<-geometry> I<geom>
107 112
108Window geometry (B<-g> still respected); resource B<geometry>. 113Window geometry (B<-g> still respected); resource B<geometry>.
109 114
177horizontal radii are considered to be the same. Setting one of the 182horizontal radii are considered to be the same. Setting one of the
178radii to 1 and another to a large number creates interesting effects 183radii to 1 and another to a large number creates interesting effects
179on some backgrounds. Maximum radius value is 128. Compile I<afterimage>; 184on some backgrounds. Maximum radius value is 128. Compile I<afterimage>;
180resource I<blurRadius>. 185resource I<blurRadius>.
181 186
187=item B<-icon> I<file>
188
189Compile I<afterimage>: Use the specified image as application icon. This
190is used by many window managers, taskbars and pagers to represent the
191application window; resource I<iconFile>.
192
182=item B<-bg> I<colour> 193=item B<-bg> I<colour>
183 194
184Window background colour; resource B<background>. 195Window background colour; resource B<background>.
185 196
186=item B<-fg> I<colour> 197=item B<-fg> I<colour>
245italic> >> characters are to be printed. See resource B<boldItalicFont> 256italic> >> characters are to be printed. See resource B<boldItalicFont>
246for details. 257for details.
247 258
248=item B<-is>|B<+is> 259=item B<-is>|B<+is>
249 260
250Compile I<font-styles>: Bold/Italic font styles imply high intensity 261Compile I<font-styles>: Bold/Blink font styles imply high intensity
251foreground/background (default). See resource B<intensityStyles> for 262foreground/background (default). See resource B<intensityStyles> for
252details. 263details.
253 264
254=item B<-name> I<name> 265=item B<-name> I<name>
255 266
273 284
274=item B<-sb>|B<+sb> 285=item B<-sb>|B<+sb>
275 286
276Turn on/off scrollbar; resource B<scrollBar>. 287Turn on/off scrollbar; resource B<scrollBar>.
277 288
289=item B<-sr>|B<+sr>
290
291Put scrollbar on right/left; resource B<scrollBar_right>.
292
293=item B<-st>|B<+st>
294
295Display rxvt (non XTerm/NeXT) scrollbar without/with a trough;
296resource B<scrollBar_floating>.
297
278=item B<-si>|B<+si> 298=item B<-si>|B<+si>
279 299
280Turn on/off scroll-to-bottom on TTY output inhibit; resource 300Turn on/off scroll-to-bottom on TTY output inhibit; resource
281B<scrollTtyOutput> has opposite effect. 301B<scrollTtyOutput> has opposite effect.
282 302
288=item B<-sw>|B<+sw> 308=item B<-sw>|B<+sw>
289 309
290Turn on/off scrolling with the scrollback buffer as new lines appear. 310Turn on/off scrolling with the scrollback buffer as new lines appear.
291This only takes effect if B<-si> is also given; resource 311This only takes effect if B<-si> is also given; resource
292B<scrollWithBuffer>. 312B<scrollWithBuffer>.
293
294=item B<-sr>|B<+sr>
295
296Put scrollbar on right/left; resource B<scrollBar_right>.
297
298=item B<-st>|B<+st>
299
300Display rxvt (non XTerm/NeXT) scrollbar without/with a trough;
301resource B<scrollBar_floating>.
302 313
303=item B<-ptab>|B<+ptab> 314=item B<-ptab>|B<+ptab>
304 315
305If enabled (default), "Horizontal Tab" characters are being stored as 316If enabled (default), "Horizontal Tab" characters are being stored as
306actual wide characters in the screen buffer, which makes it possible to 317actual wide characters in the screen buffer, which makes it possible to
335 346
336=item B<-bl> 347=item B<-bl>
337 348
338Compile I<frills>: Set MWM hints to request a borderless window, i.e. 349Compile I<frills>: Set MWM hints to request a borderless window, i.e.
339if honoured by the WM, the rxvt-unicode window will not have window 350if honoured by the WM, the rxvt-unicode window will not have window
340decorations; resource B<borderLess>. 351decorations; resource B<borderLess>. If the window manager does not
352support MWM hints (e.g. kwin), enables override-redirect mode.
341 353
342=item B<-override-redirect> 354=item B<-override-redirect>
343 355
344Compile I<frills>: Sets override-redirect on the window; resource 356Compile I<frills>: Sets override-redirect on the window; resource
345B<override-redirect>. 357B<override-redirect>.
354=item B<-lsp> I<number> 366=item B<-lsp> I<number>
355 367
356Compile I<frills>: Lines (pixel height) to insert between each row of 368Compile I<frills>: Lines (pixel height) to insert between each row of
357the display. Useful to work around font rendering problems; resource 369the display. Useful to work around font rendering problems; resource
358B<lineSpace>. 370B<lineSpace>.
371
372=item B<-letsp> I<number>
373
374Compile I<frills>: Amount to adjust the computed character width by
375to control overall letter spacing. Negative values will tighten up the
376letter spacing, positive values will space letters out more. Useful to
377work around odd font metrics; resource B<letterSpace>.
359 378
360=item B<-tn> I<termname> 379=item B<-tn> I<termname>
361 380
362This option specifies the name of the terminal type to be set in the 381This option specifies the name of the terminal type to be set in the
363B<TERM> environment variable. This terminal type must exist in the 382B<TERM> environment variable. This terminal type must exist in the
449 468
450Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ 469Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@
451will not immediately destroy its window when the program executed within 470will not immediately destroy its window when the program executed within
452it exits. Instead, it will wait till it is being killed or closed by the 471it exits. Instead, it will wait till it is being killed or closed by the
453user; resource B<hold>. 472user; resource B<hold>.
473
474=item B<-cd> I<path>
475
476Sets the working directory for the shell (or the command specified via
477B<-e>). The I<path> must be an absolute path and it must exist for
478@@RXVT_NAME@@ to start; resource B<chdir>.
454 479
455=item B<-xrm> I<string> 480=item B<-xrm> I<string>
456 481
457Works like the X Toolkit option of the same name, by adding the I<string> 482Works like the X Toolkit option of the same name, by adding the I<string>
458as if it were specified in a resource file. Resource values specified this 483as if it were specified in a resource file. Resource values specified this
567=item B<depth:> I<bitdepth> 592=item B<depth:> I<bitdepth>
568 593
569Compile I<xft>: Attempt to find a visual with the given bit depth; 594Compile I<xft>: Attempt to find a visual with the given bit depth;
570option B<-depth>. 595option B<-depth>.
571 596
597=item B<buffered:> I<boolean>
598
599Compile I<xft>: Turn on/off double-buffering for xft (default enabled).
600On some card/driver combination enabling it slightly decreases
601performance, on most it greatly helps it. The slowdown is small, so it
602should normally be enabled.
603
572=item B<geometry:> I<geom> 604=item B<geometry:> I<geom>
573 605
574Create the window with the specified X window geometry [default 80x24]; 606Create the window with the specified X window geometry [default 80x24];
575option B<-geometry>. 607option B<-geometry>.
576 608
694 726
695Specify background blending type; option B<-blt>. 727Specify background blending type; option B<-blt>.
696 728
697=item B<blurRadius:> I<number> 729=item B<blurRadius:> I<number>
698 730
699Apply Gaussian Blurr with the specified radius to the transparent 731Apply gaussian blur with the specified radius to the transparent
700background image; option B<-blr>. 732background image; option B<-blr>.
733
734=item B<iconFile:> I<file>
735
736Set the application icon pixmap; option B<-icon>.
701 737
702=item B<scrollColor:> I<colour> 738=item B<scrollColor:> I<colour>
703 739
704Use the specified colour for the scrollbar [default #B2B2B2]. 740Use the specified colour for the scrollbar [default #B2B2B2].
705 741
724an integer number of images in that direction. No image will be magnified 760an integer number of images in that direction. No image will be magnified
725beyond 10 times its original size. The maximum permitted scale is 1000. 761beyond 10 times its original size. The maximum permitted scale is 1000.
726Additional operations can be specified after colon B<:op1:op2...>. 762Additional operations can be specified after colon B<:op1:op2...>.
727Supported operations are: 763Supported operations are:
728 764
729 tile force background image to be tiled and not scaled. Equivalent to 0x0, 765 tile force background image to be tiled and not scaled. Equivalent to 0x0
730 propscale will scale image keeping proportions, 766 propscale will scale image keeping proportions
731 auto will scale image to match window size. Equivalent to 100x100; 767 auto will scale image to match window size. Equivalent to 100x100
732 hscale will scale image horizontally to the window size; 768 hscale will scale image horizontally to the window size
733 vscale will scale image vertically to the window size; 769 vscale will scale image vertically to the window size
734 scale will scale image to match window size; 770 scale will scale image to match window size
735 root will tile image as if it was a root window background, auto-adjusting 771 root will tile image as if it was a root window background, auto-adjusting
736 whenever terminal window moves. 772 whenever terminal window moves
737 773
738If used in conjunction with B<-tr> option, the specified pixmap will be 774If used in conjunction with B<-tr> option, the specified pixmap will be
739blended over transparency image using either alpha-blending, or any 775blended over transparency image using either alpha-blending, or any
740other blending type, specified with B<-blt "type"> option. 776other blending type, specified with B<-blt "type"> option.
741 777
806text font will being used for the given style. 842text font will being used for the given style.
807 843
808=item B<intensityStyles:> I<boolean> 844=item B<intensityStyles:> I<boolean>
809 845
810When font styles are not enabled, or this option is enabled (B<True>, 846When font styles are not enabled, or this option is enabled (B<True>,
811option B<-is>, the default), bold and italic font styles imply high 847option B<-is>, the default), bold/blink font styles imply high
812intensity foreground/background colours. Disabling this option (B<False>, 848intensity foreground/background colours. Disabling this option (B<False>,
813option B<+is>) disables this behaviour, the high intensity colours are not 849option B<+is>) disables this behaviour, the high intensity colours are not
814reachable. 850reachable.
815 851
816=item B<selectstyle:> I<mode>
817
818Set mouse selection style to B<old> which is 2.20, B<oldword> which
819is xterm style with 2.20 old word selection, or anything else which
820gives xterm style selection. Only effective when the original (non-perl)
821selection code is in use.
822
823=item B<scrollstyle:> I<mode>
824
825Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is
826the author's favourite.
827
828=item B<title:> I<string> 852=item B<title:> I<string>
829 853
830Set window title string, the default title is the command-line 854Set window title string, the default title is the command-line
831specified after the B<-e> option, if any, otherwise the application 855specified after the B<-e> option, if any, otherwise the application
832name; option B<-title>. 856name; option B<-title>.
845=item B<urgentOnBell:> I<boolean> 869=item B<urgentOnBell:> I<boolean>
846 870
847B<True>: set the urgency hint for the wm on receipt of a bell character. 871B<True>: set the urgency hint for the wm on receipt of a bell character.
848B<False>: do not set the urgency hint [default]. 872B<False>: do not set the urgency hint [default].
849 873
874@@RXVT_NAME@@ resets the urgency hint on every focus change.
875
850=item B<visualBell:> I<boolean> 876=item B<visualBell:> I<boolean>
851 877
852B<True>: use visual bell on receipt of a bell character; option B<-vb>. 878B<True>: use visual bell on receipt of a bell character; option B<-vb>.
853B<False>: no visual bell [default]; option B<+vb>. 879B<False>: no visual bell [default]; option B<+vb>.
854 880
876 902
877 URxvt.print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX) 903 URxvt.print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX)
878 904
879This creates a new file in your home directory with the screen contents 905This creates a new file in your home directory with the screen contents
880every time you hit C<Print>. 906every time you hit C<Print>.
907
908=item B<scrollstyle:> I<mode>
909
910Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is
911the author's favourite.
881 912
882=item B<scrollBar:> I<boolean> 913=item B<scrollBar:> I<boolean>
883 914
884B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: 915B<True>: enable the scrollbar [default]; option B<-sb>. B<False>:
885disable the scrollbar; option B<+sb>. 916disable the scrollbar; option B<+sb>.
1084 1115
1085=item B<secondaryScroll:> I<boolean> 1116=item B<secondaryScroll:> I<boolean>
1086 1117
1087Turn on/off secondary screen scroll (default enabled). If this 1118Turn on/off secondary screen scroll (default enabled). If this
1088option is enabled, scrolls on the secondary screen will change the 1119option is enabled, scrolls on the secondary screen will change the
1089scrollback buffer and switching to/from the secondary screen will 1120scrollback buffer and, when secondaryScreen is off, switching
1090instead scroll the screen up. 1121to/from the secondary screen will instead scroll the screen up.
1091 1122
1092=item B<hold>: I<boolean> 1123=item B<hold>: I<boolean>
1093 1124
1094Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ 1125Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@
1095will not immediately destroy its window when the program executed within 1126will not immediately destroy its window when the program executed within
1096it exits. Instead, it will wait till it is being killed or closed by the 1127it exits. Instead, it will wait till it is being killed or closed by the
1097user. 1128user.
1129
1130=item B<chdir>: I<path>
1131
1132Sets the working directory for the shell (or the command specified via
1133B<-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
1135directory will be used; option B<-cd>.
1098 1136
1099=item B<keysym.>I<sym>: I<string> 1137=item B<keysym.>I<sym>: I<string>
1100 1138
1101Compile I<frills>: Associate I<string> with keysym I<sym>. The 1139Compile I<frills>: Associate I<string> with keysym I<sym>. The
1102intervening resource name B<keysym.> cannot be omitted. 1140intervening resource name B<keysym.> cannot be omitted.
1209all instances, while B<perl-ext> is used for specific instances. 1247all instances, while B<perl-ext> is used for specific instances.
1210 1248
1211=item B<perl-eval>: I<string> 1249=item B<perl-eval>: I<string>
1212 1250
1213Perl code to be evaluated when all extensions have been registered. See 1251Perl code to be evaluated when all extensions have been registered. See
1214the @@RXVT_NAME@@perl(3) manpage. Due to security reasons, this resource 1252the @@RXVT_NAME@@perl(3) manpage.
1215will be ignored when running setuid/setgid.
1216 1253
1217=item B<perl-lib>: I<path> 1254=item B<perl-lib>: I<path>
1218 1255
1219Colon-separated list of additional directories that hold extension 1256Colon-separated list of additional directories that hold extension
1220scripts. When looking for extensions specified by the C<perl> resource, 1257scripts. When looking for extensions specified by the C<perl> resource,
1221@@RXVT_NAME@@ will first look in these directories and then in 1258@@RXVT_NAME@@ will first look in these directories and then in
1222F<@@RXVT_LIBDIR@@/urxvt/perl/>. Due to security reasons, this resource 1259F<@@RXVT_LIBDIR@@/urxvt/perl/>.
1223will be ignored when running setuid/setgid.
1224 1260
1225See the @@RXVT_NAME@@perl(3) manpage. 1261See the @@RXVT_NAME@@perl(3) manpage.
1226 1262
1227=item B<< selection.pattern-I<idx> >>: I<perl-regex> 1263=item B<< selection.pattern-I<idx> >>: I<perl-regex>
1228 1264
1463=back 1499=back
1464 1500
1465=head2 ALPHA CHANNEL SUPPORT 1501=head2 ALPHA CHANNEL SUPPORT
1466 1502
1467If Xft support has been compiled in and as long as Xft/Xrender/X don't get 1503If Xft support has been compiled in and as long as Xft/Xrender/X don't get
1468their act together, rxvt-unicode will support C<rgba:rrrr/gggg/bbbb/aaaa> 1504their act together, rxvt-unicode will do it's own alpha channel management:
1469(recommended, but B<MUST> have 4 digits/component) colour specifications, 1505
1470in addition to the ones provided by X, where the additional A component 1506You can prefix any color with an opaquenes percentage enclosed in
1507brackets, 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
1509transparent and C<100> is completely opaque. For example, C<[50]red> is a
1510half-transparent red, while C<[95]#00ff00> is an almost opaque green. This
1511is the recommended format to specify transparency values, and works with
1512all ways to specify a colour.
1513
1514For complete control, rxvt-unicode also supports
1515C<rgba:rrrr/gggg/bbbb/aaaa> (exactly four hex digits/component) colour
1516specifications, where the additional C<aaaa> component specifies opacity
1471specifies opacity (alpha) values. The minimum value of C<0> is completely 1517(alpha) values. The minimum value of C<0000> is completely transparent,
1472transparent). You can also prefix any color with C<[percent]>, where 1518while C<ffff> is completely opaque). The two example colours from
1473C<percent> is a decimal percentage (0-100) that specifies the opacity of 1519earlier could also be specified as C<rgba:ff00/0000/0000/8000> and
1474the color, where C<0> is completely transparent and C<100> is completelxy 1520C<rgba:0000/ff00/0000/f332>.
1475opaque.
1476 1521
1477You probably need to specify B<"-depth 32">, too, and have the luck that 1522You probably need to specify B<"-depth 32">, too, to force a visual with
1478your X-server uses ARGB pixel layout, as X is far from just supporting 1523alpha channels, and have the luck that your X-server uses ARGB pixel
1479ARGB visuals out of the box, and rxvt-unicode just fudges around. 1524layout, as X is far from just supporting ARGB visuals out of the box, and
1525rxvt-unicode just fudges around.
1480 1526
1481For example, the following selects an almost completely transparent red 1527For example, the following selects an almost completely transparent black
1482background, and an almost opaque pink foreground: 1528background, and an almost opaque pink foreground:
1483 1529
1484 @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/aaaa -fg "[80]pink" 1530 @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/4444 -fg "[80]pink"
1485 1531
1486I<Please note that transparency of any kind if completely unsupported by 1532When not using a background image, then the interpretation of the
1487the author. Don't bug him with installation questions!> 1533alpha channel is up to your compositing manager (most interpret it as
1534transparency of course).
1535
1536When using a background pixmap or pseudo-transparency, then the background
1537colour will always behave as if it were completely transparent (so the
1538background image shows instead), regardless of how it was specified, while
1539other colours will either be transparent as specified (the background
1540image will show through) on servers supporting the RENDER extension, or
1541fully opaque on servers not supporting the RENDER EXTENSION.
1542
1543Please note that due to bugs in Xft, specifying alpha values might result
1544in garbage being displayed when the X-server does not support the RENDER
1545extension.
1488 1546
1489=head1 ENVIRONMENT 1547=head1 ENVIRONMENT
1490 1548
1491B<@@RXVT_NAME@@> sets and/or uses the following environment variables: 1549B<@@RXVT_NAME@@> sets and/or uses the following environment variables:
1492 1550
1526C<--with-terminfo=PATH>. 1584C<--with-terminfo=PATH>.
1527 1585
1528=item B<DISPLAY> 1586=item B<DISPLAY>
1529 1587
1530Used by @@RXVT_NAME@@ to connect to the display and set to the correct 1588Used by @@RXVT_NAME@@ to connect to the display and set to the correct
1531display in its child processes. 1589display in its child processes if C<-display> isn't used to override. It
1590defaults to C<:0> if it doesn't exist.
1532 1591
1533=item B<SHELL> 1592=item B<SHELL>
1534 1593
1535The shell to be used for command execution, defaults to C</bin/sh>. 1594The shell to be used for command execution, defaults to C</bin/sh>.
1536 1595

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines