… | |
… | |
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/*checkout*/rxvt-unicode/doc/rxvt.7.html>. |
22 | L<http://cvs.schmorp.de/browse/rxvt-unicode/doc/rxvt.7.html>. |
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 |
… | |
… | |
144 | |
144 | |
145 | =item B<-sh> |
145 | =item B<-sh> |
146 | |
146 | |
147 | I<number> Darken (0 .. 100) or lighten (-1 .. -100) the transparent |
147 | I<number> Darken (0 .. 100) or lighten (-1 .. -100) the transparent |
148 | background image in addition to tinting it (i.e. B<-tint> must be |
148 | background image in addition to tinting it (i.e. B<-tint> must be |
149 | specified, too, e.g. C<-tint white>). |
149 | specified, too, e.g. C<-tint white>); resource I<shading>. |
150 | |
150 | |
151 | =item B<-bg> I<colour> |
151 | =item B<-bg> I<colour> |
152 | |
152 | |
153 | Window background colour; resource B<background>. |
153 | Window background colour; resource B<background>. |
154 | |
154 | |
… | |
… | |
386 | for more info. |
386 | for more info. |
387 | |
387 | |
388 | =item B<-tcw> |
388 | =item B<-tcw> |
389 | |
389 | |
390 | Change the meaning of triple-click selection with the left mouse |
390 | Change the meaning of triple-click selection with the left mouse |
|
|
391 | button. Only effective when the original (non-perl) selection code is |
391 | button. Instead of selecting a full line it will extend the selection the |
392 | in-use. Instead of selecting a full line it will extend the selection the |
392 | end of the logical line only. resource B<tripleclickwords>. |
393 | end of the logical line only. resource B<tripleclickwords>. |
393 | |
394 | |
394 | =item B<-insecure> |
395 | =item B<-insecure> |
395 | |
396 | |
396 | Enable "insecure" mode, which currently enables most of the escape |
397 | Enable "insecure" mode, which currently enables most of the escape |
… | |
… | |
452 | }); |
453 | }); |
453 | |
454 | |
454 | =item B<-pty-fd> I<file descriptor> |
455 | =item B<-pty-fd> I<file descriptor> |
455 | |
456 | |
456 | Tells @@RXVT_NAME@@ NOT to execute any commands or create a new pty/tty |
457 | Tells @@RXVT_NAME@@ NOT to execute any commands or create a new pty/tty |
457 | pair but instead use the given file handle as the tty master. This is |
458 | pair but instead use the given file descriptor as the tty master. This is |
458 | useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator |
459 | useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator |
459 | without having to run a program within it. |
460 | without having to run a program within it. |
460 | |
461 | |
461 | If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp |
462 | If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp |
462 | entries and will not tinker with pty/tty permissions - you have to do that |
463 | entries and will not tinker with pty/tty permissions - you have to do that |
… | |
… | |
564 | Use the specified colour to display underlined characters when the |
565 | Use the specified colour to display underlined characters when the |
565 | foreground colour is the default. |
566 | foreground colour is the default. |
566 | |
567 | |
567 | =item B<colorRV:> I<colour> |
568 | =item B<colorRV:> I<colour> |
568 | |
569 | |
569 | Use the specified colour as the background for reverse video |
570 | Use the specified colour as the background for reverse video characters |
570 | characters. |
571 | when OPTION_HC is disabled (--disable-frills). |
571 | |
572 | |
572 | =item B<underlineColor:> I<colour> |
573 | =item B<underlineColor:> I<colour> |
573 | |
574 | |
574 | If set, use the specified colour as the colour for the underline |
575 | If set, use the specified colour as the colour for the underline |
575 | itself. If unset, use the foreground colour. |
576 | itself. If unset, use the foreground colour. |
… | |
… | |
620 | Tint the transparent background pixmap with the given colour; option |
621 | Tint the transparent background pixmap with the given colour; option |
621 | B<-tint>. |
622 | B<-tint>. |
622 | |
623 | |
623 | =item B<shading:> I<number> |
624 | =item B<shading:> I<number> |
624 | |
625 | |
625 | Darken (0 .. 100) or lighten (-1 .. -100) the transparent background |
626 | Darken (0 .. 100) or lighten (-1 .. -100) the transparent background image |
626 | image in addition to tinting it. |
627 | in addition to tinting it; option B<-sh>. |
627 | |
628 | |
628 | =item B<scrollColor:> I<colour> |
629 | =item B<scrollColor:> I<colour> |
629 | |
630 | |
630 | Use the specified colour for the scrollbar [default #B2B2B2]. |
631 | Use the specified colour for the scrollbar [default #B2B2B2]. |
631 | |
632 | |
… | |
… | |
725 | option B<+is>) disables this behaviour, the high intensity colours are not |
726 | option B<+is>) disables this behaviour, the high intensity colours are not |
726 | reachable. |
727 | reachable. |
727 | |
728 | |
728 | =item B<selectstyle:> I<mode> |
729 | =item B<selectstyle:> I<mode> |
729 | |
730 | |
730 | Set mouse selection style to B<old> which is 2.20, B<oldword> which is |
731 | Set mouse selection style to B<old> which is 2.20, B<oldword> which |
731 | xterm style with 2.20 old word selection, or anything else which gives |
732 | is xterm style with 2.20 old word selection, or anything else which |
732 | xterm style selection. |
733 | gives xterm style selection. Only effective when the original (non-perl) |
|
|
734 | selection code is in use. |
733 | |
735 | |
734 | =item B<scrollstyle:> I<mode> |
736 | =item B<scrollstyle:> I<mode> |
735 | |
737 | |
736 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
738 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
737 | the author's favourite. |
739 | the author's favourite. |
… | |
… | |
750 | |
752 | |
751 | =item B<mapAlert:> I<boolean> |
753 | =item B<mapAlert:> I<boolean> |
752 | |
754 | |
753 | B<True>: de-iconify (map) on receipt of a bell character. B<False>: no |
755 | B<True>: de-iconify (map) on receipt of a bell character. B<False>: no |
754 | de-iconify (map) on receipt of a bell character [default]. |
756 | de-iconify (map) on receipt of a bell character [default]. |
|
|
757 | |
|
|
758 | =item B<urgentOnBell:> I<boolean> |
|
|
759 | |
|
|
760 | B<True>: set the urgency hint for the wm on receipt of a bell character. |
|
|
761 | B<False>: do not set the urgency hint [default]. |
755 | |
762 | |
756 | =item B<visualBell:> I<boolean> |
763 | =item B<visualBell:> I<boolean> |
757 | |
764 | |
758 | B<True>: use visual bell on receipt of a bell character; option B<-vb>. |
765 | B<True>: use visual bell on receipt of a bell character; option B<-vb>. |
759 | B<False>: no visual bell [default]; option B<+vb>. |
766 | B<False>: no visual bell [default]; option B<+vb>. |
… | |
… | |
916 | =item B<cutchars:> I<string> |
923 | =item B<cutchars:> I<string> |
917 | |
924 | |
918 | The characters used as delimiters for double-click word selection |
925 | The characters used as delimiters for double-click word selection |
919 | (whitespace delimiting is added automatically if resource is given). |
926 | (whitespace delimiting is added automatically if resource is given). |
920 | |
927 | |
921 | When the selection extension is in use (the default if compiled in, see |
928 | When the perl selection extension is in use (the default if compiled |
922 | the @@RXVT_NAME@@perl(3) manpage), a suitable regex using these characters |
929 | in, see the @@RXVT_NAME@@perl(3) manpage), a suitable regex using these |
923 | will be created (if the resource exists, otherwise, no regex will be |
930 | characters will be created (if the resource exists, otherwise, no regex |
924 | created). In this mode, characters outside ISO-8859-1 can be used. |
931 | will be created). In this mode, characters outside ISO-8859-1 can be used. |
925 | |
932 | |
926 | When the selection extension is not used, only ISO-8859-1 characters can |
933 | When the selection extension is not used, only ISO-8859-1 characters can |
927 | be used. If not specified, the built-in default is used: |
934 | be used. If not specified, the built-in default is used: |
928 | |
935 | |
929 | B<< BACKSLASH `"'&()*,;<=>?@[]{|} >> |
936 | B<< BACKSLASH `"'&()*,;<=>?@[]{|} >> |
… | |
… | |
988 | |
995 | |
989 | Turn on/off secondary screen (default enabled). |
996 | Turn on/off secondary screen (default enabled). |
990 | |
997 | |
991 | =item B<secondaryScroll:> I<boolean> |
998 | =item B<secondaryScroll:> I<boolean> |
992 | |
999 | |
993 | Turn on/off secondary screen scroll (default enabled). If the this |
1000 | Turn on/off secondary screen scroll (default enabled). If this |
994 | option is enabled, scrolls on the secondary screen will change the |
1001 | option is enabled, scrolls on the secondary screen will change the |
995 | scrollback buffer and switching to/from the secondary screen will |
1002 | scrollback buffer and switching to/from the secondary screen will |
996 | instead scroll the screen up. |
1003 | instead scroll the screen up. |
997 | |
1004 | |
998 | =item B<hold>: I<boolean> |
1005 | =item B<hold>: I<boolean> |
… | |
… | |
1026 | |
1033 | |
1027 | I<string> may contain escape values (C<\a>: bell, C<\b>: backspace, |
1034 | I<string> may contain escape values (C<\a>: bell, C<\b>: backspace, |
1028 | C<\e>, C<\E>: escape, C<\n>: newline, C<\r>: carriage return, C<\t>: tab, |
1035 | C<\e>, C<\E>: escape, C<\n>: newline, C<\r>: carriage return, C<\t>: tab, |
1029 | C<\000>: octal number) or verbatim control characters (C<^?>: delete, |
1036 | C<\000>: octal number) or verbatim control characters (C<^?>: delete, |
1030 | C<^@>: null, C<^A> ...) and may be enclosed with double quotes so that it |
1037 | C<^@>: null, C<^A> ...) and may be enclosed with double quotes so that it |
1031 | can start or end with whitespace. |
1038 | can start or end with whitespace. B<This feature is deprecated and will |
|
|
1039 | be removed>. |
1032 | |
1040 | |
1033 | Please note that you need to double the C<\> in resource files, as |
1041 | Please note that you need to double the C<\> in resource files, as |
1034 | Xlib itself does its own de-escaping (you can use C<\033> instead of |
1042 | Xlib itself does its own de-escaping (you can use C<\033> instead of |
1035 | C<\e> (and so on), which will work with both Xt and @@RXVT_NAME@@'s own |
1043 | C<\e> (and so on), which will work with both Xt and @@RXVT_NAME@@'s own |
1036 | processing). |
1044 | processing). |
… | |
… | |
1154 | (default: C<M-s>). |
1162 | (default: C<M-s>). |
1155 | |
1163 | |
1156 | =item B<urlLauncher>: I<string> |
1164 | =item B<urlLauncher>: I<string> |
1157 | |
1165 | |
1158 | Specifies the program to be started with a URL argument. Used by the |
1166 | Specifies the program to be started with a URL argument. Used by the |
1159 | C<selection-popup> and C<mark-urls> perl extensions. |
1167 | C<selection-popup> and C<matcher> perl extensions. |
1160 | |
1168 | |
1161 | =item B<transient-for>: I<windowid> |
1169 | =item B<transient-for>: I<windowid> |
1162 | |
1170 | |
1163 | Compile I<frills>: Sets the WM_TRANSIENT_FOR property to the given window id. |
1171 | Compile I<frills>: Sets the WM_TRANSIENT_FOR property to the given window id. |
1164 | |
1172 | |
… | |
… | |
1192 | application. Instead, pressing Button1 and Button3 sends B<ESC [ 6 ~> |
1200 | application. Instead, pressing Button1 and Button3 sends B<ESC [ 6 ~> |
1193 | (Next) and B<ESC [ 5 ~> (Prior), respectively. Similarly, clicking on the |
1201 | (Next) and B<ESC [ 5 ~> (Prior), respectively. Similarly, clicking on the |
1194 | up and down arrows sends B<ESC [ A> (Up) and B<ESC [ B> (Down), |
1202 | up and down arrows sends B<ESC [ A> (Up) and B<ESC [ B> (Down), |
1195 | respectively. |
1203 | respectively. |
1196 | |
1204 | |
1197 | =head1 TEXT SELECTION AND INSERTION |
1205 | =head1 THE SELECTION: SELECTING AND PASTING TEXT |
1198 | |
1206 | |
1199 | The behaviour of text selection and insertion mechanism is similar to |
1207 | The behaviour of text selection and insertion/pasting mechanism is similar |
1200 | I<xterm>(1). |
1208 | to I<xterm>(1). |
1201 | |
1209 | |
1202 | =over 4 |
1210 | =over 4 |
1203 | |
1211 | |
1204 | =item B<Selection>: |
1212 | =item B<Selecting>: |
1205 | |
1213 | |
1206 | Left click at the beginning of the region, drag to the end of the region |
1214 | Left click at the beginning of the region, drag to the end of the region |
1207 | and release; Right click to extend the marked region; Left double-click |
1215 | and release; Right click to extend the marked region; Left double-click |
1208 | to select a word; Left triple-click to select the entire logical line |
1216 | to select a word; Left triple-click to select the entire logical line |
1209 | (which can span multiple screen lines), unless modified by resource |
1217 | (which can span multiple screen lines), unless modified by resource |
… | |
… | |
1213 | (Compile: I<frills>) will create a rectangular selection instead of a |
1221 | (Compile: I<frills>) will create a rectangular selection instead of a |
1214 | normal one. In this mode, every selected row becomes its own line in the |
1222 | normal one. In this mode, every selected row becomes its own line in the |
1215 | selection, and trailing whitespace is visually underlined and removed from |
1223 | selection, and trailing whitespace is visually underlined and removed from |
1216 | the selection. |
1224 | the selection. |
1217 | |
1225 | |
1218 | =item B<Insertion>: |
1226 | =item B<Pasting>: |
1219 | |
1227 | |
1220 | Pressing and releasing the Middle mouse button in an B<@@RXVT_NAME@@> |
1228 | Pressing and releasing the Middle mouse button in an B<@@RXVT_NAME@@> |
1221 | window causes the value of the PRIMARY selection (or CLIPBOARD with the |
1229 | window causes the value of the PRIMARY selection (or CLIPBOARD with the |
1222 | Meta modifier) to be inserted as if it had been typed on the keyboard. |
1230 | B<Meta> modifier) to be inserted as if it had been typed on the keyboard. |
1223 | |
1231 | |
1224 | Pressing B<Shift-Insert> causes the value of the PRIMARY selection to be |
1232 | Pressing B<Shift-Insert> causes the value of the PRIMARY selection to be |
1225 | inserted too. |
1233 | inserted too. |
1226 | |
1234 | |
1227 | =back |
1235 | =back |
… | |
… | |
1377 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1385 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1378 | their act together, rxvt-unicode will support C<rgba:rrrr/gggg/bbbb/aaaa> |
1386 | their act together, rxvt-unicode will support C<rgba:rrrr/gggg/bbbb/aaaa> |
1379 | (recommended, but B<MUST> have 4 digits/component) colour specifications, |
1387 | (recommended, but B<MUST> have 4 digits/component) colour specifications, |
1380 | in addition to the ones provided by X, where the additional A component |
1388 | in addition to the ones provided by X, where the additional A component |
1381 | specifies opacity (alpha) values. The minimum value of C<0> is completely |
1389 | specifies opacity (alpha) values. The minimum value of C<0> is completely |
1382 | transparent). You can also prefix any color with C<[a]>, where C<a> is on |
1390 | transparent). You can also prefix any color with C<[percent]>, where |
1383 | to four hex digits specifiying the opacity value. |
1391 | C<percent> is a decimal percentage (0-100) that specifies the opacity of |
|
|
1392 | the color, where C<0> is completely transparent and C<100> is completelxy |
|
|
1393 | opaque. |
1384 | |
1394 | |
1385 | You probably need to specify B<"-depth 32">, too, and have the luck that |
1395 | You probably need to specify B<"-depth 32">, too, and have the luck that |
1386 | your X-server uses ARGB pixel layout, as X is far from just supporting |
1396 | your X-server uses ARGB pixel layout, as X is far from just supporting |
1387 | ARGB visuals out of the box, and rxvt-unicode just fudges around. |
1397 | ARGB visuals out of the box, and rxvt-unicode just fudges around. |
1388 | |
1398 | |
1389 | For example, the following selects an almost completely transparent red |
1399 | For example, the following selects an almost completely transparent red |
1390 | background, and an almost opaque pink foreground: |
1400 | background, and an almost opaque pink foreground: |
1391 | |
1401 | |
1392 | @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/2222 -fg "[e]pink" |
1402 | @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/aaaa -fg "[80]pink" |
1393 | |
1403 | |
1394 | I<Please note that transparency of any kind if completely unsupported by |
1404 | I<Please note that transparency of any kind if completely unsupported by |
1395 | the author. Don't bug him with installation questions!> |
1405 | the author. Don't bug him with installation questions!> |
1396 | |
1406 | |
1397 | =head1 ENVIRONMENT |
1407 | =head1 ENVIRONMENT |