… | |
… | |
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 RXVT-UNICODE/URXVT FREQUENTLY ASKED QUESTIONS |
26 | |
25 | |
27 | =over 4 |
|
|
28 | |
26 | |
29 | =item The new selection selects pieces that are too big, how can I select |
27 | =head2 Meta, Features & Commandline Issues |
30 | single words? |
|
|
31 | |
28 | |
32 | Yes. For example, if you want to select alphanumeric words, you can use |
29 | =head3 My question isn't answered here, can I ask a human? |
33 | the following resource: |
|
|
34 | |
30 | |
35 | URxvt.selection.pattern-0: ([[:word:]]+) |
31 | Before sending me mail, you could go to IRC: C<irc.freenode.net>, |
|
|
32 | channel C<#rxvt-unicode> has some rxvt-unicode enthusiasts that might be |
|
|
33 | interested in learning about new and exciting problems (but not FAQs :). |
36 | |
34 | |
37 | If you click more than twice, the selection will be extended |
35 | =head3 Does it support tabs, can I have a tabbed rxvt-unicode? |
38 | more and more. |
|
|
39 | |
36 | |
40 | To get a selection that is very similar to the old code, try this pattern: |
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 |
|
|
39 | give you tabs: |
41 | |
40 | |
42 | URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+) |
41 | @@URXVT_NAME@@ -pe tabbed |
43 | |
42 | |
44 | Please also note that the I<LeftClick Shift-LeftClik> combination also |
43 | URxvt.perl-ext-common: default,tabbed |
45 | selects words like the old code. |
|
|
46 | |
44 | |
47 | =item I don't like the new selection/popups/hotkeys/perl, how do I |
45 | It will also work fine with tabbing functionality of many window managers |
48 | change/disable it? |
46 | or similar tabbing programs, and its embedding-features allow it to be |
|
|
47 | embedded into other programs, as witnessed by F<doc/rxvt-tabbed> or |
|
|
48 | the upcoming C<Gtk2::URxvt> perl module, which features a tabbed urxvt |
|
|
49 | (murxvt) terminal as an example embedding application. |
49 | |
50 | |
50 | You can disable the perl extension completely by setting the |
51 | =head3 How do I know which rxvt-unicode version I'm using? |
51 | B<perl-ext-common> resource to the empty string, which also keeps |
|
|
52 | rxvt-unicode from initialising perl, saving memory. |
|
|
53 | |
52 | |
54 | If you only want to disable specific features, you first have to |
53 | The version number is displayed with the usage (-h). Also the escape |
55 | identify which perl extension is responsible. For this, read the section |
54 | sequence C<ESC [ 8 n> sets the window title to the version number. When |
56 | B<PREPACKAGED EXTENSIONS> in the @@RXVT_NAME@@perl(3) manpage. For |
55 | using the @@URXVT_NAME@@c client, the version displayed is that of the |
57 | example, to disable the B<selection-popup> and B<option-popup>, specify |
56 | daemon. |
58 | this B<perl-ext-common> resource: |
|
|
59 | |
57 | |
60 | URxvt.perl-ext-common: default,-selection-popup,-option-popup |
58 | =head3 Rxvt-unicode uses gobs of memory, how can I reduce that? |
61 | |
59 | |
62 | This will keep the default extensions, but disable the two popup |
60 | Rxvt-unicode tries to obey the rule of not charging you for something you |
63 | extensions. Some extensions can also be configured, for example, |
61 | don't use. One thing you should try is to configure out all settings that |
64 | scrollback search mode is triggered by B<M-s>. You can move it to any |
62 | you don't need, for example, Xft support is a resource hog by design, |
65 | other combination either by setting the B<searchable-scrollback> resource: |
63 | when used. Compiling it out ensures that no Xft font will be loaded |
|
|
64 | accidentally when rxvt-unicode tries to find a font for your characters. |
66 | |
65 | |
67 | URxvt.searchable-scrollback: CM-s |
66 | Also, many people (me included) like large windows and even larger |
|
|
67 | scrollback buffers: Without C<--enable-unicode3>, rxvt-unicode will use |
|
|
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) |
|
|
70 | use 10 Megabytes of memory. With C<--enable-unicode3> it gets worse, as |
|
|
71 | rxvt-unicode then uses 8 bytes per screen cell. |
68 | |
72 | |
|
|
73 | =head3 How can I start @@URXVT_NAME@@d in a race-free way? |
|
|
74 | |
|
|
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. |
|
|
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. |
|
|
79 | |
|
|
80 | The original rxvt and rxvt-unicode always export the variable "COLORTERM", |
|
|
81 | so you can check and see if that is set. Note that several programs, JED, |
|
|
82 | slrn, Midnight Commander automatically check this variable to decide |
|
|
83 | whether or not to use color. |
|
|
84 | |
|
|
85 | =head3 How do I set the correct, full IP address for the DISPLAY variable? |
|
|
86 | |
|
|
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 |
|
|
89 | snippets to correctly set the display. If your version of rxvt-unicode |
|
|
90 | wasn't also compiled with ESCZ_ANSWER (as assumed in these snippets) then |
|
|
91 | the COLORTERM variable can be used to distinguish rxvt-unicode from a |
|
|
92 | regular xterm. |
|
|
93 | |
|
|
94 | Courtesy of Chuck Blake <cblake@BBN.COM> with the following shell script |
|
|
95 | snippets: |
|
|
96 | |
|
|
97 | # Bourne/Korn/POSIX family of shells: |
|
|
98 | [ ${TERM:-foo} = foo ] && TERM=xterm # assume an xterm if we don't know |
|
|
99 | if [ ${TERM:-foo} = xterm ]; then |
|
|
100 | stty -icanon -echo min 0 time 15 # see if enhanced rxvt or not |
|
|
101 | echo -n '^[Z' |
|
|
102 | read term_id |
|
|
103 | stty icanon echo |
|
|
104 | if [ ""${term_id} = '^[[?1;2C' -a ${DISPLAY:-foo} = foo ]; then |
|
|
105 | echo -n '^[[7n' # query the rxvt we are in for the DISPLAY string |
|
|
106 | read DISPLAY # set it in our local shell |
|
|
107 | fi |
|
|
108 | fi |
|
|
109 | |
|
|
110 | =head3 How do I compile the manual pages on my own? |
|
|
111 | |
|
|
112 | You need to have a recent version of perl installed as F</usr/bin/perl>, |
|
|
113 | one that comes with F<pod2man>, F<pod2text> and F<pod2html>. Then go to |
|
|
114 | the doc subdirectory and enter C<make alldoc>. |
|
|
115 | |
69 | =item Isn't rxvt supposed to be small? Don't all those features bloat? |
116 | =head3 Isn't rxvt-unicode supposed to be small? Don't all those features bloat? |
70 | |
117 | |
71 | I often get asked about this, and I think, no, they didn't cause extra |
118 | 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 |
119 | 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 |
120 | 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 |
121 | compiled in), but it actually uses less memory (RSS) after startup. Even |
… | |
… | |
78 | |
125 | |
79 | text data bss drs rss filename |
126 | text data bss drs rss filename |
80 | 98398 1664 24 15695 1824 rxvt --disable-everything |
127 | 98398 1664 24 15695 1824 rxvt --disable-everything |
81 | 188985 9048 66616 18222 1788 urxvt --disable-everything |
128 | 188985 9048 66616 18222 1788 urxvt --disable-everything |
82 | |
129 | |
83 | 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 |
84 | 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 |
85 | libc), the two diverge, but not unreasnobaly so. |
132 | libc), the two diverge, but not unreasnobaly so. |
86 | |
133 | |
87 | text data bss drs rss filename |
134 | text data bss drs rss filename |
88 | 163431 2152 24 20123 2060 rxvt --enable-everything |
135 | 163431 2152 24 20123 2060 rxvt --enable-everything |
… | |
… | |
106 | (21152k + extra 4204k in separate processes) or konsole (22200k + extra |
153 | (21152k + extra 4204k in separate processes) or konsole (22200k + extra |
107 | 43180k in daemons that stay around after exit, plus half a minute of |
154 | 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 |
155 | startup time, including the hundreds of warnings it spits out), it fares |
109 | extremely well *g*. |
156 | extremely well *g*. |
110 | |
157 | |
111 | =item Why C++, isn't that unportable/bloated/uncool? |
158 | =head3 Why C++, isn't that unportable/bloated/uncool? |
112 | |
159 | |
113 | Is this a question? :) It comes up very often. The simple answer is: I had |
160 | 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 |
161 | 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 |
162 | of the time and effort (which is a scarce resource for me). Put even |
116 | shorter: It simply wouldn't exist without C++. |
163 | shorter: It simply wouldn't exist without C++. |
… | |
… | |
140 | /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000) |
187 | /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000) |
141 | |
188 | |
142 | No large bloated libraries (of course, none were linked in statically), |
189 | No large bloated libraries (of course, none were linked in statically), |
143 | except maybe libX11 :) |
190 | except maybe libX11 :) |
144 | |
191 | |
145 | =item Does it support tabs, can I have a tabbed rxvt-unicode? |
|
|
146 | |
192 | |
147 | rxvt-unicode does not directly support tabs. It will work fine with |
193 | =head2 Rendering, Font & Look and Feel Issues |
148 | tabbing functionality of many window managers or similar tabbing programs, |
|
|
149 | and its embedding-features allow it to be embedded into other programs, |
|
|
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 | |
194 | |
154 | =item How do I know which rxvt-unicode version I'm using? |
195 | =head3 I can't get transparency working, what am I doing wrong? |
155 | |
196 | |
156 | The version number is displayed with the usage (-h). Also the escape |
197 | First of all, transparency isn't officially supported in rxvt-unicode, so |
157 | sequence C<ESC [ 8 n> sets the window title to the version number. When |
198 | you are mostly on your own. Do not bug the author about it (but you may |
158 | using the @@RXVT_NAME@@c client, the version displayed is that of the |
199 | bug everybody else). Also, if you can't get it working consider it a rite |
159 | daemon. |
200 | of passage: ... and you failed. |
160 | |
201 | |
161 | =item I am using Debian GNU/Linux and have a problem... |
202 | Here are four ways to get transparency. B<Do> read the manpage and option |
|
|
203 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
162 | |
204 | |
163 | The Debian GNU/Linux package of rxvt-unicode in sarge contains large |
205 | 1. Use inheritPixmap: |
164 | patches that considerably change the behaviour of rxvt-unicode. Before |
|
|
165 | reporting a bug to the original rxvt-unicode author please download and |
|
|
166 | install the genuine version (L<http://software.schmorp.de#rxvt-unicode>) |
|
|
167 | and try to reproduce the problem. If you cannot, chances are that the |
|
|
168 | problems are specific to Debian GNU/Linux, in which case it should be |
|
|
169 | reported via the Debian Bug Tracking System (use C<reportbug> to report |
|
|
170 | the bug). |
|
|
171 | |
206 | |
172 | For other problems that also affect the Debian package, you can and |
207 | Esetroot wallpaper.jpg |
173 | probably should use the Debian BTS, too, because, after all, it's also a |
208 | @@URXVT_NAME@@ -ip -tint red -sh 40 |
174 | bug in the Debian version and it serves as a reminder for other users that |
|
|
175 | might encounter the same issue. |
|
|
176 | |
209 | |
177 | =item I am maintaining rxvt-unicode for distribution/OS XXX, any recommendation? |
210 | That works. If you think it doesn't, you lack transparency and tinting |
|
|
211 | support, or you are unable to read. |
178 | |
212 | |
179 | You should build one binary with the default options. F<configure> |
213 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
180 | now enables most useful options, and the trend goes to making them |
214 | to use effects other than tinting and shading: Just shade/tint/whatever |
181 | runtime-switchable, too, so there is usually no drawback to enbaling them, |
215 | your picture with gimp or any other tool: |
182 | except higher disk and possibly memory usage. The perl interpreter should |
|
|
183 | be enabled, as important functionality (menus, selection, likely more in |
|
|
184 | the future) depends on it. |
|
|
185 | |
216 | |
186 | You should not overwrite the C<perl-ext-common> snd C<perl-ext> resources |
217 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm |
187 | system-wide (except maybe with C<defaults>). This will result in useful |
218 | @@URXVT_NAME@@ -pixmap background.xpm -pe automove-background |
188 | behaviour. If your distribution aims at low memory, add an empty |
|
|
189 | C<perl-ext-common> resource to the app-defaults file. This will keep the |
|
|
190 | perl interpreter disabled until the user enables it. |
|
|
191 | |
219 | |
192 | If you can/want build more binaries, I recommend building a minimal |
220 | That works. If you think it doesn't, you lack XPM and Perl support, or you |
193 | one with C<--disable-everything> (very useful) and a maximal one with |
221 | are unable to read. |
194 | C<--enable-everything> (less useful, it will be very big due to a lot of |
|
|
195 | encodings built-in that increase download times and are rarely used). |
|
|
196 | |
222 | |
197 | =item I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe? |
223 | 3. Use an ARGB visual: |
198 | |
224 | |
199 | Likely not. While I honestly try to make it secure, and am probably not |
225 | @@URXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
200 | bad at it, I think it is simply unreasonable to expect all of freetype |
|
|
201 | + fontconfig + xft + xlib + perl + ... + rxvt-unicode itself to all be |
|
|
202 | secure. Also, rxvt-unicode disables some options when it detects that it |
|
|
203 | runs setuid or setgid, which is not nice. Besides, with the embedded perl |
|
|
204 | interpreter the possibility for security problems easily multiplies. |
|
|
205 | |
226 | |
206 | Elevated privileges are only required for utmp and pty operations on some |
227 | This requires XFT support, and the support of your X-server. If that |
207 | systems (for example, GNU/Linux doesn't need any extra privileges for |
228 | doesn't work for you, blame Xorg and Keith Packard. ARGB visuals aren't |
208 | ptys, but some need it for utmp support). It is planned to mvoe this into |
229 | there yet, no matter what they claim. Rxvt-Unicode contains the neccessary |
209 | a forked handler process, but this is not yet done. |
230 | bugfixes and workarounds for Xft and Xlib to make it work, but that |
|
|
231 | doesn't mean that your WM has the required kludges in place. |
210 | |
232 | |
211 | So, while setuid/setgid operation is supported and not a problem on your |
233 | 4. Use xcompmgr and let it do the job: |
212 | typical single-user-no-other-logins unix desktop, always remember that |
|
|
213 | its an awful lot of code, most of which isn't checked for security issues |
|
|
214 | regularly. |
|
|
215 | |
234 | |
|
|
235 | xprop -frame -f _NET_WM_WINDOW_OPACITY 32c \ |
|
|
236 | -set _NET_WM_WINDOW_OPACITY 0xc0000000 |
|
|
237 | |
|
|
238 | Then click on a window you want to make transparent. Replace C<0xc0000000> |
|
|
239 | by other values to change the degree of opacity. If it doesn't work and |
|
|
240 | your server crashes, you got to keep the pieces. |
|
|
241 | |
|
|
242 | =head3 Why do some chinese characters look so different than others? |
|
|
243 | |
|
|
244 | This is because there is a difference between script and language -- |
|
|
245 | rxvt-unicode does not know which language the text that is output is, |
|
|
246 | as it only knows the unicode character codes. If rxvt-unicode first |
|
|
247 | sees a japanese/chinese character, it might choose a japanese font for |
|
|
248 | display. Subsequent japanese characters will use that font. Now, many |
|
|
249 | chinese characters aren't represented in japanese fonts, so when the first |
|
|
250 | non-japanese character comes up, rxvt-unicode will look for a chinese font |
|
|
251 | -- unfortunately at this point, it will still use the japanese font for |
|
|
252 | chinese characters that are also in the japanese font. |
|
|
253 | |
|
|
254 | The workaround is easy: just tag a chinese font at the end of your font |
|
|
255 | list (see the previous question). The key is to view the font list as |
|
|
256 | a preference list: If you expect more japanese, list a japanese font |
|
|
257 | first. If you expect more chinese, put a chinese font first. |
|
|
258 | |
|
|
259 | In the future it might be possible to switch language preferences at |
|
|
260 | runtime (the internal data structure has no problem with using different |
|
|
261 | fonts for the same character at the same time, but no interface for this |
|
|
262 | has been designed yet). |
|
|
263 | |
|
|
264 | Until then, you might get away with switching fonts at runtime (see L<Can |
|
|
265 | I switch the fonts at runtime?> later in this document). |
|
|
266 | |
|
|
267 | =head3 Why does rxvt-unicode sometimes leave pixel droppings? |
|
|
268 | |
|
|
269 | Most fonts were not designed for terminal use, which means that character |
|
|
270 | size varies a lot. A font that is otherwise fine for terminal use might |
|
|
271 | contain some characters that are simply too wide. Rxvt-unicode will avoid |
|
|
272 | these characters. For characters that are just "a bit" too wide a special |
|
|
273 | "careful" rendering mode is used that redraws adjacent characters. |
|
|
274 | |
|
|
275 | All of this requires that fonts do not lie about character sizes, |
|
|
276 | however: Xft fonts often draw glyphs larger than their acclaimed bounding |
|
|
277 | box, and rxvt-unicode has no way of detecting this (the correct way is to |
|
|
278 | ask for the character bounding box, which unfortunately is wrong in these |
|
|
279 | cases). |
|
|
280 | |
|
|
281 | It's not clear (to me at least), wether this is a bug in Xft, freetype, |
|
|
282 | or the respective font. If you encounter this problem you might try using |
|
|
283 | the C<-lsp> option to give the font more height. If that doesn't work, you |
|
|
284 | might be forced to use a different font. |
|
|
285 | |
|
|
286 | All of this is not a problem when using X11 core fonts, as their bounding |
|
|
287 | box data is correct. |
|
|
288 | |
|
|
289 | =head3 How can I keep rxvt-unicode from using reverse video so much? |
|
|
290 | |
|
|
291 | First of all, make sure you are running with the right terminal settings |
|
|
292 | (C<TERM=rxvt-unicode>), which will get rid of most of these effects. Then |
|
|
293 | make sure you have specified colours for italic and bold, as otherwise |
|
|
294 | rxvt-unicode might use reverse video to simulate the effect: |
|
|
295 | |
|
|
296 | URxvt.colorBD: white |
|
|
297 | URxvt.colorIT: green |
|
|
298 | |
|
|
299 | =head3 Some programs assume totally weird colours (red instead of blue), how can I fix that? |
|
|
300 | |
|
|
301 | For some unexplainable reason, some rare programs assume a very weird |
|
|
302 | colour palette when confronted with a terminal with more than the standard |
|
|
303 | 8 colours (rxvt-unicode supports 88). The right fix is, of course, to fix |
|
|
304 | these programs not to assume non-ISO colours without very good reasons. |
|
|
305 | |
|
|
306 | In the meantime, you can either edit your C<rxvt-unicode> terminfo |
|
|
307 | definition to only claim 8 colour support or use C<TERM=rxvt>, which will |
|
|
308 | fix colours but keep you from using other rxvt-unicode features. |
|
|
309 | |
|
|
310 | =head3 Can I switch the fonts at runtime? |
|
|
311 | |
|
|
312 | Yes, using an escape sequence. Try something like this, which has the same |
|
|
313 | effect as using the C<-fn> switch, and takes effect immediately: |
|
|
314 | |
|
|
315 | printf '\e]50;%s\007' "9x15bold,xft:Kochi Gothic" |
|
|
316 | |
|
|
317 | This is useful if you e.g. work primarily with japanese (and prefer a |
|
|
318 | japanese font), but you have to switch to chinese temporarily, where |
|
|
319 | japanese fonts would only be in your way. |
|
|
320 | |
|
|
321 | You can think of this as a kind of manual ISO-2022 switching. |
|
|
322 | |
|
|
323 | =head3 Why do italic characters look as if clipped? |
|
|
324 | |
|
|
325 | Many fonts have difficulties with italic characters and hinting. For |
|
|
326 | example, the otherwise very nicely hinted font C<xft:Bitstream Vera Sans |
|
|
327 | Mono> completely fails in it's italic face. A workaround might be to |
|
|
328 | enable freetype autohinting, i.e. like this: |
|
|
329 | |
|
|
330 | URxvt.italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true |
|
|
331 | URxvt.boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true |
|
|
332 | |
|
|
333 | =head3 Can I speed up Xft rendering somehow? |
|
|
334 | |
|
|
335 | Yes, the most obvious way to speed it up is to avoid Xft entirely, as |
|
|
336 | it is simply slow. If you still want Xft fonts you might try to disable |
|
|
337 | antialiasing (by appending C<:antialias=false>), which saves lots of |
|
|
338 | memory and also speeds up rendering considerably. |
|
|
339 | |
|
|
340 | =head3 Rxvt-unicode doesn't seem to anti-alias its fonts, what is wrong? |
|
|
341 | |
|
|
342 | Rxvt-unicode will use whatever you specify as a font. If it needs to |
|
|
343 | fall back to it's default font search list it will prefer X11 core |
|
|
344 | fonts, because they are small and fast, and then use Xft fonts. It has |
|
|
345 | antialiasing disabled for most of them, because the author thinks they |
|
|
346 | look best that way. |
|
|
347 | |
|
|
348 | If you want antialiasing, you have to specify the fonts manually. |
|
|
349 | |
|
|
350 | =head3 What's with this bold/blink stuff? |
|
|
351 | |
|
|
352 | If no bold colour is set via C<colorBD:>, bold will invert text using the |
|
|
353 | standard foreground colour. |
|
|
354 | |
|
|
355 | For the standard background colour, blinking will actually make the |
|
|
356 | text blink when compiled with C<--enable-blinking>. with standard |
|
|
357 | colours. Without C<--enable-blinking>, the blink attribute will be |
|
|
358 | ignored. |
|
|
359 | |
|
|
360 | On ANSI colours, bold/blink attributes are used to set high-intensity |
|
|
361 | foreground/background colors. |
|
|
362 | |
|
|
363 | color0-7 are the low-intensity colors. |
|
|
364 | |
|
|
365 | color8-15 are the corresponding high-intensity colors. |
|
|
366 | |
|
|
367 | =head3 I don't like the screen colors. How do I change them? |
|
|
368 | |
|
|
369 | You can change the screen colors at run-time using F<~/.Xdefaults> |
|
|
370 | resources (or as long-options). |
|
|
371 | |
|
|
372 | Here are values that are supposed to resemble a VGA screen, |
|
|
373 | including the murky brown that passes for low-intensity yellow: |
|
|
374 | |
|
|
375 | URxvt.color0: #000000 |
|
|
376 | URxvt.color1: #A80000 |
|
|
377 | URxvt.color2: #00A800 |
|
|
378 | URxvt.color3: #A8A800 |
|
|
379 | URxvt.color4: #0000A8 |
|
|
380 | URxvt.color5: #A800A8 |
|
|
381 | URxvt.color6: #00A8A8 |
|
|
382 | URxvt.color7: #A8A8A8 |
|
|
383 | |
|
|
384 | URxvt.color8: #000054 |
|
|
385 | URxvt.color9: #FF0054 |
|
|
386 | URxvt.color10: #00FF54 |
|
|
387 | URxvt.color11: #FFFF54 |
|
|
388 | URxvt.color12: #0000FF |
|
|
389 | URxvt.color13: #FF00FF |
|
|
390 | URxvt.color14: #00FFFF |
|
|
391 | URxvt.color15: #FFFFFF |
|
|
392 | |
|
|
393 | And here is a more complete set of non-standard colors. |
|
|
394 | |
|
|
395 | URxvt.cursorColor: #dc74d1 |
|
|
396 | URxvt.pointerColor: #dc74d1 |
|
|
397 | URxvt.background: #0e0e0e |
|
|
398 | URxvt.foreground: #4ad5e1 |
|
|
399 | URxvt.color0: #000000 |
|
|
400 | URxvt.color8: #8b8f93 |
|
|
401 | URxvt.color1: #dc74d1 |
|
|
402 | URxvt.color9: #dc74d1 |
|
|
403 | URxvt.color2: #0eb8c7 |
|
|
404 | URxvt.color10: #0eb8c7 |
|
|
405 | URxvt.color3: #dfe37e |
|
|
406 | URxvt.color11: #dfe37e |
|
|
407 | URxvt.color5: #9e88f0 |
|
|
408 | URxvt.color13: #9e88f0 |
|
|
409 | URxvt.color6: #73f7ff |
|
|
410 | URxvt.color14: #73f7ff |
|
|
411 | URxvt.color7: #e1dddd |
|
|
412 | URxvt.color15: #e1dddd |
|
|
413 | |
|
|
414 | (They were described (not by me) as "pretty girly"). |
|
|
415 | |
|
|
416 | =head3 How does rxvt-unicode choose fonts? |
|
|
417 | |
|
|
418 | Most fonts do not contain the full range of Unicode, which is |
|
|
419 | fine. Chances are that the font you (or the admin/package maintainer of |
|
|
420 | your system/os) have specified does not cover all the characters you want |
|
|
421 | to display. |
|
|
422 | |
|
|
423 | B<rxvt-unicode> makes a best-effort try at finding a replacement |
|
|
424 | font. Often the result is fine, but sometimes the chosen font looks |
|
|
425 | bad/ugly/wrong. Some fonts have totally strange characters that don't |
|
|
426 | resemble the correct glyph at all, and rxvt-unicode lacks the artificial |
|
|
427 | intelligence to detect that a specific glyph is wrong: it has to believe |
|
|
428 | the font that the characters it claims to contain indeed look correct. |
|
|
429 | |
|
|
430 | In that case, select a font of your taste and add it to the font list, |
|
|
431 | e.g.: |
|
|
432 | |
|
|
433 | @@URXVT_NAME@@ -fn basefont,font2,font3... |
|
|
434 | |
|
|
435 | When rxvt-unicode sees a character, it will first look at the base |
|
|
436 | font. If the base font does not contain the character, it will go to the |
|
|
437 | next font, and so on. Specifying your own fonts will also speed up this |
|
|
438 | search and use less resources within rxvt-unicode and the X-server. |
|
|
439 | |
|
|
440 | The only limitation is that none of the fonts may be larger than the base |
|
|
441 | font, as the base font defines the terminal character cell size, which |
|
|
442 | must be the same due to the way terminals work. |
|
|
443 | |
|
|
444 | |
|
|
445 | =head2 Keyboard, Mouse & User Interaction |
|
|
446 | |
|
|
447 | =head3 The new selection selects pieces that are too big, how can I select single words? |
|
|
448 | |
|
|
449 | If you want to select e.g. alphanumeric words, you can use the following |
|
|
450 | setting: |
|
|
451 | |
|
|
452 | URxvt.selection.pattern-0: ([[:word:]]+) |
|
|
453 | |
|
|
454 | If you click more than twice, the selection will be extended |
|
|
455 | more and more. |
|
|
456 | |
|
|
457 | To get a selection that is very similar to the old code, try this pattern: |
|
|
458 | |
|
|
459 | URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+) |
|
|
460 | |
|
|
461 | Please also note that the I<LeftClick Shift-LeftClik> combination also |
|
|
462 | selects words like the old code. |
|
|
463 | |
|
|
464 | =head3 I don't like the new selection/popups/hotkeys/perl, how do I change/disable it? |
|
|
465 | |
|
|
466 | You can disable the perl extension completely by setting the |
|
|
467 | B<perl-ext-common> resource to the empty string, which also keeps |
|
|
468 | rxvt-unicode from initialising perl, saving memory. |
|
|
469 | |
|
|
470 | If you only want to disable specific features, you first have to |
|
|
471 | identify which perl extension is responsible. For this, read the section |
|
|
472 | B<PREPACKAGED EXTENSIONS> in the @@URXVT_NAME@@perl(3) manpage. For |
|
|
473 | example, to disable the B<selection-popup> and B<option-popup>, specify |
|
|
474 | this B<perl-ext-common> resource: |
|
|
475 | |
|
|
476 | URxvt.perl-ext-common: default,-selection-popup,-option-popup |
|
|
477 | |
|
|
478 | This will keep the default extensions, but disable the two popup |
|
|
479 | extensions. Some extensions can also be configured, for example, |
|
|
480 | scrollback search mode is triggered by B<M-s>. You can move it to any |
|
|
481 | other combination either by setting the B<searchable-scrollback> resource: |
|
|
482 | |
|
|
483 | URxvt.searchable-scrollback: CM-s |
|
|
484 | |
|
|
485 | =head3 The cursor moves when selecting text in the current input line, how do I switch this off? |
|
|
486 | |
|
|
487 | See next entry. |
|
|
488 | |
|
|
489 | =head3 During rlogin/ssh/telnet/etc. sessions, clicking near the cursor outputs strange escape sequences, how do I fix this? |
|
|
490 | |
|
|
491 | These are caused by the C<readline> perl extension. Under normal |
|
|
492 | circumstances, it will move your cursor around when you click into the |
|
|
493 | line that contains it. It tries hard not to do this at the wrong moment, |
|
|
494 | but when running a program that doesn't parse cursor movements or in some |
|
|
495 | cases during rlogin sessions, it fails to detect this properly. |
|
|
496 | |
|
|
497 | You can permamently switch this feature off by disabling the C<readline> |
|
|
498 | extension: |
|
|
499 | |
|
|
500 | URxvt.perl-ext-common: default,-readline |
|
|
501 | |
|
|
502 | =head3 My numerical keypad acts weird and generates differing output? |
|
|
503 | |
|
|
504 | Some Debian GNUL/Linux users seem to have this problem, although no |
|
|
505 | specific details were reported so far. It is possible that this is caused |
|
|
506 | by the wrong C<TERM> setting, although the details of wether and how |
|
|
507 | this can happen are unknown, as C<TERM=rxvt> should offer a compatible |
|
|
508 | keymap. See the answer to the previous question, and please report if that |
|
|
509 | helped. |
|
|
510 | |
|
|
511 | =head3 My Compose (Multi_key) key is no longer working. |
|
|
512 | |
|
|
513 | The most common causes for this are that either your locale is not set |
|
|
514 | correctly, or you specified a B<preeditStyle> that is not supported by |
|
|
515 | your input method. For example, if you specified B<OverTheSpot> and |
|
|
516 | your input method (e.g. the default input method handling Compose keys) |
|
|
517 | does not support this (for instance because it is not visual), then |
|
|
518 | rxvt-unicode will continue without an input method. |
|
|
519 | |
|
|
520 | In this case either do not specify a B<preeditStyle> or specify more than |
|
|
521 | one pre-edit style, such as B<OverTheSpot,Root,None>. |
|
|
522 | |
|
|
523 | =head3 I cannot type C<Ctrl-Shift-2> to get an ASCII NUL character due to ISO 14755 |
|
|
524 | |
|
|
525 | Either try C<Ctrl-2> alone (it often is mapped to ASCII NUL even on |
|
|
526 | international keyboards) or simply use ISO 14755 support to your |
|
|
527 | advantage, typing <Ctrl-Shift-0> to get a ASCII NUL. This works for other |
|
|
528 | codes, too, such as C<Ctrl-Shift-1-d> to type the default telnet escape |
|
|
529 | character and so on. |
|
|
530 | |
|
|
531 | =head3 Mouse cut/paste suddenly no longer works. |
|
|
532 | |
|
|
533 | Make sure that mouse reporting is actually turned off since killing |
|
|
534 | some editors prematurely may leave the mouse in mouse report mode. I've |
|
|
535 | heard that tcsh may use mouse reporting unless it otherwise specified. A |
|
|
536 | quick check is to see if cut/paste works when the Alt or Shift keys are |
|
|
537 | depressed. |
|
|
538 | |
|
|
539 | =head3 What's with the strange Backspace/Delete key behaviour? |
|
|
540 | |
|
|
541 | Assuming that the physical Backspace key corresponds to the |
|
|
542 | BackSpace keysym (not likely for Linux ... see the following |
|
|
543 | question) there are two standard values that can be used for |
|
|
544 | Backspace: C<^H> and C<^?>. |
|
|
545 | |
|
|
546 | Historically, either value is correct, but rxvt-unicode adopts the debian |
|
|
547 | policy of using C<^?> when unsure, because it's the one only only correct |
|
|
548 | choice :). |
|
|
549 | |
|
|
550 | Rxvt-unicode tries to inherit the current stty settings and uses the value |
|
|
551 | of `erase' to guess the value for backspace. If rxvt-unicode wasn't |
|
|
552 | started from a terminal (say, from a menu or by remote shell), then the |
|
|
553 | system value of `erase', which corresponds to CERASE in <termios.h>, will |
|
|
554 | be used (which may not be the same as your stty setting). |
|
|
555 | |
|
|
556 | For starting a new rxvt-unicode: |
|
|
557 | |
|
|
558 | # use Backspace = ^H |
|
|
559 | $ stty erase ^H |
|
|
560 | $ @@URXVT_NAME@@ |
|
|
561 | |
|
|
562 | # use Backspace = ^? |
|
|
563 | $ stty erase ^? |
|
|
564 | $ @@URXVT_NAME@@ |
|
|
565 | |
|
|
566 | Toggle with C<ESC [ 36 h> / C<ESC [ 36 l>. |
|
|
567 | |
|
|
568 | For an existing rxvt-unicode: |
|
|
569 | |
|
|
570 | # use Backspace = ^H |
|
|
571 | $ stty erase ^H |
|
|
572 | $ echo -n "^[[36h" |
|
|
573 | |
|
|
574 | # use Backspace = ^? |
|
|
575 | $ stty erase ^? |
|
|
576 | $ echo -n "^[[36l" |
|
|
577 | |
|
|
578 | This helps satisfy some of the Backspace discrepancies that occur, but |
|
|
579 | if you use Backspace = C<^H>, make sure that the termcap/terminfo value |
|
|
580 | properly reflects that. |
|
|
581 | |
|
|
582 | The Delete key is a another casualty of the ill-defined Backspace problem. |
|
|
583 | To avoid confusion between the Backspace and Delete keys, the Delete |
|
|
584 | key has been assigned an escape sequence to match the vt100 for Execute |
|
|
585 | (C<ESC [ 3 ~>) and is in the supplied termcap/terminfo. |
|
|
586 | |
|
|
587 | Some other Backspace problems: |
|
|
588 | |
|
|
589 | some editors use termcap/terminfo, |
|
|
590 | some editors (vim I'm told) expect Backspace = ^H, |
|
|
591 | GNU Emacs (and Emacs-like editors) use ^H for help. |
|
|
592 | |
|
|
593 | Perhaps someday this will all be resolved in a consistent manner. |
|
|
594 | |
|
|
595 | =head3 I don't like the key-bindings. How do I change them? |
|
|
596 | |
|
|
597 | There are some compile-time selections available via configure. Unless |
|
|
598 | you have run "configure" with the C<--disable-resources> option you can |
|
|
599 | use the `keysym' resource to alter the keystrings associated with keysyms. |
|
|
600 | |
|
|
601 | Here's an example for a URxvt session started using C<@@URXVT_NAME@@ -name URxvt> |
|
|
602 | |
|
|
603 | URxvt.keysym.Home: \033[1~ |
|
|
604 | URxvt.keysym.End: \033[4~ |
|
|
605 | URxvt.keysym.C-apostrophe: \033<C-'> |
|
|
606 | URxvt.keysym.C-slash: \033<C-/> |
|
|
607 | URxvt.keysym.C-semicolon: \033<C-;> |
|
|
608 | URxvt.keysym.C-grave: \033<C-`> |
|
|
609 | URxvt.keysym.C-comma: \033<C-,> |
|
|
610 | URxvt.keysym.C-period: \033<C-.> |
|
|
611 | URxvt.keysym.C-0x60: \033<C-`> |
|
|
612 | URxvt.keysym.C-Tab: \033<C-Tab> |
|
|
613 | URxvt.keysym.C-Return: \033<C-Return> |
|
|
614 | URxvt.keysym.S-Return: \033<S-Return> |
|
|
615 | URxvt.keysym.S-space: \033<S-Space> |
|
|
616 | URxvt.keysym.M-Up: \033<M-Up> |
|
|
617 | URxvt.keysym.M-Down: \033<M-Down> |
|
|
618 | URxvt.keysym.M-Left: \033<M-Left> |
|
|
619 | URxvt.keysym.M-Right: \033<M-Right> |
|
|
620 | URxvt.keysym.M-C-0: list \033<M-C- 0123456789 > |
|
|
621 | URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz > |
|
|
622 | URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007 |
|
|
623 | |
|
|
624 | See some more examples in the documentation for the B<keysym> resource. |
|
|
625 | |
|
|
626 | =head3 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 map |
|
|
627 | |
|
|
628 | KP_Insert == Insert |
|
|
629 | F22 == Print |
|
|
630 | F27 == Home |
|
|
631 | F29 == Prior |
|
|
632 | F33 == End |
|
|
633 | F35 == Next |
|
|
634 | |
|
|
635 | Rather than have rxvt-unicode try to accommodate all the various possible |
|
|
636 | keyboard mappings, it is better to use `xmodmap' to remap the keys as |
|
|
637 | required for your particular machine. |
|
|
638 | |
|
|
639 | |
|
|
640 | |
|
|
641 | =head2 Terminal Configuration |
|
|
642 | |
|
|
643 | =head3 Why doesn't rxvt-unicode read my resources? |
|
|
644 | |
|
|
645 | Well, why, indeed? It does, in a way very similar to other X |
|
|
646 | applications. Most importantly, this means that if you or your OS loads |
|
|
647 | resources into the X display (the right way to do it), rxvt-unicode will |
|
|
648 | ignore any resource files in your home directory. It will only read |
|
|
649 | F<$HOME/.Xdefaults> when no resources are attached to the display. |
|
|
650 | |
|
|
651 | If you have or use an F<$HOME/.Xresources> file, chances are that |
|
|
652 | resources are loaded into your X-server. In this case, you have to |
|
|
653 | re-login after every change (or run F<xrdb -merge $HOME/.Xresources>). |
|
|
654 | |
|
|
655 | Also consider the form resources have to use: |
|
|
656 | |
|
|
657 | URxvt.resource: value |
|
|
658 | |
|
|
659 | If you want to use another form (there are lots of different ways of |
|
|
660 | specifying resources), make sure you understand wether and why it |
|
|
661 | works. If unsure, use the form above. |
|
|
662 | |
216 | =item When I log-in to another system it tells me about missing terminfo data? |
663 | =head3 When I log-in to another system it tells me about missing terminfo data? |
217 | |
664 | |
218 | The terminal description used by rxvt-unicode is not as widely available |
665 | The terminal description used by rxvt-unicode is not as widely available |
219 | as that for xterm, or even rxvt (for which the same problem often arises). |
666 | as that for xterm, or even rxvt (for which the same problem often arises). |
220 | |
667 | |
221 | The correct solution for this problem is to install the terminfo, this can |
668 | The correct solution for this problem is to install the terminfo, this can |
… | |
… | |
237 | resource to set it: |
684 | resource to set it: |
238 | |
685 | |
239 | URxvt.termName: rxvt |
686 | URxvt.termName: rxvt |
240 | |
687 | |
241 | If you don't plan to use B<rxvt> (quite common...) you could also replace |
688 | If you don't plan to use B<rxvt> (quite common...) you could also replace |
242 | the rxvt terminfo file with the rxvt-unicode one. |
689 | the rxvt terminfo file with the rxvt-unicode one and use C<TERM=rxvt>. |
243 | |
690 | |
244 | =item C<tic> outputs some error when compiling the terminfo entry. |
691 | =head3 C<tic> outputs some error when compiling the terminfo entry. |
245 | |
692 | |
246 | Most likely it's the empty definition for C<enacs=>. Just replace it by |
693 | Most likely it's the empty definition for C<enacs=>. Just replace it by |
247 | C<enacs=\E[0@> and try again. |
694 | C<enacs=\E[0@> and try again. |
248 | |
695 | |
249 | =item C<bash>'s readline does not work correctly under @@RXVT_NAME@@. |
696 | =head3 C<bash>'s readline does not work correctly under @@URXVT_NAME@@. |
250 | |
697 | |
|
|
698 | See next entry. |
|
|
699 | |
251 | =item I need a termcap file entry. |
700 | =head3 I need a termcap file entry. |
252 | |
701 | |
253 | One reason you might want this is that some distributions or operating |
702 | One reason you might want this is that some distributions or operating |
254 | systems still compile some programs using the long-obsoleted termcap |
703 | systems still compile some programs using the long-obsoleted termcap |
255 | library (Fedora Core's bash is one example) and rely on a termcap entry |
704 | library (Fedora Core's bash is one example) and rely on a termcap entry |
256 | for C<rxvt-unicode>. |
705 | for C<rxvt-unicode>. |
… | |
… | |
282 | :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\ |
731 | :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\ |
283 | :te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:\ |
732 | :te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:\ |
284 | :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ |
733 | :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ |
285 | :vs=\E[?25h: |
734 | :vs=\E[?25h: |
286 | |
735 | |
287 | =item Why does C<ls> no longer have coloured output? |
736 | =head3 Why does C<ls> no longer have coloured output? |
288 | |
737 | |
289 | The C<ls> in the GNU coreutils unfortunately doesn't use terminfo to |
738 | The C<ls> in the GNU coreutils unfortunately doesn't use terminfo to |
290 | decide wether a terminal has colour, but uses it's own configuration |
739 | decide wether a terminal has colour, but uses it's own configuration |
291 | file. Needless to say, C<rxvt-unicode> is not in it's default file (among |
740 | file. Needless to say, C<rxvt-unicode> is not in it's default file (among |
292 | with most other terminals supporting colour). Either add: |
741 | with most other terminals supporting colour). Either add: |
… | |
… | |
297 | |
746 | |
298 | alias ls='ls --color=auto' |
747 | alias ls='ls --color=auto' |
299 | |
748 | |
300 | to your C<.profile> or C<.bashrc>. |
749 | to your C<.profile> or C<.bashrc>. |
301 | |
750 | |
302 | =item Why doesn't vim/emacs etc. use the 88 colour mode? |
751 | =head3 Why doesn't vim/emacs etc. use the 88 colour mode? |
303 | |
752 | |
|
|
753 | See next entry. |
|
|
754 | |
304 | =item Why doesn't vim/emacs etc. make use of italic? |
755 | =head3 Why doesn't vim/emacs etc. make use of italic? |
305 | |
756 | |
|
|
757 | See next entry. |
|
|
758 | |
306 | =item Why are the secondary screen-related options not working properly? |
759 | =head3 Why are the secondary screen-related options not working properly? |
307 | |
760 | |
308 | Make sure you are using C<TERM=rxvt-unicode>. Some pre-packaged |
761 | Make sure you are using C<TERM=rxvt-unicode>. Some pre-packaged |
309 | distributions (most notably Debian GNU/Linux) break rxvt-unicode |
762 | distributions (most notably Debian GNU/Linux) break rxvt-unicode |
310 | by setting C<TERM> to C<rxvt>, which doesn't have these extra |
763 | by setting C<TERM> to C<rxvt>, which doesn't have these extra |
311 | features. Unfortunately, some of these (most notably, again, Debian |
764 | features. Unfortunately, some of these (most notably, again, Debian |
312 | GNU/Linux) furthermore fail to even install the C<rxvt-unicode> terminfo |
765 | GNU/Linux) furthermore fail to even install the C<rxvt-unicode> terminfo |
313 | file, so you will need to install it on your own (See the question B<When |
766 | file, so you will need to install it on your own (See the question B<When |
314 | I log-in to another system it tells me about missing terminfo data?> on |
767 | I log-in to another system it tells me about missing terminfo data?> on |
315 | how to do this). |
768 | how to do this). |
316 | |
769 | |
317 | =item My numerical keypad acts weird and generates differing output? |
|
|
318 | |
770 | |
319 | Some Debian GNUL/Linux users seem to have this problem, although no |
771 | =head2 Encoding / Locale / Input Method Issues |
320 | specific details were reported so far. It is possible that this is caused |
|
|
321 | by the wrong C<TERM> setting, although the details of wether and how |
|
|
322 | this can happen are unknown, as C<TERM=rxvt> should offer a compatible |
|
|
323 | keymap. See the answer to the previous question, and please report if that |
|
|
324 | helped. |
|
|
325 | |
772 | |
326 | =item Rxvt-unicode does not seem to understand the selected encoding? |
773 | =head3 Rxvt-unicode does not seem to understand the selected encoding? |
327 | |
774 | |
|
|
775 | See next entry. |
|
|
776 | |
328 | =item Unicode does not seem to work? |
777 | =head3 Unicode does not seem to work? |
329 | |
778 | |
330 | If you encounter strange problems like typing an accented character but |
779 | If you encounter strange problems like typing an accented character but |
331 | getting two unrelated other characters or similar, or if program output is |
780 | getting two unrelated other characters or similar, or if program output is |
332 | subtly garbled, then you should check your locale settings. |
781 | subtly garbled, then you should check your locale settings. |
333 | |
782 | |
… | |
… | |
353 | |
802 | |
354 | If nothing works and you are sure that everything is set correctly then |
803 | If nothing works and you are sure that everything is set correctly then |
355 | you will need to remember a little known fact: Some programs just don't |
804 | you will need to remember a little known fact: Some programs just don't |
356 | support locales :( |
805 | support locales :( |
357 | |
806 | |
358 | =item Why do some characters look so much different than others? |
807 | =head3 How does rxvt-unicode determine the encoding to use? |
359 | |
808 | |
360 | =item How does rxvt-unicode choose fonts? |
809 | See next entry. |
361 | |
810 | |
362 | Most fonts do not contain the full range of Unicode, which is |
811 | =head3 Is there an option to switch encodings? |
363 | fine. Chances are that the font you (or the admin/package maintainer of |
|
|
364 | your system/os) have specified does not cover all the characters you want |
|
|
365 | to display. |
|
|
366 | |
812 | |
367 | B<rxvt-unicode> makes a best-effort try at finding a replacement |
813 | Unlike some other terminals, rxvt-unicode has no encoding switch, and no |
368 | font. Often the result is fine, but sometimes the chosen font looks |
814 | specific "utf-8" mode, such as xterm. In fact, it doesn't even know about |
369 | bad/ugly/wrong. Some fonts have totally strange characters that don't |
815 | UTF-8 or any other encodings with respect to terminal I/O. |
370 | resemble the correct glyph at all, and rxvt-unicode lacks the artificial |
|
|
371 | intelligence to detect that a specific glyph is wrong: it has to believe |
|
|
372 | the font that the characters it claims to contain indeed look correct. |
|
|
373 | |
816 | |
374 | In that case, select a font of your taste and add it to the font list, |
817 | The reasons is that there exists a perfectly fine mechanism for selecting |
375 | e.g.: |
818 | the encoding, doing I/O and (most important) communicating this to all |
376 | |
819 | applications so everybody agrees on character properties such as width |
377 | @@RXVT_NAME@@ -fn basefont,font2,font3... |
820 | and code number. This mechanism is the I<locale>. Applications not using |
378 | |
821 | that info will have problems (for example, C<xterm> gets the width of |
379 | When rxvt-unicode sees a character, it will first look at the base |
822 | characters wrong as it uses it's own, locale-independent table under all |
380 | font. If the base font does not contain the character, it will go to the |
|
|
381 | next font, and so on. Specifying your own fonts will also speed up this |
|
|
382 | search and use less resources within rxvt-unicode and the X-server. |
|
|
383 | |
|
|
384 | The only limitation is that none of the fonts may be larger than the base |
|
|
385 | font, as the base font defines the terminal character cell size, which |
|
|
386 | must be the same due to the way terminals work. |
|
|
387 | |
|
|
388 | =item Why do some chinese characters look so different than others? |
|
|
389 | |
|
|
390 | This is because there is a difference between script and language -- |
|
|
391 | rxvt-unicode does not know which language the text that is output is, |
|
|
392 | as it only knows the unicode character codes. If rxvt-unicode first |
|
|
393 | sees a japanese/chinese character, it might choose a japanese font for |
|
|
394 | display. Subsequent japanese characters will use that font. Now, many |
|
|
395 | chinese characters aren't represented in japanese fonts, so when the first |
|
|
396 | non-japanese character comes up, rxvt-unicode will look for a chinese font |
|
|
397 | -- unfortunately at this point, it will still use the japanese font for |
|
|
398 | chinese characters that are also in the japanese font. |
|
|
399 | |
|
|
400 | The workaround is easy: just tag a chinese font at the end of your font |
|
|
401 | list (see the previous question). The key is to view the font list as |
|
|
402 | a preference list: If you expect more japanese, list a japanese font |
|
|
403 | first. If you expect more chinese, put a chinese font first. |
|
|
404 | |
|
|
405 | In the future it might be possible to switch language preferences at |
|
|
406 | runtime (the internal data structure has no problem with using different |
|
|
407 | fonts for the same character at the same time, but no interface for this |
|
|
408 | has been designed yet). |
|
|
409 | |
|
|
410 | Until then, you might get away with switching fonts at runtime (see L<Can |
|
|
411 | I switch the fonts at runtime?> later in this document). |
|
|
412 | |
|
|
413 | =item Why does rxvt-unicode sometimes leave pixel droppings? |
|
|
414 | |
|
|
415 | Most fonts were not designed for terminal use, which means that character |
|
|
416 | size varies a lot. A font that is otherwise fine for terminal use might |
|
|
417 | contain some characters that are simply too wide. Rxvt-unicode will avoid |
|
|
418 | these characters. For characters that are just "a bit" too wide a special |
|
|
419 | "careful" rendering mode is used that redraws adjacent characters. |
|
|
420 | |
|
|
421 | All of this requires that fonts do not lie about character sizes, |
|
|
422 | however: Xft fonts often draw glyphs larger than their acclaimed bounding |
|
|
423 | box, and rxvt-unicode has no way of detecting this (the correct way is to |
|
|
424 | ask for the character bounding box, which unfortunately is wrong in these |
|
|
425 | cases). |
823 | locales). |
426 | |
824 | |
427 | It's not clear (to me at least), wether this is a bug in Xft, freetype, |
825 | Rxvt-unicode uses the C<LC_CTYPE> locale category to select encoding. All |
428 | or the respective font. If you encounter this problem you might try using |
826 | programs doing the same (that is, most) will automatically agree in the |
429 | the C<-lsp> option to give the font more height. If that doesn't work, you |
827 | interpretation of characters. |
430 | might be forced to use a different font. |
|
|
431 | |
828 | |
432 | All of this is not a problem when using X11 core fonts, as their bounding |
829 | Unfortunately, there is no system-independent way to select locales, nor |
433 | box data is correct. |
830 | is there a standard on how locale specifiers will look like. |
434 | |
831 | |
|
|
832 | On most systems, the content of the C<LC_CTYPE> environment variable |
|
|
833 | contains an arbitrary string which corresponds to an already-installed |
|
|
834 | locale. Common names for locales are C<en_US.UTF-8>, C<de_DE.ISO-8859-15>, |
|
|
835 | C<ja_JP.EUC-JP>, i.e. C<language_country.encoding>, but other forms |
|
|
836 | (i.e. C<de> or C<german>) are also common. |
|
|
837 | |
|
|
838 | Rxvt-unicode ignores all other locale categories, and except for |
|
|
839 | the encoding, ignores country or language-specific settings, |
|
|
840 | i.e. C<de_DE.UTF-8> and C<ja_JP.UTF-8> are the normally same to |
|
|
841 | rxvt-unicode. |
|
|
842 | |
|
|
843 | If you want to use a specific encoding you have to make sure you start |
|
|
844 | rxvt-unicode with the correct C<LC_CTYPE> category. |
|
|
845 | |
|
|
846 | =head3 Can I switch locales at runtime? |
|
|
847 | |
|
|
848 | Yes, using an escape sequence. Try something like this, which sets |
|
|
849 | rxvt-unicode's idea of C<LC_CTYPE>. |
|
|
850 | |
|
|
851 | printf '\e]701;%s\007' ja_JP.SJIS |
|
|
852 | |
|
|
853 | See also the previous answer. |
|
|
854 | |
|
|
855 | Sometimes this capability is rather handy when you want to work in |
|
|
856 | one locale (e.g. C<de_DE.UTF-8>) but some programs don't support it |
|
|
857 | (e.g. UTF-8). For example, I use this script to start C<xjdic>, which |
|
|
858 | first switches to a locale supported by xjdic and back later: |
|
|
859 | |
|
|
860 | printf '\e]701;%s\007' ja_JP.SJIS |
|
|
861 | xjdic -js |
|
|
862 | printf '\e]701;%s\007' de_DE.UTF-8 |
|
|
863 | |
|
|
864 | You can also use xterm's C<luit> program, which usually works fine, except |
|
|
865 | for some locales where character width differs between program- and |
|
|
866 | rxvt-unicode-locales. |
|
|
867 | |
|
|
868 | =head3 My input method wants <some encoding> but I want UTF-8, what can I do? |
|
|
869 | |
|
|
870 | You can specify separate locales for the input method and the rest of the |
|
|
871 | terminal, using the resource C<imlocale>: |
|
|
872 | |
|
|
873 | URxvt.imlocale: ja_JP.EUC-JP |
|
|
874 | |
|
|
875 | Now you can start your terminal with C<LC_CTYPE=ja_JP.UTF-8> and still |
|
|
876 | use your input method. Please note, however, that you will not be able to |
|
|
877 | input characters outside C<EUC-JP> in a normal way then, as your input |
|
|
878 | method limits you. |
|
|
879 | |
|
|
880 | =head3 Rxvt-unicode crashes when the X Input Method changes or exits. |
|
|
881 | |
|
|
882 | Unfortunately, this is unavoidable, as the XIM protocol is racy by |
|
|
883 | design. Applications can avoid some crashes at the expense of memory |
|
|
884 | leaks, and Input Methods can avoid some crashes by careful ordering at |
|
|
885 | exit time. B<kinput2> (and derived input methods) generally succeeds, |
|
|
886 | while B<SCIM> (or similar input methods) fails. In the end, however, |
|
|
887 | crashes cannot be completely avoided even if both sides cooperate. |
|
|
888 | |
|
|
889 | So the only workaround is not to kill your Input Method Servers. |
|
|
890 | |
|
|
891 | |
|
|
892 | =head2 Operating Systems / Package Maintaining |
|
|
893 | |
|
|
894 | =head3 I am using Debian GNU/Linux and have a problem... |
|
|
895 | |
|
|
896 | The Debian GNU/Linux package of rxvt-unicode in sarge contains large |
|
|
897 | patches that considerably change the behaviour of rxvt-unicode (but |
|
|
898 | unfortunately this notice has been removed). Before reporting a bug to |
|
|
899 | the original rxvt-unicode author please download and install the genuine |
|
|
900 | version (L<http://software.schmorp.de#rxvt-unicode>) and try to reproduce |
|
|
901 | the problem. If you cannot, chances are that the problems are specific to |
|
|
902 | Debian GNU/Linux, in which case it should be reported via the Debian Bug |
|
|
903 | Tracking System (use C<reportbug> to report the bug). |
|
|
904 | |
|
|
905 | For other problems that also affect the Debian package, you can and |
|
|
906 | probably should use the Debian BTS, too, because, after all, it's also a |
|
|
907 | bug in the Debian version and it serves as a reminder for other users that |
|
|
908 | might encounter the same issue. |
|
|
909 | |
|
|
910 | =head3 I am maintaining rxvt-unicode for distribution/OS XXX, any recommendation? |
|
|
911 | |
|
|
912 | You should build one binary with the default options. F<configure> |
|
|
913 | now enables most useful options, and the trend goes to making them |
|
|
914 | runtime-switchable, too, so there is usually no drawback to enbaling them, |
|
|
915 | except higher disk and possibly memory usage. The perl interpreter should |
|
|
916 | be enabled, as important functionality (menus, selection, likely more in |
|
|
917 | the future) depends on it. |
|
|
918 | |
|
|
919 | You should not overwrite the C<perl-ext-common> snd C<perl-ext> resources |
|
|
920 | system-wide (except maybe with C<defaults>). This will result in useful |
|
|
921 | behaviour. If your distribution aims at low memory, add an empty |
|
|
922 | C<perl-ext-common> resource to the app-defaults file. This will keep the |
|
|
923 | perl interpreter disabled until the user enables it. |
|
|
924 | |
|
|
925 | If you can/want build more binaries, I recommend building a minimal |
|
|
926 | one with C<--disable-everything> (very useful) and a maximal one with |
|
|
927 | C<--enable-everything> (less useful, it will be very big due to a lot of |
|
|
928 | encodings built-in that increase download times and are rarely used). |
|
|
929 | |
|
|
930 | =head3 I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe? |
|
|
931 | |
|
|
932 | It should be, starting with release 7.1. You are encouraged to properly |
|
|
933 | install urxvt with privileges necessary for your OS now. |
|
|
934 | |
|
|
935 | When rxvt-unicode detects that it runs setuid or setgid, it will fork |
|
|
936 | into a helper process for privileged operations (pty handling on some |
|
|
937 | systems, utmp/wtmp/lastlog handling on others) and drop privileges |
|
|
938 | immediately. This is much safer than most other terminals that keep |
|
|
939 | privileges while running (but is more relevant to urxvt, as it contains |
|
|
940 | things as perl interpreters, which might be "helpful" to attackers). |
|
|
941 | |
|
|
942 | This forking is done as the very first within main(), which is very early |
|
|
943 | and reduces possible bugs to initialisation code run before main(), or |
|
|
944 | things like the dynamic loader of your system, which should result in very |
|
|
945 | little risk. |
|
|
946 | |
435 | =item On Solaris 9, many line-drawing characters are too wide. |
947 | =head3 On Solaris 9, many line-drawing characters are too wide. |
436 | |
948 | |
437 | Seems to be a known bug, read |
949 | Seems to be a known bug, read |
438 | L<http://nixdoc.net/files/forum/about34198.html>. Some people use the |
950 | L<http://nixdoc.net/files/forum/about34198.html>. Some people use the |
439 | following ugly workaround to get non-double-wide-characters working: |
951 | following ugly workaround to get non-double-wide-characters working: |
440 | |
952 | |
441 | #define wcwidth(x) wcwidth(x) > 1 ? 1 : wcwidth(x) |
953 | #define wcwidth(x) wcwidth(x) > 1 ? 1 : wcwidth(x) |
442 | |
954 | |
443 | =item My Compose (Multi_key) key is no longer working. |
|
|
444 | |
|
|
445 | The most common causes for this are that either your locale is not set |
|
|
446 | correctly, or you specified a B<preeditStyle> that is not supported by |
|
|
447 | your input method. For example, if you specified B<OverTheSpot> and |
|
|
448 | your input method (e.g. the default input method handling Compose keys) |
|
|
449 | does not support this (for instance because it is not visual), then |
|
|
450 | rxvt-unicode will continue without an input method. |
|
|
451 | |
|
|
452 | In this case either do not specify a B<preeditStyle> or specify more than |
|
|
453 | one pre-edit style, such as B<OverTheSpot,Root,None>. |
|
|
454 | |
|
|
455 | =item I cannot type C<Ctrl-Shift-2> to get an ASCII NUL character due to ISO 14755 |
|
|
456 | |
|
|
457 | Either try C<Ctrl-2> alone (it often is mapped to ASCII NUL even on |
|
|
458 | international keyboards) or simply use ISO 14755 support to your |
|
|
459 | advantage, typing <Ctrl-Shift-0> to get a ASCII NUL. This works for other |
|
|
460 | codes, too, such as C<Ctrl-Shift-1-d> to type the default telnet escape |
|
|
461 | character and so on. |
|
|
462 | |
|
|
463 | =item How can I keep rxvt-unicode from using reverse video so much? |
|
|
464 | |
|
|
465 | First of all, make sure you are running with the right terminal settings |
|
|
466 | (C<TERM=rxvt-unicode>), which will get rid of most of these effects. Then |
|
|
467 | make sure you have specified colours for italic and bold, as otherwise |
|
|
468 | rxvt-unicode might use reverse video to simulate the effect: |
|
|
469 | |
|
|
470 | URxvt.colorBD: white |
|
|
471 | URxvt.colorIT: green |
|
|
472 | |
|
|
473 | =item Some programs assume totally weird colours (red instead of blue), how can I fix that? |
|
|
474 | |
|
|
475 | For some unexplainable reason, some rare programs assume a very weird |
|
|
476 | colour palette when confronted with a terminal with more than the standard |
|
|
477 | 8 colours (rxvt-unicode supports 88). The right fix is, of course, to fix |
|
|
478 | these programs not to assume non-ISO colours without very good reasons. |
|
|
479 | |
|
|
480 | In the meantime, you can either edit your C<rxvt-unicode> terminfo |
|
|
481 | definition to only claim 8 colour support or use C<TERM=rxvt>, which will |
|
|
482 | fix colours but keep you from using other rxvt-unicode features. |
|
|
483 | |
|
|
484 | =item I am on FreeBSD and rxvt-unicode does not seem to work at all. |
955 | =head3 I am on FreeBSD and rxvt-unicode does not seem to work at all. |
485 | |
956 | |
486 | Rxvt-unicode requires the symbol C<__STDC_ISO_10646__> to be defined |
957 | Rxvt-unicode requires the symbol C<__STDC_ISO_10646__> to be defined |
487 | in your compile environment, or an implementation that implements it, |
958 | in your compile environment, or an implementation that implements it, |
488 | wether it defines the symbol or not. C<__STDC_ISO_10646__> requires that |
959 | wether it defines the symbol or not. C<__STDC_ISO_10646__> requires that |
489 | B<wchar_t> is represented as unicode. |
960 | B<wchar_t> is represented as unicode. |
… | |
… | |
511 | |
982 | |
512 | The rxvt-unicode author insists that the right way to fix this is in the |
983 | The rxvt-unicode author insists that the right way to fix this is in the |
513 | system libraries once and for all, instead of forcing every app to carry |
984 | system libraries once and for all, instead of forcing every app to carry |
514 | complete replacements for them :) |
985 | complete replacements for them :) |
515 | |
986 | |
516 | =item I use Solaris 9 and it doesn't compile/work/etc. |
987 | =head3 I use Solaris 9 and it doesn't compile/work/etc. |
517 | |
988 | |
518 | Try the diff in F<doc/solaris9.patch> as a base. It fixes the worst |
989 | Try the diff in F<doc/solaris9.patch> as a base. It fixes the worst |
519 | problems with C<wcwidth> and a compile problem. |
990 | problems with C<wcwidth> and a compile problem. |
520 | |
991 | |
521 | =item How can I use rxvt-unicode under cygwin? |
992 | =head3 How can I use rxvt-unicode under cygwin? |
522 | |
993 | |
523 | rxvt-unicode should compile and run out of the box on cygwin, using |
994 | rxvt-unicode should compile and run out of the box on cygwin, using |
524 | the X11 libraries that come with cygwin. libW11 emulation is no |
995 | the X11 libraries that come with cygwin. libW11 emulation is no |
525 | longer supported (and makes no sense, either, as it only supported a |
996 | longer supported (and makes no sense, either, as it only supported a |
526 | single font). I recommend starting the X-server in C<-multiwindow> or |
997 | single font). I recommend starting the X-server in C<-multiwindow> or |
… | |
… | |
529 | |
1000 | |
530 | At the time of this writing, cygwin didn't seem to support any multi-byte |
1001 | At the time of this writing, cygwin didn't seem to support any multi-byte |
531 | encodings (you might try C<LC_CTYPE=C-UTF-8>), so you are likely limited |
1002 | encodings (you might try C<LC_CTYPE=C-UTF-8>), so you are likely limited |
532 | to 8-bit encodings. |
1003 | to 8-bit encodings. |
533 | |
1004 | |
534 | =item How does rxvt-unicode determine the encoding to use? |
|
|
535 | |
|
|
536 | =item Is there an option to switch encodings? |
|
|
537 | |
|
|
538 | Unlike some other terminals, rxvt-unicode has no encoding switch, and no |
|
|
539 | specific "utf-8" mode, such as xterm. In fact, it doesn't even know about |
|
|
540 | UTF-8 or any other encodings with respect to terminal I/O. |
|
|
541 | |
|
|
542 | The reasons is that there exists a perfectly fine mechanism for selecting |
|
|
543 | the encoding, doing I/O and (most important) communicating this to all |
|
|
544 | applications so everybody agrees on character properties such as width |
|
|
545 | and code number. This mechanism is the I<locale>. Applications not using |
|
|
546 | that info will have problems (for example, C<xterm> gets the width of |
|
|
547 | characters wrong as it uses it's own, locale-independent table under all |
|
|
548 | locales). |
|
|
549 | |
|
|
550 | Rxvt-unicode uses the C<LC_CTYPE> locale category to select encoding. All |
|
|
551 | programs doing the same (that is, most) will automatically agree in the |
|
|
552 | interpretation of characters. |
|
|
553 | |
|
|
554 | Unfortunately, there is no system-independent way to select locales, nor |
|
|
555 | is there a standard on how locale specifiers will look like. |
|
|
556 | |
|
|
557 | On most systems, the content of the C<LC_CTYPE> environment variable |
|
|
558 | contains an arbitrary string which corresponds to an already-installed |
|
|
559 | locale. Common names for locales are C<en_US.UTF-8>, C<de_DE.ISO-8859-15>, |
|
|
560 | C<ja_JP.EUC-JP>, i.e. C<language_country.encoding>, but other forms |
|
|
561 | (i.e. C<de> or C<german>) are also common. |
|
|
562 | |
|
|
563 | Rxvt-unicode ignores all other locale categories, and except for |
|
|
564 | the encoding, ignores country or language-specific settings, |
|
|
565 | i.e. C<de_DE.UTF-8> and C<ja_JP.UTF-8> are the normally same to |
|
|
566 | rxvt-unicode. |
|
|
567 | |
|
|
568 | If you want to use a specific encoding you have to make sure you start |
|
|
569 | rxvt-unicode with the correct C<LC_CTYPE> category. |
|
|
570 | |
|
|
571 | =item Can I switch locales at runtime? |
|
|
572 | |
|
|
573 | Yes, using an escape sequence. Try something like this, which sets |
|
|
574 | rxvt-unicode's idea of C<LC_CTYPE>. |
|
|
575 | |
|
|
576 | printf '\e]701;%s\007' ja_JP.SJIS |
|
|
577 | |
|
|
578 | See also the previous answer. |
|
|
579 | |
|
|
580 | Sometimes this capability is rather handy when you want to work in |
|
|
581 | one locale (e.g. C<de_DE.UTF-8>) but some programs don't support it |
|
|
582 | (e.g. UTF-8). For example, I use this script to start C<xjdic>, which |
|
|
583 | first switches to a locale supported by xjdic and back later: |
|
|
584 | |
|
|
585 | printf '\e]701;%s\007' ja_JP.SJIS |
|
|
586 | xjdic -js |
|
|
587 | printf '\e]701;%s\007' de_DE.UTF-8 |
|
|
588 | |
|
|
589 | You can also use xterm's C<luit> program, which usually works fine, except |
|
|
590 | for some locales where character width differs between program- and |
|
|
591 | rxvt-unicode-locales. |
|
|
592 | |
|
|
593 | =item Can I switch the fonts at runtime? |
|
|
594 | |
|
|
595 | Yes, using an escape sequence. Try something like this, which has the same |
|
|
596 | effect as using the C<-fn> switch, and takes effect immediately: |
|
|
597 | |
|
|
598 | printf '\e]50;%s\007' "9x15bold,xft:Kochi Gothic" |
|
|
599 | |
|
|
600 | This is useful if you e.g. work primarily with japanese (and prefer a |
|
|
601 | japanese font), but you have to switch to chinese temporarily, where |
|
|
602 | japanese fonts would only be in your way. |
|
|
603 | |
|
|
604 | You can think of this as a kind of manual ISO-2022 switching. |
|
|
605 | |
|
|
606 | =item Why do italic characters look as if clipped? |
|
|
607 | |
|
|
608 | Many fonts have difficulties with italic characters and hinting. For |
|
|
609 | example, the otherwise very nicely hinted font C<xft:Bitstream Vera Sans |
|
|
610 | Mono> completely fails in it's italic face. A workaround might be to |
|
|
611 | enable freetype autohinting, i.e. like this: |
|
|
612 | |
|
|
613 | URxvt.italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true |
|
|
614 | URxvt.boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true |
|
|
615 | |
|
|
616 | =item My input method wants <some encoding> but I want UTF-8, what can I do? |
|
|
617 | |
|
|
618 | You can specify separate locales for the input method and the rest of the |
|
|
619 | terminal, using the resource C<imlocale>: |
|
|
620 | |
|
|
621 | URxvt*imlocale: ja_JP.EUC-JP |
|
|
622 | |
|
|
623 | Now you can start your terminal with C<LC_CTYPE=ja_JP.UTF-8> and still |
|
|
624 | use your input method. Please note, however, that you will not be able to |
|
|
625 | input characters outside C<EUC-JP> in a normal way then, as your input |
|
|
626 | method limits you. |
|
|
627 | |
|
|
628 | =item Rxvt-unicode crashes when the X Input Method changes or exits. |
|
|
629 | |
|
|
630 | Unfortunately, this is unavoidable, as the XIM protocol is racy by |
|
|
631 | design. Applications can avoid some crashes at the expense of memory |
|
|
632 | leaks, and Input Methods can avoid some crashes by careful ordering at |
|
|
633 | exit time. B<kinput2> (and derived input methods) generally succeeds, |
|
|
634 | while B<SCIM> (or similar input methods) fails. In the end, however, |
|
|
635 | crashes cannot be completely avoided even if both sides cooperate. |
|
|
636 | |
|
|
637 | So the only workaround is not to kill your Input Method Servers. |
|
|
638 | |
|
|
639 | =item Rxvt-unicode uses gobs of memory, how can I reduce that? |
|
|
640 | |
|
|
641 | Rxvt-unicode tries to obey the rule of not charging you for something you |
|
|
642 | don't use. One thing you should try is to configure out all settings that |
|
|
643 | you don't need, for example, Xft support is a resource hog by design, |
|
|
644 | when used. Compiling it out ensures that no Xft font will be loaded |
|
|
645 | accidentally when rxvt-unicode tries to find a font for your characters. |
|
|
646 | |
|
|
647 | Also, many people (me included) like large windows and even larger |
|
|
648 | scrollback buffers: Without C<--enable-unicode3>, rxvt-unicode will use |
|
|
649 | 6 bytes per screen cell. For a 160x?? window this amounts to almost a |
|
|
650 | kilobyte per line. A scrollback buffer of 10000 lines will then (if full) |
|
|
651 | use 10 Megabytes of memory. With C<--enable-unicode3> it gets worse, as |
|
|
652 | rxvt-unicode then uses 8 bytes per screen cell. |
|
|
653 | |
|
|
654 | =item Can I speed up Xft rendering somehow? |
|
|
655 | |
|
|
656 | Yes, the most obvious way to speed it up is to avoid Xft entirely, as |
|
|
657 | it is simply slow. If you still want Xft fonts you might try to disable |
|
|
658 | antialiasing (by appending C<:antialias=false>), which saves lots of |
|
|
659 | memory and also speeds up rendering considerably. |
|
|
660 | |
|
|
661 | =item Rxvt-unicode doesn't seem to anti-alias its fonts, what is wrong? |
|
|
662 | |
|
|
663 | Rxvt-unicode will use whatever you specify as a font. If it needs to |
|
|
664 | fall back to it's default font search list it will prefer X11 core |
|
|
665 | fonts, because they are small and fast, and then use Xft fonts. It has |
|
|
666 | antialiasing disabled for most of them, because the author thinks they |
|
|
667 | look best that way. |
|
|
668 | |
|
|
669 | If you want antialiasing, you have to specify the fonts manually. |
|
|
670 | |
|
|
671 | =item Mouse cut/paste suddenly no longer works. |
|
|
672 | |
|
|
673 | Make sure that mouse reporting is actually turned off since killing |
|
|
674 | some editors prematurely may leave the mouse in mouse report mode. I've |
|
|
675 | heard that tcsh may use mouse reporting unless it otherwise specified. A |
|
|
676 | quick check is to see if cut/paste works when the Alt or Shift keys are |
|
|
677 | depressed. |
|
|
678 | |
|
|
679 | =item What's with this bold/blink stuff? |
|
|
680 | |
|
|
681 | If no bold colour is set via C<colorBD:>, bold will invert text using the |
|
|
682 | standard foreground colour. |
|
|
683 | |
|
|
684 | For the standard background colour, blinking will actually make the |
|
|
685 | text blink when compiled with C<--enable-blinking>. with standard |
|
|
686 | colours. Without C<--enable-blinking>, the blink attribute will be |
|
|
687 | ignored. |
|
|
688 | |
|
|
689 | On ANSI colours, bold/blink attributes are used to set high-intensity |
|
|
690 | foreground/background colors. |
|
|
691 | |
|
|
692 | color0-7 are the low-intensity colors. |
|
|
693 | |
|
|
694 | color8-15 are the corresponding high-intensity colors. |
|
|
695 | |
|
|
696 | =item I don't like the screen colors. How do I change them? |
|
|
697 | |
|
|
698 | You can change the screen colors at run-time using F<~/.Xdefaults> |
|
|
699 | resources (or as long-options). |
|
|
700 | |
|
|
701 | Here are values that are supposed to resemble a VGA screen, |
|
|
702 | including the murky brown that passes for low-intensity yellow: |
|
|
703 | |
|
|
704 | URxvt.color0: #000000 |
|
|
705 | URxvt.color1: #A80000 |
|
|
706 | URxvt.color2: #00A800 |
|
|
707 | URxvt.color3: #A8A800 |
|
|
708 | URxvt.color4: #0000A8 |
|
|
709 | URxvt.color5: #A800A8 |
|
|
710 | URxvt.color6: #00A8A8 |
|
|
711 | URxvt.color7: #A8A8A8 |
|
|
712 | |
|
|
713 | URxvt.color8: #000054 |
|
|
714 | URxvt.color9: #FF0054 |
|
|
715 | URxvt.color10: #00FF54 |
|
|
716 | URxvt.color11: #FFFF54 |
|
|
717 | URxvt.color12: #0000FF |
|
|
718 | URxvt.color13: #FF00FF |
|
|
719 | URxvt.color14: #00FFFF |
|
|
720 | URxvt.color15: #FFFFFF |
|
|
721 | |
|
|
722 | And here is a more complete set of non-standard colors described (not by |
|
|
723 | me) as "pretty girly". |
|
|
724 | |
|
|
725 | URxvt.cursorColor: #dc74d1 |
|
|
726 | URxvt.pointerColor: #dc74d1 |
|
|
727 | URxvt.background: #0e0e0e |
|
|
728 | URxvt.foreground: #4ad5e1 |
|
|
729 | URxvt.color0: #000000 |
|
|
730 | URxvt.color8: #8b8f93 |
|
|
731 | URxvt.color1: #dc74d1 |
|
|
732 | URxvt.color9: #dc74d1 |
|
|
733 | URxvt.color2: #0eb8c7 |
|
|
734 | URxvt.color10: #0eb8c7 |
|
|
735 | URxvt.color3: #dfe37e |
|
|
736 | URxvt.color11: #dfe37e |
|
|
737 | URxvt.color5: #9e88f0 |
|
|
738 | URxvt.color13: #9e88f0 |
|
|
739 | URxvt.color6: #73f7ff |
|
|
740 | URxvt.color14: #73f7ff |
|
|
741 | URxvt.color7: #e1dddd |
|
|
742 | URxvt.color15: #e1dddd |
|
|
743 | |
|
|
744 | =item How can I start @@RXVT_NAME@@d in a race-free way? |
|
|
745 | |
|
|
746 | Try C<@@RXVT_NAME@@d -f -o>, which tells @@RXVT_NAME@@d to open the |
|
|
747 | display, create the listening socket and then fork. |
|
|
748 | |
|
|
749 | =item What's with the strange Backspace/Delete key behaviour? |
|
|
750 | |
|
|
751 | Assuming that the physical Backspace key corresponds to the |
|
|
752 | BackSpace keysym (not likely for Linux ... see the following |
|
|
753 | question) there are two standard values that can be used for |
|
|
754 | Backspace: C<^H> and C<^?>. |
|
|
755 | |
|
|
756 | Historically, either value is correct, but rxvt-unicode adopts the debian |
|
|
757 | policy of using C<^?> when unsure, because it's the one only only correct |
|
|
758 | choice :). |
|
|
759 | |
|
|
760 | Rxvt-unicode tries to inherit the current stty settings and uses the value |
|
|
761 | of `erase' to guess the value for backspace. If rxvt-unicode wasn't |
|
|
762 | started from a terminal (say, from a menu or by remote shell), then the |
|
|
763 | system value of `erase', which corresponds to CERASE in <termios.h>, will |
|
|
764 | be used (which may not be the same as your stty setting). |
|
|
765 | |
|
|
766 | For starting a new rxvt-unicode: |
|
|
767 | |
|
|
768 | # use Backspace = ^H |
|
|
769 | $ stty erase ^H |
|
|
770 | $ @@RXVT_NAME@@ |
|
|
771 | |
|
|
772 | # use Backspace = ^? |
|
|
773 | $ stty erase ^? |
|
|
774 | $ @@RXVT_NAME@@ |
|
|
775 | |
|
|
776 | Toggle with C<ESC [ 36 h> / C<ESC [ 36 l>. |
|
|
777 | |
|
|
778 | For an existing rxvt-unicode: |
|
|
779 | |
|
|
780 | # use Backspace = ^H |
|
|
781 | $ stty erase ^H |
|
|
782 | $ echo -n "^[[36h" |
|
|
783 | |
|
|
784 | # use Backspace = ^? |
|
|
785 | $ stty erase ^? |
|
|
786 | $ echo -n "^[[36l" |
|
|
787 | |
|
|
788 | This helps satisfy some of the Backspace discrepancies that occur, but |
|
|
789 | if you use Backspace = C<^H>, make sure that the termcap/terminfo value |
|
|
790 | properly reflects that. |
|
|
791 | |
|
|
792 | The Delete key is a another casualty of the ill-defined Backspace problem. |
|
|
793 | To avoid confusion between the Backspace and Delete keys, the Delete |
|
|
794 | key has been assigned an escape sequence to match the vt100 for Execute |
|
|
795 | (C<ESC [ 3 ~>) and is in the supplied termcap/terminfo. |
|
|
796 | |
|
|
797 | Some other Backspace problems: |
|
|
798 | |
|
|
799 | some editors use termcap/terminfo, |
|
|
800 | some editors (vim I'm told) expect Backspace = ^H, |
|
|
801 | GNU Emacs (and Emacs-like editors) use ^H for help. |
|
|
802 | |
|
|
803 | Perhaps someday this will all be resolved in a consistent manner. |
|
|
804 | |
|
|
805 | =item I don't like the key-bindings. How do I change them? |
|
|
806 | |
|
|
807 | There are some compile-time selections available via configure. Unless |
|
|
808 | you have run "configure" with the C<--disable-resources> option you can |
|
|
809 | use the `keysym' resource to alter the keystrings associated with keysyms. |
|
|
810 | |
|
|
811 | Here's an example for a URxvt session started using C<@@RXVT_NAME@@ -name URxvt> |
|
|
812 | |
|
|
813 | URxvt.keysym.Home: \033[1~ |
|
|
814 | URxvt.keysym.End: \033[4~ |
|
|
815 | URxvt.keysym.C-apostrophe: \033<C-'> |
|
|
816 | URxvt.keysym.C-slash: \033<C-/> |
|
|
817 | URxvt.keysym.C-semicolon: \033<C-;> |
|
|
818 | URxvt.keysym.C-grave: \033<C-`> |
|
|
819 | URxvt.keysym.C-comma: \033<C-,> |
|
|
820 | URxvt.keysym.C-period: \033<C-.> |
|
|
821 | URxvt.keysym.C-0x60: \033<C-`> |
|
|
822 | URxvt.keysym.C-Tab: \033<C-Tab> |
|
|
823 | URxvt.keysym.C-Return: \033<C-Return> |
|
|
824 | URxvt.keysym.S-Return: \033<S-Return> |
|
|
825 | URxvt.keysym.S-space: \033<S-Space> |
|
|
826 | URxvt.keysym.M-Up: \033<M-Up> |
|
|
827 | URxvt.keysym.M-Down: \033<M-Down> |
|
|
828 | URxvt.keysym.M-Left: \033<M-Left> |
|
|
829 | URxvt.keysym.M-Right: \033<M-Right> |
|
|
830 | URxvt.keysym.M-C-0: list \033<M-C- 0123456789 > |
|
|
831 | URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz > |
|
|
832 | URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007 |
|
|
833 | |
|
|
834 | See some more examples in the documentation for the B<keysym> resource. |
|
|
835 | |
|
|
836 | =item I'm using keyboard model XXX that has extra Prior/Next/Insert keys. |
|
|
837 | How do I make use of them? For example, the Sun Keyboard type 4 |
|
|
838 | has the following mappings that rxvt-unicode doesn't recognize. |
|
|
839 | |
|
|
840 | KP_Insert == Insert |
|
|
841 | F22 == Print |
|
|
842 | F27 == Home |
|
|
843 | F29 == Prior |
|
|
844 | F33 == End |
|
|
845 | F35 == Next |
|
|
846 | |
|
|
847 | Rather than have rxvt-unicode try to accommodate all the various possible |
|
|
848 | keyboard mappings, it is better to use `xmodmap' to remap the keys as |
|
|
849 | required for your particular machine. |
|
|
850 | |
|
|
851 | =item How do I distinguish wether I'm running rxvt-unicode or a regular xterm? |
|
|
852 | I need this to decide about setting colors etc. |
|
|
853 | |
|
|
854 | rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
|
|
855 | check and see if that is set. Note that several programs, JED, slrn, |
|
|
856 | Midnight Commander automatically check this variable to decide whether or |
|
|
857 | not to use color. |
|
|
858 | |
|
|
859 | =item How do I set the correct, full IP address for the DISPLAY variable? |
|
|
860 | |
|
|
861 | If you've compiled rxvt-unicode with DISPLAY_IS_IP and have enabled |
|
|
862 | insecure mode then it is possible to use the following shell script |
|
|
863 | snippets to correctly set the display. If your version of rxvt-unicode |
|
|
864 | wasn't also compiled with ESCZ_ANSWER (as assumed in these snippets) then |
|
|
865 | the COLORTERM variable can be used to distinguish rxvt-unicode from a |
|
|
866 | regular xterm. |
|
|
867 | |
|
|
868 | Courtesy of Chuck Blake <cblake@BBN.COM> with the following shell script |
|
|
869 | snippets: |
|
|
870 | |
|
|
871 | # Bourne/Korn/POSIX family of shells: |
|
|
872 | [ ${TERM:-foo} = foo ] && TERM=xterm # assume an xterm if we don't know |
|
|
873 | if [ ${TERM:-foo} = xterm ]; then |
|
|
874 | stty -icanon -echo min 0 time 15 # see if enhanced rxvt or not |
|
|
875 | echo -n '^[Z' |
|
|
876 | read term_id |
|
|
877 | stty icanon echo |
|
|
878 | if [ ""${term_id} = '^[[?1;2C' -a ${DISPLAY:-foo} = foo ]; then |
|
|
879 | echo -n '^[[7n' # query the rxvt we are in for the DISPLAY string |
|
|
880 | read DISPLAY # set it in our local shell |
|
|
881 | fi |
|
|
882 | fi |
|
|
883 | |
|
|
884 | =item How do I compile the manual pages for myself? |
|
|
885 | |
|
|
886 | You need to have a recent version of perl installed as F</usr/bin/perl>, |
|
|
887 | one that comes with F<pod2man>, F<pod2text> and F<pod2html>. Then go to |
|
|
888 | the doc subdirectory and enter C<make alldoc>. |
|
|
889 | |
|
|
890 | =item My question isn't answered here, can I ask a human? |
|
|
891 | |
|
|
892 | Before sending me mail, you could go to IRC: C<irc.freenode.net>, |
|
|
893 | channel C<#rxvt-unicode> has some rxvt-unicode enthusiasts that might be |
|
|
894 | interested in learning about new and exciting problems (but not FAQs :). |
|
|
895 | |
|
|
896 | =back |
|
|
897 | |
|
|
898 | =head1 RXVT TECHNICAL REFERENCE |
1005 | =head1 RXVT-UNICODE TECHNICAL REFERENCE |
899 | |
1006 | |
900 | =head1 DESCRIPTION |
1007 | =head1 DESCRIPTION |
901 | |
1008 | |
902 | The rest of this document describes various technical aspects of |
1009 | The rest of this document describes various technical aspects of |
903 | B<rxvt-unicode>. First the description of supported command sequences, |
1010 | B<rxvt-unicode>. First the description of supported command sequences, |
904 | followed by menu and pixmap support and last by a description of all |
1011 | followed by pixmap support and last by a description of all features |
905 | features selectable at C<configure> time. |
1012 | selectable at C<configure> time. |
906 | |
1013 | |
907 | =head1 Definitions |
1014 | =head1 Definitions |
908 | |
1015 | |
909 | =over 4 |
1016 | =over 4 |
910 | |
1017 | |
… | |
… | |
1478 | B<< C<h> >> Send Mouse X & Y on button press. |
1585 | B<< C<h> >> Send Mouse X & Y on button press. |
1479 | B<< C<l> >> No mouse reporting. |
1586 | B<< C<l> >> No mouse reporting. |
1480 | |
1587 | |
1481 | =end table |
1588 | =end table |
1482 | |
1589 | |
1483 | =item B<< C<Ps = 10> >> (B<rxvt>) |
|
|
1484 | |
|
|
1485 | =begin table |
|
|
1486 | |
|
|
1487 | B<< C<h> >> menuBar visible |
|
|
1488 | B<< C<l> >> menuBar invisible |
|
|
1489 | |
|
|
1490 | =end table |
|
|
1491 | |
|
|
1492 | =item B<< C<Ps = 25> >> |
1590 | =item B<< C<Ps = 25> >> |
1493 | |
1591 | |
1494 | =begin table |
1592 | =begin table |
1495 | |
1593 | |
1496 | B<< C<h> >> Visible cursor {cnorm/cvvis} |
1594 | B<< C<h> >> Visible cursor {cnorm/cvvis} |
… | |
… | |
1678 | B<< C<Ps = 12> >> Change colour of text cursor foreground to B<< C<Pt> >> |
1776 | B<< C<Ps = 12> >> Change colour of text cursor foreground to B<< C<Pt> >> |
1679 | B<< C<Ps = 13> >> Change colour of mouse foreground to B<< C<Pt> >> |
1777 | B<< C<Ps = 13> >> Change colour of mouse foreground to B<< C<Pt> >> |
1680 | B<< C<Ps = 17> >> Change colour of highlight characters to B<< C<Pt> >> |
1778 | B<< C<Ps = 17> >> Change colour of highlight characters to B<< C<Pt> >> |
1681 | B<< C<Ps = 18> >> Change colour of bold characters to B<< C<Pt> >> [deprecated, see 706] |
1779 | B<< C<Ps = 18> >> Change colour of bold characters to B<< C<Pt> >> [deprecated, see 706] |
1682 | B<< C<Ps = 19> >> Change colour of underlined characters to B<< C<Pt> >> [deprecated, see 707] |
1780 | B<< C<Ps = 19> >> Change colour of underlined characters to B<< C<Pt> >> [deprecated, see 707] |
1683 | B<< C<Ps = 20> >> Change default background to B<< C<Pt> >> |
1781 | B<< C<Ps = 20> >> Change background pixmap parameters (see section XPM) (Compile XPM). |
1684 | B<< C<Ps = 39> >> Change default foreground colour to B<< C<Pt> >>. |
1782 | B<< C<Ps = 39> >> Change default foreground colour to B<< C<Pt> >>. |
1685 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
1783 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
1686 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. |
1784 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. |
1687 | 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> >> |
1785 | 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> >> |
1688 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> |
1786 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> |
1689 | 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). |
1787 | 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). |
1690 | B<< C<Ps = 703> >> Menubar command B<< C<Pt> >> (Compile menubar). |
1788 | 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>. |
1691 | B<< C<Ps = 704> >> Change colour of italic characters to B<< C<Pt> >> |
1789 | B<< C<Ps = 704> >> Change colour of italic characters to B<< C<Pt> >> |
1692 | B<< C<Ps = 705> >> Change background pixmap tint colour to B<< C<Pt> >> (Compile transparency). |
1790 | B<< C<Ps = 705> >> Change background pixmap tint colour to B<< C<Pt> >> (Compile transparency). |
1693 | B<< C<Ps = 706> >> Change colour of bold characters to B<< C<Pt> >> |
1791 | B<< C<Ps = 706> >> Change colour of bold characters to B<< C<Pt> >> |
1694 | B<< C<Ps = 707> >> Change colour of underlined characters to B<< C<Pt> >> |
1792 | B<< C<Ps = 707> >> Change colour of underlined characters to B<< C<Pt> >> |
1695 | B<< C<Ps = 710> >> Set normal fontset to B<< C<Pt> >>. Same as C<Ps = 50>. |
1793 | B<< C<Ps = 710> >> Set normal fontset to B<< C<Pt> >>. Same as C<Ps = 50>. |
… | |
… | |
1702 | |
1800 | |
1703 | =end table |
1801 | =end table |
1704 | |
1802 | |
1705 | =back |
1803 | =back |
1706 | |
1804 | |
1707 | X<menuBar> |
|
|
1708 | |
|
|
1709 | =head1 menuBar |
|
|
1710 | |
|
|
1711 | B<< The exact syntax used is I<almost> solidified. >> |
|
|
1712 | In the menus, B<DON'T> try to use menuBar commands that add or remove a |
|
|
1713 | menuBar. |
|
|
1714 | |
|
|
1715 | Note that in all of the commands, the B<< I</path/> >> I<cannot> be |
|
|
1716 | omitted: use B<./> to specify a menu relative to the current menu. |
|
|
1717 | |
|
|
1718 | =head2 Overview of menuBar operation |
|
|
1719 | |
|
|
1720 | For the menuBar XTerm escape sequence C<ESC ] 703 ; Pt ST>, the syntax |
|
|
1721 | of C<Pt> can be used for a variety of tasks: |
|
|
1722 | |
|
|
1723 | At the top level is the current menuBar which is a member of a circular |
|
|
1724 | linked-list of other such menuBars. |
|
|
1725 | |
|
|
1726 | The menuBar acts as a parent for the various drop-down menus, which in |
|
|
1727 | turn, may have labels, separator lines, menuItems and subMenus. |
|
|
1728 | |
|
|
1729 | The menuItems are the useful bits: you can use them to mimic keyboard |
|
|
1730 | input or even to send text or escape sequences back to rxvt. |
|
|
1731 | |
|
|
1732 | The menuBar syntax is intended to provide a simple yet robust method of |
|
|
1733 | constructing and manipulating menus and navigating through the |
|
|
1734 | menuBars. |
|
|
1735 | |
|
|
1736 | The first step is to use the tag B<< [menu:I<name>] >> which creates |
|
|
1737 | the menuBar called I<name> and allows access. You may now or menus, |
|
|
1738 | subMenus, and menuItems. Finally, use the tag B<[done]> to set the |
|
|
1739 | menuBar access as B<readonly> to prevent accidental corruption of the |
|
|
1740 | menus. To re-access the current menuBar for alterations, use the tag |
|
|
1741 | B<[menu]>, make the alterations and then use B<[done]> |
|
|
1742 | |
|
|
1743 | X<menuBarCommands> |
|
|
1744 | |
|
|
1745 | =head2 Commands |
|
|
1746 | |
|
|
1747 | =over 4 |
|
|
1748 | |
|
|
1749 | =item B<< [menu:+I<name>] >> |
|
|
1750 | |
|
|
1751 | access the named menuBar for creation or alteration. If a new menuBar |
|
|
1752 | is created, it is called I<name> (max of 15 chars) and the current |
|
|
1753 | menuBar is pushed onto the stack |
|
|
1754 | |
|
|
1755 | =item B<[menu]> |
|
|
1756 | |
|
|
1757 | access the current menuBar for alteration |
|
|
1758 | |
|
|
1759 | =item B<< [title:+I<string>] >> |
|
|
1760 | |
|
|
1761 | set the current menuBar's title to I<string>, which may contain the |
|
|
1762 | following format specifiers: |
|
|
1763 | |
|
|
1764 | B<%n> rxvt name (as per the B<-name> command-line option) |
|
|
1765 | B<%v> rxvt version |
|
|
1766 | B<%%> literal B<%> character |
|
|
1767 | |
|
|
1768 | =item B<[done]> |
|
|
1769 | |
|
|
1770 | set menuBar access as B<readonly>. |
|
|
1771 | End-of-file tag for B<< [read:+I<file>] >> operations. |
|
|
1772 | |
|
|
1773 | =item B<< [read:+I<file>] >> |
|
|
1774 | |
|
|
1775 | read menu commands directly from I<file> (extension ".menu" will be |
|
|
1776 | appended if required.) Start reading at a line with B<[menu]> or B<< |
|
|
1777 | [menu:+I<name> >> and continuing until B<[done]> is encountered. |
|
|
1778 | |
|
|
1779 | Blank and comment lines (starting with B<#>) are ignored. Actually, |
|
|
1780 | since any invalid menu commands are also ignored, almost anything could |
|
|
1781 | be construed as a comment line, but this may be tightened up in the |
|
|
1782 | future ... so don't count on it!. |
|
|
1783 | |
|
|
1784 | =item B<< [read:+I<file>;+I<name>] >> |
|
|
1785 | |
|
|
1786 | The same as B<< [read:+I<file>] >>, but start reading at a line with |
|
|
1787 | B<< [menu:+I<name>] >> and continuing until B<< [done:+I<name>] >> or |
|
|
1788 | B<[done]> is encountered. |
|
|
1789 | |
|
|
1790 | =item B<[dump]> |
|
|
1791 | |
|
|
1792 | dump all menuBars to the file B</tmp/rxvt-PID> in a format suitable for |
|
|
1793 | later rereading. |
|
|
1794 | |
|
|
1795 | =item B<[rm:name]> |
|
|
1796 | |
|
|
1797 | remove the named menuBar |
|
|
1798 | |
|
|
1799 | =item B<[rm] [rm:]> |
|
|
1800 | |
|
|
1801 | remove the current menuBar |
|
|
1802 | |
|
|
1803 | =item B<[rm*] [rm:*]> |
|
|
1804 | |
|
|
1805 | remove all menuBars |
|
|
1806 | |
|
|
1807 | =item B<[swap]> |
|
|
1808 | |
|
|
1809 | swap the top two menuBars |
|
|
1810 | |
|
|
1811 | =item B<[prev]> |
|
|
1812 | |
|
|
1813 | access the previous menuBar |
|
|
1814 | |
|
|
1815 | =item B<[next]> |
|
|
1816 | |
|
|
1817 | access the next menuBar |
|
|
1818 | |
|
|
1819 | =item B<[show]> |
|
|
1820 | |
|
|
1821 | Enable display of the menuBar |
|
|
1822 | |
|
|
1823 | =item B<[hide]> |
|
|
1824 | |
|
|
1825 | Disable display of the menuBar |
|
|
1826 | |
|
|
1827 | =item B<< [pixmap:+I<name>] >> |
|
|
1828 | |
|
|
1829 | =item B<< [pixmap:+I<name>;I<scaling>] >> |
|
|
1830 | |
|
|
1831 | (set the background pixmap globally |
|
|
1832 | |
|
|
1833 | B<< A Future implementation I<may> make this local to the menubar >>) |
|
|
1834 | |
|
|
1835 | =item B<< [:+I<command>:] >> |
|
|
1836 | |
|
|
1837 | ignore the menu readonly status and issue a I<command> to or a menu or |
|
|
1838 | menuitem or change the ; a useful shortcut for setting the quick arrows |
|
|
1839 | from a menuBar. |
|
|
1840 | |
|
|
1841 | =back |
|
|
1842 | |
|
|
1843 | X<menuBarAdd> |
|
|
1844 | |
|
|
1845 | =head2 Adding and accessing menus |
|
|
1846 | |
|
|
1847 | The following commands may also be B<+> prefixed. |
|
|
1848 | |
|
|
1849 | =over 4 |
|
|
1850 | |
|
|
1851 | =item B</+> |
|
|
1852 | |
|
|
1853 | access menuBar top level |
|
|
1854 | |
|
|
1855 | =item B<./+> |
|
|
1856 | |
|
|
1857 | access current menu level |
|
|
1858 | |
|
|
1859 | =item B<../+> |
|
|
1860 | |
|
|
1861 | access parent menu (1 level up) |
|
|
1862 | |
|
|
1863 | =item B<../../> |
|
|
1864 | |
|
|
1865 | access parent menu (multiple levels up) |
|
|
1866 | |
|
|
1867 | =item B<< I</path/>menu >> |
|
|
1868 | |
|
|
1869 | add/access menu |
|
|
1870 | |
|
|
1871 | =item B<< I</path/>menu/* >> |
|
|
1872 | |
|
|
1873 | add/access menu and clear it if it exists |
|
|
1874 | |
|
|
1875 | =item B<< I</path/>{-} >> |
|
|
1876 | |
|
|
1877 | add separator |
|
|
1878 | |
|
|
1879 | =item B<< I</path/>{item} >> |
|
|
1880 | |
|
|
1881 | add B<item> as a label |
|
|
1882 | |
|
|
1883 | =item B<< I</path/>{item} action >> |
|
|
1884 | |
|
|
1885 | add/alter I<menuitem> with an associated I<action> |
|
|
1886 | |
|
|
1887 | =item B<< I</path/>{item}{right-text} >> |
|
|
1888 | |
|
|
1889 | add/alter I<menuitem> with B<right-text> as the right-justified text |
|
|
1890 | and as the associated I<action> |
|
|
1891 | |
|
|
1892 | =item B<< I</path/>{item}{rtext} action >> |
|
|
1893 | |
|
|
1894 | add/alter I<menuitem> with an associated I<action> and with B<rtext> as |
|
|
1895 | the right-justified text. |
|
|
1896 | |
|
|
1897 | =back |
|
|
1898 | |
|
|
1899 | =over 4 |
|
|
1900 | |
|
|
1901 | =item Special characters in I<action> must be backslash-escaped: |
|
|
1902 | |
|
|
1903 | B<\a \b \E \e \n \r \t \octal> |
|
|
1904 | |
|
|
1905 | =item or in control-character notation: |
|
|
1906 | |
|
|
1907 | B<^@, ^A .. ^Z .. ^_, ^?> |
|
|
1908 | |
|
|
1909 | =back |
|
|
1910 | |
|
|
1911 | To send a string starting with a B<NUL> (B<^@>) character to the |
|
|
1912 | program, start I<action> with a pair of B<NUL> characters (B<^@^@>), |
|
|
1913 | the first of which will be stripped off and the balance directed to the |
|
|
1914 | program. Otherwise if I<action> begins with B<NUL> followed by |
|
|
1915 | non-+B<NUL> characters, the leading B<NUL> is stripped off and the |
|
|
1916 | balance is sent back to rxvt. |
|
|
1917 | |
|
|
1918 | As a convenience for the many Emacs-type editors, I<action> may start |
|
|
1919 | with B<M-> (eg, B<M-$> is equivalent to B<\E$>) and a B<CR> will be |
|
|
1920 | appended if missed from B<M-x> commands. |
|
|
1921 | |
|
|
1922 | As a convenience for issuing XTerm B<ESC ]> sequences from a menubar (or |
|
|
1923 | quick arrow), a B<BEL> (B<^G>) will be appended if needed. |
|
|
1924 | |
|
|
1925 | =over 4 |
|
|
1926 | |
|
|
1927 | =item For example, |
|
|
1928 | |
|
|
1929 | B<M-xapropos> is equivalent to B<\Exapropos\r> |
|
|
1930 | |
|
|
1931 | =item and |
|
|
1932 | |
|
|
1933 | B<\E]703;mona;100> is equivalent to B<\E]703;mona;100\a> |
|
|
1934 | |
|
|
1935 | =back |
|
|
1936 | |
|
|
1937 | The option B<< {I<right-rtext>} >> will be right-justified. In the |
|
|
1938 | absence of a specified action, this text will be used as the I<action> |
|
|
1939 | as well. |
|
|
1940 | |
|
|
1941 | =over 4 |
|
|
1942 | |
|
|
1943 | =item For example, |
|
|
1944 | |
|
|
1945 | B</File/{Open}{^X^F}> is equivalent to B</File/{Open}{^X^F} ^X^F> |
|
|
1946 | |
|
|
1947 | =back |
|
|
1948 | |
|
|
1949 | The left label I<is> necessary, since it's used for matching, but |
|
|
1950 | implicitly hiding the left label (by using same name for both left and |
|
|
1951 | right labels), or explicitly hiding the left label (by preceeding it |
|
|
1952 | with a dot), makes it possible to have right-justified text only. |
|
|
1953 | |
|
|
1954 | =over 4 |
|
|
1955 | |
|
|
1956 | =item For example, |
|
|
1957 | |
|
|
1958 | B</File/{Open}{Open} Open-File-Action> |
|
|
1959 | |
|
|
1960 | =item or hiding it |
|
|
1961 | |
|
|
1962 | B</File/{.anylabel}{Open} Open-File-Action> |
|
|
1963 | |
|
|
1964 | =back |
|
|
1965 | |
|
|
1966 | X<menuBarRemove> |
|
|
1967 | |
|
|
1968 | =head2 Removing menus |
|
|
1969 | |
|
|
1970 | =over 4 |
|
|
1971 | |
|
|
1972 | =item B<< -/*+ >> |
|
|
1973 | |
|
|
1974 | remove all menus from the menuBar, the same as B<[clear]> |
|
|
1975 | |
|
|
1976 | =item B<< -+I</path>menu+ >> |
|
|
1977 | |
|
|
1978 | remove menu |
|
|
1979 | |
|
|
1980 | =item B<< -+I</path>{item}+ >> |
|
|
1981 | |
|
|
1982 | remove item |
|
|
1983 | |
|
|
1984 | =item B<< -+I</path>{-} >> |
|
|
1985 | |
|
|
1986 | remove separator) |
|
|
1987 | |
|
|
1988 | =item B<-/path/menu/*> |
|
|
1989 | |
|
|
1990 | remove all items, separators and submenus from menu |
|
|
1991 | |
|
|
1992 | =back |
|
|
1993 | |
|
|
1994 | X<menuBarArrows> |
|
|
1995 | |
|
|
1996 | =head2 Quick Arrows |
|
|
1997 | |
|
|
1998 | The menus also provide a hook for I<quick arrows> to provide easier |
|
|
1999 | user access. If nothing has been explicitly set, the default is to |
|
|
2000 | emulate the curror keys. The syntax permits each arrow to be altered |
|
|
2001 | individually or all four at once without re-entering their common |
|
|
2002 | beginning/end text. For example, to explicitly associate cursor actions |
|
|
2003 | with the arrows, any of the following forms could be used: |
|
|
2004 | |
|
|
2005 | =over 4 |
|
|
2006 | |
|
|
2007 | =item B<< <r>+I<Right> >> |
|
|
2008 | |
|
|
2009 | =item B<< <l>+I<Left> >> |
|
|
2010 | |
|
|
2011 | =item B<< <u>+I<Up> >> |
|
|
2012 | |
|
|
2013 | =item B<< <d>+I<Down> >> |
|
|
2014 | |
|
|
2015 | Define actions for the respective arrow buttons |
|
|
2016 | |
|
|
2017 | =item B<< <b>+I<Begin> >> |
|
|
2018 | |
|
|
2019 | =item B<< <e>+I<End> >> |
|
|
2020 | |
|
|
2021 | Define common beginning/end parts for I<quick arrows> which used in |
|
|
2022 | conjunction with the above <r> <l> <u> <d> constructs |
|
|
2023 | |
|
|
2024 | =back |
|
|
2025 | |
|
|
2026 | =over 4 |
|
|
2027 | |
|
|
2028 | =item For example, define arrows individually, |
|
|
2029 | |
|
|
2030 | <u>\E[A |
|
|
2031 | |
|
|
2032 | <d>\E[B |
|
|
2033 | |
|
|
2034 | <r>\E[C |
|
|
2035 | |
|
|
2036 | <l>\E[D |
|
|
2037 | |
|
|
2038 | =item or all at once |
|
|
2039 | |
|
|
2040 | <u>\E[AZ<><d>\E[BZ<><r>\E[CZ<><l>\E[D |
|
|
2041 | |
|
|
2042 | =item or more compactly (factoring out common parts) |
|
|
2043 | |
|
|
2044 | <b>\E[<u>AZ<><d>BZ<><r>CZ<><l>D |
|
|
2045 | |
|
|
2046 | =back |
|
|
2047 | |
|
|
2048 | X<menuBarSummary> |
|
|
2049 | |
|
|
2050 | =head2 Command Summary |
|
|
2051 | |
|
|
2052 | A short summary of the most I<common> commands: |
|
|
2053 | |
|
|
2054 | =over 4 |
|
|
2055 | |
|
|
2056 | =item [menu:name] |
|
|
2057 | |
|
|
2058 | use an existing named menuBar or start a new one |
|
|
2059 | |
|
|
2060 | =item [menu] |
|
|
2061 | |
|
|
2062 | use the current menuBar |
|
|
2063 | |
|
|
2064 | =item [title:string] |
|
|
2065 | |
|
|
2066 | set menuBar title |
|
|
2067 | |
|
|
2068 | =item [done] |
|
|
2069 | |
|
|
2070 | set menu access to readonly and, if reading from a file, signal EOF |
|
|
2071 | |
|
|
2072 | =item [done:name] |
|
|
2073 | |
|
|
2074 | if reading from a file using [read:file;name] signal EOF |
|
|
2075 | |
|
|
2076 | =item [rm:name] |
|
|
2077 | |
|
|
2078 | remove named menuBar(s) |
|
|
2079 | |
|
|
2080 | =item [rm] [rm:] |
|
|
2081 | |
|
|
2082 | remove current menuBar |
|
|
2083 | |
|
|
2084 | =item [rm*] [rm:*] |
|
|
2085 | |
|
|
2086 | remove all menuBar(s) |
|
|
2087 | |
|
|
2088 | =item [swap] |
|
|
2089 | |
|
|
2090 | swap top two menuBars |
|
|
2091 | |
|
|
2092 | =item [prev] |
|
|
2093 | |
|
|
2094 | access the previous menuBar |
|
|
2095 | |
|
|
2096 | =item [next] |
|
|
2097 | |
|
|
2098 | access the next menuBar |
|
|
2099 | |
|
|
2100 | =item [show] |
|
|
2101 | |
|
|
2102 | map menuBar |
|
|
2103 | |
|
|
2104 | =item [hide] |
|
|
2105 | |
|
|
2106 | unmap menuBar |
|
|
2107 | |
|
|
2108 | =item [pixmap;file] |
|
|
2109 | |
|
|
2110 | =item [pixmap;file;scaling] |
|
|
2111 | |
|
|
2112 | set a background pixmap |
|
|
2113 | |
|
|
2114 | =item [read:file] |
|
|
2115 | |
|
|
2116 | =item [read:file;name] |
|
|
2117 | |
|
|
2118 | read in a menu from a file |
|
|
2119 | |
|
|
2120 | =item [dump] |
|
|
2121 | |
|
|
2122 | dump out all menuBars to /tmp/rxvt-PID |
|
|
2123 | |
|
|
2124 | =item / |
|
|
2125 | |
|
|
2126 | access menuBar top level |
|
|
2127 | |
|
|
2128 | =item ./ |
|
|
2129 | |
|
|
2130 | =item ../ |
|
|
2131 | |
|
|
2132 | =item ../../ |
|
|
2133 | |
|
|
2134 | access current or parent menu level |
|
|
2135 | |
|
|
2136 | =item /path/menu |
|
|
2137 | |
|
|
2138 | add/access menu |
|
|
2139 | |
|
|
2140 | =item /path/{-} |
|
|
2141 | |
|
|
2142 | add separator |
|
|
2143 | |
|
|
2144 | =item /path/{item}{rtext} action |
|
|
2145 | |
|
|
2146 | add/alter menu item |
|
|
2147 | |
|
|
2148 | =item -/* |
|
|
2149 | |
|
|
2150 | remove all menus from the menuBar |
|
|
2151 | |
|
|
2152 | =item -/path/menu |
|
|
2153 | |
|
|
2154 | remove menu items, separators and submenus from menu |
|
|
2155 | |
|
|
2156 | =item -/path/menu |
|
|
2157 | |
|
|
2158 | remove menu |
|
|
2159 | |
|
|
2160 | =item -/path/{item} |
|
|
2161 | |
|
|
2162 | remove item |
|
|
2163 | |
|
|
2164 | =item -/path/{-} |
|
|
2165 | |
|
|
2166 | remove separator |
|
|
2167 | |
|
|
2168 | =item <b>Begin<r>Right<l>Left<u>Up<d>Down<e>End |
|
|
2169 | |
|
|
2170 | menu quick arrows |
|
|
2171 | |
|
|
2172 | =back |
|
|
2173 | X<XPM> |
1805 | X<XPM> |
2174 | |
1806 | |
2175 | =head1 XPM |
1807 | =head1 XPM |
2176 | |
1808 | |
2177 | For the XPM XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> then value |
1809 | For the XPM XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> then value |
… | |
… | |
2276 | =begin table |
1908 | =begin table |
2277 | |
1909 | |
2278 | 4 Shift |
1910 | 4 Shift |
2279 | 8 Meta |
1911 | 8 Meta |
2280 | 16 Control |
1912 | 16 Control |
2281 | 32 Double Click I<(Rxvt extension)> |
1913 | 32 Double Click I<(rxvt extension)> |
2282 | |
1914 | |
2283 | =end table |
1915 | =end table |
2284 | |
1916 | |
2285 | Col = B<< C<< <x> - SPACE >> >> |
1917 | Col = B<< C<< <x> - SPACE >> >> |
2286 | |
1918 | |
… | |
… | |
2424 | alternative input methods (e.g. kinput2) and will also correctly |
2056 | alternative input methods (e.g. kinput2) and will also correctly |
2425 | set up the input for people using dead keys or compose keys. |
2057 | set up the input for people using dead keys or compose keys. |
2426 | |
2058 | |
2427 | =item --enable-unicode3 (default: off) |
2059 | =item --enable-unicode3 (default: off) |
2428 | |
2060 | |
|
|
2061 | Recommended to stay off unless you really need non-BMP characters. |
|
|
2062 | |
2429 | Enable direct support for displaying unicode codepoints above |
2063 | Enable direct support for displaying unicode codepoints above |
2430 | 65535 (the basic multilingual page). This increases storage |
2064 | 65535 (the basic multilingual page). This increases storage |
2431 | requirements per character from 2 to 4 bytes. X11 fonts do not yet |
2065 | requirements per character from 2 to 4 bytes. X11 fonts do not yet |
2432 | support these extra characters, but Xft does. |
2066 | support these extra characters, but Xft does. |
2433 | |
2067 | |
… | |
… | |
2443 | composite characters. This is required for proper viewing of text |
2077 | composite characters. This is required for proper viewing of text |
2444 | where accents are encoded as seperate unicode characters. This is |
2078 | where accents are encoded as seperate unicode characters. This is |
2445 | done by using precomposited characters when available or creating |
2079 | done by using precomposited characters when available or creating |
2446 | new pseudo-characters when no precomposed form exists. |
2080 | new pseudo-characters when no precomposed form exists. |
2447 | |
2081 | |
2448 | Without --enable-unicode3, the number of additional precomposed characters |
2082 | Without --enable-unicode3, the number of additional precomposed |
2449 | is rather limited (2048, if this is full, rxvt-unicode will use the |
2083 | characters is somewhat limited (the 6400 private use characters will be |
2450 | private use area, extending the number of combinations to 8448). With |
|
|
2451 | --enable-unicode3, no practical limit exists. |
2084 | (ab-)used). With --enable-unicode3, no practical limit exists. |
2452 | |
2085 | |
2453 | This option will also enable storage (but not display) of characters |
2086 | This option will also enable storage (but not display) of characters |
2454 | beyond plane 0 (>65535) when --enable-unicode3 was not specified. |
2087 | beyond plane 0 (>65535) when --enable-unicode3 was not specified. |
2455 | |
2088 | |
2456 | The combining table also contains entries for arabic presentation forms, |
2089 | The combining table also contains entries for arabic presentation forms, |
2457 | but these are not currently used. Bug me if you want these to be used (and |
2090 | but these are not currently used. Bug me if you want these to be used (and |
2458 | tell me how these are to be used...). |
2091 | tell me how these are to be used...). |
2459 | |
2092 | |
2460 | =item --enable-fallback(=CLASS) (default: Rxvt) |
2093 | =item --enable-fallback(=CLASS) (default: Rxvt) |
2461 | |
2094 | |
2462 | When reading resource settings, also read settings for class CLASS. To disable resource fallback use --disable-fallback. |
2095 | When reading resource settings, also read settings for class CLASS. To |
|
|
2096 | disable resource fallback use --disable-fallback. |
2463 | |
2097 | |
2464 | =item --with-res-name=NAME (default: urxvt) |
2098 | =item --with-res-name=NAME (default: urxvt) |
2465 | |
2099 | |
2466 | Use the given name as default application name when |
2100 | Use the given name as default application name when |
2467 | reading resources. Specify --with-res-name=rxvt to replace rxvt. |
2101 | reading resources. Specify --with-res-name=rxvt to replace rxvt. |
… | |
… | |
2504 | |
2138 | |
2505 | =item --enable-tinting (default: on) |
2139 | =item --enable-tinting (default: on) |
2506 | |
2140 | |
2507 | Add support for tinting of transparent backgrounds (requires C<--enable-transparency>). |
2141 | Add support for tinting of transparent backgrounds (requires C<--enable-transparency>). |
2508 | |
2142 | |
2509 | =item --enable-menubar (default: off) [DEPRECATED] |
|
|
2510 | |
|
|
2511 | Add support for our menu bar system (this interacts badly with dynamic |
|
|
2512 | locale switching currently). This option is DEPRECATED and will be removed |
|
|
2513 | in the future. |
|
|
2514 | |
|
|
2515 | =item --enable-rxvt-scroll (default: on) |
2143 | =item --enable-rxvt-scroll (default: on) |
2516 | |
2144 | |
2517 | Add support for the original rxvt scrollbar. |
2145 | Add support for the original rxvt scrollbar. |
2518 | |
2146 | |
2519 | =item --enable-next-scroll (default: on) |
2147 | =item --enable-next-scroll (default: on) |
… | |
… | |
2528 | |
2156 | |
2529 | Add support for a very unobtrusive, plain-looking scrollbar that |
2157 | Add support for a very unobtrusive, plain-looking scrollbar that |
2530 | is the favourite of the rxvt-unicode author, having used it for |
2158 | is the favourite of the rxvt-unicode author, having used it for |
2531 | many years. |
2159 | many years. |
2532 | |
2160 | |
2533 | =item --enable-half-shadow (default: off) |
|
|
2534 | |
|
|
2535 | Make shadows on the scrollbar only half the normal width & height. |
|
|
2536 | only applicable to rxvt scrollbars. |
|
|
2537 | |
|
|
2538 | =item --enable-ttygid (default: off) |
2161 | =item --enable-ttygid (default: off) |
2539 | |
2162 | |
2540 | Change tty device setting to group "tty" - only use this if |
2163 | Change tty device setting to group "tty" - only use this if |
2541 | your system uses this type of security. |
2164 | your system uses this type of security. |
2542 | |
2165 | |
… | |
… | |
2550 | do it. |
2173 | do it. |
2551 | |
2174 | |
2552 | =item --disable-resources |
2175 | =item --disable-resources |
2553 | |
2176 | |
2554 | Removes any support for resource checking. |
2177 | Removes any support for resource checking. |
2555 | |
|
|
2556 | =item --enable-strings (default: off) |
|
|
2557 | |
|
|
2558 | Add support for our possibly faster memset() function and other |
|
|
2559 | various routines, overriding your system's versions which may |
|
|
2560 | have been hand-crafted in assembly or may require extra libraries |
|
|
2561 | to link in. (this breaks ANSI-C rules and has problems on many |
|
|
2562 | GNU/Linux systems). |
|
|
2563 | |
2178 | |
2564 | =item --disable-swapscreen |
2179 | =item --disable-swapscreen |
2565 | |
2180 | |
2566 | Remove support for secondary/swap screen. |
2181 | Remove support for secondary/swap screen. |
2567 | |
2182 | |
… | |
… | |
2576 | |
2191 | |
2577 | MWM-hints |
2192 | MWM-hints |
2578 | EWMH-hints (pid, utf8 names) and protocols (ping) |
2193 | EWMH-hints (pid, utf8 names) and protocols (ping) |
2579 | seperate underline colour (-underlineColor) |
2194 | seperate underline colour (-underlineColor) |
2580 | settable border widths and borderless switch (-w, -b, -bl) |
2195 | settable border widths and borderless switch (-w, -b, -bl) |
|
|
2196 | visual depth selection (-depth) |
2581 | settable extra linespacing /-lsp) |
2197 | settable extra linespacing /-lsp) |
2582 | iso-14755-2 and -3, and visual feedback |
2198 | iso-14755-2 and -3, and visual feedback |
2583 | backindex and forwardindex escape sequence |
|
|
2584 | window op and some xterm/OSC escape sequences |
|
|
2585 | tripleclickwords (-tcw) |
2199 | tripleclickwords (-tcw) |
2586 | settable insecure mode (-insecure) |
2200 | settable insecure mode (-insecure) |
2587 | keysym remapping support |
2201 | keysym remapping support |
2588 | cursor blinking and underline cursor (-cb, -uc) |
2202 | cursor blinking and underline cursor (-cb, -uc) |
2589 | XEmbed support (-embed) |
2203 | XEmbed support (-embed) |
2590 | user-pty (-pty-fd) |
2204 | user-pty (-pty-fd) |
2591 | hold on exit (-hold) |
2205 | hold on exit (-hold) |
2592 | skip builtin block graphics (-sbg) |
2206 | skip builtin block graphics (-sbg) |
|
|
2207 | |
|
|
2208 | It also enabled some non-essential features otherwise disabled, such as: |
|
|
2209 | |
|
|
2210 | some round-trip time optimisations |
|
|
2211 | nearest color allocation on pseudocolor screens |
|
|
2212 | UTF8_STRING supporr for selection |
2593 | sgr modes 90..97 and 100..107 |
2213 | sgr modes 90..97 and 100..107 |
|
|
2214 | backindex and forwardindex escape sequences |
|
|
2215 | view change/zero scorllback esacpe sequences |
|
|
2216 | locale switching escape sequence |
|
|
2217 | window op and some xterm/OSC escape sequences |
|
|
2218 | rectangular selections |
|
|
2219 | trailing space removal for selections |
|
|
2220 | verbose X error handling |
2594 | |
2221 | |
2595 | =item --enable-iso14755 (default: on) |
2222 | =item --enable-iso14755 (default: on) |
2596 | |
2223 | |
2597 | Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or |
2224 | Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or |
2598 | F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by |
2225 | F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by |
… | |
… | |
2641 | |
2268 | |
2642 | =item --enable-pointer-blank (default: on) |
2269 | =item --enable-pointer-blank (default: on) |
2643 | |
2270 | |
2644 | Add support to have the pointer disappear when typing or inactive. |
2271 | Add support to have the pointer disappear when typing or inactive. |
2645 | |
2272 | |
2646 | =item --enable-perl (default: off) |
2273 | =item --enable-perl (default: on) |
2647 | |
2274 | |
2648 | Enable an embedded perl interpreter. See the B<@@RXVT_NAME@@perl(3)> |
2275 | Enable an embedded perl interpreter. See the B<@@RXVT_NAME@@perl(3)> |
2649 | manpage (F<doc/rxvtperl.txt>) for more info on this feature, or the files |
2276 | manpage (F<doc/rxvtperl.txt>) for more info on this feature, or the files |
2650 | in F<src/perl-ext/> for the extensions that are installed by default. The |
2277 | in F<src/perl-ext/> for the extensions that are installed by default. The |
2651 | perl interpreter that is used can be specified via the C<PERL> environment |
2278 | perl interpreter that is used can be specified via the C<PERL> environment |