… | |
… | |
17 | =head1 FREQUENTLY ASKED QUESTIONS |
17 | =head1 FREQUENTLY ASKED QUESTIONS |
18 | |
18 | |
19 | See @@RXVT_NAME@@(7) (try C<man 7 @@RXVT_NAME@@>) for a list of |
19 | See @@RXVT_NAME@@(7) (try C<man 7 @@RXVT_NAME@@>) for a list of |
20 | frequently asked questions and answer to them and some common |
20 | frequently asked questions and answer to them and some common |
21 | problems. That document is also accessible on the World-Wide-Web at |
21 | problems. That document is also accessible on the World-Wide-Web at |
22 | L<http://cvs.schmorp.de/browse/rxvt-unicode/doc/rxvt.7.html>. |
22 | L<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 | |
26 | Unlike the original rxvt, B<rxvt-unicode> stores all text in Unicode |
26 | Unlike the original rxvt, B<rxvt-unicode> stores all text in Unicode |
27 | internally. That means it can store and display most scripts in the |
27 | internally. That means it can store and display most scripts in the |
… | |
… | |
30 | like mongolian or scripts requiring extremely complex combining rules, |
30 | like mongolian or scripts requiring extremely complex combining rules, |
31 | like tibetan or devanagari. Don't expect pretty output when using these |
31 | like tibetan or devanagari. Don't expect pretty output when using these |
32 | scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work |
32 | scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work |
33 | fine, though. A somewhat difficult case are right-to-left scripts, such |
33 | fine, though. A somewhat difficult case are right-to-left scripts, such |
34 | as hebrew: B<rxvt-unicode> adopts the view that bidirectional algorithms |
34 | as hebrew: B<rxvt-unicode> adopts the view that bidirectional algorithms |
35 | belong into the application, not the terminal emulator (too many things -- |
35 | belong in the application, not the terminal emulator (too many things -- |
36 | such as cursor-movement while editing -- break otherwise), but that might |
36 | such as cursor-movement while editing -- break otherwise), but that might |
37 | change. |
37 | change. |
38 | |
38 | |
39 | If you are looking for a terminal that supports more exotic scripts, let |
39 | If you are looking for a terminal that supports more exotic scripts, let |
40 | me recommend C<mlterm>, which is a very user friendly, lean and clean |
40 | me recommend C<mlterm>, which is a very user friendly, lean and clean |
… | |
… | |
116 | |
116 | |
117 | Turn on/off skip scrolling (allow multiple screens per refresh); resource B<skipScroll>. |
117 | Turn on/off skip scrolling (allow multiple screens per refresh); resource B<skipScroll>. |
118 | |
118 | |
119 | =item B<-tr>|B<+tr> |
119 | =item B<-tr>|B<+tr> |
120 | |
120 | |
121 | Turn on/off illusion of a transparent window background. Obsolete form of it is |
121 | Turn on/off illusion of a transparent window background; resource B<transparent>. |
122 | B<-ip> and it should not be used anymore; resource B<transparent>. |
|
|
123 | |
122 | |
124 | I<Please note that old resource name of B<inheritPixmap> is obsolete and should be |
123 | B<-ip> is still accepted as an obsolete alias but will be removed in |
125 | changed to B<transparent>. Backwards compatibility support for B<inheritPixmap> will |
124 | future versions. |
126 | be phased out in future versions of rxvt!> |
|
|
127 | |
125 | |
128 | I<Please address all transparency related issues to Sasha Vasko at |
126 | I<Please address all transparency related issues to Sasha Vasko at |
129 | sasha@aftercode.net. Read the FAQ (man 7 @@RXVT_NAME@@)!> |
127 | sasha@aftercode.net. Read the FAQ (man 7 @@RXVT_NAME@@)!> |
130 | |
128 | |
131 | =item B<-fade> I<number> |
129 | =item B<-fade> I<number> |
132 | |
130 | |
133 | Fade the text by the given percentage when focus is lost. Small values |
131 | Fade the text by the given percentage when focus is lost. Small values |
… | |
… | |
145 | transparency is enabled with B<-tr>. This only works for |
143 | transparency is enabled with B<-tr>. This only works for |
146 | non-tiled backgrounds, currently. See also the B<-sh> option that can be |
144 | non-tiled backgrounds, currently. See also the B<-sh> option that can be |
147 | used to brighten or darken the image in addition to tinting it. |
145 | used to brighten or darken the image in addition to tinting it. |
148 | Please note that certain tint colours can be applied on the server-side, |
146 | Please note that certain tint colours can be applied on the server-side, |
149 | thus yielding performance gain of two orders of magnitude. These colours are: |
147 | thus yielding performance gain of two orders of magnitude. These colours are: |
150 | blue, red, green, cyan, magenta, yellow, and those close to them; resource |
148 | blue, red, green, cyan, magenta, yellow, and those close to them. Also |
|
|
149 | pure black and pure white colors essentially mean no tinting; resource |
151 | I<tintColor>. Example: |
150 | I<tintColor>. Example: |
152 | |
151 | |
153 | @@RXVT_NAME@@ -tr -tint blue -sh 40 |
152 | @@RXVT_NAME@@ -tr -tint blue -sh 40 |
154 | |
153 | |
155 | =item B<-sh> I<number> |
154 | =item B<-sh> I<number> |
156 | |
155 | |
157 | Darken (0 .. 100) or lighten (-1 .. -100) the transparent |
156 | Darken (0 .. 100) or lighten (100 .. 200) the transparent |
158 | background image in addition to (or instead of) tinting it; |
157 | background image in addition to (or instead of) tinting it; |
159 | resource I<shading>. |
158 | resource I<shading>. |
160 | |
159 | |
161 | =item B<-blt> I<string> |
160 | =item B<-blt> I<string> |
162 | |
161 | |
… | |
… | |
183 | |
182 | |
184 | =item B<-fg> I<colour> |
183 | =item B<-fg> I<colour> |
185 | |
184 | |
186 | Window foreground colour; resource B<foreground>. |
185 | Window foreground colour; resource B<foreground>. |
187 | |
186 | |
188 | =item B<-pixmap> I<file[;geom]> |
187 | =item B<-pixmap> I<file[;geom[:op1][:op2][...]]> |
189 | |
188 | |
190 | Compile I<afterimage>: Specify image file for the background and also |
189 | Compile I<afterimage>: Specify image file for the background and also |
191 | optionally specify its scaling with a geometry string. Note you may need to |
190 | optionally specify its scaling with a geometry string. Note you may need to |
192 | add quotes to avoid special shell interpretation of the C<;> in the |
191 | add quotes to avoid special shell interpretation of the C<;> in the |
193 | command-line; for more details see resource B<backgroundPixmap>. |
192 | command-line; for more details see resource B<backgroundPixmap>. |
194 | |
193 | |
195 | =item B<-cr> I<colour> |
194 | =item B<-cr> I<colour> |
… | |
… | |
416 | |
415 | |
417 | =item B<-tcw> |
416 | =item B<-tcw> |
418 | |
417 | |
419 | Change the meaning of triple-click selection with the left mouse |
418 | Change the meaning of triple-click selection with the left mouse |
420 | button. Only effective when the original (non-perl) selection code is |
419 | button. Only effective when the original (non-perl) selection code is |
421 | in-use. Instead of selecting a full line it will extend the selection the |
420 | in-use. Instead of selecting a full line it will extend the selection to |
422 | end of the logical line only. resource B<tripleclickwords>. |
421 | the end of the logical line only. resource B<tripleclickwords>. |
423 | |
422 | |
424 | =item B<-insecure> |
423 | =item B<-insecure> |
425 | |
424 | |
426 | Enable "insecure" mode, which currently enables most of the escape |
425 | Enable "insecure" mode, which currently enables most of the escape |
427 | sequences that echo strings. See the resource B<insecure> for more |
426 | sequences that echo strings. See the resource B<insecure> for more |
… | |
… | |
447 | |
446 | |
448 | Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ |
447 | Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ |
449 | will not immediately destroy its window when the program executed within |
448 | will not immediately destroy its window when the program executed within |
450 | it exits. Instead, it will wait till it is being killed or closed by the |
449 | it exits. Instead, it will wait till it is being killed or closed by the |
451 | user; resource B<hold>. |
450 | user; resource B<hold>. |
|
|
451 | |
|
|
452 | =item B<-xrm> I<string> |
|
|
453 | |
|
|
454 | Works like the X Toolkit option of the same name, by adding the I<string> |
|
|
455 | as if it were specified in a resource file. Resource values specified this |
|
|
456 | way take precedence over all other resource specifications. |
|
|
457 | |
|
|
458 | Note that you need to use the I<same> syntax as in the .Xdefaults file, |
|
|
459 | e.g. C<*.background: black>. Also note that all @@RXVT_NAME@@-specific |
|
|
460 | options can be specified as long-options on the commandline, so use |
|
|
461 | of B<-xrm> is mostly limited to cases where you want to specify other |
|
|
462 | resources (e.g. for input methods) or for compatibility with other |
|
|
463 | programs. |
452 | |
464 | |
453 | =item B<-keysym.>I<sym> I<string> |
465 | =item B<-keysym.>I<sym> I<string> |
454 | |
466 | |
455 | Remap a key symbol. See resource B<keysym>. |
467 | Remap a key symbol. See resource B<keysym>. |
456 | |
468 | |
… | |
… | |
491 | If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp |
503 | If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp |
492 | entries and will not tinker with pty/tty permissions - you have to do that |
504 | entries and will not tinker with pty/tty permissions - you have to do that |
493 | yourself if you want that. |
505 | yourself if you want that. |
494 | |
506 | |
495 | As an extremely special case, specifying C<-1> will completely suppress |
507 | As an extremely special case, specifying C<-1> will completely suppress |
496 | pty/tty operations. |
508 | pty/tty operations, which is probably only useful in conjunction with some |
|
|
509 | perl extension that manages the terminal. |
497 | |
510 | |
498 | Here is a example in perl that illustrates how this option can be used (a |
511 | Here is a example in perl that illustrates how this option can be used (a |
499 | longer example is in F<doc/pty-fd>): |
512 | longer example is in F<doc/pty-fd>): |
500 | |
513 | |
501 | use IO::Pty; |
514 | use IO::Pty; |
… | |
… | |
515 | Comma-separated list of perl extension scripts to use (or not to use) in |
528 | Comma-separated list of perl extension scripts to use (or not to use) in |
516 | this terminal instance. See resource B<perl-ext> for details. |
529 | this terminal instance. See resource B<perl-ext> for details. |
517 | |
530 | |
518 | =back |
531 | =back |
519 | |
532 | |
520 | =head1 RESOURCES (available also as long-options) |
533 | =head1 RESOURCES |
521 | |
534 | |
522 | Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long |
535 | Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long |
523 | options) compiled into your version. |
536 | options) compiled into your version. All resources are also available as |
|
|
537 | long-options. |
524 | |
538 | |
525 | You can set and change the resources using X11 tools like B<xrdb>. Many |
539 | You can set and change the resources using X11 tools like B<xrdb>. Many |
526 | distribution do also load settings from the B<~/.Xresources> file when X |
540 | distribution do also load settings from the B<~/.Xresources> file when X |
527 | starts. @@RXVT_NAME@@ will consult the following files/resources in order, |
541 | starts. @@RXVT_NAME@@ will consult the following files/resources in order, |
528 | with later settings overwriting earlier ones: |
542 | with later settings overwriting earlier ones: |
… | |
… | |
530 | 1. system-wide app-defaults file, either locale-dependent OR global |
544 | 1. system-wide app-defaults file, either locale-dependent OR global |
531 | 2. app-defaults file in $XAPPLRESDIR |
545 | 2. app-defaults file in $XAPPLRESDIR |
532 | 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
546 | 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
533 | 4. SCREEN_RESOURCES for the current screen |
547 | 4. SCREEN_RESOURCES for the current screen |
534 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
548 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
|
|
549 | 6. resources specified via -xrm on the commandline |
535 | |
550 | |
536 | Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class |
551 | Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class |
537 | names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources |
552 | names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources |
538 | common to both B<@@RXVT_NAME@@> and the original I<rxvt> to be easily |
553 | common to both B<@@RXVT_NAME@@> and the original I<rxvt> to be easily |
539 | configured, while the class name B<URxvt> allows resources unique to |
554 | configured, while the class name B<URxvt> allows resources unique to |
… | |
… | |
641 | |
656 | |
642 | B<False>: specify that everything is to be displayed, even |
657 | B<False>: specify that everything is to be displayed, even |
643 | if the refresh is too fast for the human eye to read anything (or the |
658 | if the refresh is too fast for the human eye to read anything (or the |
644 | monitor to display anything); option B<+ss>. |
659 | monitor to display anything); option B<+ss>. |
645 | |
660 | |
646 | =item B<inheritPixmap:> I<boolean> |
661 | =item B<transparent:> I<boolean> |
647 | |
662 | |
648 | B<True>: make the background inherit the parent windows' pixmap, giving |
663 | Turn on/off illusion of a transparent window background. |
649 | artificial transparency. B<False>: do not inherit the parent windows' |
|
|
650 | pixmap. |
|
|
651 | |
664 | |
652 | I<Please note that transparency of any kind if completely unsupported by |
665 | B<inheritPixmap> is still accepted as an obsolete alias but will be removed in |
653 | the author. Don't bug him with installation questions!> |
666 | future versions. |
|
|
667 | |
|
|
668 | I<Please address all transparency related issues to Sasha Vasko at |
|
|
669 | sasha@aftercode.net. Read the FAQ (man 7 @@RXVT_NAME@@)!> |
654 | |
670 | |
655 | =item B<fading:> I<number> |
671 | =item B<fading:> I<number> |
656 | |
672 | |
657 | Fade the text by the given percentage when focus is lost; option B<-fade>. |
673 | Fade the text by the given percentage when focus is lost; option B<-fade>. |
658 | |
674 | |
… | |
… | |
675 | |
691 | |
676 | Specify background blending type; option B<-blt>. |
692 | Specify background blending type; option B<-blt>. |
677 | |
693 | |
678 | =item B<blurRadius:> I<number> |
694 | =item B<blurRadius:> I<number> |
679 | |
695 | |
680 | Apply Gaussian Blurr with the specified radius to the transparent |
696 | Apply Gaussian Blurr with the specified radius to the transparent |
681 | background image; option B<-blr>. |
697 | background image; option B<-blr>. |
682 | |
698 | |
683 | =item B<scrollColor:> I<colour> |
699 | =item B<scrollColor:> I<colour> |
684 | |
700 | |
685 | Use the specified colour for the scrollbar [default #B2B2B2]. |
701 | Use the specified colour for the scrollbar [default #B2B2B2]. |
… | |
… | |
692 | =item B<borderColor:> I<colour> |
708 | =item B<borderColor:> I<colour> |
693 | |
709 | |
694 | The colour of the border around the text area and between the scrollbar |
710 | The colour of the border around the text area and between the scrollbar |
695 | and the text. |
711 | and the text. |
696 | |
712 | |
697 | =item B<backgroundPixmap:> I<file[;geom]> |
713 | =item B<backgroundPixmap:> I<file[;geom[:op1][:op2][...]]> |
698 | |
714 | |
699 | Use the specified image file for the background and also optionally |
715 | Use the specified image file for the background and also |
700 | specify its scaling with a geometry string B<WxH+X+Y>, |
716 | optionally specify its scaling with a geometry string B<WxH+X+Y>, |
701 | in which B<"W" / "H"> specify the horizontal/vertical scale (percent), |
717 | (default C<0x0+50+50>) in which B<"W" / "H"> specify the |
702 | and B<"X" / "Y"> locate the image centre (percent). |
718 | horizontal/vertical scale (percent), and B<"X" / "Y"> locate the image |
703 | A scale of 0 displays the image with tiling. A scale of 1 displays the |
719 | centre (percent). A scale of 0 displays the image with tiling. A scale |
704 | image without any scaling. A scale of 2 to 9 specifies an integer |
720 | of 1 displays the image without any scaling. A scale of 2 to 9 specifies |
705 | number of images in that direction. No image will be magnified beyond |
721 | an integer number of images in that direction. No image will be magnified |
706 | 10 times its original size. The maximum permitted scale is 1000. |
722 | beyond 10 times its original size. The maximum permitted scale is 1000. |
707 | Special string of B<"auto"> used as a geometry will cause image to be |
723 | Additional operations can be specified after colon B<:op1:op2...>. |
708 | automatically scaled to match window size. |
724 | Supported 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 | |
709 | If used in conjunction with B<-tr> option - specified pixmap will be |
735 | If used in conjunction with B<-tr> option, the specified pixmap will be |
710 | blended over transparency image using either alpha-blending, or any |
736 | blended over transparency image using either alpha-blending, or any |
711 | other blending type, specified with B<-blt "type"> option. |
737 | other blending type, specified with B<-blt "type"> option. |
712 | [default 0x0+50+50] |
|
|
713 | |
738 | |
714 | =item B<path:> I<path> |
739 | =item B<path:> I<path> |
715 | |
740 | |
716 | Specify the colon-delimited search path for finding background image files. |
741 | Specify the colon-delimited search path for finding background image files. |
717 | |
742 | |
… | |
… | |
990 | will be created). In this mode, characters outside ISO-8859-1 can be used. |
1015 | will be created). In this mode, characters outside ISO-8859-1 can be used. |
991 | |
1016 | |
992 | When the selection extension is not used, only ISO-8859-1 characters can |
1017 | When the selection extension is not used, only ISO-8859-1 characters can |
993 | be used. If not specified, the built-in default is used: |
1018 | be used. If not specified, the built-in default is used: |
994 | |
1019 | |
995 | B<< BACKSLASH `"'&()*,;<=>?@[]{|} >> |
1020 | B<< BACKSLASH `"'&()*,;<=>?@[]^{|} >> |
996 | |
1021 | |
997 | =item B<preeditType:> I<style> |
1022 | =item B<preeditType:> I<style> |
998 | |
1023 | |
999 | B<OverTheSpot>, B<OffTheSpot>, B<Root>; option B<-pt>. |
1024 | B<OverTheSpot>, B<OffTheSpot>, B<Root>; option B<-pt>. |
1000 | |
1025 | |
… | |
… | |
1470 | resources or on the command line. |
1495 | resources or on the command line. |
1471 | |
1496 | |
1472 | =item B<COLORTERM> |
1497 | =item B<COLORTERM> |
1473 | |
1498 | |
1474 | Either C<rxvt>, C<rxvt-xpm>, depending on whether @@RXVT_NAME@@ was |
1499 | Either C<rxvt>, C<rxvt-xpm>, depending on whether @@RXVT_NAME@@ was |
1475 | compiled with background image support, and optionally with the added |
1500 | compiled with background image support, and optionally with the added |
1476 | extension C<-mono> to indicate that rxvt-unicode runs on a monochrome |
1501 | extension C<-mono> to indicate that rxvt-unicode runs on a monochrome |
1477 | screen. |
1502 | screen. |
1478 | |
1503 | |
1479 | =item B<COLORFGBG> |
1504 | =item B<COLORFGBG> |
1480 | |
1505 | |
1481 | Set to a string of the form C<fg;bg> or C<fg;xpm;bg>, where C<fg> is |
1506 | Set to a string of the form C<fg;bg> or C<fg;xpm;bg>, where C<fg> is |
1482 | the colour code used as default foreground/text colour (or the string |
1507 | the colour code used as default foreground/text colour (or the string |
1483 | C<default> to indicate that the default-colour escape sequence is to be |
1508 | C<default> to indicate that the default-colour escape sequence is to be |
1484 | used), C<bg> is the colour code used as default background colour (or the |
1509 | used), C<bg> is the colour code used as default background colour (or the |
1485 | string C<default>), and C<xpm> is the string C<default> if @@RXVT_NAME@@ |
1510 | string C<default>), and C<xpm> is the string C<default> if @@RXVT_NAME@@ |
1486 | was compiled with background image support. Libraries like C<ncurses> |
1511 | was compiled with background image support. Libraries like C<ncurses> |
1487 | and C<slang> can (and do) use this information to optimize screen output. |
1512 | and C<slang> can (and do) use this information to optimize screen output. |
1488 | |
1513 | |
1489 | =item B<WINDOWID> |
1514 | =item B<WINDOWID> |
1490 | |
1515 | |
1491 | Set to the (decimal) X Window ID of the @@RXVT_NAME@@ window (the toplevel |
1516 | Set to the (decimal) X Window ID of the @@RXVT_NAME@@ window (the toplevel |
… | |
… | |
1583 | Project Coordinator (changes.txt 2.21a to 2.4.5) |
1608 | Project Coordinator (changes.txt 2.21a to 2.4.5) |
1584 | |
1609 | |
1585 | =item Geoff Wing L<< <gcw@pobox.com> >> |
1610 | =item Geoff Wing L<< <gcw@pobox.com> >> |
1586 | |
1611 | |
1587 | Rewrote screen display and text selection routines. |
1612 | Rewrote screen display and text selection routines. |
1588 | |
1613 | |
1589 | Project Coordinator (changes.txt 2.4.6 - rxvt-unicode) |
1614 | Project Coordinator (changes.txt 2.4.6 - rxvt-unicode) |
1590 | |
1615 | |
1591 | =item Marc Alexander Lehmann L<< <rxvt-unicode@schmorp.de> >> |
1616 | =item Marc Alexander Lehmann L<< <rxvt-unicode@schmorp.de> >> |
1592 | |
1617 | |
1593 | Forked rxvt-unicode, unicode support, rewrote almost all the code, perl |
1618 | Forked rxvt-unicode, unicode support, rewrote almost all the code, perl |