… | |
… | |
19 | all escape sequences, and other background information. |
19 | all escape sequences, and other background information. |
20 | |
20 | |
21 | The newest version of this document is also available on the World Wide Web at |
21 | The newest version of this document is also available 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/*checkout*/rxvt-unicode/doc/rxvt.7.html>. |
23 | |
23 | |
24 | =head1 FREQUENTLY ASKED QUESTIONS |
24 | =head1 RXVT-UNICODE/URXVT FREQUENTLY ASKED QUESTIONS |
25 | |
25 | |
26 | |
26 | |
27 | =head2 Meta, Features & Commandline Issues |
27 | =head2 Meta, Features & Commandline Issues |
28 | |
28 | |
29 | =head3 My question isn't answered here, can I ask a human? |
29 | =head3 My question isn't answered here, can I ask a human? |
… | |
… | |
36 | |
36 | |
37 | Beginning with version 7.3, there is a perl extension that implements a |
37 | Beginning with version 7.3, there is a perl extension that implements a |
38 | simple tabbed terminal. It is installed by default, so any of these should |
38 | simple tabbed terminal. It is installed by default, so any of these should |
39 | give you tabs: |
39 | give you tabs: |
40 | |
40 | |
41 | @@RXVT_NAME@@ -pe tabbed |
41 | @@URXVT_NAME@@ -pe tabbed |
42 | |
42 | |
43 | URxvt.perl-ext-common: default,tabbed |
43 | URxvt.perl-ext-common: default,tabbed |
44 | |
44 | |
45 | It will also work fine with tabbing functionality of many window managers |
45 | It will also work fine with tabbing functionality of many window managers |
46 | or similar tabbing programs, and its embedding-features allow it to be |
46 | or similar tabbing programs, and its embedding-features allow it to be |
… | |
… | |
50 | |
50 | |
51 | =head3 How do I know which rxvt-unicode version I'm using? |
51 | =head3 How do I know which rxvt-unicode version I'm using? |
52 | |
52 | |
53 | The version number is displayed with the usage (-h). Also the escape |
53 | The version number is displayed with the usage (-h). Also the escape |
54 | sequence C<ESC [ 8 n> sets the window title to the version number. When |
54 | sequence C<ESC [ 8 n> sets the window title to the version number. When |
55 | using the @@RXVT_NAME@@c client, the version displayed is that of the |
55 | using the @@URXVT_NAME@@c client, the version displayed is that of the |
56 | daemon. |
56 | daemon. |
57 | |
57 | |
58 | =head3 Rxvt-unicode uses gobs of memory, how can I reduce that? |
58 | =head3 Rxvt-unicode uses gobs of memory, how can I reduce that? |
59 | |
59 | |
60 | Rxvt-unicode tries to obey the rule of not charging you for something you |
60 | Rxvt-unicode tries to obey the rule of not charging you for something you |
… | |
… | |
68 | 6 bytes per screen cell. For a 160x?? window this amounts to almost a |
68 | 6 bytes per screen cell. For a 160x?? window this amounts to almost a |
69 | kilobyte per line. A scrollback buffer of 10000 lines will then (if full) |
69 | kilobyte per line. A scrollback buffer of 10000 lines will then (if full) |
70 | use 10 Megabytes of memory. With C<--enable-unicode3> it gets worse, as |
70 | use 10 Megabytes of memory. With C<--enable-unicode3> it gets worse, as |
71 | rxvt-unicode then uses 8 bytes per screen cell. |
71 | rxvt-unicode then uses 8 bytes per screen cell. |
72 | |
72 | |
73 | =head3 How can I start @@RXVT_NAME@@d in a race-free way? |
73 | =head3 How can I start @@URXVT_NAME@@d in a race-free way? |
74 | |
74 | |
75 | Try C<@@RXVT_NAME@@d -f -o>, which tells @@RXVT_NAME@@d to open the |
75 | Try C<@@URXVT_NAME@@d -f -o>, which tells @@URXVT_NAME@@d to open the |
76 | display, create the listening socket and then fork. |
76 | display, create the listening socket and then fork. |
77 | |
77 | |
78 | =head3 How do I distinguish wether I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc. |
78 | =head3 How do I distinguish wether I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc. |
79 | |
79 | |
80 | rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
80 | The original rxvt and rxvt-unicode always export the variable "COLORTERM", |
81 | check and see if that is set. Note that several programs, JED, slrn, |
81 | so you can check and see if that is set. Note that several programs, JED, |
82 | Midnight Commander automatically check this variable to decide whether or |
82 | slrn, Midnight Commander automatically check this variable to decide |
83 | not to use color. |
83 | whether or not to use color. |
84 | |
84 | |
85 | =head3 How do I set the correct, full IP address for the DISPLAY variable? |
85 | =head3 How do I set the correct, full IP address for the DISPLAY variable? |
86 | |
86 | |
87 | If you've compiled rxvt-unicode with DISPLAY_IS_IP and have enabled |
87 | If you've compiled rxvt-unicode with DISPLAY_IS_IP and have enabled |
88 | insecure mode then it is possible to use the following shell script |
88 | insecure mode then it is possible to use the following shell script |
… | |
… | |
125 | |
125 | |
126 | text data bss drs rss filename |
126 | text data bss drs rss filename |
127 | 98398 1664 24 15695 1824 rxvt --disable-everything |
127 | 98398 1664 24 15695 1824 rxvt --disable-everything |
128 | 188985 9048 66616 18222 1788 urxvt --disable-everything |
128 | 188985 9048 66616 18222 1788 urxvt --disable-everything |
129 | |
129 | |
130 | When you C<--enable-everything> (which _is_ unfair, as this involves xft |
130 | When you C<--enable-everything> (which I<is> unfair, as this involves xft |
131 | and full locale/XIM support which are quite bloaty inside libX11 and my |
131 | and full locale/XIM support which are quite bloaty inside libX11 and my |
132 | libc), the two diverge, but not unreasnobaly so. |
132 | libc), the two diverge, but not unreasnobaly so. |
133 | |
133 | |
134 | text data bss drs rss filename |
134 | text data bss drs rss filename |
135 | 163431 2152 24 20123 2060 rxvt --enable-everything |
135 | 163431 2152 24 20123 2060 rxvt --enable-everything |
… | |
… | |
203 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
203 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
204 | |
204 | |
205 | 1. Use inheritPixmap: |
205 | 1. Use inheritPixmap: |
206 | |
206 | |
207 | Esetroot wallpaper.jpg |
207 | Esetroot wallpaper.jpg |
208 | @@RXVT_NAME@@ -ip -tint red -sh 40 |
208 | @@URXVT_NAME@@ -ip -tint red -sh 40 |
209 | |
209 | |
210 | That works. If you think it doesn't, you lack transparency and tinting |
210 | That works. If you think it doesn't, you lack transparency and tinting |
211 | support, or you are unable to read. |
211 | support, or you are unable to read. |
212 | |
212 | |
213 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
213 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
214 | to use effects other than tinting and shading: Just shade/tint/whatever |
214 | to use effects other than tinting and shading: Just shade/tint/whatever |
215 | your picture with gimp or any other tool: |
215 | your picture with gimp or any other tool: |
216 | |
216 | |
217 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm |
217 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm |
218 | @@RXVT_NAME@@ -pixmap background.xpm -pe automove-background |
218 | @@URXVT_NAME@@ -pixmap background.xpm -pe automove-background |
219 | |
219 | |
220 | That works. If you think it doesn't, you lack XPM and Perl support, or you |
220 | That works. If you think it doesn't, you lack XPM and Perl support, or you |
221 | are unable to read. |
221 | are unable to read. |
222 | |
222 | |
223 | 3. Use an ARGB visual: |
223 | 3. Use an ARGB visual: |
224 | |
224 | |
225 | @@RXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
225 | @@URXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
226 | |
226 | |
227 | This requires XFT support, and the support of your X-server. If that |
227 | This requires XFT support, and the support of your X-server. If that |
228 | doesn't work for you, blame Xorg and Keith Packard. ARGB visuals aren't |
228 | doesn't work for you, blame Xorg and Keith Packard. ARGB visuals aren't |
229 | there yet, no matter what they claim. Rxvt-Unicode contains the neccessary |
229 | there yet, no matter what they claim. Rxvt-Unicode contains the neccessary |
230 | bugfixes and workarounds for Xft and Xlib to make it work, but that |
230 | bugfixes and workarounds for Xft and Xlib to make it work, but that |
… | |
… | |
388 | URxvt.color12: #0000FF |
388 | URxvt.color12: #0000FF |
389 | URxvt.color13: #FF00FF |
389 | URxvt.color13: #FF00FF |
390 | URxvt.color14: #00FFFF |
390 | URxvt.color14: #00FFFF |
391 | URxvt.color15: #FFFFFF |
391 | URxvt.color15: #FFFFFF |
392 | |
392 | |
393 | And here is a more complete set of non-standard colors described (not by |
393 | And here is a more complete set of non-standard colors. |
394 | me) as "pretty girly". |
|
|
395 | |
394 | |
396 | URxvt.cursorColor: #dc74d1 |
395 | URxvt.cursorColor: #dc74d1 |
397 | URxvt.pointerColor: #dc74d1 |
396 | URxvt.pointerColor: #dc74d1 |
398 | URxvt.background: #0e0e0e |
397 | URxvt.background: #0e0e0e |
399 | URxvt.foreground: #4ad5e1 |
398 | URxvt.foreground: #4ad5e1 |
… | |
… | |
409 | URxvt.color13: #9e88f0 |
408 | URxvt.color13: #9e88f0 |
410 | URxvt.color6: #73f7ff |
409 | URxvt.color6: #73f7ff |
411 | URxvt.color14: #73f7ff |
410 | URxvt.color14: #73f7ff |
412 | URxvt.color7: #e1dddd |
411 | URxvt.color7: #e1dddd |
413 | URxvt.color15: #e1dddd |
412 | URxvt.color15: #e1dddd |
|
|
413 | |
|
|
414 | (They were described (not by me) as "pretty girly"). |
414 | |
415 | |
415 | =head3 Why do some characters look so much different than others? |
416 | =head3 Why do some characters look so much different than others? |
416 | |
417 | |
417 | See next entry. |
418 | See next entry. |
418 | |
419 | |
… | |
… | |
431 | the font that the characters it claims to contain indeed look correct. |
432 | the font that the characters it claims to contain indeed look correct. |
432 | |
433 | |
433 | In that case, select a font of your taste and add it to the font list, |
434 | In that case, select a font of your taste and add it to the font list, |
434 | e.g.: |
435 | e.g.: |
435 | |
436 | |
436 | @@RXVT_NAME@@ -fn basefont,font2,font3... |
437 | @@URXVT_NAME@@ -fn basefont,font2,font3... |
437 | |
438 | |
438 | When rxvt-unicode sees a character, it will first look at the base |
439 | When rxvt-unicode sees a character, it will first look at the base |
439 | font. If the base font does not contain the character, it will go to the |
440 | font. If the base font does not contain the character, it will go to the |
440 | next font, and so on. Specifying your own fonts will also speed up this |
441 | next font, and so on. Specifying your own fonts will also speed up this |
441 | search and use less resources within rxvt-unicode and the X-server. |
442 | search and use less resources within rxvt-unicode and the X-server. |
… | |
… | |
470 | B<perl-ext-common> resource to the empty string, which also keeps |
471 | B<perl-ext-common> resource to the empty string, which also keeps |
471 | rxvt-unicode from initialising perl, saving memory. |
472 | rxvt-unicode from initialising perl, saving memory. |
472 | |
473 | |
473 | If you only want to disable specific features, you first have to |
474 | If you only want to disable specific features, you first have to |
474 | identify which perl extension is responsible. For this, read the section |
475 | identify which perl extension is responsible. For this, read the section |
475 | B<PREPACKAGED EXTENSIONS> in the @@RXVT_NAME@@perl(3) manpage. For |
476 | B<PREPACKAGED EXTENSIONS> in the @@URXVT_NAME@@perl(3) manpage. For |
476 | example, to disable the B<selection-popup> and B<option-popup>, specify |
477 | example, to disable the B<selection-popup> and B<option-popup>, specify |
477 | this B<perl-ext-common> resource: |
478 | this B<perl-ext-common> resource: |
478 | |
479 | |
479 | URxvt.perl-ext-common: default,-selection-popup,-option-popup |
480 | URxvt.perl-ext-common: default,-selection-popup,-option-popup |
480 | |
481 | |
… | |
… | |
558 | |
559 | |
559 | For starting a new rxvt-unicode: |
560 | For starting a new rxvt-unicode: |
560 | |
561 | |
561 | # use Backspace = ^H |
562 | # use Backspace = ^H |
562 | $ stty erase ^H |
563 | $ stty erase ^H |
563 | $ @@RXVT_NAME@@ |
564 | $ @@URXVT_NAME@@ |
564 | |
565 | |
565 | # use Backspace = ^? |
566 | # use Backspace = ^? |
566 | $ stty erase ^? |
567 | $ stty erase ^? |
567 | $ @@RXVT_NAME@@ |
568 | $ @@URXVT_NAME@@ |
568 | |
569 | |
569 | Toggle with C<ESC [ 36 h> / C<ESC [ 36 l>. |
570 | Toggle with C<ESC [ 36 h> / C<ESC [ 36 l>. |
570 | |
571 | |
571 | For an existing rxvt-unicode: |
572 | For an existing rxvt-unicode: |
572 | |
573 | |
… | |
… | |
599 | |
600 | |
600 | There are some compile-time selections available via configure. Unless |
601 | There are some compile-time selections available via configure. Unless |
601 | you have run "configure" with the C<--disable-resources> option you can |
602 | you have run "configure" with the C<--disable-resources> option you can |
602 | use the `keysym' resource to alter the keystrings associated with keysyms. |
603 | use the `keysym' resource to alter the keystrings associated with keysyms. |
603 | |
604 | |
604 | Here's an example for a URxvt session started using C<@@RXVT_NAME@@ -name URxvt> |
605 | Here's an example for a URxvt session started using C<@@URXVT_NAME@@ -name URxvt> |
605 | |
606 | |
606 | URxvt.keysym.Home: \033[1~ |
607 | URxvt.keysym.Home: \033[1~ |
607 | URxvt.keysym.End: \033[4~ |
608 | URxvt.keysym.End: \033[4~ |
608 | URxvt.keysym.C-apostrophe: \033<C-'> |
609 | URxvt.keysym.C-apostrophe: \033<C-'> |
609 | URxvt.keysym.C-slash: \033<C-/> |
610 | URxvt.keysym.C-slash: \033<C-/> |
… | |
… | |
687 | resource to set it: |
688 | resource to set it: |
688 | |
689 | |
689 | URxvt.termName: rxvt |
690 | URxvt.termName: rxvt |
690 | |
691 | |
691 | If you don't plan to use B<rxvt> (quite common...) you could also replace |
692 | If you don't plan to use B<rxvt> (quite common...) you could also replace |
692 | the rxvt terminfo file with the rxvt-unicode one. |
693 | the rxvt terminfo file with the rxvt-unicode one and use C<TERM=rxvt>. |
693 | |
694 | |
694 | =head3 C<tic> outputs some error when compiling the terminfo entry. |
695 | =head3 C<tic> outputs some error when compiling the terminfo entry. |
695 | |
696 | |
696 | Most likely it's the empty definition for C<enacs=>. Just replace it by |
697 | Most likely it's the empty definition for C<enacs=>. Just replace it by |
697 | C<enacs=\E[0@> and try again. |
698 | C<enacs=\E[0@> and try again. |
698 | |
699 | |
699 | =head3 C<bash>'s readline does not work correctly under @@RXVT_NAME@@. |
700 | =head3 C<bash>'s readline does not work correctly under @@URXVT_NAME@@. |
700 | |
701 | |
701 | See next entry. |
702 | See next entry. |
702 | |
703 | |
703 | =head3 I need a termcap file entry. |
704 | =head3 I need a termcap file entry. |
704 | |
705 | |
… | |
… | |
1003 | |
1004 | |
1004 | At the time of this writing, cygwin didn't seem to support any multi-byte |
1005 | At the time of this writing, cygwin didn't seem to support any multi-byte |
1005 | encodings (you might try C<LC_CTYPE=C-UTF-8>), so you are likely limited |
1006 | encodings (you might try C<LC_CTYPE=C-UTF-8>), so you are likely limited |
1006 | to 8-bit encodings. |
1007 | to 8-bit encodings. |
1007 | |
1008 | |
1008 | =head1 RXVT TECHNICAL REFERENCE |
1009 | =head1 RXVT-UNICODE TECHNICAL REFERENCE |
1009 | |
1010 | |
1010 | =head1 DESCRIPTION |
1011 | =head1 DESCRIPTION |
1011 | |
1012 | |
1012 | The rest of this document describes various technical aspects of |
1013 | The rest of this document describes various technical aspects of |
1013 | B<rxvt-unicode>. First the description of supported command sequences, |
1014 | B<rxvt-unicode>. First the description of supported command sequences, |
… | |
… | |
1911 | =begin table |
1912 | =begin table |
1912 | |
1913 | |
1913 | 4 Shift |
1914 | 4 Shift |
1914 | 8 Meta |
1915 | 8 Meta |
1915 | 16 Control |
1916 | 16 Control |
1916 | 32 Double Click I<(Rxvt extension)> |
1917 | 32 Double Click I<(rxvt extension)> |
1917 | |
1918 | |
1918 | =end table |
1919 | =end table |
1919 | |
1920 | |
1920 | Col = B<< C<< <x> - SPACE >> >> |
1921 | Col = B<< C<< <x> - SPACE >> >> |
1921 | |
1922 | |