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.133 by ayin, Sat Jul 28 20:15:18 2007 UTC vs.
Revision 1.151 by root, Wed Dec 12 19:55:55 2007 UTC

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
28world. Being a terminal emulator, however, some things are very difficult, 28world. Being a terminal emulator, however, some things are very difficult,
29especially cursive scripts such as arabic, vertically written scripts 29especially cursive scripts such as arabic, vertically written scripts
30like mongolian or scripts requiring extremely complex combining rules, 30like mongolian or scripts requiring extremely complex combining rules,
31like tibetan or devenagari. 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
124I<Please note that transparency of any kind if completely unsupported by 123B<-ip> is still accepted as an obsolete alias but will be removed in
125the author. Don't bug him with installation questions! Read the FAQ (man 7 124future versions.
126@@RXVT_NAME@@)!> 125
126I<Please address all transparency related issues to Sasha Vasko at
127sasha@aftercode.net. Read the FAQ (man 7 @@RXVT_NAME@@)!>
127 128
128=item B<-fade> I<number> 129=item B<-fade> I<number>
129 130
130Fade 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
131fade a little only, 100 completely replaces all colours by the fade 132fade a little only, 100 completely replaces all colours by the fade
137is opaque black. resource B<fadeColor>. 138is opaque black. resource B<fadeColor>.
138 139
139=item B<-tint> I<colour> 140=item B<-tint> I<colour>
140 141
141Tint the transparent background pixmap with the given colour when 142Tint the transparent background pixmap with the given colour when
142transparency is enabled with B<-tr> or B<-ip>. This only works for 143transparency is enabled with B<-tr>. This only works for
143non-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
144used to brighten or darken the image in addition to tinting it; resource 145used to brighten or darken the image in addition to tinting it.
146Please note that certain tint colours can be applied on the server-side,
147thus yielding performance gain of two orders of magnitude. These colours are:
148blue, red, green, cyan, magenta, yellow, and those close to them. Also
149pure black and pure white colors essentially mean no tinting; resource
145I<tintColor>. Example: 150I<tintColor>. Example:
146 151
147 @@RXVT_NAME@@ -tr -tint blue -sh 40 152 @@RXVT_NAME@@ -tr -tint blue -sh 40
148 153
149=item B<-sh> I<number> 154=item B<-sh> I<number>
150 155
151Darken (0 .. 100) or lighten (-1 .. -100) the transparent 156Darken (0 .. 100) or lighten (100 .. 200) the transparent
152background image in addition to (or instead of) tinting it; 157background image in addition to (or instead of) tinting it;
153resource I<shading>. 158resource I<shading>.
154 159
155=item B<-blt> I<string> 160=item B<-blt> I<string>
156 161
157Specify background blending type. If background pixmap is specified 162Specify background blending type. If background pixmap is specified
158at the same time as transparency - such pixmap will be blended over 163at the same time as transparency - such pixmap will be blended over
159transparency image, using method specified. Supported values are : 164transparency image, using method specified. Supported values are :
160B<add>, B<alphablend>, B<allanon> - color values averaging, B<colorize>, 165B<add>, B<alphablend>, B<allanon> - color values averaging, B<colorize>,
161B<darken>, B<diff>, B<dissipate>, B<hue>, B<lighten>, B<overlay>, 166B<darken>, B<diff>, B<dissipate>, B<hue>, B<lighten>, B<overlay>,
162B<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
163alpha-blending; resource I<blendType>. 168alpha-blending. Compile I<afterimage>; resource I<blendType>.
164 169
165=item B<-blr> I<number> 170=item B<-blr> I<HxV>
166 171
167Apply Gaussian Blur with the specified radius to the transparent 172Apply Gaussian Blur with the specified radii to the transparent
168background image; resource I<blurRadius>. 173background image. If single number is specified - both vertical and
174horizontal radii are considered to be the same. Setting one of the
175radii to 1 and another to a large number creates interesting effects
176on some backgrounds. Maximum radius value is 128. Compile I<afterimage>;
177resource I<blurRadius>.
169 178
170=item B<-bg> I<colour> 179=item B<-bg> I<colour>
171 180
172Window background colour; resource B<background>. 181Window background colour; resource B<background>.
173 182
174=item B<-fg> I<colour> 183=item B<-fg> I<colour>
175 184
176Window foreground colour; resource B<foreground>. 185Window foreground colour; resource B<foreground>.
177 186
178=item B<-pixmap> I<file[;geom]> 187=item B<-pixmap> I<file[;geom[:op1][:op2][...]]>
179 188
180Compile I<afterimage>: Specify image file for the background and also 189Compile I<afterimage>: Specify image file for the background and also
181optionally 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
182add quotes to avoid special shell interpretation of the C<;> in the 191add quotes to avoid special shell interpretation of the C<;> in the
183command-line; for more details see resource B<backgroundPixmap>. 192command-line; for more details see resource B<backgroundPixmap>.
184 193
185=item B<-cr> I<colour> 194=item B<-cr> I<colour>
341 350
342=item B<-lsp> I<number> 351=item B<-lsp> I<number>
343 352
344Compile I<frills>: Lines (pixel height) to insert between each row of 353Compile I<frills>: Lines (pixel height) to insert between each row of
345the display. Useful to work around font rendering problems; resource 354the display. Useful to work around font rendering problems; resource
346B<linespace>. 355B<lineSpace>.
347 356
348=item B<-tn> I<termname> 357=item B<-tn> I<termname>
349 358
350This option specifies the name of the terminal type to be set in the 359This option specifies the name of the terminal type to be set in the
351B<TERM> environment variable. This terminal type must exist in the 360B<TERM> environment variable. This terminal type must exist in the
406 415
407=item B<-tcw> 416=item B<-tcw>
408 417
409Change the meaning of triple-click selection with the left mouse 418Change the meaning of triple-click selection with the left mouse
410button. Only effective when the original (non-perl) selection code is 419button. Only effective when the original (non-perl) selection code is
411in-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
412end of the logical line only. resource B<tripleclickwords>. 421the end of the logical line only. resource B<tripleclickwords>.
413 422
414=item B<-insecure> 423=item B<-insecure>
415 424
416Enable "insecure" mode, which currently enables most of the escape 425Enable "insecure" mode, which currently enables most of the escape
417sequences that echo strings. See the resource B<insecure> for more 426sequences that echo strings. See the resource B<insecure> for more
437 446
438Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ 447Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@
439will not immediately destroy its window when the program executed within 448will not immediately destroy its window when the program executed within
440it 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
441user; 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.
442 464
443=item B<-keysym.>I<sym> I<string> 465=item B<-keysym.>I<sym> I<string>
444 466
445Remap a key symbol. See resource B<keysym>. 467Remap a key symbol. See resource B<keysym>.
446 468
481If 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
482entries 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
483yourself if you want that. 505yourself if you want that.
484 506
485As an extremely special case, specifying C<-1> will completely suppress 507As an extremely special case, specifying C<-1> will completely suppress
486pty/tty operations. 508pty/tty operations, which is probably only useful in conjunction with some
509perl extension that manages the terminal.
487 510
488Here 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
489longer example is in F<doc/pty-fd>): 512longer example is in F<doc/pty-fd>):
490 513
491 use IO::Pty; 514 use IO::Pty;
505Comma-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
506this terminal instance. See resource B<perl-ext> for details. 529this terminal instance. See resource B<perl-ext> for details.
507 530
508=back 531=back
509 532
510=head1 RESOURCES (available also as long-options) 533=head1 RESOURCES
511 534
512Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long 535Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long
513options) compiled into your version. 536options) compiled into your version. All resources are also available as
537long-options.
514 538
515You 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
516distribution do also load settings from the B<~/.Xresources> file when X 540distribution do also load settings from the B<~/.Xresources> file when X
517starts. @@RXVT_NAME@@ will consult the following files/resources in order, 541starts. @@RXVT_NAME@@ will consult the following files/resources in order,
518with later settings overwriting earlier ones: 542with later settings overwriting earlier ones:
520 1. system-wide app-defaults file, either locale-dependent OR global 544 1. system-wide app-defaults file, either locale-dependent OR global
521 2. app-defaults file in $XAPPLRESDIR 545 2. app-defaults file in $XAPPLRESDIR
522 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults 546 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults
523 4. SCREEN_RESOURCES for the current screen 547 4. SCREEN_RESOURCES for the current screen
524 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> 548 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename>
549 6. resources specified via -xrm on the commandline
525 550
526Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class 551Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class
527names: 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
528common 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
529configured, while the class name B<URxvt> allows resources unique to 554configured, while the class name B<URxvt> allows resources unique to
631 656
632B<False>: specify that everything is to be displayed, even 657B<False>: specify that everything is to be displayed, even
633if 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
634monitor to display anything); option B<+ss>. 659monitor to display anything); option B<+ss>.
635 660
636=item B<inheritPixmap:> I<boolean> 661=item B<transparent:> I<boolean>
637 662
638B<True>: make the background inherit the parent windows' pixmap, giving 663Turn on/off illusion of a transparent window background.
639artificial transparency. B<False>: do not inherit the parent windows'
640pixmap.
641 664
642I<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
643the 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@@)!>
644 670
645=item B<fading:> I<number> 671=item B<fading:> I<number>
646 672
647Fade 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>.
648 674
665 691
666Specify background blending type; option B<-blt>. 692Specify background blending type; option B<-blt>.
667 693
668=item B<blurRadius:> I<number> 694=item B<blurRadius:> I<number>
669 695
670Apply Gaussian Blurr with the specified radius to the transparent 696Apply Gaussian Blurr with the specified radius to the transparent
671background image; option B<-blr>. 697background image; option B<-blr>.
672 698
673=item B<scrollColor:> I<colour> 699=item B<scrollColor:> I<colour>
674 700
675Use the specified colour for the scrollbar [default #B2B2B2]. 701Use the specified colour for the scrollbar [default #B2B2B2].
682=item B<borderColor:> I<colour> 708=item B<borderColor:> I<colour>
683 709
684The 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
685and the text. 711and the text.
686 712
687=item B<backgroundPixmap:> I<file[;geom]> 713=item B<backgroundPixmap:> I<file[;geom[:op1][:op2][...]]>
688 714
689Use the specified image file for the background and also optionally 715Use the specified image file for the background and also
690specify its scaling with a geometry string B<WxH+X+Y>, 716optionally specify its scaling with a geometry string B<WxH+X+Y>,
691in which B<"W" / "H"> specify the horizontal/vertical scale (percent), 717(default C<0x0+50+50>) in which B<"W" / "H"> specify the
692and B<"X" / "Y"> locate the image centre (percent). 718horizontal/vertical scale (percent), and B<"X" / "Y"> locate the image
693A 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
694image 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
695number of images in that direction. No image will be magnified beyond 721an integer number of images in that direction. No image will be magnified
69610 times its original size. The maximum permitted scale is 1000. 722beyond 10 times its original size. The maximum permitted scale is 1000.
697Special string of B<"auto"> used as a geometry will cause image to be 723Additional operations can be specified after colon B<:op1:op2...>.
698automatically 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
699If used in conjunction with B<-tr> option - specified pixmap will be 735If used in conjunction with B<-tr> option, the specified pixmap will be
700blended over transparency image using either alpha-blending, or any 736blended over transparency image using either alpha-blending, or any
701other blending type, specified with B<-blt "type"> option. 737other blending type, specified with B<-blt "type"> option.
702[default 0x0+50+50]
703 738
704=item B<path:> I<path> 739=item B<path:> I<path>
705 740
706Specify the colon-delimited search path for finding XPM files. 741Specify the colon-delimited search path for finding background image files.
707 742
708=item B<font:> I<fontlist> 743=item B<font:> I<fontlist>
709 744
710Select the fonts to be used. This is a comma separated list of font names 745Select the fonts to be used. This is a comma separated list of font names
711that are checked in order when trying to find glyphs for characters. The 746that are checked in order when trying to find glyphs for characters. The
910=item B<termName:> I<termname> 945=item B<termName:> I<termname>
911 946
912Specifies the terminal type name to be set in the B<TERM> environment 947Specifies the terminal type name to be set in the B<TERM> environment
913variable; option B<-tn>. 948variable; option B<-tn>.
914 949
915=item B<linespace:> I<number> 950=item B<lineSpace:> I<number>
916 951
917Specifies number of lines (pixel height) to insert between each row of 952Specifies number of lines (pixel height) to insert between each row of
918the display [default 0]; option B<-lsp>. 953the display [default 0]; option B<-lsp>.
919 954
920=item B<meta8:> I<boolean> 955=item B<meta8:> I<boolean>
980will 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.
981 1016
982When 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
983be used. If not specified, the built-in default is used: 1018be used. If not specified, the built-in default is used:
984 1019
985B<< BACKSLASH `"'&()*,;<=>?@[]{|} >> 1020B<< BACKSLASH `"'&()*,;<=>?@[]^{|} >>
986 1021
987=item B<preeditType:> I<style> 1022=item B<preeditType:> I<style>
988 1023
989B<OverTheSpot>, B<OffTheSpot>, B<Root>; option B<-pt>. 1024B<OverTheSpot>, B<OffTheSpot>, B<Root>; option B<-pt>.
990 1025
1078searching keysym macros from B</usr/X11R6/include/X11/keysymdef.h> and 1113searching keysym macros from B</usr/X11R6/include/X11/keysymdef.h> and
1079omitting 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
1080keysym 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
1081performed in an exact manner; however, the closest match is assured. 1116performed in an exact manner; however, the closest match is assured.
1082 1117
1083I<string> may contain escape values (C<\a>: bell, C<\b>: backspace, 1118I<string> may contain escape values (C<\n>: newline, C<\000>: octal
1084C<\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.
1085C<\000>: octal number) or verbatim control characters (C<^?>: delete,
1086C<^@>: null, C<^A> ...) and may be enclosed with double quotes so that it
1087can start or end with whitespace. B<This feature is deprecated and will
1088be removed>.
1089
1090Please note that you need to double the C<\> in resource files, as
1091Xlib itself does its own de-escaping (you can use C<\033> instead of
1092C<\e> (and so on), which will work with both Xt and @@RXVT_NAME@@'s own
1093processing).
1094 1120
1095You 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>
1096with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' 1122with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/'
1097should be a character not used by the strings. 1123should be a character not used by the strings.
1098 1124
1469resources or on the command line. 1495resources or on the command line.
1470 1496
1471=item B<COLORTERM> 1497=item B<COLORTERM>
1472 1498
1473Either C<rxvt>, C<rxvt-xpm>, depending on whether @@RXVT_NAME@@ was 1499Either C<rxvt>, C<rxvt-xpm>, depending on whether @@RXVT_NAME@@ was
1474compiled with XPM support, and optionally with the added extension 1500compiled with background image support, and optionally with the added
1475C<-mono> to indicate that rxvt-unicode runs on a monochrome screen. 1501extension C<-mono> to indicate that rxvt-unicode runs on a monochrome
1502screen.
1476 1503
1477=item B<COLORFGBG> 1504=item B<COLORFGBG>
1478 1505
1479Set 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
1480the colour code used as default foreground/text colour (or the string 1507the colour code used as default foreground/text colour (or the string
1481C<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
1482used), 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
1483string 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@@
1484was compiled with XPM support. Libraries like C<ncurses> and C<slang> can 1511was compiled with background image support. Libraries like C<ncurses>
1485(and do) use this information to optimize screen output. 1512and C<slang> can (and do) use this information to optimize screen output.
1486 1513
1487=item B<WINDOWID> 1514=item B<WINDOWID>
1488 1515
1489Set 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
1490window, which usually has subwindows for the scrollbar, the terminal 1517window, which usually has subwindows for the scrollbar, the terminal
1581Project Coordinator (changes.txt 2.21a to 2.4.5) 1608Project Coordinator (changes.txt 2.21a to 2.4.5)
1582 1609
1583=item Geoff Wing L<< <gcw@pobox.com> >> 1610=item Geoff Wing L<< <gcw@pobox.com> >>
1584 1611
1585Rewrote screen display and text selection routines. 1612Rewrote screen display and text selection routines.
1586 1613
1587Project Coordinator (changes.txt 2.4.6 - rxvt-unicode) 1614Project Coordinator (changes.txt 2.4.6 - rxvt-unicode)
1588 1615
1589=item Marc Alexander Lehmann L<< <rxvt-unicode@schmorp.de> >> 1616=item Marc Alexander Lehmann L<< <rxvt-unicode@schmorp.de> >>
1590 1617
1591Forked 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