… | |
… | |
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 |
|
|
28 | |
|
|
29 | =item The new selection selects pieces that are too big, how can I select |
26 | =head2 The new selection selects pieces that are too big, how can I select single words? |
30 | single words? |
|
|
31 | |
27 | |
32 | Yes. For example, if you want to select alphanumeric words, you can use |
28 | If you want to select e.g. alphanumeric words, you can use the following |
33 | the following resource: |
29 | setting: |
34 | |
30 | |
35 | URxvt.selection.pattern-0: ([[:word:]]+) |
31 | URxvt.selection.pattern-0: ([[:word:]]+) |
36 | |
32 | |
37 | If you click more than twice, the selection will be extended |
33 | If you click more than twice, the selection will be extended |
38 | more and more. |
34 | more and more. |
… | |
… | |
42 | URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+) |
38 | URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+) |
43 | |
39 | |
44 | Please also note that the I<LeftClick Shift-LeftClik> combination also |
40 | Please also note that the I<LeftClick Shift-LeftClik> combination also |
45 | selects words like the old code. |
41 | selects words like the old code. |
46 | |
42 | |
47 | =item I don't like the new selection/popups/hotkeys/perl, how do I |
43 | =head2 I don't like the new selection/popups/hotkeys/perl, how do I change/disable it? |
48 | change/disable it? |
|
|
49 | |
44 | |
50 | You can disable the perl extension completely by setting the |
45 | You can disable the perl extension completely by setting the |
51 | B<perl-ext-common> resource to the empty string, which also keeps |
46 | B<perl-ext-common> resource to the empty string, which also keeps |
52 | rxvt-unicode from initialising perl, saving memory. |
47 | rxvt-unicode from initialising perl, saving memory. |
53 | |
48 | |
… | |
… | |
64 | scrollback search mode is triggered by B<M-s>. You can move it to any |
59 | 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: |
60 | other combination either by setting the B<searchable-scrollback> resource: |
66 | |
61 | |
67 | URxvt.searchable-scrollback: CM-s |
62 | URxvt.searchable-scrollback: CM-s |
68 | |
63 | |
|
|
64 | =head2 The cursor moves when selecting text in the current input line, how do I switch this off? |
|
|
65 | |
|
|
66 | See next entry. |
|
|
67 | |
|
|
68 | =head2 During rlogin/ssh/telnet/etc. sessions, clicking near the cursor outputs strange escape sequences, how do I fix this? |
|
|
69 | |
|
|
70 | These are caused by the C<readline> perl extension. Under normal |
|
|
71 | circumstances, it will move your cursor around when you click into the |
|
|
72 | line that contains it. It tries hard not to do this at the wrong moment, |
|
|
73 | but when running a program that doesn't parse cursor movements or in some |
|
|
74 | cases during rlogin sessions, it fails to detect this properly. |
|
|
75 | |
|
|
76 | You can permamently switch this feature off by disabling the C<readline> |
|
|
77 | extension: |
|
|
78 | |
|
|
79 | URxvt.perl-ext-common: default,-readline |
|
|
80 | |
|
|
81 | =head2 Why doesn't rxvt-unicode read my resources? |
|
|
82 | |
|
|
83 | Well, why, indeed? It does, in a way very similar to other X |
|
|
84 | applications. Most importantly, this means that if you or your OS loads |
|
|
85 | resources into the X display (the right way to do it), rxvt-unicode will |
|
|
86 | ignore any resource files in your home directory. It will only read |
|
|
87 | F<$HOME/.Xdefaults> when no resources are attached to the display. |
|
|
88 | |
|
|
89 | If you have or use an F<$HOME/.Xresources> file, chances are that |
|
|
90 | resources are loaded into your X-server. In this case, you have to |
|
|
91 | re-login after every change (or run F<xrdb -merge $HOME/.Xresources>). |
|
|
92 | |
|
|
93 | Also consider the form resources have to use: |
|
|
94 | |
|
|
95 | URxvt.resource: value |
|
|
96 | |
|
|
97 | If you want to use another form (there are lots of different ways of |
|
|
98 | specifying resources), make sure you understand wether and why it |
|
|
99 | works. If unsure, use the form above. |
|
|
100 | |
|
|
101 | =head2 I can't get transparency working, what am I doing wrong? |
|
|
102 | |
|
|
103 | First of all, transparency isn't officially supported in rxvt-unicode, so |
|
|
104 | you are mostly on your own. Do not bug the author about it (but you may |
|
|
105 | bug everybody else). Also, if you can't get it working consider it a rite |
|
|
106 | of passage: ... and you failed. |
|
|
107 | |
|
|
108 | Here are four ways to get transparency. B<Do> read the manpage and option |
|
|
109 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
|
|
110 | |
|
|
111 | 1. Use inheritPixmap: |
|
|
112 | |
|
|
113 | Esetroot wallpaper.jpg |
|
|
114 | @@RXVT_NAME@@ -ip -tint red -sh 40 |
|
|
115 | |
|
|
116 | That works. If you think it doesn't, you lack transparency and tinting |
|
|
117 | support, or you are unable to read. |
|
|
118 | |
|
|
119 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
|
|
120 | to use effects other than tinting and shading: Just shade/tint/whatever |
|
|
121 | your picture with gimp: |
|
|
122 | |
|
|
123 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm |
|
|
124 | @@RXVT_NAME@@ -pixmap background.xpm -pe automove-background |
|
|
125 | |
|
|
126 | That works. If you think it doesn't, you lack XPM and Perl support, or you |
|
|
127 | are unable to read. |
|
|
128 | |
|
|
129 | 3. Use an ARGB visual: |
|
|
130 | |
|
|
131 | @@RXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
|
|
132 | |
|
|
133 | This requires XFT support, and the support of your X-server. If that |
|
|
134 | doesn't work for you, blame Xorg and Keith Packard. ARGB visuals aren't |
|
|
135 | there yet, no matter what they claim. Rxvt-Unicode contains the neccessary |
|
|
136 | bugfixes and workarounds for Xft and Xlib to make it work, but that |
|
|
137 | doesn't mean that your WM has the required kludges in place. |
|
|
138 | |
|
|
139 | 4. Use xcompmgr and let it do the job: |
|
|
140 | |
|
|
141 | xprop -frame -f _NET_WM_WINDOW_OPACITY 32c \ |
|
|
142 | -set _NET_WM_WINDOW_OPACITY 0xc0000000 |
|
|
143 | |
|
|
144 | Then click on a window you want to make transparent. Replace C<0xc0000000> |
|
|
145 | by other values to change the degree of opacity. If it doesn't work and |
|
|
146 | your server crashes, you got to keep the pieces. |
|
|
147 | |
69 | =item Isn't rxvt supposed to be small? Don't all those features bloat? |
148 | =head2 Isn't rxvt supposed to be small? Don't all those features bloat? |
70 | |
149 | |
71 | I often get asked about this, and I think, no, they didn't cause extra |
150 | 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 |
151 | bloat. If you compare a minimal rxvt and a minimal urxvt, you can see |
73 | that the urxvt binary is larger (due to some encoding tables always being |
152 | that the urxvt binary is larger (due to some encoding tables always being |
74 | compiled in), but it actually uses less memory (RSS) after startup. Even |
153 | compiled in), but it actually uses less memory (RSS) after startup. Even |
… | |
… | |
106 | (21152k + extra 4204k in separate processes) or konsole (22200k + extra |
185 | (21152k + extra 4204k in separate processes) or konsole (22200k + extra |
107 | 43180k in daemons that stay around after exit, plus half a minute of |
186 | 43180k in daemons that stay around after exit, plus half a minute of |
108 | startup time, including the hundreds of warnings it spits out), it fares |
187 | startup time, including the hundreds of warnings it spits out), it fares |
109 | extremely well *g*. |
188 | extremely well *g*. |
110 | |
189 | |
111 | =item Why C++, isn't that unportable/bloated/uncool? |
190 | =head2 Why C++, isn't that unportable/bloated/uncool? |
112 | |
191 | |
113 | Is this a question? :) It comes up very often. The simple answer is: I had |
192 | Is this a question? :) It comes up very often. The simple answer is: I had |
114 | to write it, and C++ allowed me to write and maintain it in a fraction |
193 | to write it, and C++ allowed me to write and maintain it in a fraction |
115 | of the time and effort (which is a scarce resource for me). Put even |
194 | of the time and effort (which is a scarce resource for me). Put even |
116 | shorter: It simply wouldn't exist without C++. |
195 | shorter: It simply wouldn't exist without C++. |
… | |
… | |
140 | /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000) |
219 | /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000) |
141 | |
220 | |
142 | No large bloated libraries (of course, none were linked in statically), |
221 | No large bloated libraries (of course, none were linked in statically), |
143 | except maybe libX11 :) |
222 | except maybe libX11 :) |
144 | |
223 | |
145 | =item Does it support tabs, can I have a tabbed rxvt-unicode? |
224 | =head2 Does it support tabs, can I have a tabbed rxvt-unicode? |
146 | |
225 | |
147 | rxvt-unicode does not directly support tabs. It will work fine with |
226 | Beginning with version 7.3, there is a perl extension that implements a |
148 | tabbing functionality of many window managers or similar tabbing programs, |
227 | 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, |
228 | give you tabs: |
150 | as witnessed by F<doc/rxvt-tabbed> or the upcoming C<Gtk2::URxvt> perl |
|
|
151 | module, which features a tabbed urxvt (murxvt) terminal as an example |
|
|
152 | embedding application. |
|
|
153 | |
229 | |
|
|
230 | @@RXVT_NAME@@ -pe tabbed |
|
|
231 | |
|
|
232 | URxvt.perl-ext-common: default,tabbed |
|
|
233 | |
|
|
234 | It will also work fine with tabbing functionality of many window managers |
|
|
235 | or similar tabbing programs, and its embedding-features allow it to be |
|
|
236 | embedded into other programs, as witnessed by F<doc/rxvt-tabbed> or |
|
|
237 | the upcoming C<Gtk2::URxvt> perl module, which features a tabbed urxvt |
|
|
238 | (murxvt) terminal as an example embedding application. |
|
|
239 | |
154 | =item How do I know which rxvt-unicode version I'm using? |
240 | =head2 How do I know which rxvt-unicode version I'm using? |
155 | |
241 | |
156 | The version number is displayed with the usage (-h). Also the escape |
242 | 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 |
243 | sequence C<ESC [ 8 n> sets the window title to the version number. When |
158 | using the @@RXVT_NAME@@c client, the version displayed is that of the |
244 | using the @@RXVT_NAME@@c client, the version displayed is that of the |
159 | daemon. |
245 | daemon. |
160 | |
246 | |
161 | =item I am using Debian GNU/Linux and have a problem... |
247 | =head2 I am using Debian GNU/Linux and have a problem... |
162 | |
248 | |
163 | The Debian GNU/Linux package of rxvt-unicode in sarge contains large |
249 | The Debian GNU/Linux package of rxvt-unicode in sarge contains large |
164 | patches that considerably change the behaviour of rxvt-unicode (but |
250 | patches that considerably change the behaviour of rxvt-unicode (but |
165 | unfortunately this notice has been removed). Before reporting a bug to |
251 | unfortunately this notice has been removed). Before reporting a bug to |
166 | the original rxvt-unicode author please download and install the genuine |
252 | the original rxvt-unicode author please download and install the genuine |
… | |
… | |
172 | For other problems that also affect the Debian package, you can and |
258 | For other problems that also affect the Debian package, you can and |
173 | probably should use the Debian BTS, too, because, after all, it's also a |
259 | probably should use the Debian BTS, too, because, after all, it's also a |
174 | bug in the Debian version and it serves as a reminder for other users that |
260 | bug in the Debian version and it serves as a reminder for other users that |
175 | might encounter the same issue. |
261 | might encounter the same issue. |
176 | |
262 | |
177 | =item I am maintaining rxvt-unicode for distribution/OS XXX, any |
263 | =head2 I am maintaining rxvt-unicode for distribution/OS XXX, any recommendation? |
178 | recommendation? |
|
|
179 | |
264 | |
180 | You should build one binary with the default options. F<configure> |
265 | You should build one binary with the default options. F<configure> |
181 | now enables most useful options, and the trend goes to making them |
266 | now enables most useful options, and the trend goes to making them |
182 | runtime-switchable, too, so there is usually no drawback to enbaling them, |
267 | runtime-switchable, too, so there is usually no drawback to enbaling them, |
183 | except higher disk and possibly memory usage. The perl interpreter should |
268 | except higher disk and possibly memory usage. The perl interpreter should |
… | |
… | |
193 | If you can/want build more binaries, I recommend building a minimal |
278 | If you can/want build more binaries, I recommend building a minimal |
194 | one with C<--disable-everything> (very useful) and a maximal one with |
279 | one with C<--disable-everything> (very useful) and a maximal one with |
195 | C<--enable-everything> (less useful, it will be very big due to a lot of |
280 | C<--enable-everything> (less useful, it will be very big due to a lot of |
196 | encodings built-in that increase download times and are rarely used). |
281 | encodings built-in that increase download times and are rarely used). |
197 | |
282 | |
198 | =item I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe? |
283 | =head2 I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe? |
199 | |
284 | |
200 | It should be, starting with release 7.1. You are encouraged to properly |
285 | It should be, starting with release 7.1. You are encouraged to properly |
201 | install urxvt with privileges necessary for your OS now. |
286 | install urxvt with privileges necessary for your OS now. |
202 | |
287 | |
203 | When rxvt-unicode detects that it runs setuid or setgid, it will fork |
288 | When rxvt-unicode detects that it runs setuid or setgid, it will fork |
… | |
… | |
210 | This forking is done as the very first within main(), which is very early |
295 | This forking is done as the very first within main(), which is very early |
211 | and reduces possible bugs to initialisation code run before main(), or |
296 | and reduces possible bugs to initialisation code run before main(), or |
212 | things like the dynamic loader of your system, which should result in very |
297 | things like the dynamic loader of your system, which should result in very |
213 | little risk. |
298 | little risk. |
214 | |
299 | |
215 | =item When I log-in to another system it tells me about missing terminfo data? |
300 | =head2 When I log-in to another system it tells me about missing terminfo data? |
216 | |
301 | |
217 | The terminal description used by rxvt-unicode is not as widely available |
302 | The terminal description used by rxvt-unicode is not as widely available |
218 | as that for xterm, or even rxvt (for which the same problem often arises). |
303 | as that for xterm, or even rxvt (for which the same problem often arises). |
219 | |
304 | |
220 | The correct solution for this problem is to install the terminfo, this can |
305 | The correct solution for this problem is to install the terminfo, this can |
… | |
… | |
238 | URxvt.termName: rxvt |
323 | URxvt.termName: rxvt |
239 | |
324 | |
240 | If you don't plan to use B<rxvt> (quite common...) you could also replace |
325 | If you don't plan to use B<rxvt> (quite common...) you could also replace |
241 | the rxvt terminfo file with the rxvt-unicode one. |
326 | the rxvt terminfo file with the rxvt-unicode one. |
242 | |
327 | |
243 | =item C<tic> outputs some error when compiling the terminfo entry. |
328 | =head2 C<tic> outputs some error when compiling the terminfo entry. |
244 | |
329 | |
245 | Most likely it's the empty definition for C<enacs=>. Just replace it by |
330 | Most likely it's the empty definition for C<enacs=>. Just replace it by |
246 | C<enacs=\E[0@> and try again. |
331 | C<enacs=\E[0@> and try again. |
247 | |
332 | |
248 | =item C<bash>'s readline does not work correctly under @@RXVT_NAME@@. |
333 | =head2 C<bash>'s readline does not work correctly under @@RXVT_NAME@@. |
249 | |
334 | |
|
|
335 | See next entry. |
|
|
336 | |
250 | =item I need a termcap file entry. |
337 | =head2 I need a termcap file entry. |
251 | |
338 | |
252 | One reason you might want this is that some distributions or operating |
339 | One reason you might want this is that some distributions or operating |
253 | systems still compile some programs using the long-obsoleted termcap |
340 | systems still compile some programs using the long-obsoleted termcap |
254 | library (Fedora Core's bash is one example) and rely on a termcap entry |
341 | library (Fedora Core's bash is one example) and rely on a termcap entry |
255 | for C<rxvt-unicode>. |
342 | for C<rxvt-unicode>. |
… | |
… | |
281 | :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\ |
368 | :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\ |
282 | :te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:\ |
369 | :te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:\ |
283 | :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ |
370 | :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ |
284 | :vs=\E[?25h: |
371 | :vs=\E[?25h: |
285 | |
372 | |
286 | =item Why does C<ls> no longer have coloured output? |
373 | =head2 Why does C<ls> no longer have coloured output? |
287 | |
374 | |
288 | The C<ls> in the GNU coreutils unfortunately doesn't use terminfo to |
375 | The C<ls> in the GNU coreutils unfortunately doesn't use terminfo to |
289 | decide wether a terminal has colour, but uses it's own configuration |
376 | decide wether a terminal has colour, but uses it's own configuration |
290 | file. Needless to say, C<rxvt-unicode> is not in it's default file (among |
377 | file. Needless to say, C<rxvt-unicode> is not in it's default file (among |
291 | with most other terminals supporting colour). Either add: |
378 | with most other terminals supporting colour). Either add: |
… | |
… | |
296 | |
383 | |
297 | alias ls='ls --color=auto' |
384 | alias ls='ls --color=auto' |
298 | |
385 | |
299 | to your C<.profile> or C<.bashrc>. |
386 | to your C<.profile> or C<.bashrc>. |
300 | |
387 | |
301 | =item Why doesn't vim/emacs etc. use the 88 colour mode? |
388 | =head2 Why doesn't vim/emacs etc. use the 88 colour mode? |
302 | |
389 | |
|
|
390 | See next entry. |
|
|
391 | |
303 | =item Why doesn't vim/emacs etc. make use of italic? |
392 | =head2 Why doesn't vim/emacs etc. make use of italic? |
304 | |
393 | |
|
|
394 | See next entry. |
|
|
395 | |
305 | =item Why are the secondary screen-related options not working properly? |
396 | =head2 Why are the secondary screen-related options not working properly? |
306 | |
397 | |
307 | Make sure you are using C<TERM=rxvt-unicode>. Some pre-packaged |
398 | Make sure you are using C<TERM=rxvt-unicode>. Some pre-packaged |
308 | distributions (most notably Debian GNU/Linux) break rxvt-unicode |
399 | distributions (most notably Debian GNU/Linux) break rxvt-unicode |
309 | by setting C<TERM> to C<rxvt>, which doesn't have these extra |
400 | by setting C<TERM> to C<rxvt>, which doesn't have these extra |
310 | features. Unfortunately, some of these (most notably, again, Debian |
401 | features. Unfortunately, some of these (most notably, again, Debian |
311 | GNU/Linux) furthermore fail to even install the C<rxvt-unicode> terminfo |
402 | GNU/Linux) furthermore fail to even install the C<rxvt-unicode> terminfo |
312 | file, so you will need to install it on your own (See the question B<When |
403 | file, so you will need to install it on your own (See the question B<When |
313 | I log-in to another system it tells me about missing terminfo data?> on |
404 | I log-in to another system it tells me about missing terminfo data?> on |
314 | how to do this). |
405 | how to do this). |
315 | |
406 | |
316 | =item My numerical keypad acts weird and generates differing output? |
407 | =head2 My numerical keypad acts weird and generates differing output? |
317 | |
408 | |
318 | Some Debian GNUL/Linux users seem to have this problem, although no |
409 | Some Debian GNUL/Linux users seem to have this problem, although no |
319 | specific details were reported so far. It is possible that this is caused |
410 | specific details were reported so far. It is possible that this is caused |
320 | by the wrong C<TERM> setting, although the details of wether and how |
411 | by the wrong C<TERM> setting, although the details of wether and how |
321 | this can happen are unknown, as C<TERM=rxvt> should offer a compatible |
412 | this can happen are unknown, as C<TERM=rxvt> should offer a compatible |
322 | keymap. See the answer to the previous question, and please report if that |
413 | keymap. See the answer to the previous question, and please report if that |
323 | helped. |
414 | helped. |
324 | |
415 | |
325 | =item Rxvt-unicode does not seem to understand the selected encoding? |
416 | =head2 Rxvt-unicode does not seem to understand the selected encoding? |
326 | |
417 | |
|
|
418 | See next entry. |
|
|
419 | |
327 | =item Unicode does not seem to work? |
420 | =head2 Unicode does not seem to work? |
328 | |
421 | |
329 | If you encounter strange problems like typing an accented character but |
422 | If you encounter strange problems like typing an accented character but |
330 | getting two unrelated other characters or similar, or if program output is |
423 | getting two unrelated other characters or similar, or if program output is |
331 | subtly garbled, then you should check your locale settings. |
424 | subtly garbled, then you should check your locale settings. |
332 | |
425 | |
… | |
… | |
352 | |
445 | |
353 | If nothing works and you are sure that everything is set correctly then |
446 | If nothing works and you are sure that everything is set correctly then |
354 | you will need to remember a little known fact: Some programs just don't |
447 | you will need to remember a little known fact: Some programs just don't |
355 | support locales :( |
448 | support locales :( |
356 | |
449 | |
357 | =item Why do some characters look so much different than others? |
450 | =head2 Why do some characters look so much different than others? |
358 | |
451 | |
|
|
452 | See next entry. |
|
|
453 | |
359 | =item How does rxvt-unicode choose fonts? |
454 | =head2 How does rxvt-unicode choose fonts? |
360 | |
455 | |
361 | Most fonts do not contain the full range of Unicode, which is |
456 | Most fonts do not contain the full range of Unicode, which is |
362 | fine. Chances are that the font you (or the admin/package maintainer of |
457 | fine. Chances are that the font you (or the admin/package maintainer of |
363 | your system/os) have specified does not cover all the characters you want |
458 | your system/os) have specified does not cover all the characters you want |
364 | to display. |
459 | to display. |
… | |
… | |
382 | |
477 | |
383 | The only limitation is that none of the fonts may be larger than the base |
478 | The only limitation is that none of the fonts may be larger than the base |
384 | font, as the base font defines the terminal character cell size, which |
479 | font, as the base font defines the terminal character cell size, which |
385 | must be the same due to the way terminals work. |
480 | must be the same due to the way terminals work. |
386 | |
481 | |
387 | =item Why do some chinese characters look so different than others? |
482 | =head2 Why do some chinese characters look so different than others? |
388 | |
483 | |
389 | This is because there is a difference between script and language -- |
484 | This is because there is a difference between script and language -- |
390 | rxvt-unicode does not know which language the text that is output is, |
485 | rxvt-unicode does not know which language the text that is output is, |
391 | as it only knows the unicode character codes. If rxvt-unicode first |
486 | as it only knows the unicode character codes. If rxvt-unicode first |
392 | sees a japanese/chinese character, it might choose a japanese font for |
487 | sees a japanese/chinese character, it might choose a japanese font for |
… | |
… | |
407 | has been designed yet). |
502 | has been designed yet). |
408 | |
503 | |
409 | Until then, you might get away with switching fonts at runtime (see L<Can |
504 | Until then, you might get away with switching fonts at runtime (see L<Can |
410 | I switch the fonts at runtime?> later in this document). |
505 | I switch the fonts at runtime?> later in this document). |
411 | |
506 | |
412 | =item Why does rxvt-unicode sometimes leave pixel droppings? |
507 | =head2 Why does rxvt-unicode sometimes leave pixel droppings? |
413 | |
508 | |
414 | Most fonts were not designed for terminal use, which means that character |
509 | Most fonts were not designed for terminal use, which means that character |
415 | size varies a lot. A font that is otherwise fine for terminal use might |
510 | size varies a lot. A font that is otherwise fine for terminal use might |
416 | contain some characters that are simply too wide. Rxvt-unicode will avoid |
511 | contain some characters that are simply too wide. Rxvt-unicode will avoid |
417 | these characters. For characters that are just "a bit" too wide a special |
512 | these characters. For characters that are just "a bit" too wide a special |
… | |
… | |
429 | might be forced to use a different font. |
524 | might be forced to use a different font. |
430 | |
525 | |
431 | All of this is not a problem when using X11 core fonts, as their bounding |
526 | All of this is not a problem when using X11 core fonts, as their bounding |
432 | box data is correct. |
527 | box data is correct. |
433 | |
528 | |
434 | =item On Solaris 9, many line-drawing characters are too wide. |
529 | =head2 On Solaris 9, many line-drawing characters are too wide. |
435 | |
530 | |
436 | Seems to be a known bug, read |
531 | Seems to be a known bug, read |
437 | L<http://nixdoc.net/files/forum/about34198.html>. Some people use the |
532 | L<http://nixdoc.net/files/forum/about34198.html>. Some people use the |
438 | following ugly workaround to get non-double-wide-characters working: |
533 | following ugly workaround to get non-double-wide-characters working: |
439 | |
534 | |
440 | #define wcwidth(x) wcwidth(x) > 1 ? 1 : wcwidth(x) |
535 | #define wcwidth(x) wcwidth(x) > 1 ? 1 : wcwidth(x) |
441 | |
536 | |
442 | =item My Compose (Multi_key) key is no longer working. |
537 | =head2 My Compose (Multi_key) key is no longer working. |
443 | |
538 | |
444 | The most common causes for this are that either your locale is not set |
539 | The most common causes for this are that either your locale is not set |
445 | correctly, or you specified a B<preeditStyle> that is not supported by |
540 | correctly, or you specified a B<preeditStyle> that is not supported by |
446 | your input method. For example, if you specified B<OverTheSpot> and |
541 | your input method. For example, if you specified B<OverTheSpot> and |
447 | your input method (e.g. the default input method handling Compose keys) |
542 | your input method (e.g. the default input method handling Compose keys) |
… | |
… | |
449 | rxvt-unicode will continue without an input method. |
544 | rxvt-unicode will continue without an input method. |
450 | |
545 | |
451 | In this case either do not specify a B<preeditStyle> or specify more than |
546 | In this case either do not specify a B<preeditStyle> or specify more than |
452 | one pre-edit style, such as B<OverTheSpot,Root,None>. |
547 | one pre-edit style, such as B<OverTheSpot,Root,None>. |
453 | |
548 | |
454 | =item I cannot type C<Ctrl-Shift-2> to get an ASCII NUL character due to ISO 14755 |
549 | =head2 I cannot type C<Ctrl-Shift-2> to get an ASCII NUL character due to ISO 14755 |
455 | |
550 | |
456 | Either try C<Ctrl-2> alone (it often is mapped to ASCII NUL even on |
551 | Either try C<Ctrl-2> alone (it often is mapped to ASCII NUL even on |
457 | international keyboards) or simply use ISO 14755 support to your |
552 | international keyboards) or simply use ISO 14755 support to your |
458 | advantage, typing <Ctrl-Shift-0> to get a ASCII NUL. This works for other |
553 | advantage, typing <Ctrl-Shift-0> to get a ASCII NUL. This works for other |
459 | codes, too, such as C<Ctrl-Shift-1-d> to type the default telnet escape |
554 | codes, too, such as C<Ctrl-Shift-1-d> to type the default telnet escape |
460 | character and so on. |
555 | character and so on. |
461 | |
556 | |
462 | =item How can I keep rxvt-unicode from using reverse video so much? |
557 | =head2 How can I keep rxvt-unicode from using reverse video so much? |
463 | |
558 | |
464 | First of all, make sure you are running with the right terminal settings |
559 | First of all, make sure you are running with the right terminal settings |
465 | (C<TERM=rxvt-unicode>), which will get rid of most of these effects. Then |
560 | (C<TERM=rxvt-unicode>), which will get rid of most of these effects. Then |
466 | make sure you have specified colours for italic and bold, as otherwise |
561 | make sure you have specified colours for italic and bold, as otherwise |
467 | rxvt-unicode might use reverse video to simulate the effect: |
562 | rxvt-unicode might use reverse video to simulate the effect: |
468 | |
563 | |
469 | URxvt.colorBD: white |
564 | URxvt.colorBD: white |
470 | URxvt.colorIT: green |
565 | URxvt.colorIT: green |
471 | |
566 | |
472 | =item Some programs assume totally weird colours (red instead of blue), how can I fix that? |
567 | =head2 Some programs assume totally weird colours (red instead of blue), how can I fix that? |
473 | |
568 | |
474 | For some unexplainable reason, some rare programs assume a very weird |
569 | For some unexplainable reason, some rare programs assume a very weird |
475 | colour palette when confronted with a terminal with more than the standard |
570 | colour palette when confronted with a terminal with more than the standard |
476 | 8 colours (rxvt-unicode supports 88). The right fix is, of course, to fix |
571 | 8 colours (rxvt-unicode supports 88). The right fix is, of course, to fix |
477 | these programs not to assume non-ISO colours without very good reasons. |
572 | these programs not to assume non-ISO colours without very good reasons. |
478 | |
573 | |
479 | In the meantime, you can either edit your C<rxvt-unicode> terminfo |
574 | In the meantime, you can either edit your C<rxvt-unicode> terminfo |
480 | definition to only claim 8 colour support or use C<TERM=rxvt>, which will |
575 | definition to only claim 8 colour support or use C<TERM=rxvt>, which will |
481 | fix colours but keep you from using other rxvt-unicode features. |
576 | fix colours but keep you from using other rxvt-unicode features. |
482 | |
577 | |
483 | =item I am on FreeBSD and rxvt-unicode does not seem to work at all. |
578 | =head2 I am on FreeBSD and rxvt-unicode does not seem to work at all. |
484 | |
579 | |
485 | Rxvt-unicode requires the symbol C<__STDC_ISO_10646__> to be defined |
580 | Rxvt-unicode requires the symbol C<__STDC_ISO_10646__> to be defined |
486 | in your compile environment, or an implementation that implements it, |
581 | in your compile environment, or an implementation that implements it, |
487 | wether it defines the symbol or not. C<__STDC_ISO_10646__> requires that |
582 | wether it defines the symbol or not. C<__STDC_ISO_10646__> requires that |
488 | B<wchar_t> is represented as unicode. |
583 | B<wchar_t> is represented as unicode. |
… | |
… | |
510 | |
605 | |
511 | The rxvt-unicode author insists that the right way to fix this is in the |
606 | The rxvt-unicode author insists that the right way to fix this is in the |
512 | system libraries once and for all, instead of forcing every app to carry |
607 | system libraries once and for all, instead of forcing every app to carry |
513 | complete replacements for them :) |
608 | complete replacements for them :) |
514 | |
609 | |
515 | =item I use Solaris 9 and it doesn't compile/work/etc. |
610 | =head2 I use Solaris 9 and it doesn't compile/work/etc. |
516 | |
611 | |
517 | Try the diff in F<doc/solaris9.patch> as a base. It fixes the worst |
612 | Try the diff in F<doc/solaris9.patch> as a base. It fixes the worst |
518 | problems with C<wcwidth> and a compile problem. |
613 | problems with C<wcwidth> and a compile problem. |
519 | |
614 | |
520 | =item How can I use rxvt-unicode under cygwin? |
615 | =head2 How can I use rxvt-unicode under cygwin? |
521 | |
616 | |
522 | rxvt-unicode should compile and run out of the box on cygwin, using |
617 | rxvt-unicode should compile and run out of the box on cygwin, using |
523 | the X11 libraries that come with cygwin. libW11 emulation is no |
618 | the X11 libraries that come with cygwin. libW11 emulation is no |
524 | longer supported (and makes no sense, either, as it only supported a |
619 | longer supported (and makes no sense, either, as it only supported a |
525 | single font). I recommend starting the X-server in C<-multiwindow> or |
620 | single font). I recommend starting the X-server in C<-multiwindow> or |
… | |
… | |
528 | |
623 | |
529 | At the time of this writing, cygwin didn't seem to support any multi-byte |
624 | At the time of this writing, cygwin didn't seem to support any multi-byte |
530 | encodings (you might try C<LC_CTYPE=C-UTF-8>), so you are likely limited |
625 | encodings (you might try C<LC_CTYPE=C-UTF-8>), so you are likely limited |
531 | to 8-bit encodings. |
626 | to 8-bit encodings. |
532 | |
627 | |
533 | =item How does rxvt-unicode determine the encoding to use? |
628 | =head2 How does rxvt-unicode determine the encoding to use? |
534 | |
629 | |
|
|
630 | See next entry. |
|
|
631 | |
535 | =item Is there an option to switch encodings? |
632 | =head2 Is there an option to switch encodings? |
536 | |
633 | |
537 | Unlike some other terminals, rxvt-unicode has no encoding switch, and no |
634 | Unlike some other terminals, rxvt-unicode has no encoding switch, and no |
538 | specific "utf-8" mode, such as xterm. In fact, it doesn't even know about |
635 | specific "utf-8" mode, such as xterm. In fact, it doesn't even know about |
539 | UTF-8 or any other encodings with respect to terminal I/O. |
636 | UTF-8 or any other encodings with respect to terminal I/O. |
540 | |
637 | |
… | |
… | |
565 | rxvt-unicode. |
662 | rxvt-unicode. |
566 | |
663 | |
567 | If you want to use a specific encoding you have to make sure you start |
664 | If you want to use a specific encoding you have to make sure you start |
568 | rxvt-unicode with the correct C<LC_CTYPE> category. |
665 | rxvt-unicode with the correct C<LC_CTYPE> category. |
569 | |
666 | |
570 | =item Can I switch locales at runtime? |
667 | =head2 Can I switch locales at runtime? |
571 | |
668 | |
572 | Yes, using an escape sequence. Try something like this, which sets |
669 | Yes, using an escape sequence. Try something like this, which sets |
573 | rxvt-unicode's idea of C<LC_CTYPE>. |
670 | rxvt-unicode's idea of C<LC_CTYPE>. |
574 | |
671 | |
575 | printf '\e]701;%s\007' ja_JP.SJIS |
672 | printf '\e]701;%s\007' ja_JP.SJIS |
… | |
… | |
587 | |
684 | |
588 | You can also use xterm's C<luit> program, which usually works fine, except |
685 | You can also use xterm's C<luit> program, which usually works fine, except |
589 | for some locales where character width differs between program- and |
686 | for some locales where character width differs between program- and |
590 | rxvt-unicode-locales. |
687 | rxvt-unicode-locales. |
591 | |
688 | |
592 | =item Can I switch the fonts at runtime? |
689 | =head2 Can I switch the fonts at runtime? |
593 | |
690 | |
594 | Yes, using an escape sequence. Try something like this, which has the same |
691 | Yes, using an escape sequence. Try something like this, which has the same |
595 | effect as using the C<-fn> switch, and takes effect immediately: |
692 | effect as using the C<-fn> switch, and takes effect immediately: |
596 | |
693 | |
597 | printf '\e]50;%s\007' "9x15bold,xft:Kochi Gothic" |
694 | printf '\e]50;%s\007' "9x15bold,xft:Kochi Gothic" |
… | |
… | |
600 | japanese font), but you have to switch to chinese temporarily, where |
697 | japanese font), but you have to switch to chinese temporarily, where |
601 | japanese fonts would only be in your way. |
698 | japanese fonts would only be in your way. |
602 | |
699 | |
603 | You can think of this as a kind of manual ISO-2022 switching. |
700 | You can think of this as a kind of manual ISO-2022 switching. |
604 | |
701 | |
605 | =item Why do italic characters look as if clipped? |
702 | =head2 Why do italic characters look as if clipped? |
606 | |
703 | |
607 | Many fonts have difficulties with italic characters and hinting. For |
704 | Many fonts have difficulties with italic characters and hinting. For |
608 | example, the otherwise very nicely hinted font C<xft:Bitstream Vera Sans |
705 | example, the otherwise very nicely hinted font C<xft:Bitstream Vera Sans |
609 | Mono> completely fails in it's italic face. A workaround might be to |
706 | Mono> completely fails in it's italic face. A workaround might be to |
610 | enable freetype autohinting, i.e. like this: |
707 | enable freetype autohinting, i.e. like this: |
611 | |
708 | |
612 | URxvt.italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true |
709 | URxvt.italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true |
613 | URxvt.boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true |
710 | URxvt.boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true |
614 | |
711 | |
615 | =item My input method wants <some encoding> but I want UTF-8, what can I do? |
712 | =head2 My input method wants <some encoding> but I want UTF-8, what can I do? |
616 | |
713 | |
617 | You can specify separate locales for the input method and the rest of the |
714 | You can specify separate locales for the input method and the rest of the |
618 | terminal, using the resource C<imlocale>: |
715 | terminal, using the resource C<imlocale>: |
619 | |
716 | |
620 | URxvt.imlocale: ja_JP.EUC-JP |
717 | URxvt.imlocale: ja_JP.EUC-JP |
… | |
… | |
622 | Now you can start your terminal with C<LC_CTYPE=ja_JP.UTF-8> and still |
719 | Now you can start your terminal with C<LC_CTYPE=ja_JP.UTF-8> and still |
623 | use your input method. Please note, however, that you will not be able to |
720 | use your input method. Please note, however, that you will not be able to |
624 | input characters outside C<EUC-JP> in a normal way then, as your input |
721 | input characters outside C<EUC-JP> in a normal way then, as your input |
625 | method limits you. |
722 | method limits you. |
626 | |
723 | |
627 | =item Rxvt-unicode crashes when the X Input Method changes or exits. |
724 | =head2 Rxvt-unicode crashes when the X Input Method changes or exits. |
628 | |
725 | |
629 | Unfortunately, this is unavoidable, as the XIM protocol is racy by |
726 | Unfortunately, this is unavoidable, as the XIM protocol is racy by |
630 | design. Applications can avoid some crashes at the expense of memory |
727 | design. Applications can avoid some crashes at the expense of memory |
631 | leaks, and Input Methods can avoid some crashes by careful ordering at |
728 | leaks, and Input Methods can avoid some crashes by careful ordering at |
632 | exit time. B<kinput2> (and derived input methods) generally succeeds, |
729 | exit time. B<kinput2> (and derived input methods) generally succeeds, |
633 | while B<SCIM> (or similar input methods) fails. In the end, however, |
730 | while B<SCIM> (or similar input methods) fails. In the end, however, |
634 | crashes cannot be completely avoided even if both sides cooperate. |
731 | crashes cannot be completely avoided even if both sides cooperate. |
635 | |
732 | |
636 | So the only workaround is not to kill your Input Method Servers. |
733 | So the only workaround is not to kill your Input Method Servers. |
637 | |
734 | |
638 | =item Rxvt-unicode uses gobs of memory, how can I reduce that? |
735 | =head2 Rxvt-unicode uses gobs of memory, how can I reduce that? |
639 | |
736 | |
640 | Rxvt-unicode tries to obey the rule of not charging you for something you |
737 | Rxvt-unicode tries to obey the rule of not charging you for something you |
641 | don't use. One thing you should try is to configure out all settings that |
738 | don't use. One thing you should try is to configure out all settings that |
642 | you don't need, for example, Xft support is a resource hog by design, |
739 | you don't need, for example, Xft support is a resource hog by design, |
643 | when used. Compiling it out ensures that no Xft font will be loaded |
740 | when used. Compiling it out ensures that no Xft font will be loaded |
… | |
… | |
648 | 6 bytes per screen cell. For a 160x?? window this amounts to almost a |
745 | 6 bytes per screen cell. For a 160x?? window this amounts to almost a |
649 | kilobyte per line. A scrollback buffer of 10000 lines will then (if full) |
746 | kilobyte per line. A scrollback buffer of 10000 lines will then (if full) |
650 | use 10 Megabytes of memory. With C<--enable-unicode3> it gets worse, as |
747 | use 10 Megabytes of memory. With C<--enable-unicode3> it gets worse, as |
651 | rxvt-unicode then uses 8 bytes per screen cell. |
748 | rxvt-unicode then uses 8 bytes per screen cell. |
652 | |
749 | |
653 | =item Can I speed up Xft rendering somehow? |
750 | =head2 Can I speed up Xft rendering somehow? |
654 | |
751 | |
655 | Yes, the most obvious way to speed it up is to avoid Xft entirely, as |
752 | Yes, the most obvious way to speed it up is to avoid Xft entirely, as |
656 | it is simply slow. If you still want Xft fonts you might try to disable |
753 | it is simply slow. If you still want Xft fonts you might try to disable |
657 | antialiasing (by appending C<:antialias=false>), which saves lots of |
754 | antialiasing (by appending C<:antialias=false>), which saves lots of |
658 | memory and also speeds up rendering considerably. |
755 | memory and also speeds up rendering considerably. |
659 | |
756 | |
660 | =item Rxvt-unicode doesn't seem to anti-alias its fonts, what is wrong? |
757 | =head2 Rxvt-unicode doesn't seem to anti-alias its fonts, what is wrong? |
661 | |
758 | |
662 | Rxvt-unicode will use whatever you specify as a font. If it needs to |
759 | Rxvt-unicode will use whatever you specify as a font. If it needs to |
663 | fall back to it's default font search list it will prefer X11 core |
760 | fall back to it's default font search list it will prefer X11 core |
664 | fonts, because they are small and fast, and then use Xft fonts. It has |
761 | fonts, because they are small and fast, and then use Xft fonts. It has |
665 | antialiasing disabled for most of them, because the author thinks they |
762 | antialiasing disabled for most of them, because the author thinks they |
666 | look best that way. |
763 | look best that way. |
667 | |
764 | |
668 | If you want antialiasing, you have to specify the fonts manually. |
765 | If you want antialiasing, you have to specify the fonts manually. |
669 | |
766 | |
670 | =item Mouse cut/paste suddenly no longer works. |
767 | =head2 Mouse cut/paste suddenly no longer works. |
671 | |
768 | |
672 | Make sure that mouse reporting is actually turned off since killing |
769 | Make sure that mouse reporting is actually turned off since killing |
673 | some editors prematurely may leave the mouse in mouse report mode. I've |
770 | some editors prematurely may leave the mouse in mouse report mode. I've |
674 | heard that tcsh may use mouse reporting unless it otherwise specified. A |
771 | heard that tcsh may use mouse reporting unless it otherwise specified. A |
675 | quick check is to see if cut/paste works when the Alt or Shift keys are |
772 | quick check is to see if cut/paste works when the Alt or Shift keys are |
676 | depressed. |
773 | depressed. |
677 | |
774 | |
678 | =item What's with this bold/blink stuff? |
775 | =head2 What's with this bold/blink stuff? |
679 | |
776 | |
680 | If no bold colour is set via C<colorBD:>, bold will invert text using the |
777 | If no bold colour is set via C<colorBD:>, bold will invert text using the |
681 | standard foreground colour. |
778 | standard foreground colour. |
682 | |
779 | |
683 | For the standard background colour, blinking will actually make the |
780 | For the standard background colour, blinking will actually make the |
… | |
… | |
690 | |
787 | |
691 | color0-7 are the low-intensity colors. |
788 | color0-7 are the low-intensity colors. |
692 | |
789 | |
693 | color8-15 are the corresponding high-intensity colors. |
790 | color8-15 are the corresponding high-intensity colors. |
694 | |
791 | |
695 | =item I don't like the screen colors. How do I change them? |
792 | =head2 I don't like the screen colors. How do I change them? |
696 | |
793 | |
697 | You can change the screen colors at run-time using F<~/.Xdefaults> |
794 | You can change the screen colors at run-time using F<~/.Xdefaults> |
698 | resources (or as long-options). |
795 | resources (or as long-options). |
699 | |
796 | |
700 | Here are values that are supposed to resemble a VGA screen, |
797 | Here are values that are supposed to resemble a VGA screen, |
… | |
… | |
738 | URxvt.color6: #73f7ff |
835 | URxvt.color6: #73f7ff |
739 | URxvt.color14: #73f7ff |
836 | URxvt.color14: #73f7ff |
740 | URxvt.color7: #e1dddd |
837 | URxvt.color7: #e1dddd |
741 | URxvt.color15: #e1dddd |
838 | URxvt.color15: #e1dddd |
742 | |
839 | |
743 | =item How can I start @@RXVT_NAME@@d in a race-free way? |
840 | =head2 How can I start @@RXVT_NAME@@d in a race-free way? |
744 | |
841 | |
745 | Try C<@@RXVT_NAME@@d -f -o>, which tells @@RXVT_NAME@@d to open the |
842 | Try C<@@RXVT_NAME@@d -f -o>, which tells @@RXVT_NAME@@d to open the |
746 | display, create the listening socket and then fork. |
843 | display, create the listening socket and then fork. |
747 | |
844 | |
748 | =item What's with the strange Backspace/Delete key behaviour? |
845 | =head2 What's with the strange Backspace/Delete key behaviour? |
749 | |
846 | |
750 | Assuming that the physical Backspace key corresponds to the |
847 | Assuming that the physical Backspace key corresponds to the |
751 | BackSpace keysym (not likely for Linux ... see the following |
848 | BackSpace keysym (not likely for Linux ... see the following |
752 | question) there are two standard values that can be used for |
849 | question) there are two standard values that can be used for |
753 | Backspace: C<^H> and C<^?>. |
850 | Backspace: C<^H> and C<^?>. |
… | |
… | |
799 | some editors (vim I'm told) expect Backspace = ^H, |
896 | some editors (vim I'm told) expect Backspace = ^H, |
800 | GNU Emacs (and Emacs-like editors) use ^H for help. |
897 | GNU Emacs (and Emacs-like editors) use ^H for help. |
801 | |
898 | |
802 | Perhaps someday this will all be resolved in a consistent manner. |
899 | Perhaps someday this will all be resolved in a consistent manner. |
803 | |
900 | |
804 | =item I don't like the key-bindings. How do I change them? |
901 | =head2 I don't like the key-bindings. How do I change them? |
805 | |
902 | |
806 | There are some compile-time selections available via configure. Unless |
903 | There are some compile-time selections available via configure. Unless |
807 | you have run "configure" with the C<--disable-resources> option you can |
904 | you have run "configure" with the C<--disable-resources> option you can |
808 | use the `keysym' resource to alter the keystrings associated with keysyms. |
905 | use the `keysym' resource to alter the keystrings associated with keysyms. |
809 | |
906 | |
… | |
… | |
830 | URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz > |
927 | URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz > |
831 | URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007 |
928 | URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007 |
832 | |
929 | |
833 | See some more examples in the documentation for the B<keysym> resource. |
930 | See some more examples in the documentation for the B<keysym> resource. |
834 | |
931 | |
835 | =item I'm using keyboard model XXX that has extra Prior/Next/Insert keys. |
932 | =head2 I'm using keyboard model XXX that has extra Prior/Next/Insert keys. How do I make use of them? For example, the Sun Keyboard type 4 has the following mappings that rxvt-unicode doesn't recognize. |
836 | How do I make use of them? For example, the Sun Keyboard type 4 |
|
|
837 | has the following mappings that rxvt-unicode doesn't recognize. |
|
|
838 | |
933 | |
839 | KP_Insert == Insert |
934 | KP_Insert == Insert |
840 | F22 == Print |
935 | F22 == Print |
841 | F27 == Home |
936 | F27 == Home |
842 | F29 == Prior |
937 | F29 == Prior |
… | |
… | |
845 | |
940 | |
846 | Rather than have rxvt-unicode try to accommodate all the various possible |
941 | Rather than have rxvt-unicode try to accommodate all the various possible |
847 | keyboard mappings, it is better to use `xmodmap' to remap the keys as |
942 | keyboard mappings, it is better to use `xmodmap' to remap the keys as |
848 | required for your particular machine. |
943 | required for your particular machine. |
849 | |
944 | |
850 | =item How do I distinguish wether I'm running rxvt-unicode or a regular xterm? |
945 | =head2 How do I distinguish wether I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc. |
851 | I need this to decide about setting colors etc. |
|
|
852 | |
946 | |
853 | rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
947 | rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
854 | check and see if that is set. Note that several programs, JED, slrn, |
948 | check and see if that is set. Note that several programs, JED, slrn, |
855 | Midnight Commander automatically check this variable to decide whether or |
949 | Midnight Commander automatically check this variable to decide whether or |
856 | not to use color. |
950 | not to use color. |
857 | |
951 | |
858 | =item How do I set the correct, full IP address for the DISPLAY variable? |
952 | =head2 How do I set the correct, full IP address for the DISPLAY variable? |
859 | |
953 | |
860 | If you've compiled rxvt-unicode with DISPLAY_IS_IP and have enabled |
954 | If you've compiled rxvt-unicode with DISPLAY_IS_IP and have enabled |
861 | insecure mode then it is possible to use the following shell script |
955 | insecure mode then it is possible to use the following shell script |
862 | snippets to correctly set the display. If your version of rxvt-unicode |
956 | snippets to correctly set the display. If your version of rxvt-unicode |
863 | wasn't also compiled with ESCZ_ANSWER (as assumed in these snippets) then |
957 | wasn't also compiled with ESCZ_ANSWER (as assumed in these snippets) then |
… | |
… | |
878 | echo -n '^[[7n' # query the rxvt we are in for the DISPLAY string |
972 | echo -n '^[[7n' # query the rxvt we are in for the DISPLAY string |
879 | read DISPLAY # set it in our local shell |
973 | read DISPLAY # set it in our local shell |
880 | fi |
974 | fi |
881 | fi |
975 | fi |
882 | |
976 | |
883 | =item How do I compile the manual pages for myself? |
977 | =head2 How do I compile the manual pages for myself? |
884 | |
978 | |
885 | You need to have a recent version of perl installed as F</usr/bin/perl>, |
979 | You need to have a recent version of perl installed as F</usr/bin/perl>, |
886 | one that comes with F<pod2man>, F<pod2text> and F<pod2html>. Then go to |
980 | one that comes with F<pod2man>, F<pod2text> and F<pod2html>. Then go to |
887 | the doc subdirectory and enter C<make alldoc>. |
981 | the doc subdirectory and enter C<make alldoc>. |
888 | |
982 | |
889 | =item My question isn't answered here, can I ask a human? |
983 | =head2 My question isn't answered here, can I ask a human? |
890 | |
984 | |
891 | Before sending me mail, you could go to IRC: C<irc.freenode.net>, |
985 | Before sending me mail, you could go to IRC: C<irc.freenode.net>, |
892 | channel C<#rxvt-unicode> has some rxvt-unicode enthusiasts that might be |
986 | channel C<#rxvt-unicode> has some rxvt-unicode enthusiasts that might be |
893 | interested in learning about new and exciting problems (but not FAQs :). |
987 | interested in learning about new and exciting problems (but not FAQs :). |
894 | |
|
|
895 | =back |
|
|
896 | |
988 | |
897 | =head1 RXVT TECHNICAL REFERENCE |
989 | =head1 RXVT TECHNICAL REFERENCE |
898 | |
990 | |
899 | =head1 DESCRIPTION |
991 | =head1 DESCRIPTION |
900 | |
992 | |
… | |
… | |
1675 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
1767 | 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> >>. |
1768 | 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> >> |
1769 | 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> >> |
1770 | 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). |
1771 | 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). |
|
|
1772 | 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> >> |
1773 | 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). |
1774 | 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> >> |
1775 | 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> >> |
1776 | 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>. |
1777 | 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 |
2040 | alternative input methods (e.g. kinput2) and will also correctly |
1948 | set up the input for people using dead keys or compose keys. |
2041 | set up the input for people using dead keys or compose keys. |
1949 | |
2042 | |
1950 | =item --enable-unicode3 (default: off) |
2043 | =item --enable-unicode3 (default: off) |
1951 | |
2044 | |
|
|
2045 | Recommended to stay off unless you really need non-BMP characters. |
|
|
2046 | |
1952 | Enable direct support for displaying unicode codepoints above |
2047 | Enable direct support for displaying unicode codepoints above |
1953 | 65535 (the basic multilingual page). This increases storage |
2048 | 65535 (the basic multilingual page). This increases storage |
1954 | requirements per character from 2 to 4 bytes. X11 fonts do not yet |
2049 | requirements per character from 2 to 4 bytes. X11 fonts do not yet |
1955 | support these extra characters, but Xft does. |
2050 | support these extra characters, but Xft does. |
1956 | |
2051 | |
… | |
… | |
1966 | composite characters. This is required for proper viewing of text |
2061 | composite characters. This is required for proper viewing of text |
1967 | where accents are encoded as seperate unicode characters. This is |
2062 | where accents are encoded as seperate unicode characters. This is |
1968 | done by using precomposited characters when available or creating |
2063 | done by using precomposited characters when available or creating |
1969 | new pseudo-characters when no precomposed form exists. |
2064 | new pseudo-characters when no precomposed form exists. |
1970 | |
2065 | |
1971 | Without --enable-unicode3, the number of additional precomposed characters |
2066 | Without --enable-unicode3, the number of additional precomposed |
1972 | is rather limited (2048, if this is full, rxvt-unicode will use the |
2067 | 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. |
2068 | (ab-)used). With --enable-unicode3, no practical limit exists. |
1975 | |
2069 | |
1976 | This option will also enable storage (but not display) of characters |
2070 | This option will also enable storage (but not display) of characters |
1977 | beyond plane 0 (>65535) when --enable-unicode3 was not specified. |
2071 | beyond plane 0 (>65535) when --enable-unicode3 was not specified. |
1978 | |
2072 | |
1979 | The combining table also contains entries for arabic presentation forms, |
2073 | 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 |
2074 | 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...). |
2075 | tell me how these are to be used...). |
1982 | |
2076 | |
1983 | =item --enable-fallback(=CLASS) (default: Rxvt) |
2077 | =item --enable-fallback(=CLASS) (default: Rxvt) |
1984 | |
2078 | |
1985 | When reading resource settings, also read settings for class CLASS. To disable resource fallback use --disable-fallback. |
2079 | When reading resource settings, also read settings for class CLASS. To |
|
|
2080 | disable resource fallback use --disable-fallback. |
1986 | |
2081 | |
1987 | =item --with-res-name=NAME (default: urxvt) |
2082 | =item --with-res-name=NAME (default: urxvt) |
1988 | |
2083 | |
1989 | Use the given name as default application name when |
2084 | Use the given name as default application name when |
1990 | reading resources. Specify --with-res-name=rxvt to replace rxvt. |
2085 | reading resources. Specify --with-res-name=rxvt to replace rxvt. |
… | |
… | |
2080 | |
2175 | |
2081 | MWM-hints |
2176 | MWM-hints |
2082 | EWMH-hints (pid, utf8 names) and protocols (ping) |
2177 | EWMH-hints (pid, utf8 names) and protocols (ping) |
2083 | seperate underline colour (-underlineColor) |
2178 | seperate underline colour (-underlineColor) |
2084 | settable border widths and borderless switch (-w, -b, -bl) |
2179 | settable border widths and borderless switch (-w, -b, -bl) |
|
|
2180 | visual depth selection (-depth) |
2085 | settable extra linespacing /-lsp) |
2181 | settable extra linespacing /-lsp) |
2086 | iso-14755-2 and -3, and visual feedback |
2182 | 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) |
2183 | tripleclickwords (-tcw) |
2090 | settable insecure mode (-insecure) |
2184 | settable insecure mode (-insecure) |
2091 | keysym remapping support |
2185 | keysym remapping support |
2092 | cursor blinking and underline cursor (-cb, -uc) |
2186 | cursor blinking and underline cursor (-cb, -uc) |
2093 | XEmbed support (-embed) |
2187 | XEmbed support (-embed) |
2094 | user-pty (-pty-fd) |
2188 | user-pty (-pty-fd) |
2095 | hold on exit (-hold) |
2189 | hold on exit (-hold) |
2096 | skip builtin block graphics (-sbg) |
2190 | skip builtin block graphics (-sbg) |
|
|
2191 | |
|
|
2192 | It also enabled some non-essential features otherwise disabled, such as: |
|
|
2193 | |
|
|
2194 | some round-trip time optimisations |
|
|
2195 | nearest color allocation on pseudocolor screens |
|
|
2196 | UTF8_STRING supporr for selection |
2097 | sgr modes 90..97 and 100..107 |
2197 | sgr modes 90..97 and 100..107 |
|
|
2198 | backindex and forwardindex escape sequences |
|
|
2199 | view change/zero scorllback esacpe sequences |
|
|
2200 | locale switching escape sequence |
|
|
2201 | window op and some xterm/OSC escape sequences |
|
|
2202 | rectangular selections |
|
|
2203 | trailing space removal for selections |
|
|
2204 | verbose X error handling |
2098 | |
2205 | |
2099 | =item --enable-iso14755 (default: on) |
2206 | =item --enable-iso14755 (default: on) |
2100 | |
2207 | |
2101 | Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or |
2208 | Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or |
2102 | F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by |
2209 | F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by |
… | |
… | |
2145 | |
2252 | |
2146 | =item --enable-pointer-blank (default: on) |
2253 | =item --enable-pointer-blank (default: on) |
2147 | |
2254 | |
2148 | Add support to have the pointer disappear when typing or inactive. |
2255 | Add support to have the pointer disappear when typing or inactive. |
2149 | |
2256 | |
2150 | =item --enable-perl (default: off) |
2257 | =item --enable-perl (default: on) |
2151 | |
2258 | |
2152 | Enable an embedded perl interpreter. See the B<@@RXVT_NAME@@perl(3)> |
2259 | 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 |
2260 | 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 |
2261 | 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 |
2262 | perl interpreter that is used can be specified via the C<PERL> environment |