ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.7.pod
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.7.pod (file contents):
Revision 1.86 by root, Mon Jan 16 17:24:29 2006 UTC vs.
Revision 1.100 by root, Tue Jan 31 01:00:49 2006 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines