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.138 by sasha, Thu Sep 20 15:56:41 2007 UTC vs.
Revision 1.152 by root, Wed Dec 12 19:56:37 2007 UTC

17=head1 FREQUENTLY ASKED QUESTIONS 17=head1 FREQUENTLY ASKED QUESTIONS
18 18
19See @@RXVT_NAME@@(7) (try C<man 7 @@RXVT_NAME@@>) for a list of 19See @@RXVT_NAME@@(7) (try C<man 7 @@RXVT_NAME@@>) for a list of
20frequently asked questions and answer to them and some common 20frequently asked questions and answer to them and some common
21problems. That document is also accessible on the World-Wide-Web at 21problems. That document is also accessible on the World-Wide-Web at
22L<http://cvs.schmorp.de/browse/rxvt-unicode/doc/rxvt.7.html>. 22L<http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod>.
23 23
24=head1 RXVT-UNICODE VS. RXVT 24=head1 RXVT-UNICODE VS. RXVT
25 25
26Unlike the original rxvt, B<rxvt-unicode> stores all text in Unicode 26Unlike the original rxvt, B<rxvt-unicode> stores all text in Unicode
27internally. That means it can store and display most scripts in the 27internally. That means it can store and display most scripts in the
30like mongolian or scripts requiring extremely complex combining rules, 30like mongolian or scripts requiring extremely complex combining rules,
31like tibetan or devanagari. Don't expect pretty output when using these 31like tibetan or devanagari. Don't expect pretty output when using these
32scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work 32scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work
33fine, though. A somewhat difficult case are right-to-left scripts, such 33fine, though. A somewhat difficult case are right-to-left scripts, such
34as hebrew: B<rxvt-unicode> adopts the view that bidirectional algorithms 34as hebrew: B<rxvt-unicode> adopts the view that bidirectional algorithms
35belong into the application, not the terminal emulator (too many things -- 35belong in the application, not the terminal emulator (too many things --
36such as cursor-movement while editing -- break otherwise), but that might 36such as cursor-movement while editing -- break otherwise), but that might
37change. 37change.
38 38
39If you are looking for a terminal that supports more exotic scripts, let 39If you are looking for a terminal that supports more exotic scripts, let
40me recommend C<mlterm>, which is a very user friendly, lean and clean 40me recommend C<mlterm>, which is a very user friendly, lean and clean
114 114
115=item B<-ss>|B<+ss> 115=item B<-ss>|B<+ss>
116 116
117Turn on/off skip scrolling (allow multiple screens per refresh); resource B<skipScroll>. 117Turn on/off skip scrolling (allow multiple screens per refresh); resource B<skipScroll>.
118 118
119=item B<-ip>|B<+ip> | B<-tr>|B<+tr> 119=item B<-tr>|B<+tr>
120 120
121Turn on/off inheriting parent window's pixmap. Alternative form is 121Turn on/off illusion of a transparent window background; resource B<transparent>.
122B<-tr>; resource B<inheritPixmap>.
123 122
123B<-ip> is still accepted as an obsolete alias but will be removed in
124future versions.
125
124I<Please address all transparency related issues to Sasha Vasko at 126I<Please address all transparency related issues to Sasha Vasko at
125sasha@aftercode.net. Read the FAQ (man 7 @@RXVT_NAME@@)!> 127sasha@aftercode.net. Read the FAQ (man 7 @@RXVT_NAME@@)!>
126 128
127=item B<-fade> I<number> 129=item B<-fade> I<number>
128 130
129Fade the text by the given percentage when focus is lost. Small values 131Fade the text by the given percentage when focus is lost. Small values
136is opaque black. resource B<fadeColor>. 138is opaque black. resource B<fadeColor>.
137 139
138=item B<-tint> I<colour> 140=item B<-tint> I<colour>
139 141
140Tint the transparent background pixmap with the given colour when 142Tint the transparent background pixmap with the given colour when
141transparency is enabled with B<-tr> or B<-ip>. This only works for 143transparency is enabled with B<-tr>. This only works for
142non-tiled backgrounds, currently. See also the B<-sh> option that can be 144non-tiled backgrounds, currently. See also the B<-sh> option that can be
143used to brighten or darken the image in addition to tinting it. 145used to brighten or darken the image in addition to tinting it.
144Please note that certain tint colours can be applied on the server-side, 146Please note that certain tint colours can be applied on the server-side,
145thus yielding performance gain of two orders of magnitude. These colours are: 147thus yielding performance gain of two orders of magnitude. These colours are:
146blue, red, green, cyan, magenta, yellow, and those close to them; resource 148blue, red, green, cyan, magenta, yellow, and those close to them. Also
149pure black and pure white colors essentially mean no tinting; resource
147I<tintColor>. Example: 150I<tintColor>. Example:
148 151
149 @@RXVT_NAME@@ -tr -tint blue -sh 40 152 @@RXVT_NAME@@ -tr -tint blue -sh 40
150 153
151=item B<-sh> I<number> 154=item B<-sh> I<number>
152 155
153Darken (0 .. 100) or lighten (-1 .. -100) the transparent 156Darken (0 .. 100) or lighten (100 .. 200) the transparent
154background image in addition to (or instead of) tinting it; 157background image in addition to (or instead of) tinting it;
155resource I<shading>. 158resource I<shading>.
156 159
157=item B<-blt> I<string> 160=item B<-blt> I<string>
158 161
160at the same time as transparency - such pixmap will be blended over 163at the same time as transparency - such pixmap will be blended over
161transparency image, using method specified. Supported values are : 164transparency image, using method specified. Supported values are :
162B<add>, B<alphablend>, B<allanon> - color values averaging, B<colorize>, 165B<add>, B<alphablend>, B<allanon> - color values averaging, B<colorize>,
163B<darken>, B<diff>, B<dissipate>, B<hue>, B<lighten>, B<overlay>, 166B<darken>, B<diff>, B<dissipate>, B<hue>, B<lighten>, B<overlay>,
164B<saturate>, B<screen>, B<sub>, B<tint>, B<value>. The default is 167B<saturate>, B<screen>, B<sub>, B<tint>, B<value>. The default is
165alpha-blending; resource I<blendType>. 168alpha-blending. Compile I<afterimage>; resource I<blendType>.
166 169
167=item B<-blr> I<HxV> 170=item B<-blr> I<HxV>
168 171
169Apply Gaussian Blur with the specified radii to the transparent 172Apply Gaussian Blur with the specified radii to the transparent
170background image. If single number is specified - both vertical and 173background image. If single number is specified - both vertical and
171horizontal radii are considered to be the same. Setting one of the 174horizontal radii are considered to be the same. Setting one of the
172radii to 1 and another to a large number creates interesting effects 175radii to 1 and another to a large number creates interesting effects
173on some backgrounds. Maximum radius value is 128; resource I<blurRadius>. 176on some backgrounds. Maximum radius value is 128. Compile I<afterimage>;
177resource I<blurRadius>.
174 178
175=item B<-bg> I<colour> 179=item B<-bg> I<colour>
176 180
177Window background colour; resource B<background>. 181Window background colour; resource B<background>.
178 182
179=item B<-fg> I<colour> 183=item B<-fg> I<colour>
180 184
181Window foreground colour; resource B<foreground>. 185Window foreground colour; resource B<foreground>.
182 186
183=item B<-pixmap> I<file[;geom]> 187=item B<-pixmap> I<file[;geom[:op1][:op2][...]]>
184 188
185Compile I<afterimage>: Specify image file for the background and also 189Compile I<afterimage>: Specify image file for the background and also
186optionally specify its scaling with a geometry string. Note you may need to 190optionally specify its scaling with a geometry string. Note you may need to
187add quotes to avoid special shell interpretation of the C<;> in the 191add quotes to avoid special shell interpretation of the C<;> in the
188command-line; for more details see resource B<backgroundPixmap>. 192command-line; for more details see resource B<backgroundPixmap>.
189 193
190=item B<-cr> I<colour> 194=item B<-cr> I<colour>
411 415
412=item B<-tcw> 416=item B<-tcw>
413 417
414Change the meaning of triple-click selection with the left mouse 418Change the meaning of triple-click selection with the left mouse
415button. Only effective when the original (non-perl) selection code is 419button. Only effective when the original (non-perl) selection code is
416in-use. Instead of selecting a full line it will extend the selection the 420in-use. Instead of selecting a full line it will extend the selection to
417end of the logical line only. resource B<tripleclickwords>. 421the end of the logical line only. resource B<tripleclickwords>.
418 422
419=item B<-insecure> 423=item B<-insecure>
420 424
421Enable "insecure" mode, which currently enables most of the escape 425Enable "insecure" mode, which currently enables most of the escape
422sequences that echo strings. See the resource B<insecure> for more 426sequences that echo strings. See the resource B<insecure> for more
442 446
443Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ 447Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@
444will not immediately destroy its window when the program executed within 448will not immediately destroy its window when the program executed within
445it exits. Instead, it will wait till it is being killed or closed by the 449it exits. Instead, it will wait till it is being killed or closed by the
446user; resource B<hold>. 450user; resource B<hold>.
451
452=item B<-xrm> I<string>
453
454Works like the X Toolkit option of the same name, by adding the I<string>
455as if it were specified in a resource file. Resource values specified this
456way take precedence over all other resource specifications.
457
458Note that you need to use the I<same> syntax as in the .Xdefaults file,
459e.g. C<*.background: black>. Also note that all @@RXVT_NAME@@-specific
460options can be specified as long-options on the commandline, so use
461of B<-xrm> is mostly limited to cases where you want to specify other
462resources (e.g. for input methods) or for compatibility with other
463programs.
447 464
448=item B<-keysym.>I<sym> I<string> 465=item B<-keysym.>I<sym> I<string>
449 466
450Remap a key symbol. See resource B<keysym>. 467Remap a key symbol. See resource B<keysym>.
451 468
486If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp 503If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp
487entries and will not tinker with pty/tty permissions - you have to do that 504entries and will not tinker with pty/tty permissions - you have to do that
488yourself if you want that. 505yourself if you want that.
489 506
490As an extremely special case, specifying C<-1> will completely suppress 507As an extremely special case, specifying C<-1> will completely suppress
491pty/tty operations. 508pty/tty operations, which is probably only useful in conjunction with some
509perl extension that manages the terminal.
492 510
493Here is a example in perl that illustrates how this option can be used (a 511Here is a example in perl that illustrates how this option can be used (a
494longer example is in F<doc/pty-fd>): 512longer example is in F<doc/pty-fd>):
495 513
496 use IO::Pty; 514 use IO::Pty;
510Comma-separated list of perl extension scripts to use (or not to use) in 528Comma-separated list of perl extension scripts to use (or not to use) in
511this terminal instance. See resource B<perl-ext> for details. 529this terminal instance. See resource B<perl-ext> for details.
512 530
513=back 531=back
514 532
515=head1 RESOURCES (available also as long-options) 533=head1 RESOURCES
516 534
517Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long 535Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long
518options) compiled into your version. 536options) compiled into your version. All resources are also available as
537long-options.
519 538
520You can set and change the resources using X11 tools like B<xrdb>. Many 539You can set and change the resources using X11 tools like B<xrdb>. Many
521distribution do also load settings from the B<~/.Xresources> file when X 540distribution do also load settings from the B<~/.Xresources> file when X
522starts. @@RXVT_NAME@@ will consult the following files/resources in order, 541starts. @@RXVT_NAME@@ will consult the following files/resources in order,
523with later settings overwriting earlier ones: 542with later settings overwriting earlier ones:
525 1. system-wide app-defaults file, either locale-dependent OR global 544 1. system-wide app-defaults file, either locale-dependent OR global
526 2. app-defaults file in $XAPPLRESDIR 545 2. app-defaults file in $XAPPLRESDIR
527 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults 546 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults
528 4. SCREEN_RESOURCES for the current screen 547 4. SCREEN_RESOURCES for the current screen
529 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> 548 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename>
549 6. resources specified via -xrm on the commandline
530 550
531Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class 551Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class
532names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources 552names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources
533common to both B<@@RXVT_NAME@@> and the original I<rxvt> to be easily 553common to both B<@@RXVT_NAME@@> and the original I<rxvt> to be easily
534configured, while the class name B<URxvt> allows resources unique to 554configured, while the class name B<URxvt> allows resources unique to
636 656
637B<False>: specify that everything is to be displayed, even 657B<False>: specify that everything is to be displayed, even
638if the refresh is too fast for the human eye to read anything (or the 658if the refresh is too fast for the human eye to read anything (or the
639monitor to display anything); option B<+ss>. 659monitor to display anything); option B<+ss>.
640 660
641=item B<inheritPixmap:> I<boolean> 661=item B<transparent:> I<boolean>
642 662
643B<True>: make the background inherit the parent windows' pixmap, giving 663Turn on/off illusion of a transparent window background.
644artificial transparency. B<False>: do not inherit the parent windows'
645pixmap.
646 664
647I<Please note that transparency of any kind if completely unsupported by 665B<inheritPixmap> is still accepted as an obsolete alias but will be removed in
648the author. Don't bug him with installation questions!> 666future versions.
667
668I<Please address all transparency related issues to Sasha Vasko at
669sasha@aftercode.net. Read the FAQ (man 7 @@RXVT_NAME@@)!>
649 670
650=item B<fading:> I<number> 671=item B<fading:> I<number>
651 672
652Fade the text by the given percentage when focus is lost; option B<-fade>. 673Fade the text by the given percentage when focus is lost; option B<-fade>.
653 674
670 691
671Specify background blending type; option B<-blt>. 692Specify background blending type; option B<-blt>.
672 693
673=item B<blurRadius:> I<number> 694=item B<blurRadius:> I<number>
674 695
675Apply Gaussian Blurr with the specified radius to the transparent 696Apply Gaussian Blurr with the specified radius to the transparent
676background image; option B<-blr>. 697background image; option B<-blr>.
677 698
678=item B<scrollColor:> I<colour> 699=item B<scrollColor:> I<colour>
679 700
680Use the specified colour for the scrollbar [default #B2B2B2]. 701Use the specified colour for the scrollbar [default #B2B2B2].
687=item B<borderColor:> I<colour> 708=item B<borderColor:> I<colour>
688 709
689The colour of the border around the text area and between the scrollbar 710The colour of the border around the text area and between the scrollbar
690and the text. 711and the text.
691 712
692=item B<backgroundPixmap:> I<file[;geom]> 713=item B<backgroundPixmap:> I<file[;geom[:op1][:op2][...]]>
693 714
694Use the specified image file for the background and also optionally 715Use the specified image file for the background and also
695specify its scaling with a geometry string B<WxH+X+Y>, 716optionally specify its scaling with a geometry string B<WxH+X+Y>,
696in which B<"W" / "H"> specify the horizontal/vertical scale (percent), 717(default C<0x0+50+50>) in which B<"W" / "H"> specify the
697and B<"X" / "Y"> locate the image centre (percent). 718horizontal/vertical scale (percent), and B<"X" / "Y"> locate the image
698A scale of 0 displays the image with tiling. A scale of 1 displays the 719centre (percent). A scale of 0 displays the image with tiling. A scale
699image without any scaling. A scale of 2 to 9 specifies an integer 720of 1 displays the image without any scaling. A scale of 2 to 9 specifies
700number of images in that direction. No image will be magnified beyond 721an integer number of images in that direction. No image will be magnified
70110 times its original size. The maximum permitted scale is 1000. 722beyond 10 times its original size. The maximum permitted scale is 1000.
702Special string of B<"auto"> used as a geometry will cause image to be 723Additional operations can be specified after colon B<:op1:op2...>.
703automatically scaled to match window size. 724Supported operations are:
725
726 tile force background image to be tiled and not scaled. Equivalent to 0x0,
727 propscale will scale image keeping proportions,
728 auto will scale image to match window size. Equivalent to 100x100;
729 hscale will scale image horizontally to the window size;
730 vscale will scale image vertically to the window size;
731 scale will scale image to match window size;
732 root will tile image as if it was a root window background, auto-adjusting
733 whenever terminal window moves.
734
704If used in conjunction with B<-tr> option - specified pixmap will be 735If used in conjunction with B<-tr> option, the specified pixmap will be
705blended over transparency image using either alpha-blending, or any 736blended over transparency image using either alpha-blending, or any
706other blending type, specified with B<-blt "type"> option. 737other blending type, specified with B<-blt "type"> option.
707[default 0x0+50+50]
708 738
709=item B<path:> I<path> 739=item B<path:> I<path>
710 740
711Specify the colon-delimited search path for finding background image files. 741Specify the colon-delimited search path for finding background image files.
712 742
985will be created). In this mode, characters outside ISO-8859-1 can be used. 1015will be created). In this mode, characters outside ISO-8859-1 can be used.
986 1016
987When the selection extension is not used, only ISO-8859-1 characters can 1017When the selection extension is not used, only ISO-8859-1 characters can
988be used. If not specified, the built-in default is used: 1018be used. If not specified, the built-in default is used:
989 1019
990B<< BACKSLASH `"'&()*,;<=>?@[]{|} >> 1020B<< BACKSLASH `"'&()*,;<=>?@[]^{|} >>
991 1021
992=item B<preeditType:> I<style> 1022=item B<preeditType:> I<style>
993 1023
994B<OverTheSpot>, B<OffTheSpot>, B<Root>; option B<-pt>. 1024B<OverTheSpot>, B<OffTheSpot>, B<Root>; option B<-pt>.
995 1025
1083searching keysym macros from B</usr/X11R6/include/X11/keysymdef.h> and 1113searching keysym macros from B</usr/X11R6/include/X11/keysymdef.h> and
1084omitting the prefix B<XK_>. Alternatively you can specify I<key> by its hex 1114omitting the prefix B<XK_>. Alternatively you can specify I<key> by its hex
1085keysym value (B<0x0000 - 0xFFFF>). Note that the lookup of I<sym>s is not 1115keysym value (B<0x0000 - 0xFFFF>). Note that the lookup of I<sym>s is not
1086performed in an exact manner; however, the closest match is assured. 1116performed in an exact manner; however, the closest match is assured.
1087 1117
1088I<string> may contain escape values (C<\a>: bell, C<\b>: backspace, 1118I<string> may contain escape values (C<\n>: newline, C<\000>: octal
1089C<\e>, C<\E>: escape, C<\n>: newline, C<\r>: carriage return, C<\t>: tab, 1119number), see RESOURCES in C<man 7 X> for futher details.
1090C<\000>: octal number) or verbatim control characters (C<^?>: delete,
1091C<^@>: null, C<^A> ...) and may be enclosed with double quotes so that it
1092can start or end with whitespace. B<This feature is deprecated and will
1093be removed>.
1094
1095Please note that you need to double the C<\> in resource files, as
1096Xlib itself does its own de-escaping (you can use C<\033> instead of
1097C<\e> (and so on), which will work with both Xt and @@RXVT_NAME@@'s own
1098processing).
1099 1120
1100You can define a range of keysyms in one shot by providing a I<string> 1121You can define a range of keysyms in one shot by providing a I<string>
1101with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' 1122with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/'
1102should be a character not used by the strings. 1123should be a character not used by the strings.
1103 1124
1474resources or on the command line. 1495resources or on the command line.
1475 1496
1476=item B<COLORTERM> 1497=item B<COLORTERM>
1477 1498
1478Either C<rxvt>, C<rxvt-xpm>, depending on whether @@RXVT_NAME@@ was 1499Either C<rxvt>, C<rxvt-xpm>, depending on whether @@RXVT_NAME@@ was
1479compiled with background image support, and optionally with the added 1500compiled with background image support, and optionally with the added
1480extension C<-mono> to indicate that rxvt-unicode runs on a monochrome 1501extension C<-mono> to indicate that rxvt-unicode runs on a monochrome
1481screen. 1502screen.
1482 1503
1483=item B<COLORFGBG> 1504=item B<COLORFGBG>
1484 1505
1485Set to a string of the form C<fg;bg> or C<fg;xpm;bg>, where C<fg> is 1506Set to a string of the form C<fg;bg> or C<fg;xpm;bg>, where C<fg> is
1486the colour code used as default foreground/text colour (or the string 1507the colour code used as default foreground/text colour (or the string
1487C<default> to indicate that the default-colour escape sequence is to be 1508C<default> to indicate that the default-colour escape sequence is to be
1488used), C<bg> is the colour code used as default background colour (or the 1509used), C<bg> is the colour code used as default background colour (or the
1489string C<default>), and C<xpm> is the string C<default> if @@RXVT_NAME@@ 1510string C<default>), and C<xpm> is the string C<default> if @@RXVT_NAME@@
1490was compiled with background image support. Libraries like C<ncurses> 1511was compiled with background image support. Libraries like C<ncurses>
1491and C<slang> can (and do) use this information to optimize screen output. 1512and C<slang> can (and do) use this information to optimize screen output.
1492 1513
1493=item B<WINDOWID> 1514=item B<WINDOWID>
1494 1515
1495Set to the (decimal) X Window ID of the @@RXVT_NAME@@ window (the toplevel 1516Set to the (decimal) X Window ID of the @@RXVT_NAME@@ window (the toplevel
1587Project Coordinator (changes.txt 2.21a to 2.4.5) 1608Project Coordinator (changes.txt 2.21a to 2.4.5)
1588 1609
1589=item Geoff Wing L<< <gcw@pobox.com> >> 1610=item Geoff Wing L<< <gcw@pobox.com> >>
1590 1611
1591Rewrote screen display and text selection routines. 1612Rewrote screen display and text selection routines.
1592 1613
1593Project Coordinator (changes.txt 2.4.6 - rxvt-unicode) 1614Project Coordinator (changes.txt 2.4.6 - rxvt-unicode)
1594 1615
1595=item Marc Alexander Lehmann L<< <rxvt-unicode@schmorp.de> >> 1616=item Marc Alexander Lehmann L<< <rxvt-unicode@schmorp.de> >>
1596 1617
1597Forked rxvt-unicode, unicode support, rewrote almost all the code, perl 1618Forked rxvt-unicode, unicode support, rewrote almost all the code, perl

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines