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

Comparing rxvt-unicode/doc/rxvt.7.html (file contents):
Revision 1.20 by root, Thu Jun 30 14:00:49 2005 UTC vs.
Revision 1.54 by root, Tue Jan 31 00:25:16 2006 UTC

22 <li><a href="#values">Values</a></li> 22 <li><a href="#values">Values</a></li>
23 <li><a href="#escape_sequences">Escape Sequences</a></li> 23 <li><a href="#escape_sequences">Escape Sequences</a></li>
24 <li><a href="#csi__command_sequence_introducer__sequences">CSI (Command Sequence Introducer) Sequences</a></li> 24 <li><a href="#csi__command_sequence_introducer__sequences">CSI (Command Sequence Introducer) Sequences</a></li>
25 <li><a href="#dec_private_modes">DEC Private Modes</a></li> 25 <li><a href="#dec_private_modes">DEC Private Modes</a></li>
26 <li><a href="#xterm_operating_system_commands">XTerm Operating System Commands</a></li> 26 <li><a href="#xterm_operating_system_commands">XTerm Operating System Commands</a></li>
27 <li><a href="#menubar">menuBar</a></li>
28 <ul>
29
30 <li><a href="#overview_of_menubar_operation">Overview of menuBar operation</a></li>
31 <li><a href="#commands">Commands</a></li>
32 <li><a href="#adding_and_accessing_menus">Adding and accessing menus</a></li>
33 <li><a href="#removing_menus">Removing menus</a></li>
34 <li><a href="#quick_arrows">Quick Arrows</a></li>
35 <li><a href="#command_summary">Command Summary</a></li>
36 </ul>
37
38 <li><a href="#xpm">XPM</a></li> 27 <li><a href="#xpm">XPM</a></li>
39 <li><a href="#mouse_reporting">Mouse Reporting</a></li> 28 <li><a href="#mouse_reporting">Mouse Reporting</a></li>
40 <li><a href="#key_codes">Key Codes</a></li> 29 <li><a href="#key_codes">Key Codes</a></li>
41 <li><a href="#configure_options">CONFIGURE OPTIONS</a></li> 30 <li><a href="#configure_options">CONFIGURE OPTIONS</a></li>
42 <li><a href="#authors">AUTHORS</a></li> 31 <li><a href="#authors">AUTHORS</a></li>
65</p> 54</p>
66<hr /> 55<hr />
67<h1><a name="description">DESCRIPTION</a></h1> 56<h1><a name="description">DESCRIPTION</a></h1>
68<p>This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting 57<p>This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting
69all escape sequences, and other background information.</p> 58all escape sequences, and other background information.</p>
70<p>The newest version of this document is 59<p>The newest version of this document is also available on the World Wide Web at
71also available on the World Wide Web at
72<a href="http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html">http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html</a>.</p> 60<a href="http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html">http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html</a>.</p>
73<p> 61<p>
74</p> 62</p>
75<hr /> 63<hr />
76<h1><a name="frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></h1> 64<h1><a name="frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></h1>
77<dl> 65<dl>
66<dt><strong><a name="item_the_new_selection_selects_pieces_that_are_too_big_">The new selection selects pieces that are too big, how can I select
67single words?</a></strong><br />
68</dt>
69<dd>
70Yes. For example, if you want to select alphanumeric words, you can use
71the following resource:
72</dd>
73<dd>
74<pre>
75 URxvt.selection.pattern-0: ([[:word:]]+)</pre>
76</dd>
77<dd>
78<p>If you click more than twice, the selection will be extended
79more and more.</p>
80</dd>
81<dd>
82<p>To get a selection that is very similar to the old code, try this pattern:</p>
83</dd>
84<dd>
85<pre>
86 URxvt.selection.pattern-0: ([^&quot;&amp;'()*,;&lt;=&gt;?@[\\\\]^`{|})]+)</pre>
87</dd>
88<dd>
89<p>Please also note that the <em>LeftClick Shift-LeftClik</em> combination also
90selects words like the old code.</p>
91</dd>
92<p></p>
93<dt><strong><a name="item_i_don_27t_like_the_new_selection_2fpopups_2fhotkey">I don't like the new selection/popups/hotkeys/perl, how do I
94change/disable it?</a></strong><br />
95</dt>
96<dd>
97You can disable the perl extension completely by setting the
98<strong>perl-ext-common</strong> resource to the empty string, which also keeps
99rxvt-unicode from initialising perl, saving memory.
100</dd>
101<dd>
102<p>If you only want to disable specific features, you first have to
103identify which perl extension is responsible. For this, read the section
104<strong>PREPACKAGED EXTENSIONS</strong> in the <code>rxvtperl(3)</code> manpage. For
105example, to disable the <strong>selection-popup</strong> and <strong>option-popup</strong>, specify
106this <strong>perl-ext-common</strong> resource:</p>
107</dd>
108<dd>
109<pre>
110 URxvt.perl-ext-common: default,-selection-popup,-option-popup</pre>
111</dd>
112<dd>
113<p>This will keep the default extensions, but disable the two popup
114extensions. Some extensions can also be configured, for example,
115scrollback search mode is triggered by <strong>M-s</strong>. You can move it to any
116other combination either by setting the <strong>searchable-scrollback</strong> resource:</p>
117</dd>
118<dd>
119<pre>
120 URxvt.searchable-scrollback: CM-s</pre>
121</dd>
122<p></p>
123<dt><strong><a name="item_why_doesn_27t_rxvt_2dunicode_read_my_resources_3f">Why doesn't rxvt-unicode read my resources?</a></strong><br />
124</dt>
125<dd>
126Well, why, indeed? It does, in a way very similar to other X
127applications. Most importantly, this means that if you or your OS loads
128resources into the X display (the right way to do it), rxvt-unicode will
129ignore any resource files in your home directory. It will only read
130<em>$HOME/.Xdefaults</em> when no resources are attached to the display.
131</dd>
132<dd>
133<p>If you have or use an <em>$HOME/.Xresources</em> file, chances are that
134resources are loaded into your X-server. In this case, you have to
135re-login after every change (or run <em>xrdb -merge $HOME/.Xresources</em>).</p>
136</dd>
137<dd>
138<p>Also consider the form resources have to use:</p>
139</dd>
140<dd>
141<pre>
142 URxvt.resource: value</pre>
143</dd>
144<dd>
145<p>If you want to use another form (there are lots of different ways of
146specifying resources), make sure you understand wether and why it
147works. If unsure, use the form above.</p>
148</dd>
149<p></p>
150<dt><strong><a name="item_i_can_27t_get_transparency_working_2c_what_am_i_do">I can't get transparency working, what am I doing wrong?</a></strong><br />
151</dt>
152<dd>
153First of all, transparency isn't officially supported in rxvt-unicode, so
154you are mostly on your own. Do not bug the author about it (but you may
155bug everybody else). Also, if you can't get it working consider it a rite
156of passage: ... and you failed.
157</dd>
158<dd>
159<p>Here are four ways to get transparency. <strong>Do</strong> read the manpage and option
160descriptions for the programs mentioned and rxvt-unicode. Really, do it!</p>
161</dd>
162<dd>
163<p>1. Use inheritPixmap:</p>
164</dd>
165<dd>
166<pre>
167 Esetroot wallpaper.jpg
168 rxvt -ip -tint red -sh 40</pre>
169</dd>
170<dd>
171<p>That works. If you think it doesn't, you lack transparency and tinting
172support, or you are unable to read.</p>
173</dd>
174<dd>
175<p>2. Use a simple pixmap and emulate pseudo-transparency. This enables you
176to use effects other than tinting and shading: Just shade/tint/whatever
177your picture with gimp:</p>
178</dd>
179<dd>
180<pre>
181 convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm
182 rxvt -pixmap background.xpm -pe automove-background</pre>
183</dd>
184<dd>
185<p>That works. If you think it doesn't, you lack XPM and Perl support, or you
186are unable to read.</p>
187</dd>
188<dd>
189<p>3. Use an ARGB visual:</p>
190</dd>
191<dd>
192<pre>
193 rxvt -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc</pre>
194</dd>
195<dd>
196<p>This requires XFT support, and the support of your X-server. If that
197doesn't work for you, blame Xorg and Keith Packard. ARGB visuals aren't
198there yet, no matter what they claim. Rxvt-Unicode contains the neccessary
199bugfixes and workarounds for Xft and Xlib to make it work, but that
200doesn't mean that your WM has the required kludges in place.</p>
201</dd>
202<dd>
203<p>4. Use xcompmgr and let it do the job:</p>
204</dd>
205<dd>
206<pre>
207 xprop -frame -f _NET_WM_WINDOW_OPACITY 32c \
208 -set _NET_WM_WINDOW_OPACITY 0xc0000000</pre>
209</dd>
210<dd>
211<p>Then click on a window you want to make transparent. Replace <code>0xc0000000</code>
212by other values to change the degree of opacity. If it doesn't work and
213your server crashes, you got to keep the pieces.</p>
214</dd>
215<p></p>
216<dt><strong><a name="item_isn_27t_rxvt_supposed_to_be_small_3f_don_27t_all_t">Isn't rxvt supposed to be small? Don't all those features bloat?</a></strong><br />
217</dt>
218<dd>
219I often get asked about this, and I think, no, they didn't cause extra
220bloat. If you compare a minimal rxvt and a minimal urxvt, you can see
221that the urxvt binary is larger (due to some encoding tables always being
222compiled in), but it actually uses less memory (RSS) after startup. Even
223with <code>--disable-everything</code>, this comparison is a bit unfair, as many
224features unique to urxvt (locale, encoding conversion, iso14755 etc.) are
225already in use in this mode.
226</dd>
227<dd>
228<pre>
229 text data bss drs rss filename
230 98398 1664 24 15695 1824 rxvt --disable-everything
231 188985 9048 66616 18222 1788 urxvt --disable-everything</pre>
232</dd>
233<dd>
234<p>When you <a href="#item__2d_2denable_2deverything"><code>--enable-everything</code></a> (which _is_ unfair, as this involves xft
235and full locale/XIM support which are quite bloaty inside libX11 and my
236libc), the two diverge, but not unreasnobaly so.</p>
237</dd>
238<dd>
239<pre>
240 text data bss drs rss filename
241 163431 2152 24 20123 2060 rxvt --enable-everything
242 1035683 49680 66648 29096 3680 urxvt --enable-everything</pre>
243</dd>
244<dd>
245<p>The very large size of the text section is explained by the east-asian
246encoding tables, which, if unused, take up disk space but nothing else
247and can be compiled out unless you rely on X11 core fonts that use those
248encodings. The BSS size comes from the 64k emergency buffer that my c++
249compiler allocates (but of course doesn't use unless you are out of
250memory). Also, using an xft font instead of a core font immediately adds a
251few megabytes of RSS. Xft indeed is responsible for a lot of RSS even when
252not used.</p>
253</dd>
254<dd>
255<p>Of course, due to every character using two or four bytes instead of one,
256a large scrollback buffer will ultimately make rxvt-unicode use more
257memory.</p>
258</dd>
259<dd>
260<p>Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), this
261still fares rather well. And compared to some monsters like gnome-terminal
262(21152k + extra 4204k in separate processes) or konsole (22200k + extra
26343180k in daemons that stay around after exit, plus half a minute of
264startup time, including the hundreds of warnings it spits out), it fares
265extremely well *g*.</p>
266</dd>
267<p></p>
268<dt><strong><a name="item_why_c_2b_2b_2c_isn_27t_that_unportable_2fbloated_2">Why C++, isn't that unportable/bloated/uncool?</a></strong><br />
269</dt>
270<dd>
271Is this a question? :) It comes up very often. The simple answer is: I had
272to write it, and C++ allowed me to write and maintain it in a fraction
273of the time and effort (which is a scarce resource for me). Put even
274shorter: It simply wouldn't exist without C++.
275</dd>
276<dd>
277<p>My personal stance on this is that C++ is less portable than C, but in
278the case of rxvt-unicode this hardly matters, as its portability limits
279are defined by things like X11, pseudo terminals, locale support and unix
280domain sockets, which are all less portable than C++ itself.</p>
281</dd>
282<dd>
283<p>Regarding the bloat, see the above question: It's easy to write programs
284in C that use gobs of memory, an certainly possible to write programs in
285C++ that don't. C++ also often comes with large libraries, but this is
286not necessarily the case with GCC. Here is what rxvt links against on my
287system with a minimal config:</p>
288</dd>
289<dd>
290<pre>
291 libX11.so.6 =&gt; /usr/X11R6/lib/libX11.so.6 (0x00002aaaaabc3000)
292 libc.so.6 =&gt; /lib/libc.so.6 (0x00002aaaaadde000)
293 libdl.so.2 =&gt; /lib/libdl.so.2 (0x00002aaaab01d000)
294 /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)</pre>
295</dd>
296<dd>
297<p>And here is rxvt-unicode:</p>
298</dd>
299<dd>
300<pre>
301 libX11.so.6 =&gt; /usr/X11R6/lib/libX11.so.6 (0x00002aaaaabc3000)
302 libgcc_s.so.1 =&gt; /lib/libgcc_s.so.1 (0x00002aaaaada2000)
303 libc.so.6 =&gt; /lib/libc.so.6 (0x00002aaaaaeb0000)
304 libdl.so.2 =&gt; /lib/libdl.so.2 (0x00002aaaab0ee000)
305 /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)</pre>
306</dd>
307<dd>
308<p>No large bloated libraries (of course, none were linked in statically),
309except maybe libX11 :)</p>
310</dd>
311<p></p>
312<dt><strong><a name="item_does_it_support_tabs_2c_can_i_have_a_tabbed_rxvt_2">Does it support tabs, can I have a tabbed rxvt-unicode?</a></strong><br />
313</dt>
314<dd>
315Beginning with version 7.3, there is a perl extension that implements a
316simple tabbed terminal. It is installed by default, so any of these should
317give you tabs:
318</dd>
319<dd>
320<pre>
321 rxvt -pe tabbed</pre>
322</dd>
323<dd>
324<pre>
325 URxvt.perl-ext-common: default,tabbed</pre>
326</dd>
327<dd>
328<p>It will also work fine with tabbing functionality of many window managers
329or similar tabbing programs, and its embedding-features allow it to be
330embedded into other programs, as witnessed by <em>doc/rxvt-tabbed</em> or
331the upcoming <code>Gtk2::URxvt</code> perl module, which features a tabbed urxvt
332(murxvt) terminal as an example embedding application.</p>
333</dd>
334<p></p>
78<dt><strong><a name="item_how_do_i_know_which_rxvt_2dunicode_version_i_27m_u">How do I know which rxvt-unicode version I'm using?</a></strong><br /> 335<dt><strong><a name="item_how_do_i_know_which_rxvt_2dunicode_version_i_27m_u">How do I know which rxvt-unicode version I'm using?</a></strong><br />
79</dt> 336</dt>
80<dd> 337<dd>
81The version number is displayed with the usage (-h). Also the escape 338The version number is displayed with the usage (-h). Also the escape
82sequence <code>ESC [ 8 n</code> sets the window title to the version number. 339sequence <code>ESC [ 8 n</code> sets the window title to the version number. When
340using the rxvtc client, the version displayed is that of the
341daemon.
83</dd> 342</dd>
84<p></p> 343<p></p>
85<dt><strong><a name="item_i_am_using_debian_gnu_2flinux_and_have_a_problem_2">I am using Debian GNU/Linux and have a problem...</a></strong><br /> 344<dt><strong><a name="item_i_am_using_debian_gnu_2flinux_and_have_a_problem_2">I am using Debian GNU/Linux and have a problem...</a></strong><br />
86</dt> 345</dt>
87<dd> 346<dd>
88The Debian GNU/Linux package of rxvt-unicode contains large patches that 347The Debian GNU/Linux package of rxvt-unicode in sarge contains large
89considerably change the behaviour of rxvt-unicode. Before reporting a 348patches that considerably change the behaviour of rxvt-unicode (but
349unfortunately this notice has been removed). Before reporting a bug to
90bug to the original rxvt-unicode author please download and install the 350the original rxvt-unicode author please download and install the genuine
91genuine version (<a href="http://software.schmorp.de#rxvt-unicode">http://software.schmorp.de#rxvt-unicode</a>) and try to 351version (<a href="http://software.schmorp.de#rxvt-unicode">http://software.schmorp.de#rxvt-unicode</a>) and try to reproduce
92reproduce the problem. If you cannot, chances are that the problems are 352the problem. If you cannot, chances are that the problems are specific to
93specific to Debian GNU/Linux, in which case it should be reported via the 353Debian GNU/Linux, in which case it should be reported via the Debian Bug
94Debian Bug Tracking System (use <code>reportbug</code> to report the bug). 354Tracking System (use <code>reportbug</code> to report the bug).
95</dd> 355</dd>
96<dd> 356<dd>
97<p>For other problems that also affect the Debian package, you can and 357<p>For other problems that also affect the Debian package, you can and
98probably should use the Debian BTS, too, because, after all, it's also a 358probably should use the Debian BTS, too, because, after all, it's also a
99bug in the Debian version and it serves as a reminder for other users that 359bug in the Debian version and it serves as a reminder for other users that
100might encounter the same issue.</p> 360might encounter the same issue.</p>
361</dd>
362<p></p>
363<dt><strong><a name="item_i_am_maintaining_rxvt_2dunicode_for_distribution_2">I am maintaining rxvt-unicode for distribution/OS XXX, any
364recommendation?</a></strong><br />
365</dt>
366<dd>
367You should build one binary with the default options. <em>configure</em>
368now enables most useful options, and the trend goes to making them
369runtime-switchable, too, so there is usually no drawback to enbaling them,
370except higher disk and possibly memory usage. The perl interpreter should
371be enabled, as important functionality (menus, selection, likely more in
372the future) depends on it.
373</dd>
374<dd>
375<p>You should not overwrite the <code>perl-ext-common</code> snd <code>perl-ext</code> resources
376system-wide (except maybe with <code>defaults</code>). This will result in useful
377behaviour. If your distribution aims at low memory, add an empty
378<code>perl-ext-common</code> resource to the app-defaults file. This will keep the
379perl interpreter disabled until the user enables it.</p>
380</dd>
381<dd>
382<p>If you can/want build more binaries, I recommend building a minimal
383one with <code>--disable-everything</code> (very useful) and a maximal one with
384<a href="#item__2d_2denable_2deverything"><code>--enable-everything</code></a> (less useful, it will be very big due to a lot of
385encodings built-in that increase download times and are rarely used).</p>
386</dd>
387<p></p>
388<dt><strong><a name="item_i_need_to_make_it_setuid_2fsetgid_to_support_utmp_">I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe?</a></strong><br />
389</dt>
390<dd>
391It should be, starting with release 7.1. You are encouraged to properly
392install urxvt with privileges necessary for your OS now.
393</dd>
394<dd>
395<p>When rxvt-unicode detects that it runs setuid or setgid, it will fork
396into a helper process for privileged operations (pty handling on some
397systems, utmp/wtmp/lastlog handling on others) and drop privileges
398immediately. This is much safer than most other terminals that keep
399privileges while running (but is more relevant to urxvt, as it contains
400things as perl interpreters, which might be ``helpful'' to attackers).</p>
401</dd>
402<dd>
403<p>This forking is done as the very first within main(), which is very early
404and reduces possible bugs to initialisation code run before main(), or
405things like the dynamic loader of your system, which should result in very
406little risk.</p>
101</dd> 407</dd>
102<p></p> 408<p></p>
103<dt><strong><a name="item_when_i_log_2din_to_another_system_it_tells_me_abou">When I log-in to another system it tells me about missing terminfo data?</a></strong><br /> 409<dt><strong><a name="item_when_i_log_2din_to_another_system_it_tells_me_abou">When I log-in to another system it tells me about missing terminfo data?</a></strong><br />
104</dt> 410</dt>
105<dd> 411<dd>
135 URxvt.termName: rxvt</pre> 441 URxvt.termName: rxvt</pre>
136</dd> 442</dd>
137<dd> 443<dd>
138<p>If you don't plan to use <strong>rxvt</strong> (quite common...) you could also replace 444<p>If you don't plan to use <strong>rxvt</strong> (quite common...) you could also replace
139the rxvt terminfo file with the rxvt-unicode one.</p> 445the rxvt terminfo file with the rxvt-unicode one.</p>
446</dd>
447<p></p>
448<dt><strong><a name="item_tic_outputs_some_error_when_compiling_the_terminfo"><code>tic</code> outputs some error when compiling the terminfo entry.</a></strong><br />
449</dt>
450<dd>
451Most likely it's the empty definition for <code>enacs=</code>. Just replace it by
452<code>enacs=\E[0@</code> and try again.
140</dd> 453</dd>
141<p></p> 454<p></p>
142<dt><strong><a name="item_bash_27s_readline_does_not_work_correctly_under_rx"><code>bash</code>'s readline does not work correctly under rxvt.</a></strong><br /> 455<dt><strong><a name="item_bash_27s_readline_does_not_work_correctly_under_rx"><code>bash</code>'s readline does not work correctly under rxvt.</a></strong><br />
143</dt> 456</dt>
144<dt><strong><a name="item_i_need_a_termcap_file_entry_2e">I need a termcap file entry.</a></strong><br /> 457<dt><strong><a name="item_i_need_a_termcap_file_entry_2e">I need a termcap file entry.</a></strong><br />
482<dd> 795<dd>
483Try the diff in <em>doc/solaris9.patch</em> as a base. It fixes the worst 796Try the diff in <em>doc/solaris9.patch</em> as a base. It fixes the worst
484problems with <code>wcwidth</code> and a compile problem. 797problems with <code>wcwidth</code> and a compile problem.
485</dd> 798</dd>
486<p></p> 799<p></p>
800<dt><strong><a name="item_how_can_i_use_rxvt_2dunicode_under_cygwin_3f">How can I use rxvt-unicode under cygwin?</a></strong><br />
801</dt>
802<dd>
803rxvt-unicode should compile and run out of the box on cygwin, using
804the X11 libraries that come with cygwin. libW11 emulation is no
805longer supported (and makes no sense, either, as it only supported a
806single font). I recommend starting the X-server in <code>-multiwindow</code> or
807<code>-rootless</code> mode instead, which will result in similar look&amp;feel as the
808old libW11 emulation.
809</dd>
810<dd>
811<p>At the time of this writing, cygwin didn't seem to support any multi-byte
812encodings (you might try <code>LC_CTYPE=C-UTF-8</code>), so you are likely limited
813to 8-bit encodings.</p>
814</dd>
815<p></p>
487<dt><strong><a name="item_how_does_rxvt_2dunicode_determine_the_encoding_to_">How does rxvt-unicode determine the encoding to use?</a></strong><br /> 816<dt><strong><a name="item_how_does_rxvt_2dunicode_determine_the_encoding_to_">How does rxvt-unicode determine the encoding to use?</a></strong><br />
488</dt> 817</dt>
489<dt><strong><a name="item_is_there_an_option_to_switch_encodings_3f">Is there an option to switch encodings?</a></strong><br /> 818<dt><strong><a name="item_is_there_an_option_to_switch_encodings_3f">Is there an option to switch encodings?</a></strong><br />
490</dt> 819</dt>
491<dd> 820<dd>
599You can specify separate locales for the input method and the rest of the 928You can specify separate locales for the input method and the rest of the
600terminal, using the resource <code>imlocale</code>: 929terminal, using the resource <code>imlocale</code>:
601</dd> 930</dd>
602<dd> 931<dd>
603<pre> 932<pre>
604 URxvt*imlocale: ja_JP.EUC-JP</pre> 933 URxvt.imlocale: ja_JP.EUC-JP</pre>
605</dd> 934</dd>
606<dd> 935<dd>
607<p>Now you can start your terminal with <code>LC_CTYPE=ja_JP.UTF-8</code> and still 936<p>Now you can start your terminal with <code>LC_CTYPE=ja_JP.UTF-8</code> and still
608use your input method. Please note, however, that you will not be able to 937use your input method. Please note, however, that you will not be able to
609input characters outside <code>EUC-JP</code> in a normal way then, as your input 938input characters outside <code>EUC-JP</code> in a normal way then, as your input
633when used. Compiling it out ensures that no Xft font will be loaded 962when used. Compiling it out ensures that no Xft font will be loaded
634accidentally when rxvt-unicode tries to find a font for your characters. 963accidentally when rxvt-unicode tries to find a font for your characters.
635</dd> 964</dd>
636<dd> 965<dd>
637<p>Also, many people (me included) like large windows and even larger 966<p>Also, many people (me included) like large windows and even larger
638scrollback buffers: Without <a href="#item__2d_2denable_2dunicode3"><code>--enable-unicode3</code></a>, rxvt-unicode will use 967scrollback buffers: Without <code>--enable-unicode3</code>, rxvt-unicode will use
6396 bytes per screen cell. For a 160x?? window this amounts to almost a 9686 bytes per screen cell. For a 160x?? window this amounts to almost a
640kilobyte per line. A scrollback buffer of 10000 lines will then (if full) 969kilobyte per line. A scrollback buffer of 10000 lines will then (if full)
641use 10 Megabytes of memory. With <a href="#item__2d_2denable_2dunicode3"><code>--enable-unicode3</code></a> it gets worse, as 970use 10 Megabytes of memory. With <code>--enable-unicode3</code> it gets worse, as
642rxvt-unicode then uses 8 bytes per screen cell.</p> 971rxvt-unicode then uses 8 bytes per screen cell.</p>
643</dd> 972</dd>
644<p></p> 973<p></p>
645<dt><strong><a name="item_can_i_speed_up_xft_rendering_somehow_3f">Can I speed up Xft rendering somehow?</a></strong><br /> 974<dt><strong><a name="item_can_i_speed_up_xft_rendering_somehow_3f">Can I speed up Xft rendering somehow?</a></strong><br />
646</dt> 975</dt>
647<dd> 976<dd>
648Yes, the most obvious way to speed it up is to avoid Xft entirely, as 977Yes, the most obvious way to speed it up is to avoid Xft entirely, as
649it is simply slow. If you still want Xft fonts you might try to disable 978it is simply slow. If you still want Xft fonts you might try to disable
650antialiasing (by appending <code>:antialiasing=false</code>), which saves lots of 979antialiasing (by appending <code>:antialias=false</code>), which saves lots of
651memory and also speeds up rendering considerably. 980memory and also speeds up rendering considerably.
652</dd> 981</dd>
653<p></p> 982<p></p>
654<dt><strong><a name="item_rxvt_2dunicode_doesn_27t_seem_to_anti_2dalias_its_">Rxvt-unicode doesn't seem to anti-alias its fonts, what is wrong?</a></strong><br /> 983<dt><strong><a name="item_rxvt_2dunicode_doesn_27t_seem_to_anti_2dalias_its_">Rxvt-unicode doesn't seem to anti-alias its fonts, what is wrong?</a></strong><br />
655</dt> 984</dt>
669<dd> 998<dd>
670Make sure that mouse reporting is actually turned off since killing 999Make sure that mouse reporting is actually turned off since killing
671some editors prematurely may leave the mouse in mouse report mode. I've 1000some editors prematurely may leave the mouse in mouse report mode. I've
672heard that tcsh may use mouse reporting unless it otherwise specified. A 1001heard that tcsh may use mouse reporting unless it otherwise specified. A
673quick check is to see if cut/paste works when the Alt or Shift keys are 1002quick check is to see if cut/paste works when the Alt or Shift keys are
674depressed. See <code>rxvt(7)</code> 1003depressed.
675</dd> 1004</dd>
676<p></p> 1005<p></p>
677<dt><strong><a name="item_what_27s_with_this_bold_2fblink_stuff_3f">What's with this bold/blink stuff?</a></strong><br /> 1006<dt><strong><a name="item_what_27s_with_this_bold_2fblink_stuff_3f">What's with this bold/blink stuff?</a></strong><br />
678</dt> 1007</dt>
679<dd> 1008<dd>
756</dd> 1085</dd>
757<p></p> 1086<p></p>
758<dt><strong><a name="item_how_can_i_start_rxvtd_in_a_race_2dfree_way_3f">How can I start rxvtd in a race-free way?</a></strong><br /> 1087<dt><strong><a name="item_how_can_i_start_rxvtd_in_a_race_2dfree_way_3f">How can I start rxvtd in a race-free way?</a></strong><br />
759</dt> 1088</dt>
760<dd> 1089<dd>
761Despite it's name, rxvtd is not a real daemon, but more like a 1090Try <code>rxvtd -f -o</code>, which tells rxvtd to open the
762server that answers rxvtc's requests, so it doesn't background 1091display, create the listening socket and then fork.
763itself.
764</dd>
765<dd>
766<p>To ensure rxvtd is listening on it's socket, you can use the
767following method to wait for the startup message before continuing:</p>
768</dd>
769<dd>
770<pre>
771 { rxvtd &amp; } | read</pre>
772</dd> 1092</dd>
773<p></p> 1093<p></p>
774<dt><strong><a name="item_what_27s_with_the_strange_backspace_2fdelete_key_b">What's with the strange Backspace/Delete key behaviour?</a></strong><br /> 1094<dt><strong><a name="item_what_27s_with_the_strange_backspace_2fdelete_key_b">What's with the strange Backspace/Delete key behaviour?</a></strong><br />
775</dt> 1095</dt>
776<dd> 1096<dd>
805 # use Backspace = ^? 1125 # use Backspace = ^?
806 $ stty erase ^? 1126 $ stty erase ^?
807 $ rxvt</pre> 1127 $ rxvt</pre>
808</dd> 1128</dd>
809<dd> 1129<dd>
810<p>Toggle with <code>ESC [ 36 h</code> / <code>ESC [ 36 l</code> as documented in rxvt(7).</p> 1130<p>Toggle with <code>ESC [ 36 h</code> / <code>ESC [ 36 l</code>.</p>
811</dd> 1131</dd>
812<dd> 1132<dd>
813<p>For an existing rxvt-unicode:</p> 1133<p>For an existing rxvt-unicode:</p>
814</dd> 1134</dd>
815<dd> 1135<dd>
966</p> 1286</p>
967<hr /> 1287<hr />
968<h1><a name="description">DESCRIPTION</a></h1> 1288<h1><a name="description">DESCRIPTION</a></h1>
969<p>The rest of this document describes various technical aspects of 1289<p>The rest of this document describes various technical aspects of
970<strong>rxvt-unicode</strong>. First the description of supported command sequences, 1290<strong>rxvt-unicode</strong>. First the description of supported command sequences,
971followed by menu and pixmap support and last by a description of all 1291followed by pixmap support and last by a description of all features
972features selectable at <code>configure</code> time.</p> 1292selectable at <code>configure</code> time.</p>
973<p> 1293<p>
974</p> 1294</p>
975<hr /> 1295<hr />
976<h1><a name="definitions">Definitions</a></h1> 1296<h1><a name="definitions">Definitions</a></h1>
977<dl> 1297<dl>
1610</table><dt><strong><a name="item_ps__3d_9_x10_xterm"><strong><code>Ps = 9</code> </strong>&gt; X10 XTerm</a></strong><br /> 1930</table><dt><strong><a name="item_ps__3d_9_x10_xterm"><strong><code>Ps = 9</code> </strong>&gt; X10 XTerm</a></strong><br />
1611</dt> 1931</dt>
1612<table> 1932<table>
1613<tr><td>h</td><td>Send Mouse X & Y on button press.</td></tr> 1933<tr><td>h</td><td>Send Mouse X & Y on button press.</td></tr>
1614<tr><td>l</td><td>No mouse reporting.</td></tr> 1934<tr><td>l</td><td>No mouse reporting.</td></tr>
1615</table><dt><strong><a name="item_10"><strong><code>Ps = 10</code> </strong>&gt; (<strong>rxvt</strong>)</a></strong><br />
1616</dt>
1617<table>
1618<tr><td>h</td><td>menuBar visible</td></tr>
1619<tr><td>l</td><td>menuBar invisible</td></tr>
1620</table><dt><strong><a name="item_ps__3d_25"><strong><code>Ps = 25</code> </strong>&gt;</a></strong><br /> 1935</table><dt><strong><a name="item_ps__3d_25"><strong><code>Ps = 25</code> </strong>&gt;</a></strong><br />
1621</dt> 1936</dt>
1622<table> 1937<table>
1623<tr><td>h</td><td>Visible cursor {cnorm/cvvis}</td></tr> 1938<tr><td>h</td><td>Visible cursor {cnorm/cvvis}</td></tr>
1624<tr><td>l</td><td>Invisible cursor {civis}</td></tr> 1939<tr><td>l</td><td>Invisible cursor {civis}</td></tr>
1689</table><dt><strong><a name="item_1011"><strong><code>Ps = 1011</code> </strong>&gt; (<strong>rxvt</strong>)</a></strong><br /> 2004</table><dt><strong><a name="item_1011"><strong><code>Ps = 1011</code> </strong>&gt; (<strong>rxvt</strong>)</a></strong><br />
1690</dt> 2005</dt>
1691<table> 2006<table>
1692<tr><td>h</td><td>Scroll to bottom when a key is pressed</td></tr> 2007<tr><td>h</td><td>Scroll to bottom when a key is pressed</td></tr>
1693<tr><td>l</td><td>Don't scroll to bottom when a key is pressed</td></tr> 2008<tr><td>l</td><td>Don't scroll to bottom when a key is pressed</td></tr>
2009</table><dt><strong><a name="item_1021"><strong><code>Ps = 1021</code> </strong>&gt; (<strong>rxvt</strong>)</a></strong><br />
2010</dt>
2011<table>
2012<tr><td>h</td><td>Bold/italic implies high intensity (see option -is)</td></tr>
2013<tr><td>l</td><td>Font styles have no effect on intensity (Compile styles)</td></tr>
1694</table><dt><strong><a name="item_ps__3d_1047"><strong><code>Ps = 1047</code> </strong>&gt;</a></strong><br /> 2014</table><dt><strong><a name="item_ps__3d_1047"><strong><code>Ps = 1047</code> </strong>&gt;</a></strong><br />
1695</dt> 2015</dt>
1696<table> 2016<table>
1697<tr><td>h</td><td>Use Alternate Screen Buffer</td></tr> 2017<tr><td>h</td><td>Use Alternate Screen Buffer</td></tr>
1698<tr><td>l</td><td>Use Normal Screen Buffer - clear Alternate Screen Buffer if returning from it</td></tr> 2018<tr><td>l</td><td>Use Normal Screen Buffer - clear Alternate Screen Buffer if returning from it</td></tr>
1730<tr><td>Ps = 10</td><td>Change colour of text foreground to Pt (NB: may change in future)</td></tr> 2050<tr><td>Ps = 10</td><td>Change colour of text foreground to Pt (NB: may change in future)</td></tr>
1731<tr><td>Ps = 11</td><td>Change colour of text background to Pt (NB: may change in future)</td></tr> 2051<tr><td>Ps = 11</td><td>Change colour of text background to Pt (NB: may change in future)</td></tr>
1732<tr><td>Ps = 12</td><td>Change colour of text cursor foreground to Pt</td></tr> 2052<tr><td>Ps = 12</td><td>Change colour of text cursor foreground to Pt</td></tr>
1733<tr><td>Ps = 13</td><td>Change colour of mouse foreground to Pt</td></tr> 2053<tr><td>Ps = 13</td><td>Change colour of mouse foreground to Pt</td></tr>
1734<tr><td>Ps = 17</td><td>Change colour of highlight characters to Pt</td></tr> 2054<tr><td>Ps = 17</td><td>Change colour of highlight characters to Pt</td></tr>
1735<tr><td>Ps = 18</td><td>Change colour of bold characters to Pt</td></tr> 2055<tr><td>Ps = 18</td><td>Change colour of bold characters to Pt [deprecated, see 706]</td></tr>
1736<tr><td>Ps = 19</td><td>Change colour of underlined characters to Pt</td></tr> 2056<tr><td>Ps = 19</td><td>Change colour of underlined characters to Pt [deprecated, see 707]</td></tr>
1737<tr><td>Ps = 20</td><td>Change default background to Pt</td></tr> 2057<tr><td>Ps = 20</td><td>Change background pixmap parameters (see section XPM) (Compile XPM).</td></tr>
1738<tr><td>Ps = 39</td><td>Change default foreground colour to Pt.</td></tr> 2058<tr><td>Ps = 39</td><td>Change default foreground colour to Pt.</td></tr>
1739<tr><td>Ps = 46</td><td>Change Log File to Pt unimplemented</td></tr> 2059<tr><td>Ps = 46</td><td>Change Log File to Pt unimplemented</td></tr>
1740<tr><td>Ps = 49</td><td>Change default background colour to Pt.</td></tr> 2060<tr><td>Ps = 49</td><td>Change default background colour to Pt.</td></tr>
1741<tr><td>Ps = 50</td><td>Set fontset to Pt, with the following special values of Pt (rxvt) #+n change up n #-n change down n if n is missing of 0, a value of 1 is used empty change to font0 n change to font n</td></tr> 2061<tr><td>Ps = 50</td><td>Set fontset to Pt, with the following special values of Pt (rxvt) #+n change up n #-n change down n if n is missing of 0, a value of 1 is used empty change to font0 n change to font n</td></tr>
1742<tr><td>Ps = 55</td><td>Log all scrollback buffer and all of screen to Pt</td></tr> 2062<tr><td>Ps = 55</td><td>Log all scrollback buffer and all of screen to Pt</td></tr>
1743<tr><td>Ps = 701</td><td>Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills).</td></tr> 2063<tr><td>Ps = 701</td><td>Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills).</td></tr>
1744<tr><td>Ps = 703</td><td>Menubar command Pt (Compile menubar).</td></tr> 2064<tr><td>Ps = 702</td><td>Request version if Pt is ?, returning rxvt-unicode, the resource name, the major and minor version numbers, e.g. ESC ] 702 ; rxvt-unicode ; urxvt ; 7 ; 4 ST.</td></tr>
1745<tr><td>Ps = 704</td><td>Change colour of italic characters to Pt</td></tr> 2065<tr><td>Ps = 704</td><td>Change colour of italic characters to Pt</td></tr>
1746<tr><td>Ps = 705</td><td>Change background pixmap tint colour to Pt (Compile transparency).</td></tr> 2066<tr><td>Ps = 705</td><td>Change background pixmap tint colour to Pt (Compile transparency).</td></tr>
2067<tr><td>Ps = 706</td><td>Change colour of bold characters to Pt</td></tr>
2068<tr><td>Ps = 707</td><td>Change colour of underlined characters to Pt</td></tr>
1747<tr><td>Ps = 710</td><td>Set normal fontset to Pt. Same as Ps = 50.</td></tr> 2069<tr><td>Ps = 710</td><td>Set normal fontset to Pt. Same as Ps = 50.</td></tr>
1748<tr><td>Ps = 711</td><td>Set bold fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr> 2070<tr><td>Ps = 711</td><td>Set bold fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr>
1749<tr><td>Ps = 712</td><td>Set italic fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr> 2071<tr><td>Ps = 712</td><td>Set italic fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr>
1750<tr><td>Ps = 713</td><td>Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr> 2072<tr><td>Ps = 713</td><td>Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr>
1751<tr><td>Ps = 720</td><td>Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).</td></tr> 2073<tr><td>Ps = 720</td><td>Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).</td></tr>
1752<tr><td>Ps = 721</td><td>Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).</td></tr> 2074<tr><td>Ps = 721</td><td>Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).</td></tr>
2075<tr><td>Ps = 777</td><td>Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl).</td></tr>
1753</table><p></p></dl> 2076</table><p></p></dl>
1754<p></p> 2077<p></p>
1755<p>
1756</p>
1757<hr />
1758<h1><a name="menubar">menuBar</a></h1>
1759<p><strong>The exact syntax used is <em>almost</em> solidified. </strong>&gt;
1760In the menus, <strong>DON'T</strong> try to use menuBar commands that add or remove a
1761menuBar.</p>
1762<p>Note that in all of the commands, the <strong><em>/path/</em> </strong>&gt; <em>cannot</em> be
1763omitted: use <strong>./</strong> to specify a menu relative to the current menu.</p>
1764<p>
1765</p>
1766<h2><a name="overview_of_menubar_operation">Overview of menuBar operation</a></h2>
1767<p>For the menuBar XTerm escape sequence <code>ESC ] 703 ; Pt ST</code>, the syntax
1768of <a href="#item_pt"><code>Pt</code></a> can be used for a variety of tasks:</p>
1769<p>At the top level is the current menuBar which is a member of a circular
1770linked-list of other such menuBars.</p>
1771<p>The menuBar acts as a parent for the various drop-down menus, which in
1772turn, may have labels, separator lines, menuItems and subMenus.</p>
1773<p>The menuItems are the useful bits: you can use them to mimic keyboard
1774input or even to send text or escape sequences back to rxvt.</p>
1775<p>The menuBar syntax is intended to provide a simple yet robust method of
1776constructing and manipulating menus and navigating through the
1777menuBars.</p>
1778<p>The first step is to use the tag <strong>[menu:<em>name</em>] </strong>&gt; which creates
1779the menuBar called <em>name</em> and allows access. You may now or menus,
1780subMenus, and menuItems. Finally, use the tag <strong>[done]</strong> to set the
1781menuBar access as <strong>readonly</strong> to prevent accidental corruption of the
1782menus. To re-access the current menuBar for alterations, use the tag
1783<strong>[menu]</strong>, make the alterations and then use <strong>[done]</strong></p>
1784<p></p>
1785<p>
1786</p>
1787<h2><a name="commands">Commands</a></h2>
1788<dl>
1789<dt><strong><a name="item__5bmenu_3a_2bname_5d"><strong>[menu:+<em>name</em>] </strong>&gt;</a></strong><br />
1790</dt>
1791<dd>
1792access the named menuBar for creation or alteration. If a new menuBar
1793is created, it is called <em>name</em> (max of 15 chars) and the current
1794menuBar is pushed onto the stack
1795</dd>
1796<p></p>
1797<dt><strong><a name="item__5bmenu_5d"><strong>[menu]</strong></a></strong><br />
1798</dt>
1799<dd>
1800access the current menuBar for alteration
1801</dd>
1802<p></p>
1803<dt><strong><a name="item__5btitle_3a_2bstring_5d"><strong>[title:+<em>string</em>] </strong>&gt;</a></strong><br />
1804</dt>
1805<dd>
1806set the current menuBar's title to <em>string</em>, which may contain the
1807following format specifiers:
1808</dd>
1809<dd>
1810<pre>
1811 B&lt;%n&gt; rxvt name (as per the B&lt;-name&gt; command-line option)
1812 B&lt;%v&gt; rxvt version
1813 B&lt;%%&gt; literal B&lt;%&gt; character</pre>
1814</dd>
1815<p></p>
1816<dt><strong><a name="item__5bdone_5d"><strong>[done]</strong></a></strong><br />
1817</dt>
1818<dd>
1819set menuBar access as <strong>readonly</strong>.
1820End-of-file tag for <strong>[read:+<em>file</em>] </strong>&gt; operations.
1821</dd>
1822<p></p>
1823<dt><strong><a name="item__5bread_3a_2bfile_5d"><strong>[read:+<em>file</em>] </strong>&gt;</a></strong><br />
1824</dt>
1825<dd>
1826read menu commands directly from <em>file</em> (extension ``.menu'' will be
1827appended if required.) Start reading at a line with <strong>[menu]</strong> or <strong>&lt;
1828[menu:+<em>name</em> </strong>&gt; and continuing until <strong>[done]</strong> is encountered.
1829</dd>
1830<dd>
1831<p>Blank and comment lines (starting with <strong>#</strong>) are ignored. Actually,
1832since any invalid menu commands are also ignored, almost anything could
1833be construed as a comment line, but this may be tightened up in the
1834future ... so don't count on it!.</p>
1835</dd>
1836<p></p>
1837<dt><strong><a name="item__5bread_3a_2bfile_3b_2bname_5d"><strong>[read:+<em>file</em>;+<em>name</em>] </strong>&gt;</a></strong><br />
1838</dt>
1839<dd>
1840The same as <strong>[read:+<em>file</em>] </strong>&gt;, but start reading at a line with
1841<strong>[menu:+<em>name</em>] </strong>&gt; and continuing until <strong>[done:+<em>name</em>] </strong>&gt; or
1842<strong>[done]</strong> is encountered.
1843</dd>
1844<p></p>
1845<dt><strong><a name="item__5bdump_5d"><strong>[dump]</strong></a></strong><br />
1846</dt>
1847<dd>
1848dump all menuBars to the file <strong>/tmp/rxvt-PID</strong> in a format suitable for
1849later rereading.
1850</dd>
1851<p></p>
1852<dt><strong><a name="item__5brm_3aname_5d"><strong>[rm:name]</strong></a></strong><br />
1853</dt>
1854<dd>
1855remove the named menuBar
1856</dd>
1857<p></p>
1858<dt><strong><a name="item__5brm_5d__5brm_3a_5d"><strong>[rm] [rm:]</strong></a></strong><br />
1859</dt>
1860<dd>
1861remove the current menuBar
1862</dd>
1863<p></p>
1864<dt><strong><a name="item__5brm_2a_5d__5brm_3a_2a_5d"><strong>[rm*] [rm:*]</strong></a></strong><br />
1865</dt>
1866<dd>
1867remove all menuBars
1868</dd>
1869<p></p>
1870<dt><strong><a name="item__5bswap_5d"><strong>[swap]</strong></a></strong><br />
1871</dt>
1872<dd>
1873swap the top two menuBars
1874</dd>
1875<p></p>
1876<dt><strong><a name="item__5bprev_5d"><strong>[prev]</strong></a></strong><br />
1877</dt>
1878<dd>
1879access the previous menuBar
1880</dd>
1881<p></p>
1882<dt><strong><a name="item__5bnext_5d"><strong>[next]</strong></a></strong><br />
1883</dt>
1884<dd>
1885access the next menuBar
1886</dd>
1887<p></p>
1888<dt><strong><a name="item__5bshow_5d"><strong>[show]</strong></a></strong><br />
1889</dt>
1890<dd>
1891Enable display of the menuBar
1892</dd>
1893<p></p>
1894<dt><strong><a name="item__5bhide_5d"><strong>[hide]</strong></a></strong><br />
1895</dt>
1896<dd>
1897Disable display of the menuBar
1898</dd>
1899<p></p>
1900<dt><strong><a name="item__5bpixmap_3a_2bname_5d"><strong>[pixmap:+<em>name</em>] </strong>&gt;</a></strong><br />
1901</dt>
1902<dt><strong><a name="item__5bpixmap_3a_2bname_3bscaling_5d"><strong>[pixmap:+<em>name</em>;<em>scaling</em>] </strong>&gt;</a></strong><br />
1903</dt>
1904<dd>
1905(set the background pixmap globally
1906</dd>
1907<dd>
1908<p><strong>A Future implementation <em>may</em> make this local to the menubar </strong>&gt;)</p>
1909</dd>
1910<p></p>
1911<dt><strong><a name="item__5b_3a_2bcommand_3a_5d"><strong>[:+<em>command</em>:] </strong>&gt;</a></strong><br />
1912</dt>
1913<dd>
1914ignore the menu readonly status and issue a <em>command</em> to or a menu or
1915menuitem or change the ; a useful shortcut for setting the quick arrows
1916from a menuBar.
1917</dd>
1918<p></p></dl>
1919<p></p>
1920<p>
1921</p>
1922<h2><a name="adding_and_accessing_menus">Adding and accessing menus</a></h2>
1923<p>The following commands may also be <strong>+</strong> prefixed.</p>
1924<dl>
1925<dt><strong><a name="item__2f_2b"><strong>/+</strong></a></strong><br />
1926</dt>
1927<dd>
1928access menuBar top level
1929</dd>
1930<p></p>
1931<dt><strong><a name="item__2e_2f_2b"><strong>./+</strong></a></strong><br />
1932</dt>
1933<dd>
1934access current menu level
1935</dd>
1936<p></p>
1937<dt><strong><a name="item__2e_2e_2f_2b"><strong>../+</strong></a></strong><br />
1938</dt>
1939<dd>
1940access parent menu (1 level up)
1941</dd>
1942<p></p>
1943<dt><strong><a name="item__2e_2e_2f_2e_2e_2f"><strong>../../</strong></a></strong><br />
1944</dt>
1945<dd>
1946access parent menu (multiple levels up)
1947</dd>
1948<p></p>
1949<dt><strong><a name="item__2fpath_2fmenu"><strong><em>/path/</em>menu </strong>&gt;</a></strong><br />
1950</dt>
1951<dd>
1952add/access menu
1953</dd>
1954<p></p>
1955<dt><strong><a name="item__2fpath_2fmenu_2f_2a"><strong><em>/path/</em>menu/* </strong>&gt;</a></strong><br />
1956</dt>
1957<dd>
1958add/access menu and clear it if it exists
1959</dd>
1960<p></p>
1961<dt><strong><a name="item__2fpath_2f_7b_2d_7d"><strong><em>/path/</em>{-} </strong>&gt;</a></strong><br />
1962</dt>
1963<dd>
1964add separator
1965</dd>
1966<p></p>
1967<dt><strong><a name="item__2fpath_2f_7bitem_7d"><strong><em>/path/</em>{item} </strong>&gt;</a></strong><br />
1968</dt>
1969<dd>
1970add <strong>item</strong> as a label
1971</dd>
1972<p></p>
1973<dt><strong><a name="item__2fpath_2f_7bitem_7d_action"><strong><em>/path/</em>{item} action </strong>&gt;</a></strong><br />
1974</dt>
1975<dd>
1976add/alter <em>menuitem</em> with an associated <em>action</em>
1977</dd>
1978<p></p>
1979<dt><strong><a name="item__2fpath_2f_7bitem_7d_7bright_2dtext_7d"><strong><em>/path/</em>{item}{right-text} </strong>&gt;</a></strong><br />
1980</dt>
1981<dd>
1982add/alter <em>menuitem</em> with <strong>right-text</strong> as the right-justified text
1983and as the associated <em>action</em>
1984</dd>
1985<p></p>
1986<dt><strong><a name="item__2fpath_2f_7bitem_7d_7brtext_7d_action"><strong><em>/path/</em>{item}{rtext} action </strong>&gt;</a></strong><br />
1987</dt>
1988<dd>
1989add/alter <em>menuitem</em> with an associated <em>action</em> and with <strong>rtext</strong> as
1990the right-justified text.
1991</dd>
1992<p></p></dl>
1993<dl>
1994<dt><strong><a name="item_special_characters_in_action_must_be_backslash_2de">Special characters in <em>action</em> must be backslash-escaped:</a></strong><br />
1995</dt>
1996<dd>
1997<strong>\a \b \E \e \n \r \t \octal</strong>
1998</dd>
1999<p></p>
2000<dt><strong><a name="item_or_in_control_2dcharacter_notation_3a">or in control-character notation:</a></strong><br />
2001</dt>
2002<dd>
2003<strong>^@, ^A .. ^Z .. ^_, ^?</strong>
2004</dd>
2005<p></p></dl>
2006<p>To send a string starting with a <strong>NUL</strong> (<strong>^@</strong>) character to the
2007program, start <em>action</em> with a pair of <strong>NUL</strong> characters (<strong>^@^@</strong>),
2008the first of which will be stripped off and the balance directed to the
2009program. Otherwise if <em>action</em> begins with <strong>NUL</strong> followed by
2010non-+<strong>NUL</strong> characters, the leading <strong>NUL</strong> is stripped off and the
2011balance is sent back to rxvt.</p>
2012<p>As a convenience for the many Emacs-type editors, <em>action</em> may start
2013with <strong>M-</strong> (eg, <strong>M-$</strong> is equivalent to <strong>\E$</strong>) and a <strong>CR</strong> will be
2014appended if missed from <strong>M-x</strong> commands.</p>
2015<p>As a convenience for issuing XTerm <strong>ESC ]</strong> sequences from a menubar (or
2016quick arrow), a <strong>BEL</strong> (<strong>^G</strong>) will be appended if needed.</p>
2017<dl>
2018<dt><strong><a name="item_for_example_2c">For example,</a></strong><br />
2019</dt>
2020<dd>
2021<strong>M-xapropos</strong> is equivalent to <strong>\Exapropos\r</strong>
2022</dd>
2023<p></p>
2024<dt><strong><a name="item_and">and</a></strong><br />
2025</dt>
2026<dd>
2027<strong>\E]703;mona;100</strong> is equivalent to <strong>\E]703;mona;100\a</strong>
2028</dd>
2029<p></p></dl>
2030<p>The option <strong>{<em>right-rtext</em>} </strong>&gt; will be right-justified. In the
2031absence of a specified action, this text will be used as the <em>action</em>
2032as well.</p>
2033<dl>
2034<dt><strong>For example,</strong><br />
2035</dt>
2036<dd>
2037<strong>/File/{Open}{^X^F}</strong> is equivalent to <strong>/File/{Open}{^X^F} ^X^F</strong>
2038</dd>
2039<p></p></dl>
2040<p>The left label <em>is</em> necessary, since it's used for matching, but
2041implicitly hiding the left label (by using same name for both left and
2042right labels), or explicitly hiding the left label (by preceeding it
2043with a dot), makes it possible to have right-justified text only.</p>
2044<dl>
2045<dt><strong>For example,</strong><br />
2046</dt>
2047<dd>
2048<strong>/File/{Open}{Open} Open-File-Action</strong>
2049</dd>
2050<p></p>
2051<dt><strong><a name="item_or_hiding_it">or hiding it</a></strong><br />
2052</dt>
2053<dd>
2054<strong>/File/{.anylabel}{Open} Open-File-Action</strong>
2055</dd>
2056<p></p></dl>
2057<p></p>
2058<p>
2059</p>
2060<h2><a name="removing_menus">Removing menus</a></h2>
2061<dl>
2062<dt><strong><a name="item__2d_2f_2a_2b"><strong>-/*+ </strong>&gt;</a></strong><br />
2063</dt>
2064<dd>
2065remove all menus from the menuBar, the same as <strong>[clear]</strong>
2066</dd>
2067<p></p>
2068<dt><strong><a name="item__2d_2b_2fpathmenu_2b"><strong>-+<em>/path</em>menu+ </strong>&gt;</a></strong><br />
2069</dt>
2070<dd>
2071remove menu
2072</dd>
2073<p></p>
2074<dt><strong><a name="item__2d_2b_2fpath_7bitem_7d_2b"><strong>-+<em>/path</em>{item}+ </strong>&gt;</a></strong><br />
2075</dt>
2076<dd>
2077remove item
2078</dd>
2079<p></p>
2080<dt><strong><a name="item__2d_2b_2fpath_7b_2d_7d"><strong>-+<em>/path</em>{-} </strong>&gt;</a></strong><br />
2081</dt>
2082<dd>
2083remove separator)
2084</dd>
2085<p></p>
2086<dt><strong><a name="item__2d_2fpath_2fmenu_2f_2a"><strong>-/path/menu/*</strong></a></strong><br />
2087</dt>
2088<dd>
2089remove all items, separators and submenus from menu
2090</dd>
2091<p></p></dl>
2092<p></p>
2093<p>
2094</p>
2095<h2><a name="quick_arrows">Quick Arrows</a></h2>
2096<p>The menus also provide a hook for <em>quick arrows</em> to provide easier
2097user access. If nothing has been explicitly set, the default is to
2098emulate the curror keys. The syntax permits each arrow to be altered
2099individually or all four at once without re-entering their common
2100beginning/end text. For example, to explicitly associate cursor actions
2101with the arrows, any of the following forms could be used:</p>
2102<dl>
2103<dt><strong><a name="item__3cr_3e_2bright"><strong>&lt;r</strong>+<em>Right</em> &gt;&gt;</a></strong><br />
2104</dt>
2105<dt><strong><a name="item__3cl_3e_2bleft"><strong>&lt;l</strong>+<em>Left</em> &gt;&gt;</a></strong><br />
2106</dt>
2107<dt><strong><a name="item__3cu_3e_2bup"><strong>&lt;u</strong>+<em>Up</em> &gt;&gt;</a></strong><br />
2108</dt>
2109<dt><strong><a name="item__3cd_3e_2bdown"><strong>&lt;d</strong>+<em>Down</em> &gt;&gt;</a></strong><br />
2110</dt>
2111<dd>
2112Define actions for the respective arrow buttons
2113</dd>
2114<p></p>
2115<dt><strong><a name="item__3cb_3e_2bbegin"><strong>&lt;b</strong>+<em>Begin</em> &gt;&gt;</a></strong><br />
2116</dt>
2117<dt><strong><a name="item__3ce_3e_2bend"><strong>&lt;e</strong>+<em>End</em> &gt;&gt;</a></strong><br />
2118</dt>
2119<dd>
2120Define common beginning/end parts for <em>quick arrows</em> which used in
2121conjunction with the above &lt;r&gt; &lt;l&gt; &lt;u&gt; &lt;d&gt; constructs
2122</dd>
2123<p></p></dl>
2124<dl>
2125<dt><strong><a name="item_for_example_2c_define_arrows_individually_2c">For example, define arrows individually,</a></strong><br />
2126</dt>
2127<dd>
2128<pre>
2129 &lt;u&gt;\E[A</pre>
2130</dd>
2131<dd>
2132<pre>
2133 &lt;d&gt;\E[B</pre>
2134</dd>
2135<dd>
2136<pre>
2137 &lt;r&gt;\E[C</pre>
2138</dd>
2139<dd>
2140<pre>
2141 &lt;l&gt;\E[D</pre>
2142</dd>
2143<dt><strong><a name="item_or_all_at_once">or all at once</a></strong><br />
2144</dt>
2145<dd>
2146<pre>
2147 &lt;u&gt;\E[AZ&lt;&gt;&lt;d&gt;\E[BZ&lt;&gt;&lt;r&gt;\E[CZ&lt;&gt;&lt;l&gt;\E[D</pre>
2148</dd>
2149<dt><strong><a name="item_compactly">or more compactly (factoring out common parts)</a></strong><br />
2150</dt>
2151<dd>
2152<pre>
2153 &lt;b&gt;\E[&lt;u&gt;AZ&lt;&gt;&lt;d&gt;BZ&lt;&gt;&lt;r&gt;CZ&lt;&gt;&lt;l&gt;D</pre>
2154</dd>
2155</dl>
2156<p></p>
2157<p>
2158</p>
2159<h2><a name="command_summary">Command Summary</a></h2>
2160<p>A short summary of the most <em>common</em> commands:</p>
2161<dl>
2162<dt><strong><a name="item__5bmenu_3aname_5d">[menu:name]</a></strong><br />
2163</dt>
2164<dd>
2165use an existing named menuBar or start a new one
2166</dd>
2167<p></p>
2168<dt><strong>[menu]</strong><br />
2169</dt>
2170<dd>
2171use the current menuBar
2172</dd>
2173<p></p>
2174<dt><strong><a name="item__5btitle_3astring_5d">[title:string]</a></strong><br />
2175</dt>
2176<dd>
2177set menuBar title
2178</dd>
2179<p></p>
2180<dt><strong>[done]</strong><br />
2181</dt>
2182<dd>
2183set menu access to readonly and, if reading from a file, signal EOF
2184</dd>
2185<p></p>
2186<dt><strong><a name="item__5bdone_3aname_5d">[done:name]</a></strong><br />
2187</dt>
2188<dd>
2189if reading from a file using [read:file;name] signal EOF
2190</dd>
2191<p></p>
2192<dt><strong>[rm:name]</strong><br />
2193</dt>
2194<dd>
2195remove named <code>menuBar(s)</code>
2196</dd>
2197<p></p>
2198<dt><strong>[rm] [rm:]</strong><br />
2199</dt>
2200<dd>
2201remove current menuBar
2202</dd>
2203<p></p>
2204<dt><strong>[rm*] [rm:*]</strong><br />
2205</dt>
2206<dd>
2207remove all <code>menuBar(s)</code>
2208</dd>
2209<p></p>
2210<dt><strong>[swap]</strong><br />
2211</dt>
2212<dd>
2213swap top two menuBars
2214</dd>
2215<p></p>
2216<dt><strong>[prev]</strong><br />
2217</dt>
2218<dd>
2219access the previous menuBar
2220</dd>
2221<p></p>
2222<dt><strong>[next]</strong><br />
2223</dt>
2224<dd>
2225access the next menuBar
2226</dd>
2227<p></p>
2228<dt><strong>[show]</strong><br />
2229</dt>
2230<dd>
2231map menuBar
2232</dd>
2233<p></p>
2234<dt><strong>[hide]</strong><br />
2235</dt>
2236<dd>
2237unmap menuBar
2238</dd>
2239<p></p>
2240<dt><strong><a name="item__5bpixmap_3bfile_5d">[pixmap;file]</a></strong><br />
2241</dt>
2242<dt><strong><a name="item__5bpixmap_3bfile_3bscaling_5d">[pixmap;file;scaling]</a></strong><br />
2243</dt>
2244<dd>
2245set a background pixmap
2246</dd>
2247<p></p>
2248<dt><strong><a name="item__5bread_3afile_5d">[read:file]</a></strong><br />
2249</dt>
2250<dt><strong><a name="item__5bread_3afile_3bname_5d">[read:file;name]</a></strong><br />
2251</dt>
2252<dd>
2253read in a menu from a file
2254</dd>
2255<p></p>
2256<dt><strong>[dump]</strong><br />
2257</dt>
2258<dd>
2259dump out all menuBars to /tmp/rxvt-PID
2260</dd>
2261<p></p>
2262<dt><strong><a name="item__2f">/</a></strong><br />
2263</dt>
2264<dd>
2265access menuBar top level
2266</dd>
2267<p></p>
2268<dt><strong><a name="item__2e_2f">./</a></strong><br />
2269</dt>
2270<dt><strong><a name="item__2e_2e_2f">../</a></strong><br />
2271</dt>
2272<dt><strong>../../</strong><br />
2273</dt>
2274<dd>
2275access current or parent menu level
2276</dd>
2277<p></p>
2278<dt><strong>/path/menu</strong><br />
2279</dt>
2280<dd>
2281add/access menu
2282</dd>
2283<p></p>
2284<dt><strong>/path/{-}</strong><br />
2285</dt>
2286<dd>
2287add separator
2288</dd>
2289<p></p>
2290<dt><strong>/path/{item}{rtext} action</strong><br />
2291</dt>
2292<dd>
2293add/alter menu item
2294</dd>
2295<p></p>
2296<dt><strong><a name="item__2d_2f_2a">-/*</a></strong><br />
2297</dt>
2298<dd>
2299remove all menus from the menuBar
2300</dd>
2301<p></p>
2302<dt><strong><a name="item__2d_2fpath_2fmenu">-/path/menu</a></strong><br />
2303</dt>
2304<dd>
2305remove menu items, separators and submenus from menu
2306</dd>
2307<p></p>
2308<dt><strong>-/path/menu</strong><br />
2309</dt>
2310<dd>
2311remove menu
2312</dd>
2313<p></p>
2314<dt><strong><a name="item__2d_2fpath_2f_7bitem_7d">-/path/{item}</a></strong><br />
2315</dt>
2316<dd>
2317remove item
2318</dd>
2319<p></p>
2320<dt><strong><a name="item__2d_2fpath_2f_7b_2d_7d">-/path/{-}</a></strong><br />
2321</dt>
2322<dd>
2323remove separator
2324</dd>
2325<p></p>
2326<dt><strong><a name="item__3cb_3ebegin_3cr_3eright_3cl_3eleft_3cu_3eup_3cd_3">&lt;b&gt;Begin&lt;r&gt;Right&lt;l&gt;Left&lt;u&gt;Up&lt;d&gt;Down&lt;e&gt;End</a></strong><br />
2327</dt>
2328<dd>
2329menu quick arrows
2330</dd>
2331<p></p></dl>
2332<p> 2078<p>
2333</p> 2079</p>
2334<hr /> 2080<hr />
2335<h1><a name="xpm">XPM</a></h1> 2081<h1><a name="xpm">XPM</a></h1>
2336<p>For the XPM XTerm escape sequence <strong><code>ESC ] 20 ; Pt ST</code> </strong>&gt; then value 2082<p>For the XPM XTerm escape sequence <strong><code>ESC ] 20 ; Pt ST</code> </strong>&gt; then value
2519</table><p> 2265</table><p>
2520</p> 2266</p>
2521<hr /> 2267<hr />
2522<h1><a name="configure_options">CONFIGURE OPTIONS</a></h1> 2268<h1><a name="configure_options">CONFIGURE OPTIONS</a></h1>
2523<p>General hint: if you get compile errors, then likely your configuration 2269<p>General hint: if you get compile errors, then likely your configuration
2524hasn't been tested well. Either try with --enable-everything or use the 2270hasn't been tested well. Either try with <a href="#item__2d_2denable_2deverything"><code>--enable-everything</code></a> or use
2525./reconf script as a base for experiments. ./reconf is used by myself, 2271the <em>./reconf</em> script as a base for experiments. <em>./reconf</em> is used by
2526so it should generally be a working config. Of course, you should always 2272myself, so it should generally be a working config. Of course, you should
2527report when a combination doesn't work, so it can be fixed. Marc Lehmann 2273always report when a combination doesn't work, so it can be fixed. Marc
2528&lt;<a href="mailto:rxvt@schmorp.de">rxvt@schmorp.de</a>&gt;.</p> 2274Lehmann &lt;<a href="mailto:rxvt@schmorp.de">rxvt@schmorp.de</a>&gt;.</p>
2275<p>All</p>
2529<dl> 2276<dl>
2530<dt><strong><a name="item__2d_2denable_2deverything">--enable-everything</a></strong><br /> 2277<dt><strong><a name="item__2d_2denable_2deverything">--enable-everything</a></strong><br />
2531</dt> 2278</dt>
2532<dd> 2279<dd>
2533Add support for all non-multichoice options listed in ``./configure 2280Add (or remove) support for all non-multichoice options listed in ``./configure
2534--help''. Note that unlike other enable options this is order dependant. 2281--help''.
2535You can specify this and then disable options which this enables by 2282</dd>
2536<em>following</em> this with the appropriate commands.
2537</dd> 2283<dd>
2284<p>You can specify this and then disable options you do not like by
2285<em>following</em> this with the appropriate <code>--disable-...</code> arguments,
2286or you can start with a minimal configuration by specifying
2287<code>--disable-everything</code> and than adding just the <code>--enable-...</code> arguments
2288you want.</p>
2289</dd>
2538<p></p> 2290<p></p>
2539<dt><strong><a name="item__2d_2denable_2dxft">--enable-xft</a></strong><br /> 2291<dt><strong><a name="item_xft">--enable-xft (default: enabled)</a></strong><br />
2540</dt> 2292</dt>
2541<dd> 2293<dd>
2542Add support for Xft (anti-aliases, among others) fonts. Xft fonts are 2294Add support for Xft (anti-aliases, among others) fonts. Xft fonts are
2543slower and require lots of memory, but as long as you don't use them, you 2295slower and require lots of memory, but as long as you don't use them, you
2544don't pay for them. 2296don't pay for them.
2545</dd> 2297</dd>
2546<p></p> 2298<p></p>
2547<dt><strong><a name="item__2d_2denable_2dfont_2dstyles">--enable-font-styles</a></strong><br /> 2299<dt><strong><a name="item_styles">--enable-font-styles (default: on)</a></strong><br />
2548</dt> 2300</dt>
2549<dd> 2301<dd>
2550Add support for <strong>bold</strong>, <em>italic</em> and <strong><em>bold italic</em> </strong>&gt; font 2302Add support for <strong>bold</strong>, <em>italic</em> and <strong><em>bold italic</em> </strong>&gt; font
2551styles. The fonts can be set manually or automatically. 2303styles. The fonts can be set manually or automatically.
2552</dd> 2304</dd>
2553<p></p> 2305<p></p>
2554<dt><strong><a name="item__2d_2dwith_2dcodesets_3dname_2c_2e_2e_2e">--with-codesets=NAME,...</a></strong><br /> 2306<dt><strong><a name="item__2d_2dwith_2dcodesets_3dname_2c_2e_2e_2e__28defaul">--with-codesets=NAME,... (default: all)</a></strong><br />
2555</dt> 2307</dt>
2556<dd> 2308<dd>
2557Compile in support for additional codeset (encoding) groups (<code>eu</code>, <code>vn</code> 2309Compile in support for additional codeset (encoding) groups (<code>eu</code>, <code>vn</code>
2558are always compiled in, which includes most 8-bit character sets). These 2310are always compiled in, which includes most 8-bit character sets). These
2559codeset tables are used for driving X11 core fonts, they are not required 2311codeset tables are used for driving X11 core fonts, they are not required
2568<tr><td>zh_ext</td><td>rarely used but very big chinese encodigs</td></tr> 2320<tr><td>zh_ext</td><td>rarely used but very big chinese encodigs</td></tr>
2569<tr><td>jp</td><td>common japanese encodings</td></tr> 2321<tr><td>jp</td><td>common japanese encodings</td></tr>
2570<tr><td>jp_ext</td><td>rarely used but big japanese encodings</td></tr> 2322<tr><td>jp_ext</td><td>rarely used but big japanese encodings</td></tr>
2571<tr><td>kr</td><td>korean encodings</td></tr> 2323<tr><td>kr</td><td>korean encodings</td></tr>
2572</table><p></p> 2324</table><p></p>
2573<dt><strong><a name="item__2d_2denable_2dxim">--enable-xim</a></strong><br /> 2325<dt><strong><a name="item_xim">--enable-xim (default: on)</a></strong><br />
2574</dt> 2326</dt>
2575<dd> 2327<dd>
2576Add support for XIM (X Input Method) protocol. This allows using 2328Add support for XIM (X Input Method) protocol. This allows using
2577alternative input methods (e.g. kinput2) and will also correctly 2329alternative input methods (e.g. kinput2) and will also correctly
2578set up the input for people using dead keys or compose keys. 2330set up the input for people using dead keys or compose keys.
2579</dd> 2331</dd>
2580<p></p> 2332<p></p>
2581<dt><strong><a name="item__2d_2denable_2dunicode3">--enable-unicode3</a></strong><br /> 2333<dt><strong><a name="item_unicode3">--enable-unicode3 (default: off)</a></strong><br />
2582</dt> 2334</dt>
2335<dd>
2336Recommended to stay off unless you really need non-BMP characters.
2583<dd> 2337</dd>
2338<dd>
2584Enable direct support for displaying unicode codepoints above 2339<p>Enable direct support for displaying unicode codepoints above
258565535 (the basic multilingual page). This increases storage 234065535 (the basic multilingual page). This increases storage
2586requirements per character from 2 to 4 bytes. X11 fonts do not yet 2341requirements per character from 2 to 4 bytes. X11 fonts do not yet
2587support these extra characters, but Xft does. 2342support these extra characters, but Xft does.</p>
2588</dd> 2343</dd>
2589<dd> 2344<dd>
2590<p>Please note that rxvt-unicode can store unicode code points &gt;65535 2345<p>Please note that rxvt-unicode can store unicode code points &gt;65535
2591even without this flag, but the number of such characters is 2346even without this flag, but the number of such characters is
2592limited to a view thousand (shared with combining characters, 2347limited to a view thousand (shared with combining characters,
2593see next switch), and right now rxvt-unicode cannot display them 2348see next switch), and right now rxvt-unicode cannot display them
2594(input/output and cut&amp;paste still work, though).</p> 2349(input/output and cut&amp;paste still work, though).</p>
2595</dd> 2350</dd>
2596<p></p> 2351<p></p>
2597<dt><strong><a name="item__2d_2denable_2dcombining">--enable-combining</a></strong><br /> 2352<dt><strong><a name="item_combining">--enable-combining (default: on)</a></strong><br />
2598</dt> 2353</dt>
2599<dd> 2354<dd>
2600Enable automatic composition of combining characters into 2355Enable automatic composition of combining characters into
2601composite characters. This is required for proper viewing of text 2356composite characters. This is required for proper viewing of text
2602where accents are encoded as seperate unicode characters. This is 2357where accents are encoded as seperate unicode characters. This is
2603done by using precomposited characters when available or creating 2358done by using precomposited characters when available or creating
2604new pseudo-characters when no precomposed form exists. 2359new pseudo-characters when no precomposed form exists.
2605</dd> 2360</dd>
2606<dd> 2361<dd>
2607<p>Without --enable-unicode3, the number of additional precomposed characters 2362<p>Without --enable-unicode3, the number of additional precomposed
2608is rather limited (2048, if this is full, rxvt-unicode will use the 2363characters is somewhat limited (the 6400 private use characters will be
2609private use area, extending the number of combinations to 8448). With
2610--enable-unicode3, no practical limit exists.</p> 2364(ab-)used). With --enable-unicode3, no practical limit exists.</p>
2611</dd> 2365</dd>
2612<dd> 2366<dd>
2613<p>This option will also enable storage (but not display) of characters 2367<p>This option will also enable storage (but not display) of characters
2614beyond plane 0 (&gt;65535) when --enable-unicode3 was not specified.</p> 2368beyond plane 0 (&gt;65535) when --enable-unicode3 was not specified.</p>
2615</dd> 2369</dd>
2617<p>The combining table also contains entries for arabic presentation forms, 2371<p>The combining table also contains entries for arabic presentation forms,
2618but these are not currently used. Bug me if you want these to be used (and 2372but these are not currently used. Bug me if you want these to be used (and
2619tell me how these are to be used...).</p> 2373tell me how these are to be used...).</p>
2620</dd> 2374</dd>
2621<p></p> 2375<p></p>
2622<dt><strong><a name="item_fallback">--enable-fallback(=CLASS)</a></strong><br /> 2376<dt><strong><a name="item_fallback">--enable-fallback(=CLASS) (default: Rxvt)</a></strong><br />
2623</dt> 2377</dt>
2624<dd> 2378<dd>
2625When reading resource settings, also read settings for class CLASS 2379When reading resource settings, also read settings for class CLASS. To
2626(default: Rxvt). To disable resource fallback use --disable-fallback. 2380disable resource fallback use --disable-fallback.
2627</dd>
2628<p></p>
2629<dt><strong><a name="item__2d_2dwith_2dres_2dname_3dname">--with-res-name=NAME</a></strong><br />
2630</dt>
2631<dd> 2381</dd>
2382<p></p>
2383<dt><strong><a name="item_name">--with-res-name=NAME (default: urxvt)</a></strong><br />
2384</dt>
2385<dd>
2632Use the given name (default: urxvt) as default application name when 2386Use the given name as default application name when
2633reading resources. Specify --with-res-name=rxvt to replace rxvt. 2387reading resources. Specify --with-res-name=rxvt to replace rxvt.
2634</dd> 2388</dd>
2635<p></p> 2389<p></p>
2636<dt><strong><a name="item__2d_2dwith_2dres_2dclass_3dclass">--with-res-class=CLASS</a></strong><br /> 2390<dt><strong><a name="item__2d_2dwith_2dres_2dclass_3dclass__2fdefault_3a_urx">--with-res-class=CLASS /default: URxvt)</a></strong><br />
2637</dt> 2391</dt>
2638<dd> 2392<dd>
2639Use the given class (default: URxvt) as default application class 2393Use the given class as default application class
2640when reading resources. Specify --with-res-class=Rxvt to replace 2394when reading resources. Specify --with-res-class=Rxvt to replace
2641rxvt. 2395rxvt.
2642</dd> 2396</dd>
2643<p></p> 2397<p></p>
2644<dt><strong><a name="item__2d_2denable_2dutmp">--enable-utmp</a></strong><br /> 2398<dt><strong><a name="item_utmp">--enable-utmp (default: on)</a></strong><br />
2645</dt> 2399</dt>
2646<dd> 2400<dd>
2647Write user and tty to utmp file (used by programs like <em>w</em>) at 2401Write user and tty to utmp file (used by programs like <em>w</em>) at
2648start of rxvt execution and delete information when rxvt exits. 2402start of rxvt execution and delete information when rxvt exits.
2649</dd> 2403</dd>
2650<p></p> 2404<p></p>
2651<dt><strong><a name="item__2d_2denable_2dwtmp">--enable-wtmp</a></strong><br /> 2405<dt><strong><a name="item_wtmp">--enable-wtmp (default: on)</a></strong><br />
2652</dt> 2406</dt>
2653<dd> 2407<dd>
2654Write user and tty to wtmp file (used by programs like <em>last</em>) at 2408Write user and tty to wtmp file (used by programs like <em>last</em>) at
2655start of rxvt execution and write logout when rxvt exits. This 2409start of rxvt execution and write logout when rxvt exits. This
2656option requires --enable-utmp to also be specified. 2410option requires --enable-utmp to also be specified.
2657</dd> 2411</dd>
2658<p></p> 2412<p></p>
2659<dt><strong><a name="item__2d_2denable_2dlastlog">--enable-lastlog</a></strong><br /> 2413<dt><strong><a name="item_lastlog">--enable-lastlog (default: on)</a></strong><br />
2660</dt> 2414</dt>
2661<dd> 2415<dd>
2662Write user and tty to lastlog file (used by programs like 2416Write user and tty to lastlog file (used by programs like
2663<em>lastlogin</em>) at start of rxvt execution. This option requires 2417<em>lastlogin</em>) at start of rxvt execution. This option requires
2664--enable-utmp to also be specified. 2418--enable-utmp to also be specified.
2665</dd> 2419</dd>
2666<p></p> 2420<p></p>
2667<dt><strong><a name="item__2d_2denable_2dxpm_2dbackground">--enable-xpm-background</a></strong><br /> 2421<dt><strong><a name="item_background">--enable-xpm-background (default: on)</a></strong><br />
2668</dt> 2422</dt>
2669<dd> 2423<dd>
2670Add support for XPM background pixmaps. 2424Add support for XPM background pixmaps.
2671</dd> 2425</dd>
2672<p></p> 2426<p></p>
2673<dt><strong><a name="item__2d_2denable_2dtransparency">--enable-transparency</a></strong><br /> 2427<dt><strong><a name="item_transparency">--enable-transparency (default: on)</a></strong><br />
2674</dt> 2428</dt>
2675<dd> 2429<dd>
2676Add support for inheriting parent backgrounds thus giving a fake 2430Add support for inheriting parent backgrounds thus giving a fake
2677transparency to the term. 2431transparency to the term.
2678</dd> 2432</dd>
2679<p></p> 2433<p></p>
2680<dt><strong><a name="item__2d_2denable_2dfading">--enable-fading</a></strong><br /> 2434<dt><strong><a name="item_fading">--enable-fading (default: on)</a></strong><br />
2681</dt> 2435</dt>
2682<dd>
2683Add support for fading the text when focus is lost.
2684</dd> 2436<dd>
2685<p></p> 2437Add support for fading the text when focus is lost (requires <code>--enable-transparency</code>).
2686<dt><strong><a name="item__2d_2denable_2dtinting">--enable-tinting</a></strong><br />
2687</dt>
2688<dd> 2438</dd>
2689Add support for tinting of transparent backgrounds. 2439<p></p>
2440<dt><strong><a name="item_tinting">--enable-tinting (default: on)</a></strong><br />
2441</dt>
2690</dd> 2442<dd>
2691<p></p> 2443Add support for tinting of transparent backgrounds (requires <code>--enable-transparency</code>).
2692<dt><strong><a name="item__2d_2denable_2dmenubar">--enable-menubar</a></strong><br />
2693</dt>
2694<dd> 2444</dd>
2695Add support for our menu bar system (this interacts badly with
2696dynamic locale switching currently).
2697</dd>
2698<p></p> 2445<p></p>
2699<dt><strong><a name="item__2d_2denable_2drxvt_2dscroll">--enable-rxvt-scroll</a></strong><br /> 2446<dt><strong><a name="item_scroll">--enable-rxvt-scroll (default: on)</a></strong><br />
2700</dt> 2447</dt>
2701<dd> 2448<dd>
2702Add support for the original rxvt scrollbar. 2449Add support for the original rxvt scrollbar.
2703</dd> 2450</dd>
2704<p></p> 2451<p></p>
2705<dt><strong><a name="item__2d_2denable_2dnext_2dscroll">--enable-next-scroll</a></strong><br /> 2452<dt><strong>--enable-next-scroll (default: on)</strong><br />
2706</dt> 2453</dt>
2707<dd> 2454<dd>
2708Add support for a NeXT-like scrollbar. 2455Add support for a NeXT-like scrollbar.
2709</dd> 2456</dd>
2710<p></p> 2457<p></p>
2711<dt><strong><a name="item__2d_2denable_2dxterm_2dscroll">--enable-xterm-scroll</a></strong><br /> 2458<dt><strong>--enable-xterm-scroll (default: on)</strong><br />
2712</dt> 2459</dt>
2713<dd> 2460<dd>
2714Add support for an Xterm-like scrollbar. 2461Add support for an Xterm-like scrollbar.
2715</dd> 2462</dd>
2716<p></p> 2463<p></p>
2717<dt><strong><a name="item__2d_2denable_2dplain_2dscroll">--enable-plain-scroll</a></strong><br /> 2464<dt><strong>--enable-plain-scroll (default: on)</strong><br />
2718</dt> 2465</dt>
2719<dd> 2466<dd>
2720Add support for a very unobtrusive, plain-looking scrollbar that 2467Add support for a very unobtrusive, plain-looking scrollbar that
2721is the favourite of the rxvt-unicode author, having used it for 2468is the favourite of the rxvt-unicode author, having used it for
2722many years. 2469many years.
2723</dd> 2470</dd>
2724<p></p> 2471<p></p>
2725<dt><strong><a name="item__2d_2denable_2dhalf_2dshadow">--enable-half-shadow</a></strong><br />
2726</dt>
2727<dd>
2728Make shadows on the scrollbar only half the normal width &amp; height.
2729only applicable to rxvt scrollbars.
2730</dd>
2731<p></p>
2732<dt><strong><a name="item__2d_2denable_2dttygid">--enable-ttygid</a></strong><br /> 2472<dt><strong><a name="item_ttygid">--enable-ttygid (default: off)</a></strong><br />
2733</dt> 2473</dt>
2734<dd> 2474<dd>
2735Change tty device setting to group ``tty'' - only use this if 2475Change tty device setting to group ``tty'' - only use this if
2736your system uses this type of security. 2476your system uses this type of security.
2737</dd> 2477</dd>
2738<p></p> 2478<p></p>
2739<dt><strong><a name="item__2d_2ddisable_2dbackspace_2dkey">--disable-backspace-key</a></strong><br /> 2479<dt><strong><a name="item__2d_2ddisable_2dbackspace_2dkey">--disable-backspace-key</a></strong><br />
2740</dt> 2480</dt>
2741<dd> 2481<dd>
2742Disable any handling of the backspace key by us - let the X server 2482Removes any handling of the backspace key by us - let the X server do it.
2483</dd>
2484<p></p>
2485<dt><strong><a name="item__2d_2ddisable_2ddelete_2dkey">--disable-delete-key</a></strong><br />
2486</dt>
2487<dd>
2488Removes any handling of the delete key by us - let the X server
2743do it. 2489do it.
2744</dd> 2490</dd>
2745<p></p> 2491<p></p>
2746<dt><strong><a name="item__2d_2ddisable_2ddelete_2dkey">--disable-delete-key</a></strong><br />
2747</dt>
2748<dd>
2749Disable any handling of the delete key by us - let the X server
2750do it.
2751</dd>
2752<p></p>
2753<dt><strong><a name="item__2d_2ddisable_2dresources">--disable-resources</a></strong><br /> 2492<dt><strong><a name="item__2d_2ddisable_2dresources">--disable-resources</a></strong><br />
2754</dt> 2493</dt>
2755<dd> 2494<dd>
2756Remove all resources checking. 2495Removes any support for resource checking.
2757</dd>
2758<p></p>
2759<dt><strong><a name="item__2d_2denable_2dxgetdefault">--enable-xgetdefault</a></strong><br />
2760</dt>
2761<dd>
2762Make resources checking via <code>XGetDefault()</code> instead of our small
2763version which only checks ~/.Xdefaults, or if that doesn't exist then
2764~/.Xresources.
2765</dd>
2766<dd>
2767<p>Please note that nowadays, things like XIM will automatically pull in and
2768use the full X resource manager, so the overhead of using it might be very
2769small, if nonexistant.</p>
2770</dd>
2771<p></p>
2772<dt><strong><a name="item__2d_2denable_2dstrings">--enable-strings</a></strong><br />
2773</dt>
2774<dd>
2775Add support for our possibly faster <code>memset()</code> function and other
2776various routines, overriding your system's versions which may
2777have been hand-crafted in assembly or may require extra libraries
2778to link in. (this breaks ANSI-C rules and has problems on many
2779GNU/Linux systems).
2780</dd> 2496</dd>
2781<p></p> 2497<p></p>
2782<dt><strong><a name="item__2d_2ddisable_2dswapscreen">--disable-swapscreen</a></strong><br /> 2498<dt><strong><a name="item__2d_2ddisable_2dswapscreen">--disable-swapscreen</a></strong><br />
2783</dt> 2499</dt>
2784<dd> 2500<dd>
2785Remove support for swap screen. 2501Remove support for secondary/swap screen.
2786</dd> 2502</dd>
2787<p></p> 2503<p></p>
2788<dt><strong><a name="item__2d_2denable_2dfrills">--enable-frills</a></strong><br /> 2504<dt><strong><a name="item_frills">--enable-frills (default: on)</a></strong><br />
2789</dt> 2505</dt>
2790<dd> 2506<dd>
2791Add support for many small features that are not essential but nice to 2507Add support for many small features that are not essential but nice to
2792have. Normally you want this, but for very small binaries you may want to 2508have. Normally you want this, but for very small binaries you may want to
2793disable this. 2509disable this.
2794</dd> 2510</dd>
2795<dd> 2511<dd>
2796<p>A non-exhaustive list of features enabled by <a href="#item__2d_2denable_2dfrills"><code>--enable-frills</code></a> (possibly 2512<p>A non-exhaustive list of features enabled by <code>--enable-frills</code> (possibly
2797in combination with other switches) is:</p> 2513in combination with other switches) is:</p>
2798</dd> 2514</dd>
2799<dd> 2515<dd>
2800<pre> 2516<pre>
2801 MWM-hints 2517 MWM-hints
2802 EWMH-hints (pid, utf8 names) and protocols (ping) 2518 EWMH-hints (pid, utf8 names) and protocols (ping)
2803 seperate underline colour 2519 seperate underline colour (-underlineColor)
2804 settable border widths and borderless switch 2520 settable border widths and borderless switch (-w, -b, -bl)
2521 visual depth selection (-depth)
2805 settable extra linespacing 2522 settable extra linespacing /-lsp)
2806 iso-14755-2 and -3, and visual feedback 2523 iso-14755-2 and -3, and visual feedback
2524 tripleclickwords (-tcw)
2525 settable insecure mode (-insecure)
2526 keysym remapping support
2527 cursor blinking and underline cursor (-cb, -uc)
2528 XEmbed support (-embed)
2529 user-pty (-pty-fd)
2530 hold on exit (-hold)
2531 skip builtin block graphics (-sbg)</pre>
2532</dd>
2533<dd>
2534<p>It also enabled some non-essential features otherwise disabled, such as:</p>
2535</dd>
2536<dd>
2537<pre>
2538 some round-trip time optimisations
2539 nearest color allocation on pseudocolor screens
2540 UTF8_STRING supporr for selection
2541 sgr modes 90..97 and 100..107
2807 backindex and forwardindex escape sequence 2542 backindex and forwardindex escape sequences
2543 view change/zero scorllback esacpe sequences
2544 locale switching escape sequence
2808 window op and some xterm/OSC escape sequences 2545 window op and some xterm/OSC escape sequences
2809 tripleclickwords 2546 rectangular selections
2810 settable insecure mode 2547 trailing space removal for selections
2811 keysym remapping support 2548 verbose X error handling</pre>
2812 cursor blinking and underline cursor
2813 -embed and -pty-fd options</pre>
2814</dd> 2549</dd>
2815<p></p> 2550<p></p>
2816<dt><strong><a name="item__2d_2denable_2diso14755">--enable-iso14755</a></strong><br /> 2551<dt><strong><a name="item_iso14755">--enable-iso14755 (default: on)</a></strong><br />
2817</dt> 2552</dt>
2818<dd> 2553<dd>
2819Enable extended ISO 14755 support (see rxvt(1), or 2554Enable extended ISO 14755 support (see rxvt(1), or
2820<em>doc/rxvt.1.txt</em>). Basic support (section 5.1) is enabled by 2555<em>doc/rxvt.1.txt</em>). Basic support (section 5.1) is enabled by
2821<a href="#item__2d_2denable_2dfrills"><code>--enable-frills</code></a>, while support for 5.2, 5.3 and 5.4 is enabled with 2556<code>--enable-frills</code>, while support for 5.2, 5.3 and 5.4 is enabled with
2822this switch. 2557this switch.
2823</dd> 2558</dd>
2824<p></p> 2559<p></p>
2825<dt><strong><a name="item__2d_2denable_2dkeepscrolling">--enable-keepscrolling</a></strong><br /> 2560<dt><strong><a name="item_keepscrolling">--enable-keepscrolling (default: on)</a></strong><br />
2826</dt> 2561</dt>
2827<dd> 2562<dd>
2828Add support for continual scrolling of the display when you hold 2563Add support for continual scrolling of the display when you hold
2829the mouse button down on a scrollbar arrow. 2564the mouse button down on a scrollbar arrow.
2830</dd> 2565</dd>
2831<p></p> 2566<p></p>
2832<dt><strong><a name="item__2d_2denable_2dmousewheel">--enable-mousewheel</a></strong><br /> 2567<dt><strong><a name="item_mousewheel">--enable-mousewheel (default: on)</a></strong><br />
2833</dt> 2568</dt>
2834<dd> 2569<dd>
2835Add support for scrolling via mouse wheel or buttons 4 &amp; 5. 2570Add support for scrolling via mouse wheel or buttons 4 &amp; 5.
2836</dd> 2571</dd>
2837<p></p> 2572<p></p>
2838<dt><strong><a name="item__2d_2denable_2dslipwheeling">--enable-slipwheeling</a></strong><br /> 2573<dt><strong><a name="item_slipwheeling">--enable-slipwheeling (default: on)</a></strong><br />
2839</dt> 2574</dt>
2840<dd> 2575<dd>
2841Add support for continual scrolling (using the mouse wheel as an 2576Add support for continual scrolling (using the mouse wheel as an
2842accelerator) while the control key is held down. This option 2577accelerator) while the control key is held down. This option
2843requires --enable-mousewheel to also be specified. 2578requires --enable-mousewheel to also be specified.
2847</dt> 2582</dt>
2848<dd> 2583<dd>
2849Remove support for mouse selection style like that of xterm. 2584Remove support for mouse selection style like that of xterm.
2850</dd> 2585</dd>
2851<p></p> 2586<p></p>
2852<dt><strong><a name="item__2d_2denable_2ddmalloc">--enable-dmalloc</a></strong><br /> 2587<dt><strong><a name="item_dmalloc">--enable-dmalloc (default: off)</a></strong><br />
2853</dt> 2588</dt>
2854<dd> 2589<dd>
2855Use Gray Watson's malloc - which is good for debugging See 2590Use Gray Watson's malloc - which is good for debugging See
2856<a href="http://www.letters.com/dmalloc/">http://www.letters.com/dmalloc/</a> for details If you use either this or the 2591<a href="http://www.letters.com/dmalloc/">http://www.letters.com/dmalloc/</a> for details If you use either this or the
2857next option, you may need to edit src/Makefile after compiling to point 2592next option, you may need to edit src/Makefile after compiling to point
2860<dd> 2595<dd>
2861<p>You can only use either this option and the following (should 2596<p>You can only use either this option and the following (should
2862you use either) .</p> 2597you use either) .</p>
2863</dd> 2598</dd>
2864<p></p> 2599<p></p>
2865<dt><strong><a name="item__2d_2denable_2ddlmalloc">--enable-dlmalloc</a></strong><br /> 2600<dt><strong><a name="item_dlmalloc">--enable-dlmalloc (default: off)</a></strong><br />
2866</dt> 2601</dt>
2867<dd> 2602<dd>
2868Use Doug Lea's malloc - which is good for a production version 2603Use Doug Lea's malloc - which is good for a production version
2869See <a href="http://g.oswego.edu/dl/html/malloc.html">http://g.oswego.edu/dl/html/malloc.html</a> for details. 2604See <a href="http://g.oswego.edu/dl/html/malloc.html">http://g.oswego.edu/dl/html/malloc.html</a> for details.
2870</dd> 2605</dd>
2871<p></p> 2606<p></p>
2872<dt><strong><a name="item__2d_2denable_2dsmart_2dresize">--enable-smart-resize</a></strong><br /> 2607<dt><strong><a name="item_resize">--enable-smart-resize (default: on)</a></strong><br />
2873</dt> 2608</dt>
2874<dd> 2609<dd>
2875Add smart growth/shrink behaviour when changing font size via from hot 2610Add smart growth/shrink behaviour when changing font size via hot
2876keys. This should keep in a fixed position the rxvt corner which is 2611keys. This should keep the window corner which is closest to a corner of
2877closest to a corner of the screen. 2612the screen in a fixed position.
2878</dd> 2613</dd>
2879<p></p> 2614<p></p>
2880<dt><strong><a name="item__2d_2denable_2dpointer_2dblank">--enable-pointer-blank</a></strong><br /> 2615<dt><strong><a name="item_blank">--enable-pointer-blank (default: on)</a></strong><br />
2881</dt> 2616</dt>
2882<dd> 2617<dd>
2883Add support to have the pointer disappear when typing or inactive. 2618Add support to have the pointer disappear when typing or inactive.
2884</dd> 2619</dd>
2885<p></p> 2620<p></p>
2886<dt><strong><a name="item__2d_2dwith_2dname_3dname">--with-name=NAME</a></strong><br /> 2621<dt><strong><a name="item_perl">--enable-perl (default: on)</a></strong><br />
2887</dt> 2622</dt>
2623<dd>
2624Enable an embedded perl interpreter. See the <strong>rxvtperl(3)</strong>
2625manpage (<em>doc/rxvtperl.txt</em>) for more info on this feature, or the files
2626in <em>src/perl-ext/</em> for the extensions that are installed by default. The
2627perl interpreter that is used can be specified via the <code>PERL</code> environment
2628variable when running configure.
2888<dd> 2629</dd>
2630<p></p>
2631<dt><strong>--with-name=NAME (default: urxvt)</strong><br />
2632</dt>
2633<dd>
2889Set the basename for the installed binaries (default: <code>urxvt</code>, resulting 2634Set the basename for the installed binaries, resulting
2890in <code>urxvt</code>, <code>urxvtd</code> etc.). Specify <code>--with-name=rxvt</code> to replace with 2635in <code>urxvt</code>, <code>urxvtd</code> etc.). Specify <code>--with-name=rxvt</code> to replace with
2891<code>rxvt</code>. 2636<code>rxvt</code>.
2892</dd> 2637</dd>
2893<p></p> 2638<p></p>
2894<dt><strong><a name="item__2d_2dwith_2dterm_3dname">--with-term=NAME</a></strong><br /> 2639<dt><strong>--with-term=NAME (default: rxvt-unicode)</strong><br />
2895</dt> 2640</dt>
2896<dd> 2641<dd>
2897Change the environmental variable for the terminal to NAME (default 2642Change the environmental variable for the terminal to NAME.
2898<code>rxvt-unicode</code>)
2899</dd> 2643</dd>
2900<p></p> 2644<p></p>
2901<dt><strong><a name="item__2d_2dwith_2dterminfo_3dpath">--with-terminfo=PATH</a></strong><br /> 2645<dt><strong><a name="item__2d_2dwith_2dterminfo_3dpath">--with-terminfo=PATH</a></strong><br />
2902</dt> 2646</dt>
2903<dd> 2647<dd>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines