… | |
… | |
16 | =head1 DESCRIPTION |
16 | =head1 DESCRIPTION |
17 | |
17 | |
18 | This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting |
18 | This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting |
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 |
21 | The newest version of this document is also available on the World Wide Web at |
22 | also available on the World Wide Web at |
|
|
23 | 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>. |
24 | |
23 | |
25 | =head1 FREQUENTLY ASKED QUESTIONS |
24 | =head1 FREQUENTLY ASKED QUESTIONS |
26 | |
25 | |
27 | =over 4 |
26 | =over 4 |
… | |
… | |
63 | extensions. Some extensions can also be configured, for example, |
62 | extensions. Some extensions can also be configured, for example, |
64 | scrollback search mode is triggered by B<M-s>. You can move it to any |
63 | scrollback search mode is triggered by B<M-s>. You can move it to any |
65 | other combination either by setting the B<searchable-scrollback> resource: |
64 | other combination either by setting the B<searchable-scrollback> resource: |
66 | |
65 | |
67 | URxvt.searchable-scrollback: CM-s |
66 | URxvt.searchable-scrollback: CM-s |
|
|
67 | |
|
|
68 | =item The cursor moves when selecting text in the current input line, how |
|
|
69 | do I switch this off? |
|
|
70 | |
|
|
71 | =item During rlogin/ssh/telnet/etc. sessions, clicking near the cursor |
|
|
72 | outputs strange escape sequences, how do I fix this? |
|
|
73 | |
|
|
74 | These are caused by the C<readline> perl extension. Under normal |
|
|
75 | circumstances, it will move your cursor around when you click into the |
|
|
76 | line that contains it. It tries hard not to do this at the wrong moment, |
|
|
77 | but when running a program that doesn't parse cursor movements or in some |
|
|
78 | cases during rlogin sessions, it fails to detect this properly. |
|
|
79 | |
|
|
80 | You can permamently switch this feature off by disabling the C<readline> |
|
|
81 | extension: |
|
|
82 | |
|
|
83 | URxvt.perl-ext-common: default,-readline |
|
|
84 | |
|
|
85 | =item Why doesn't rxvt-unicode read my resources? |
|
|
86 | |
|
|
87 | Well, why, indeed? It does, in a way very similar to other X |
|
|
88 | applications. Most importantly, this means that if you or your OS loads |
|
|
89 | resources into the X display (the right way to do it), rxvt-unicode will |
|
|
90 | ignore any resource files in your home directory. It will only read |
|
|
91 | F<$HOME/.Xdefaults> when no resources are attached to the display. |
|
|
92 | |
|
|
93 | If you have or use an F<$HOME/.Xresources> file, chances are that |
|
|
94 | resources are loaded into your X-server. In this case, you have to |
|
|
95 | re-login after every change (or run F<xrdb -merge $HOME/.Xresources>). |
|
|
96 | |
|
|
97 | Also consider the form resources have to use: |
|
|
98 | |
|
|
99 | URxvt.resource: value |
|
|
100 | |
|
|
101 | If you want to use another form (there are lots of different ways of |
|
|
102 | specifying resources), make sure you understand wether and why it |
|
|
103 | works. If unsure, use the form above. |
|
|
104 | |
|
|
105 | =item I can't get transparency working, what am I doing wrong? |
|
|
106 | |
|
|
107 | First of all, transparency isn't officially supported in rxvt-unicode, so |
|
|
108 | you are mostly on your own. Do not bug the author about it (but you may |
|
|
109 | bug everybody else). Also, if you can't get it working consider it a rite |
|
|
110 | of passage: ... and you failed. |
|
|
111 | |
|
|
112 | Here are four ways to get transparency. B<Do> read the manpage and option |
|
|
113 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
|
|
114 | |
|
|
115 | 1. Use inheritPixmap: |
|
|
116 | |
|
|
117 | Esetroot wallpaper.jpg |
|
|
118 | @@RXVT_NAME@@ -ip -tint red -sh 40 |
|
|
119 | |
|
|
120 | That works. If you think it doesn't, you lack transparency and tinting |
|
|
121 | support, or you are unable to read. |
|
|
122 | |
|
|
123 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
|
|
124 | to use effects other than tinting and shading: Just shade/tint/whatever |
|
|
125 | your picture with gimp: |
|
|
126 | |
|
|
127 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm |
|
|
128 | @@RXVT_NAME@@ -pixmap background.xpm -pe automove-background |
|
|
129 | |
|
|
130 | That works. If you think it doesn't, you lack XPM and Perl support, or you |
|
|
131 | are unable to read. |
|
|
132 | |
|
|
133 | 3. Use an ARGB visual: |
|
|
134 | |
|
|
135 | @@RXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
|
|
136 | |
|
|
137 | This requires XFT support, and the support of your X-server. If that |
|
|
138 | doesn't work for you, blame Xorg and Keith Packard. ARGB visuals aren't |
|
|
139 | there yet, no matter what they claim. Rxvt-Unicode contains the neccessary |
|
|
140 | bugfixes and workarounds for Xft and Xlib to make it work, but that |
|
|
141 | doesn't mean that your WM has the required kludges in place. |
|
|
142 | |
|
|
143 | 4. Use xcompmgr and let it do the job: |
|
|
144 | |
|
|
145 | xprop -frame -f _NET_WM_WINDOW_OPACITY 32c \ |
|
|
146 | -set _NET_WM_WINDOW_OPACITY 0xc0000000 |
|
|
147 | |
|
|
148 | Then click on a window you want to make transparent. Replace C<0xc0000000> |
|
|
149 | by other values to change the degree of opacity. If it doesn't work and |
|
|
150 | your server crashes, you got to keep the pieces. |
68 | |
151 | |
69 | =item Isn't rxvt supposed to be small? Don't all those features bloat? |
152 | =item Isn't rxvt supposed to be small? Don't all those features bloat? |
70 | |
153 | |
71 | I often get asked about this, and I think, no, they didn't cause extra |
154 | I often get asked about this, and I think, no, they didn't cause extra |
72 | bloat. If you compare a minimal rxvt and a minimal urxvt, you can see |
155 | bloat. If you compare a minimal rxvt and a minimal urxvt, you can see |
… | |
… | |
142 | No large bloated libraries (of course, none were linked in statically), |
225 | No large bloated libraries (of course, none were linked in statically), |
143 | except maybe libX11 :) |
226 | except maybe libX11 :) |
144 | |
227 | |
145 | =item Does it support tabs, can I have a tabbed rxvt-unicode? |
228 | =item Does it support tabs, can I have a tabbed rxvt-unicode? |
146 | |
229 | |
147 | rxvt-unicode does not directly support tabs. It will work fine with |
230 | Beginning with version 7.3, there is a perl extension that implements a |
148 | tabbing functionality of many window managers or similar tabbing programs, |
231 | simple tabbed terminal. It is installed by default, so any of these should |
149 | and its embedding-features allow it to be embedded into other programs, |
232 | give you tabs: |
150 | as witnessed by F<doc/rxvt-tabbed> or the upcoming C<Gtk2::URxvt> perl |
233 | |
151 | module, which features a tabbed urxvt (murxvt) terminal as an example |
234 | @@RXVT_NAME@@ -pe tabbed |
152 | embedding application. |
235 | |
|
|
236 | URxvt.perl-ext-common: default,tabbed |
|
|
237 | |
|
|
238 | It will also work fine with tabbing functionality of many window managers |
|
|
239 | or similar tabbing programs, and its embedding-features allow it to be |
|
|
240 | embedded into other programs, as witnessed by F<doc/rxvt-tabbed> or |
|
|
241 | the upcoming C<Gtk2::URxvt> perl module, which features a tabbed urxvt |
|
|
242 | (murxvt) terminal as an example embedding application. |
153 | |
243 | |
154 | =item How do I know which rxvt-unicode version I'm using? |
244 | =item How do I know which rxvt-unicode version I'm using? |
155 | |
245 | |
156 | The version number is displayed with the usage (-h). Also the escape |
246 | The version number is displayed with the usage (-h). Also the escape |
157 | sequence C<ESC [ 8 n> sets the window title to the version number. When |
247 | sequence C<ESC [ 8 n> sets the window title to the version number. When |
… | |
… | |
1675 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
1765 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
1676 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. |
1766 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. |
1677 | B<< C<Ps = 50> >> Set fontset to B<< C<Pt> >>, with the following special values of B<< C<Pt> >> (B<rxvt>) B<< C<#+n> >> change up B<< C<n> >> B<< C<#-n> >> change down B<< C<n> >> if B<< C<n> >> is missing of 0, a value of 1 is used I<empty> change to font0 B<< C<n> >> change to font B<< C<n> >> |
1767 | B<< C<Ps = 50> >> Set fontset to B<< C<Pt> >>, with the following special values of B<< C<Pt> >> (B<rxvt>) B<< C<#+n> >> change up B<< C<n> >> B<< C<#-n> >> change down B<< C<n> >> if B<< C<n> >> is missing of 0, a value of 1 is used I<empty> change to font0 B<< C<n> >> change to font B<< C<n> >> |
1678 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> |
1768 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> |
1679 | B<< C<Ps = 701> >> Change current locale to B<< C<Pt> >>, or, if B<< C<Pt> >> is B<< C<?> >>, return the current locale (Compile frills). |
1769 | B<< C<Ps = 701> >> Change current locale to B<< C<Pt> >>, or, if B<< C<Pt> >> is B<< C<?> >>, return the current locale (Compile frills). |
|
|
1770 | B<< C<Ps = 702> >> Request version if B<< C<Pt> >> is B<< C<?> >>, returning C<rxvt-unicode>, the resource name, the major and minor version numbers, e.g. C<ESC ] 702 ; rxvt-unicode ; urxvt ; 7 ; 4 ST>. |
1680 | B<< C<Ps = 704> >> Change colour of italic characters to B<< C<Pt> >> |
1771 | B<< C<Ps = 704> >> Change colour of italic characters to B<< C<Pt> >> |
1681 | B<< C<Ps = 705> >> Change background pixmap tint colour to B<< C<Pt> >> (Compile transparency). |
1772 | B<< C<Ps = 705> >> Change background pixmap tint colour to B<< C<Pt> >> (Compile transparency). |
1682 | B<< C<Ps = 706> >> Change colour of bold characters to B<< C<Pt> >> |
1773 | B<< C<Ps = 706> >> Change colour of bold characters to B<< C<Pt> >> |
1683 | B<< C<Ps = 707> >> Change colour of underlined characters to B<< C<Pt> >> |
1774 | B<< C<Ps = 707> >> Change colour of underlined characters to B<< C<Pt> >> |
1684 | B<< C<Ps = 710> >> Set normal fontset to B<< C<Pt> >>. Same as C<Ps = 50>. |
1775 | B<< C<Ps = 710> >> Set normal fontset to B<< C<Pt> >>. Same as C<Ps = 50>. |
… | |
… | |
1947 | alternative input methods (e.g. kinput2) and will also correctly |
2038 | alternative input methods (e.g. kinput2) and will also correctly |
1948 | set up the input for people using dead keys or compose keys. |
2039 | set up the input for people using dead keys or compose keys. |
1949 | |
2040 | |
1950 | =item --enable-unicode3 (default: off) |
2041 | =item --enable-unicode3 (default: off) |
1951 | |
2042 | |
|
|
2043 | Recommended to stay off unless you really need non-BMP characters. |
|
|
2044 | |
1952 | Enable direct support for displaying unicode codepoints above |
2045 | Enable direct support for displaying unicode codepoints above |
1953 | 65535 (the basic multilingual page). This increases storage |
2046 | 65535 (the basic multilingual page). This increases storage |
1954 | requirements per character from 2 to 4 bytes. X11 fonts do not yet |
2047 | requirements per character from 2 to 4 bytes. X11 fonts do not yet |
1955 | support these extra characters, but Xft does. |
2048 | support these extra characters, but Xft does. |
1956 | |
2049 | |
… | |
… | |
1966 | composite characters. This is required for proper viewing of text |
2059 | composite characters. This is required for proper viewing of text |
1967 | where accents are encoded as seperate unicode characters. This is |
2060 | where accents are encoded as seperate unicode characters. This is |
1968 | done by using precomposited characters when available or creating |
2061 | done by using precomposited characters when available or creating |
1969 | new pseudo-characters when no precomposed form exists. |
2062 | new pseudo-characters when no precomposed form exists. |
1970 | |
2063 | |
1971 | Without --enable-unicode3, the number of additional precomposed characters |
2064 | Without --enable-unicode3, the number of additional precomposed |
1972 | is rather limited (2048, if this is full, rxvt-unicode will use the |
2065 | characters is somewhat limited (the 6400 private use characters will be |
1973 | private use area, extending the number of combinations to 8448). With |
|
|
1974 | --enable-unicode3, no practical limit exists. |
2066 | (ab-)used). With --enable-unicode3, no practical limit exists. |
1975 | |
2067 | |
1976 | This option will also enable storage (but not display) of characters |
2068 | This option will also enable storage (but not display) of characters |
1977 | beyond plane 0 (>65535) when --enable-unicode3 was not specified. |
2069 | beyond plane 0 (>65535) when --enable-unicode3 was not specified. |
1978 | |
2070 | |
1979 | The combining table also contains entries for arabic presentation forms, |
2071 | The combining table also contains entries for arabic presentation forms, |
1980 | but these are not currently used. Bug me if you want these to be used (and |
2072 | but these are not currently used. Bug me if you want these to be used (and |
1981 | tell me how these are to be used...). |
2073 | tell me how these are to be used...). |
1982 | |
2074 | |
1983 | =item --enable-fallback(=CLASS) (default: Rxvt) |
2075 | =item --enable-fallback(=CLASS) (default: Rxvt) |
1984 | |
2076 | |
1985 | When reading resource settings, also read settings for class CLASS. To disable resource fallback use --disable-fallback. |
2077 | When reading resource settings, also read settings for class CLASS. To |
|
|
2078 | disable resource fallback use --disable-fallback. |
1986 | |
2079 | |
1987 | =item --with-res-name=NAME (default: urxvt) |
2080 | =item --with-res-name=NAME (default: urxvt) |
1988 | |
2081 | |
1989 | Use the given name as default application name when |
2082 | Use the given name as default application name when |
1990 | reading resources. Specify --with-res-name=rxvt to replace rxvt. |
2083 | reading resources. Specify --with-res-name=rxvt to replace rxvt. |
… | |
… | |
2080 | |
2173 | |
2081 | MWM-hints |
2174 | MWM-hints |
2082 | EWMH-hints (pid, utf8 names) and protocols (ping) |
2175 | EWMH-hints (pid, utf8 names) and protocols (ping) |
2083 | seperate underline colour (-underlineColor) |
2176 | seperate underline colour (-underlineColor) |
2084 | settable border widths and borderless switch (-w, -b, -bl) |
2177 | settable border widths and borderless switch (-w, -b, -bl) |
|
|
2178 | visual depth selection (-depth) |
2085 | settable extra linespacing /-lsp) |
2179 | settable extra linespacing /-lsp) |
2086 | iso-14755-2 and -3, and visual feedback |
2180 | iso-14755-2 and -3, and visual feedback |
2087 | backindex and forwardindex escape sequence |
|
|
2088 | window op and some xterm/OSC escape sequences |
|
|
2089 | tripleclickwords (-tcw) |
2181 | tripleclickwords (-tcw) |
2090 | settable insecure mode (-insecure) |
2182 | settable insecure mode (-insecure) |
2091 | keysym remapping support |
2183 | keysym remapping support |
2092 | cursor blinking and underline cursor (-cb, -uc) |
2184 | cursor blinking and underline cursor (-cb, -uc) |
2093 | XEmbed support (-embed) |
2185 | XEmbed support (-embed) |
2094 | user-pty (-pty-fd) |
2186 | user-pty (-pty-fd) |
2095 | hold on exit (-hold) |
2187 | hold on exit (-hold) |
2096 | skip builtin block graphics (-sbg) |
2188 | skip builtin block graphics (-sbg) |
|
|
2189 | |
|
|
2190 | It also enabled some non-essential features otherwise disabled, such as: |
|
|
2191 | |
|
|
2192 | some round-trip time optimisations |
|
|
2193 | nearest color allocation on pseudocolor screens |
|
|
2194 | UTF8_STRING supporr for selection |
2097 | sgr modes 90..97 and 100..107 |
2195 | sgr modes 90..97 and 100..107 |
|
|
2196 | backindex and forwardindex escape sequences |
|
|
2197 | view change/zero scorllback esacpe sequences |
|
|
2198 | locale switching escape sequence |
|
|
2199 | window op and some xterm/OSC escape sequences |
|
|
2200 | rectangular selections |
|
|
2201 | trailing space removal for selections |
|
|
2202 | verbose X error handling |
2098 | |
2203 | |
2099 | =item --enable-iso14755 (default: on) |
2204 | =item --enable-iso14755 (default: on) |
2100 | |
2205 | |
2101 | Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or |
2206 | Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or |
2102 | F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by |
2207 | F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by |
… | |
… | |
2145 | |
2250 | |
2146 | =item --enable-pointer-blank (default: on) |
2251 | =item --enable-pointer-blank (default: on) |
2147 | |
2252 | |
2148 | Add support to have the pointer disappear when typing or inactive. |
2253 | Add support to have the pointer disappear when typing or inactive. |
2149 | |
2254 | |
2150 | =item --enable-perl (default: off) |
2255 | =item --enable-perl (default: on) |
2151 | |
2256 | |
2152 | Enable an embedded perl interpreter. See the B<@@RXVT_NAME@@perl(3)> |
2257 | Enable an embedded perl interpreter. See the B<@@RXVT_NAME@@perl(3)> |
2153 | manpage (F<doc/rxvtperl.txt>) for more info on this feature, or the files |
2258 | manpage (F<doc/rxvtperl.txt>) for more info on this feature, or the files |
2154 | in F<src/perl-ext/> for the extensions that are installed by default. The |
2259 | in F<src/perl-ext/> for the extensions that are installed by default. The |
2155 | perl interpreter that is used can be specified via the C<PERL> environment |
2260 | perl interpreter that is used can be specified via the C<PERL> environment |