ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.7.html
Revision: 1.55
Committed: Tue Jan 31 00:53:49 2006 UTC (18 years, 5 months ago) by root
Content type: text/html
Branch: MAIN
Changes since 1.54: +22 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2     <html xmlns="http://www.w3.org/1999/xhtml">
3     <head>
4     <title>REFERENCE - FAQ, command sequences and other background information</title>
5     <link rev="made" href="mailto:perl-binary@plan9.de" />
6     </head>
7    
8     <body style="background-color: white">
9    
10     <p><a name="__index__"></a></p>
11     <!-- INDEX BEGIN -->
12    
13     <ul>
14    
15     <li><a href="#name">NAME</a></li>
16     <li><a href="#synopsis">SYNOPSIS</a></li>
17     <li><a href="#description">DESCRIPTION</a></li>
18 root 1.11 <li><a href="#frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></li>
19 root 1.1 <li><a href="#rxvt_technical_reference">RXVT TECHNICAL REFERENCE</a></li>
20 root 1.11 <li><a href="#description">DESCRIPTION</a></li>
21 root 1.1 <li><a href="#definitions">Definitions</a></li>
22     <li><a href="#values">Values</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>
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>
27     <li><a href="#xpm">XPM</a></li>
28     <li><a href="#mouse_reporting">Mouse Reporting</a></li>
29     <li><a href="#key_codes">Key Codes</a></li>
30     <li><a href="#configure_options">CONFIGURE OPTIONS</a></li>
31     <li><a href="#authors">AUTHORS</a></li>
32     </ul>
33     <!-- INDEX END -->
34    
35     <hr />
36     <p>
37     </p>
38     <h1><a name="name">NAME</a></h1>
39     <p>RXVT REFERENCE - FAQ, command sequences and other background information</p>
40     <p>
41     </p>
42     <hr />
43 root 1.11 <h1><a name="synopsis">SYNOPSIS</a></h1>
44     <pre>
45     # set a new font set
46     printf '\33]50;%s\007' 9x15,xft:Kochi&quot; Mincho&quot;</pre>
47     <pre>
48     # change the locale and tell rxvt-unicode about it
49     export LC_CTYPE=ja_JP.EUC-JP; printf &quot;\33]701;$LC_CTYPE\007&quot;</pre>
50     <pre>
51     # set window title
52     printf '\33]2;%s\007' &quot;new window title&quot;</pre>
53     <p>
54     </p>
55     <hr />
56     <h1><a name="description">DESCRIPTION</a></h1>
57     <p>This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting
58     all escape sequences, and other background information.</p>
59 root 1.54 <p>The newest version of this document is also available on the World Wide Web at
60 root 1.11 <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>
61     <p>
62     </p>
63     <hr />
64 root 1.1 <h1><a name="frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></h1>
65     <dl>
66 root 1.43 <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
67     single words?</a></strong><br />
68 root 1.42 </dt>
69     <dd>
70 root 1.43 Yes. For example, if you want to select alphanumeric words, you can use
71     the following resource:
72 root 1.42 </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
79     more 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 root 1.43 <dd>
89     <p>Please also note that the <em>LeftClick Shift-LeftClik</em> combination also
90     selects words like the old code.</p>
91     </dd>
92 root 1.42 <p></p>
93 root 1.41 <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
94     change/disable it?</a></strong><br />
95     </dt>
96     <dd>
97     You can disable the perl extension completely by setting the
98     <strong>perl-ext-common</strong> resource to the empty string, which also keeps
99     rxvt-unicode from initialising perl, saving memory.
100     </dd>
101     <dd>
102     <p>If you only want to disable specific features, you first have to
103     identify which perl extension is responsible. For this, read the section
104 root 1.45 <strong>PREPACKAGED EXTENSIONS</strong> in the <code>rxvtperl(3)</code> manpage. For
105 root 1.41 example, to disable the <strong>selection-popup</strong> and <strong>option-popup</strong>, specify
106     this <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
114     extensions. Some extensions can also be configured, for example,
115     scrollback search mode is triggered by <strong>M-s</strong>. You can move it to any
116     other 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 root 1.55 <dt><strong><a name="item_the_cursor_moves_when_selecting_text_in_the_curren">The cursor moves when selecting text in the current input line, how
124     do I switch this off?</a></strong><br />
125     </dt>
126     <dt><strong><a name="item_during_rlogin_2fssh_2ftelnet_2fetc_2e_sessions_2c_">During rlogin/ssh/telnet/etc. sessions, clicking near the cursor
127     outputs strange escape sequences, how do I fix this?</a></strong><br />
128     </dt>
129     <dd>
130     These are caused by the <code>readline</code> perl extension. Under normal
131     circumstances, it will move your cursor around when you click into the
132     line that contains it. It tries hard not to do this at the wrong moment,
133     but when running a program that doesn't parse cursor movements or in some
134     cases during rlogin sessions, it fails to detect this properly.
135     </dd>
136     <dd>
137     <p>You can permamently switch this feature off by disabling the <code>readline</code>
138     extension:</p>
139     </dd>
140     <dd>
141     <pre>
142     URxvt.perl-ext-common: default,-readline</pre>
143     </dd>
144     <p></p>
145 root 1.53 <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 />
146     </dt>
147     <dd>
148     Well, why, indeed? It does, in a way very similar to other X
149     applications. Most importantly, this means that if you or your OS loads
150     resources into the X display (the right way to do it), rxvt-unicode will
151     ignore any resource files in your home directory. It will only read
152     <em>$HOME/.Xdefaults</em> when no resources are attached to the display.
153     </dd>
154     <dd>
155     <p>If you have or use an <em>$HOME/.Xresources</em> file, chances are that
156     resources are loaded into your X-server. In this case, you have to
157     re-login after every change (or run <em>xrdb -merge $HOME/.Xresources</em>).</p>
158     </dd>
159     <dd>
160     <p>Also consider the form resources have to use:</p>
161     </dd>
162     <dd>
163     <pre>
164     URxvt.resource: value</pre>
165     </dd>
166     <dd>
167     <p>If you want to use another form (there are lots of different ways of
168     specifying resources), make sure you understand wether and why it
169     works. If unsure, use the form above.</p>
170     </dd>
171     <p></p>
172     <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 />
173     </dt>
174     <dd>
175     First of all, transparency isn't officially supported in rxvt-unicode, so
176     you are mostly on your own. Do not bug the author about it (but you may
177     bug everybody else). Also, if you can't get it working consider it a rite
178 root 1.54 of passage: ... and you failed.
179 root 1.53 </dd>
180     <dd>
181 root 1.54 <p>Here are four ways to get transparency. <strong>Do</strong> read the manpage and option
182 root 1.53 descriptions for the programs mentioned and rxvt-unicode. Really, do it!</p>
183     </dd>
184     <dd>
185     <p>1. Use inheritPixmap:</p>
186     </dd>
187     <dd>
188     <pre>
189     Esetroot wallpaper.jpg
190     rxvt -ip -tint red -sh 40</pre>
191     </dd>
192     <dd>
193     <p>That works. If you think it doesn't, you lack transparency and tinting
194     support, or you are unable to read.</p>
195     </dd>
196     <dd>
197     <p>2. Use a simple pixmap and emulate pseudo-transparency. This enables you
198     to use effects other than tinting and shading: Just shade/tint/whatever
199     your picture with gimp:</p>
200     </dd>
201     <dd>
202     <pre>
203     convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm
204     rxvt -pixmap background.xpm -pe automove-background</pre>
205     </dd>
206     <dd>
207     <p>That works. If you think it doesn't, you lack XPM and Perl support, or you
208     are unable to read.</p>
209     </dd>
210     <dd>
211     <p>3. Use an ARGB visual:</p>
212     </dd>
213     <dd>
214     <pre>
215 root 1.54 rxvt -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc</pre>
216 root 1.53 </dd>
217     <dd>
218 root 1.54 <p>This requires XFT support, and the support of your X-server. If that
219     doesn't work for you, blame Xorg and Keith Packard. ARGB visuals aren't
220     there yet, no matter what they claim. Rxvt-Unicode contains the neccessary
221     bugfixes and workarounds for Xft and Xlib to make it work, but that
222     doesn't mean that your WM has the required kludges in place.</p>
223     </dd>
224     <dd>
225     <p>4. Use xcompmgr and let it do the job:</p>
226     </dd>
227     <dd>
228     <pre>
229     xprop -frame -f _NET_WM_WINDOW_OPACITY 32c \
230     -set _NET_WM_WINDOW_OPACITY 0xc0000000</pre>
231     </dd>
232     <dd>
233     <p>Then click on a window you want to make transparent. Replace <code>0xc0000000</code>
234     by other values to change the degree of opacity. If it doesn't work and
235     your server crashes, you got to keep the pieces.</p>
236 root 1.53 </dd>
237     <p></p>
238 root 1.28 <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 />
239     </dt>
240     <dd>
241     I often get asked about this, and I think, no, they didn't cause extra
242     bloat. If you compare a minimal rxvt and a minimal urxvt, you can see
243     that the urxvt binary is larger (due to some encoding tables always being
244     compiled in), but it actually uses less memory (RSS) after startup. Even
245     with <code>--disable-everything</code>, this comparison is a bit unfair, as many
246     features unique to urxvt (locale, encoding conversion, iso14755 etc.) are
247     already in use in this mode.
248     </dd>
249     <dd>
250     <pre>
251     text data bss drs rss filename
252     98398 1664 24 15695 1824 rxvt --disable-everything
253     188985 9048 66616 18222 1788 urxvt --disable-everything</pre>
254     </dd>
255     <dd>
256     <p>When you <a href="#item__2d_2denable_2deverything"><code>--enable-everything</code></a> (which _is_ unfair, as this involves xft
257     and full locale/XIM support which are quite bloaty inside libX11 and my
258     libc), the two diverge, but not unreasnobaly so.</p>
259     </dd>
260     <dd>
261     <pre>
262     text data bss drs rss filename
263     163431 2152 24 20123 2060 rxvt --enable-everything
264     1035683 49680 66648 29096 3680 urxvt --enable-everything</pre>
265     </dd>
266     <dd>
267     <p>The very large size of the text section is explained by the east-asian
268     encoding tables, which, if unused, take up disk space but nothing else
269     and can be compiled out unless you rely on X11 core fonts that use those
270     encodings. The BSS size comes from the 64k emergency buffer that my c++
271     compiler allocates (but of course doesn't use unless you are out of
272     memory). Also, using an xft font instead of a core font immediately adds a
273     few megabytes of RSS. Xft indeed is responsible for a lot of RSS even when
274     not used.</p>
275     </dd>
276     <dd>
277     <p>Of course, due to every character using two or four bytes instead of one,
278     a large scrollback buffer will ultimately make rxvt-unicode use more
279     memory.</p>
280     </dd>
281     <dd>
282     <p>Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), this
283     still fares rather well. And compared to some monsters like gnome-terminal
284     (21152k + extra 4204k in separate processes) or konsole (22200k + extra
285 root 1.37 43180k in daemons that stay around after exit, plus half a minute of
286 root 1.28 startup time, including the hundreds of warnings it spits out), it fares
287     extremely well *g*.</p>
288     </dd>
289     <p></p>
290     <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 />
291     </dt>
292     <dd>
293     Is this a question? :) It comes up very often. The simple answer is: I had
294     to write it, and C++ allowed me to write and maintain it in a fraction
295     of the time and effort (which is a scarce resource for me). Put even
296     shorter: It simply wouldn't exist without C++.
297     </dd>
298     <dd>
299     <p>My personal stance on this is that C++ is less portable than C, but in
300     the case of rxvt-unicode this hardly matters, as its portability limits
301     are defined by things like X11, pseudo terminals, locale support and unix
302     domain sockets, which are all less portable than C++ itself.</p>
303     </dd>
304     <dd>
305     <p>Regarding the bloat, see the above question: It's easy to write programs
306     in C that use gobs of memory, an certainly possible to write programs in
307     C++ that don't. C++ also often comes with large libraries, but this is
308     not necessarily the case with GCC. Here is what rxvt links against on my
309     system with a minimal config:</p>
310     </dd>
311     <dd>
312     <pre>
313     libX11.so.6 =&gt; /usr/X11R6/lib/libX11.so.6 (0x00002aaaaabc3000)
314     libc.so.6 =&gt; /lib/libc.so.6 (0x00002aaaaadde000)
315     libdl.so.2 =&gt; /lib/libdl.so.2 (0x00002aaaab01d000)
316     /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)</pre>
317     </dd>
318     <dd>
319     <p>And here is rxvt-unicode:</p>
320     </dd>
321     <dd>
322     <pre>
323     libX11.so.6 =&gt; /usr/X11R6/lib/libX11.so.6 (0x00002aaaaabc3000)
324     libgcc_s.so.1 =&gt; /lib/libgcc_s.so.1 (0x00002aaaaada2000)
325     libc.so.6 =&gt; /lib/libc.so.6 (0x00002aaaaaeb0000)
326     libdl.so.2 =&gt; /lib/libdl.so.2 (0x00002aaaab0ee000)
327     /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)</pre>
328     </dd>
329     <dd>
330     <p>No large bloated libraries (of course, none were linked in statically),
331     except maybe libX11 :)</p>
332     </dd>
333     <p></p>
334     <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 />
335     </dt>
336     <dd>
337 root 1.52 Beginning with version 7.3, there is a perl extension that implements a
338     simple tabbed terminal. It is installed by default, so any of these should
339     give you tabs:
340     </dd>
341     <dd>
342     <pre>
343     rxvt -pe tabbed</pre>
344     </dd>
345     <dd>
346     <pre>
347     URxvt.perl-ext-common: default,tabbed</pre>
348     </dd>
349     <dd>
350     <p>It will also work fine with tabbing functionality of many window managers
351     or similar tabbing programs, and its embedding-features allow it to be
352     embedded into other programs, as witnessed by <em>doc/rxvt-tabbed</em> or
353     the upcoming <code>Gtk2::URxvt</code> perl module, which features a tabbed urxvt
354     (murxvt) terminal as an example embedding application.</p>
355 root 1.28 </dd>
356     <p></p>
357 root 1.1 <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 />
358     </dt>
359     <dd>
360     The version number is displayed with the usage (-h). Also the escape
361 root 1.28 sequence <code>ESC [ 8 n</code> sets the window title to the version number. When
362 root 1.45 using the rxvtc client, the version displayed is that of the
363 root 1.28 daemon.
364 root 1.11 </dd>
365     <p></p>
366     <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 />
367     </dt>
368     <dd>
369 root 1.21 The Debian GNU/Linux package of rxvt-unicode in sarge contains large
370 root 1.49 patches that considerably change the behaviour of rxvt-unicode (but
371     unfortunately this notice has been removed). Before reporting a bug to
372     the original rxvt-unicode author please download and install the genuine
373     version (<a href="http://software.schmorp.de#rxvt-unicode">http://software.schmorp.de#rxvt-unicode</a>) and try to reproduce
374     the problem. If you cannot, chances are that the problems are specific to
375     Debian GNU/Linux, in which case it should be reported via the Debian Bug
376     Tracking System (use <code>reportbug</code> to report the bug).
377 root 1.11 </dd>
378     <dd>
379     <p>For other problems that also affect the Debian package, you can and
380     probably should use the Debian BTS, too, because, after all, it's also a
381     bug in the Debian version and it serves as a reminder for other users that
382     might encounter the same issue.</p>
383 root 1.1 </dd>
384     <p></p>
385 root 1.49 <dt><strong><a name="item_i_am_maintaining_rxvt_2dunicode_for_distribution_2">I am maintaining rxvt-unicode for distribution/OS XXX, any
386     recommendation?</a></strong><br />
387 root 1.36 </dt>
388     <dd>
389     You should build one binary with the default options. <em>configure</em>
390     now enables most useful options, and the trend goes to making them
391     runtime-switchable, too, so there is usually no drawback to enbaling them,
392     except higher disk and possibly memory usage. The perl interpreter should
393     be enabled, as important functionality (menus, selection, likely more in
394     the future) depends on it.
395     </dd>
396     <dd>
397     <p>You should not overwrite the <code>perl-ext-common</code> snd <code>perl-ext</code> resources
398     system-wide (except maybe with <code>defaults</code>). This will result in useful
399     behaviour. If your distribution aims at low memory, add an empty
400     <code>perl-ext-common</code> resource to the app-defaults file. This will keep the
401     perl interpreter disabled until the user enables it.</p>
402     </dd>
403     <dd>
404     <p>If you can/want build more binaries, I recommend building a minimal
405     one with <code>--disable-everything</code> (very useful) and a maximal one with
406     <a href="#item__2d_2denable_2deverything"><code>--enable-everything</code></a> (less useful, it will be very big due to a lot of
407     encodings built-in that increase download times and are rarely used).</p>
408     </dd>
409     <p></p>
410     <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 />
411     </dt>
412     <dd>
413 root 1.48 It should be, starting with release 7.1. You are encouraged to properly
414     install urxvt with privileges necessary for your OS now.
415     </dd>
416     <dd>
417     <p>When rxvt-unicode detects that it runs setuid or setgid, it will fork
418     into a helper process for privileged operations (pty handling on some
419     systems, utmp/wtmp/lastlog handling on others) and drop privileges
420     immediately. This is much safer than most other terminals that keep
421     privileges while running (but is more relevant to urxvt, as it contains
422     things as perl interpreters, which might be ``helpful'' to attackers).</p>
423     </dd>
424     <dd>
425     <p>This forking is done as the very first within main(), which is very early
426     and reduces possible bugs to initialisation code run before main(), or
427     things like the dynamic loader of your system, which should result in very
428     little risk.</p>
429 root 1.36 </dd>
430     <p></p>
431 root 1.1 <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 />
432     </dt>
433     <dd>
434     The terminal description used by rxvt-unicode is not as widely available
435     as that for xterm, or even rxvt (for which the same problem often arises).
436     </dd>
437     <dd>
438     <p>The correct solution for this problem is to install the terminfo, this can
439     be done like this (with ncurses' infocmp):</p>
440     </dd>
441     <dd>
442     <pre>
443     REMOTE=remotesystem.domain
444     infocmp rxvt-unicode | ssh $REMOTE &quot;cat &gt;/tmp/ti &amp;&amp; tic /tmp/ti&quot;</pre>
445     </dd>
446     <dd>
447     <p>... or by installing rxvt-unicode normally on the remote system,</p>
448     </dd>
449     <dd>
450     <p>If you cannot or do not want to do this, then you can simply set
451     <code>TERM=rxvt</code> or even <code>TERM=xterm</code>, and live with the small number of
452     problems arising, which includes wrong keymapping, less and different
453     colours and some refresh errors in fullscreen applications. It's a nice
454     quick-and-dirty workaround for rare cases, though.</p>
455     </dd>
456     <dd>
457 root 1.11 <p>If you always want to do this (and are fine with the consequences) you
458     can either recompile rxvt-unicode with the desired TERM value or use a
459     resource to set it:</p>
460 root 1.1 </dd>
461     <dd>
462     <pre>
463     URxvt.termName: rxvt</pre>
464     </dd>
465     <dd>
466     <p>If you don't plan to use <strong>rxvt</strong> (quite common...) you could also replace
467     the rxvt terminfo file with the rxvt-unicode one.</p>
468     </dd>
469     <p></p>
470 root 1.21 <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 />
471     </dt>
472     <dd>
473     Most likely it's the empty definition for <code>enacs=</code>. Just replace it by
474     <code>enacs=\E[0@</code> and try again.
475     </dd>
476     <p></p>
477 root 1.45 <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 />
478 root 1.11 </dt>
479 root 1.1 <dt><strong><a name="item_i_need_a_termcap_file_entry_2e">I need a termcap file entry.</a></strong><br />
480     </dt>
481     <dd>
482 root 1.11 One reason you might want this is that some distributions or operating
483     systems still compile some programs using the long-obsoleted termcap
484 root 1.14 library (Fedora Core's bash is one example) and rely on a termcap entry
485     for <code>rxvt-unicode</code>.
486 root 1.11 </dd>
487     <dd>
488     <p>You could use rxvt's termcap entry with resonable results in many cases.
489 root 1.1 You can also create a termcap entry by using terminfo's infocmp program
490 root 1.11 like this:</p>
491 root 1.1 </dd>
492     <dd>
493     <pre>
494     infocmp -C rxvt-unicode</pre>
495     </dd>
496     <dd>
497 root 1.11 <p>Or you could use this termcap entry, generated by the command above:</p>
498 root 1.1 </dd>
499     <dd>
500     <pre>
501     rxvt-unicode|rxvt-unicode terminal (X Window System):\
502     :am:bw:eo:km:mi:ms:xn:xo:\
503 root 1.14 :co#80:it#8:li#24:lm#0:\
504 root 1.1 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
505     :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
506 root 1.15 :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E(B:al=\E[L:\
507     :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
508     :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
509     :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
510     :i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
511     :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
512 root 1.14 :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
513     :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
514     :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E&gt;:\
515     :kh=\E[7~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
516     :mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\
517     :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
518     :te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:\
519     :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
520 root 1.1 :vs=\E[?25h:</pre>
521     </dd>
522     <p></p>
523     <dt><strong><a name="item_why_does_ls_no_longer_have_coloured_output_3f">Why does <code>ls</code> no longer have coloured output?</a></strong><br />
524     </dt>
525     <dd>
526     The <code>ls</code> in the GNU coreutils unfortunately doesn't use terminfo to
527     decide wether a terminal has colour, but uses it's own configuration
528     file. Needless to say, <code>rxvt-unicode</code> is not in it's default file (among
529     with most other terminals supporting colour). Either add:
530     </dd>
531     <dd>
532     <pre>
533     TERM rxvt-unicode</pre>
534     </dd>
535     <dd>
536     <p>to <code>/etc/DIR_COLORS</code> or simply add:</p>
537     </dd>
538     <dd>
539     <pre>
540     alias ls='ls --color=auto'</pre>
541     </dd>
542     <dd>
543     <p>to your <code>.profile</code> or <code>.bashrc</code>.</p>
544     </dd>
545     <p></p>
546     <dt><strong><a name="item_why_doesn_27t_vim_2femacs_etc_2e_use_the_88_colour">Why doesn't vim/emacs etc. use the 88 colour mode?</a></strong><br />
547     </dt>
548     <dt><strong><a name="item_why_doesn_27t_vim_2femacs_etc_2e_make_use_of_itali">Why doesn't vim/emacs etc. make use of italic?</a></strong><br />
549     </dt>
550     <dt><strong><a name="item_why_are_the_secondary_screen_2drelated_options_not">Why are the secondary screen-related options not working properly?</a></strong><br />
551     </dt>
552     <dd>
553     Make sure you are using <code>TERM=rxvt-unicode</code>. Some pre-packaged
554     distributions (most notably Debian GNU/Linux) break rxvt-unicode
555     by setting <code>TERM</code> to <code>rxvt</code>, which doesn't have these extra
556     features. Unfortunately, some of these (most notably, again, Debian
557     GNU/Linux) furthermore fail to even install the <code>rxvt-unicode</code> terminfo
558     file, so you will need to install it on your own (See the question <strong>When
559     I log-in to another system it tells me about missing terminfo data?</strong> on
560     how to do this).
561     </dd>
562     <p></p>
563 root 1.11 <dt><strong><a name="item_my_numerical_keypad_acts_weird_and_generates_diffe">My numerical keypad acts weird and generates differing output?</a></strong><br />
564     </dt>
565     <dd>
566     Some Debian GNUL/Linux users seem to have this problem, although no
567     specific details were reported so far. It is possible that this is caused
568     by the wrong <code>TERM</code> setting, although the details of wether and how
569     this can happen are unknown, as <code>TERM=rxvt</code> should offer a compatible
570     keymap. See the answer to the previous question, and please report if that
571     helped.
572     </dd>
573     <p></p>
574 root 1.1 <dt><strong><a name="item_rxvt_2dunicode_does_not_seem_to_understand_the_sel">Rxvt-unicode does not seem to understand the selected encoding?</a></strong><br />
575     </dt>
576     <dt><strong><a name="item_unicode_does_not_seem_to_work_3f">Unicode does not seem to work?</a></strong><br />
577     </dt>
578     <dd>
579     If you encounter strange problems like typing an accented character but
580     getting two unrelated other characters or similar, or if program output is
581     subtly garbled, then you should check your locale settings.
582     </dd>
583     <dd>
584     <p>Rxvt-unicode must be started with the same <code>LC_CTYPE</code> setting as the
585     programs. Often rxvt-unicode is started in the <a href="#item_c"><code>C</code></a> locale, while the
586     login script running within the rxvt-unicode window changes the locale to
587 root 1.11 something else, e.g. <code>en_GB.UTF-8</code>. Needless to say, this is not going to work.</p>
588 root 1.1 </dd>
589     <dd>
590     <p>The best thing is to fix your startup environment, as you will likely run
591     into other problems. If nothing works you can try this in your .profile.</p>
592     </dd>
593     <dd>
594     <pre>
595     printf '\e]701;%s\007' &quot;$LC_CTYPE&quot;</pre>
596     </dd>
597     <dd>
598     <p>If this doesn't work, then maybe you use a <code>LC_CTYPE</code> specification not
599     supported on your systems. Some systems have a <code>locale</code> command which
600 root 1.11 displays this (also, <code>perl -e0</code> can be used to check locale settings, as
601     it will complain loudly if it cannot set the locale). If it displays something
602     like:</p>
603 root 1.1 </dd>
604     <dd>
605     <pre>
606     locale: Cannot set LC_CTYPE to default locale: ...</pre>
607     </dd>
608     <dd>
609     <p>Then the locale you specified is not supported on your system.</p>
610     </dd>
611     <dd>
612     <p>If nothing works and you are sure that everything is set correctly then
613     you will need to remember a little known fact: Some programs just don't
614     support locales :(</p>
615     </dd>
616     <p></p>
617     <dt><strong><a name="item_why_do_some_characters_look_so_much_different_than">Why do some characters look so much different than others?</a></strong><br />
618     </dt>
619     <dt><strong><a name="item_how_does_rxvt_2dunicode_choose_fonts_3f">How does rxvt-unicode choose fonts?</a></strong><br />
620     </dt>
621     <dd>
622     Most fonts do not contain the full range of Unicode, which is
623     fine. Chances are that the font you (or the admin/package maintainer of
624     your system/os) have specified does not cover all the characters you want
625     to display.
626     </dd>
627     <dd>
628     <p><strong>rxvt-unicode</strong> makes a best-effort try at finding a replacement
629     font. Often the result is fine, but sometimes the chosen font looks
630 root 1.11 bad/ugly/wrong. Some fonts have totally strange characters that don't
631     resemble the correct glyph at all, and rxvt-unicode lacks the artificial
632     intelligence to detect that a specific glyph is wrong: it has to believe
633     the font that the characters it claims to contain indeed look correct.</p>
634 root 1.1 </dd>
635     <dd>
636     <p>In that case, select a font of your taste and add it to the font list,
637     e.g.:</p>
638     </dd>
639     <dd>
640     <pre>
641 root 1.45 rxvt -fn basefont,font2,font3...</pre>
642 root 1.1 </dd>
643     <dd>
644     <p>When rxvt-unicode sees a character, it will first look at the base
645     font. If the base font does not contain the character, it will go to the
646     next font, and so on. Specifying your own fonts will also speed up this
647     search and use less resources within rxvt-unicode and the X-server.</p>
648     </dd>
649     <dd>
650 root 1.11 <p>The only limitation is that none of the fonts may be larger than the base
651     font, as the base font defines the terminal character cell size, which
652     must be the same due to the way terminals work.</p>
653 root 1.1 </dd>
654     <p></p>
655     <dt><strong><a name="item_why_do_some_chinese_characters_look_so_different_t">Why do some chinese characters look so different than others?</a></strong><br />
656     </dt>
657     <dd>
658     This is because there is a difference between script and language --
659 root 1.11 rxvt-unicode does not know which language the text that is output is,
660     as it only knows the unicode character codes. If rxvt-unicode first
661     sees a japanese/chinese character, it might choose a japanese font for
662     display. Subsequent japanese characters will use that font. Now, many
663     chinese characters aren't represented in japanese fonts, so when the first
664 root 1.1 non-japanese character comes up, rxvt-unicode will look for a chinese font
665     -- unfortunately at this point, it will still use the japanese font for
666 root 1.11 chinese characters that are also in the japanese font.
667 root 1.1 </dd>
668     <dd>
669     <p>The workaround is easy: just tag a chinese font at the end of your font
670     list (see the previous question). The key is to view the font list as
671     a preference list: If you expect more japanese, list a japanese font
672     first. If you expect more chinese, put a chinese font first.</p>
673     </dd>
674     <dd>
675 root 1.11 <p>In the future it might be possible to switch language preferences at
676     runtime (the internal data structure has no problem with using different
677     fonts for the same character at the same time, but no interface for this
678     has been designed yet).</p>
679     </dd>
680     <dd>
681     <p>Until then, you might get away with switching fonts at runtime (see <a href="#can_i_switch_the_fonts_at_runtime">Can I switch the fonts at runtime?</a> later in this document).</p>
682 root 1.1 </dd>
683     <p></p>
684     <dt><strong><a name="item_why_does_rxvt_2dunicode_sometimes_leave_pixel_drop">Why does rxvt-unicode sometimes leave pixel droppings?</a></strong><br />
685     </dt>
686     <dd>
687     Most fonts were not designed for terminal use, which means that character
688     size varies a lot. A font that is otherwise fine for terminal use might
689     contain some characters that are simply too wide. Rxvt-unicode will avoid
690     these characters. For characters that are just ``a bit'' too wide a special
691     ``careful'' rendering mode is used that redraws adjacent characters.
692     </dd>
693     <dd>
694     <p>All of this requires that fonts do not lie about character sizes,
695     however: Xft fonts often draw glyphs larger than their acclaimed bounding
696     box, and rxvt-unicode has no way of detecting this (the correct way is to
697     ask for the character bounding box, which unfortunately is wrong in these
698     cases).</p>
699     </dd>
700     <dd>
701     <p>It's not clear (to me at least), wether this is a bug in Xft, freetype,
702     or the respective font. If you encounter this problem you might try using
703     the <code>-lsp</code> option to give the font more height. If that doesn't work, you
704     might be forced to use a different font.</p>
705     </dd>
706     <dd>
707     <p>All of this is not a problem when using X11 core fonts, as their bounding
708     box data is correct.</p>
709     </dd>
710     <p></p>
711 root 1.20 <dt><strong><a name="item_on_solaris_9_2c_many_line_2ddrawing_characters_are">On Solaris 9, many line-drawing characters are too wide.</a></strong><br />
712     </dt>
713     <dd>
714     Seems to be a known bug, read
715     <a href="http://nixdoc.net/files/forum/about34198.html">http://nixdoc.net/files/forum/about34198.html</a>. Some people use the
716     following ugly workaround to get non-double-wide-characters working:
717     </dd>
718     <dd>
719     <pre>
720     #define wcwidth(x) wcwidth(x) &gt; 1 ? 1 : wcwidth(x)</pre>
721     </dd>
722     <p></p>
723 root 1.1 <dt><strong><a name="item_compose">My Compose (Multi_key) key is no longer working.</a></strong><br />
724     </dt>
725     <dd>
726     The most common causes for this are that either your locale is not set
727     correctly, or you specified a <strong>preeditStyle</strong> that is not supported by
728     your input method. For example, if you specified <strong>OverTheSpot</strong> and
729     your input method (e.g. the default input method handling Compose keys)
730     does not support this (for instance because it is not visual), then
731     rxvt-unicode will continue without an input method.
732     </dd>
733     <dd>
734     <p>In this case either do not specify a <strong>preeditStyle</strong> or specify more than
735     one pre-edit style, such as <strong>OverTheSpot,Root,None</strong>.</p>
736     </dd>
737     <p></p>
738     <dt><strong><a name="item_i_cannot_type_ctrl_2dshift_2d2_to_get_an_ascii_nul">I cannot type <code>Ctrl-Shift-2</code> to get an ASCII NUL character due to ISO 14755</a></strong><br />
739     </dt>
740     <dd>
741     Either try <code>Ctrl-2</code> alone (it often is mapped to ASCII NUL even on
742     international keyboards) or simply use ISO 14755 support to your
743     advantage, typing &lt;Ctrl-Shift-0&gt; to get a ASCII NUL. This works for other
744     codes, too, such as <code>Ctrl-Shift-1-d</code> to type the default telnet escape
745     character and so on.
746     </dd>
747     <p></p>
748     <dt><strong><a name="item_how_can_i_keep_rxvt_2dunicode_from_using_reverse_v">How can I keep rxvt-unicode from using reverse video so much?</a></strong><br />
749     </dt>
750     <dd>
751 root 1.11 First of all, make sure you are running with the right terminal settings
752     (<code>TERM=rxvt-unicode</code>), which will get rid of most of these effects. Then
753     make sure you have specified colours for italic and bold, as otherwise
754     rxvt-unicode might use reverse video to simulate the effect:
755 root 1.1 </dd>
756     <dd>
757     <pre>
758 root 1.11 URxvt.colorBD: white
759     URxvt.colorIT: green</pre>
760 root 1.1 </dd>
761     <p></p>
762     <dt><strong><a name="item_colours">Some programs assume totally weird colours (red instead of blue), how can I fix that?</a></strong><br />
763     </dt>
764     <dd>
765 root 1.11 For some unexplainable reason, some rare programs assume a very weird
766     colour palette when confronted with a terminal with more than the standard
767     8 colours (rxvt-unicode supports 88). The right fix is, of course, to fix
768     these programs not to assume non-ISO colours without very good reasons.
769 root 1.1 </dd>
770     <dd>
771 root 1.11 <p>In the meantime, you can either edit your <code>rxvt-unicode</code> terminfo
772     definition to only claim 8 colour support or use <code>TERM=rxvt</code>, which will
773     fix colours but keep you from using other rxvt-unicode features.</p>
774 root 1.1 </dd>
775     <p></p>
776     <dt><strong><a name="item_i_am_on_freebsd_and_rxvt_2dunicode_does_not_seem_t">I am on FreeBSD and rxvt-unicode does not seem to work at all.</a></strong><br />
777     </dt>
778     <dd>
779     Rxvt-unicode requires the symbol <code>__STDC_ISO_10646__</code> to be defined
780     in your compile environment, or an implementation that implements it,
781     wether it defines the symbol or not. <code>__STDC_ISO_10646__</code> requires that
782     <strong>wchar_t</strong> is represented as unicode.
783     </dd>
784     <dd>
785     <p>As you might have guessed, FreeBSD does neither define this symobl nor
786     does it support it. Instead, it uses it's own internal representation of
787 root 1.11 <strong>wchar_t</strong>. This is, of course, completely fine with respect to standards.</p>
788 root 1.1 </dd>
789     <dd>
790 root 1.19 <p>However, that means rxvt-unicode only works in <code>POSIX</code>, <code>ISO-8859-1</code> and
791     <code>UTF-8</code> locales under FreeBSD (which all use Unicode as <strong>wchar_t</strong>.</p>
792     </dd>
793     <dd>
794     <p><code>__STDC_ISO_10646__</code> is the only sane way to support multi-language
795     apps in an OS, as using a locale-dependent (and non-standardized)
796     representation of <strong>wchar_t</strong> makes it impossible to convert between
797     <strong>wchar_t</strong> (as used by X11 and your applications) and any other encoding
798     without implementing OS-specific-wrappers for each and every locale. There
799     simply are no APIs to convert <strong>wchar_t</strong> into anything except the current
800     locale encoding.</p>
801 root 1.1 </dd>
802     <dd>
803     <p>Some applications (such as the formidable <strong>mlterm</strong>) work around this
804     by carrying their own replacement functions for character set handling
805     with them, and either implementing OS-dependent hacks or doing multiple
806     conversions (which is slow and unreliable in case the OS implements
807     encodings slightly different than the terminal emulator).</p>
808     </dd>
809     <dd>
810     <p>The rxvt-unicode author insists that the right way to fix this is in the
811     system libraries once and for all, instead of forcing every app to carry
812 root 1.11 complete replacements for them :)</p>
813 root 1.1 </dd>
814     <p></p>
815 root 1.20 <dt><strong><a name="item_i_use_solaris_9_and_it_doesn_27t_compile_2fwork_2f">I use Solaris 9 and it doesn't compile/work/etc.</a></strong><br />
816     </dt>
817     <dd>
818     Try the diff in <em>doc/solaris9.patch</em> as a base. It fixes the worst
819     problems with <code>wcwidth</code> and a compile problem.
820     </dd>
821     <p></p>
822 root 1.21 <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 />
823     </dt>
824     <dd>
825     rxvt-unicode should compile and run out of the box on cygwin, using
826     the X11 libraries that come with cygwin. libW11 emulation is no
827     longer supported (and makes no sense, either, as it only supported a
828     single font). I recommend starting the X-server in <code>-multiwindow</code> or
829     <code>-rootless</code> mode instead, which will result in similar look&amp;feel as the
830     old libW11 emulation.
831     </dd>
832     <dd>
833     <p>At the time of this writing, cygwin didn't seem to support any multi-byte
834     encodings (you might try <code>LC_CTYPE=C-UTF-8</code>), so you are likely limited
835     to 8-bit encodings.</p>
836     </dd>
837     <p></p>
838 root 1.1 <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 />
839     </dt>
840     <dt><strong><a name="item_is_there_an_option_to_switch_encodings_3f">Is there an option to switch encodings?</a></strong><br />
841     </dt>
842     <dd>
843     Unlike some other terminals, rxvt-unicode has no encoding switch, and no
844     specific ``utf-8'' mode, such as xterm. In fact, it doesn't even know about
845     UTF-8 or any other encodings with respect to terminal I/O.
846     </dd>
847     <dd>
848     <p>The reasons is that there exists a perfectly fine mechanism for selecting
849     the encoding, doing I/O and (most important) communicating this to all
850 root 1.11 applications so everybody agrees on character properties such as width
851     and code number. This mechanism is the <em>locale</em>. Applications not using
852     that info will have problems (for example, <code>xterm</code> gets the width of
853     characters wrong as it uses it's own, locale-independent table under all
854     locales).</p>
855 root 1.1 </dd>
856     <dd>
857     <p>Rxvt-unicode uses the <code>LC_CTYPE</code> locale category to select encoding. All
858     programs doing the same (that is, most) will automatically agree in the
859     interpretation of characters.</p>
860     </dd>
861     <dd>
862     <p>Unfortunately, there is no system-independent way to select locales, nor
863     is there a standard on how locale specifiers will look like.</p>
864     </dd>
865     <dd>
866     <p>On most systems, the content of the <code>LC_CTYPE</code> environment variable
867     contains an arbitrary string which corresponds to an already-installed
868     locale. Common names for locales are <code>en_US.UTF-8</code>, <code>de_DE.ISO-8859-15</code>,
869     <code>ja_JP.EUC-JP</code>, i.e. <code>language_country.encoding</code>, but other forms
870     (i.e. <code>de</code> or <code>german</code>) are also common.</p>
871     </dd>
872     <dd>
873     <p>Rxvt-unicode ignores all other locale categories, and except for
874     the encoding, ignores country or language-specific settings,
875 root 1.11 i.e. <code>de_DE.UTF-8</code> and <code>ja_JP.UTF-8</code> are the normally same to
876     rxvt-unicode.</p>
877 root 1.1 </dd>
878     <dd>
879     <p>If you want to use a specific encoding you have to make sure you start
880     rxvt-unicode with the correct <code>LC_CTYPE</code> category.</p>
881     </dd>
882     <p></p>
883     <dt><strong><a name="item_can_i_switch_locales_at_runtime_3f">Can I switch locales at runtime?</a></strong><br />
884     </dt>
885     <dd>
886 root 1.11 Yes, using an escape sequence. Try something like this, which sets
887 root 1.1 rxvt-unicode's idea of <code>LC_CTYPE</code>.
888     </dd>
889     <dd>
890     <pre>
891     printf '\e]701;%s\007' ja_JP.SJIS</pre>
892     </dd>
893     <dd>
894 root 1.11 <p>See also the previous answer.</p>
895 root 1.1 </dd>
896     <dd>
897 root 1.11 <p>Sometimes this capability is rather handy when you want to work in
898     one locale (e.g. <code>de_DE.UTF-8</code>) but some programs don't support it
899     (e.g. UTF-8). For example, I use this script to start <code>xjdic</code>, which
900     first switches to a locale supported by xjdic and back later:</p>
901 root 1.1 </dd>
902     <dd>
903     <pre>
904     printf '\e]701;%s\007' ja_JP.SJIS
905     xjdic -js
906     printf '\e]701;%s\007' de_DE.UTF-8</pre>
907     </dd>
908 root 1.11 <dd>
909     <p>You can also use xterm's <code>luit</code> program, which usually works fine, except
910     for some locales where character width differs between program- and
911     rxvt-unicode-locales.</p>
912     </dd>
913 root 1.1 <p></p>
914     <dt><strong><a name="item_can_i_switch_the_fonts_at_runtime_3f">Can I switch the fonts at runtime?</a></strong><br />
915     </dt>
916     <dd>
917 root 1.11 Yes, using an escape sequence. Try something like this, which has the same
918 root 1.1 effect as using the <code>-fn</code> switch, and takes effect immediately:
919     </dd>
920     <dd>
921     <pre>
922     printf '\e]50;%s\007' &quot;9x15bold,xft:Kochi Gothic&quot;</pre>
923     </dd>
924     <dd>
925     <p>This is useful if you e.g. work primarily with japanese (and prefer a
926     japanese font), but you have to switch to chinese temporarily, where
927     japanese fonts would only be in your way.</p>
928     </dd>
929     <dd>
930     <p>You can think of this as a kind of manual ISO-2022 switching.</p>
931     </dd>
932     <p></p>
933     <dt><strong><a name="item_why_do_italic_characters_look_as_if_clipped_3f">Why do italic characters look as if clipped?</a></strong><br />
934     </dt>
935     <dd>
936     Many fonts have difficulties with italic characters and hinting. For
937     example, the otherwise very nicely hinted font <code>xft:Bitstream Vera Sans
938 root 1.11 Mono</code> completely fails in it's italic face. A workaround might be to
939     enable freetype autohinting, i.e. like this:
940 root 1.1 </dd>
941     <dd>
942     <pre>
943 root 1.11 URxvt.italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true
944     URxvt.boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true</pre>
945 root 1.1 </dd>
946     <p></p>
947     <dt><strong><a name="item_my_input_method_wants__3csome_encoding_3e_but_i_wa">My input method wants &lt;some encoding&gt; but I want UTF-8, what can I do?</a></strong><br />
948     </dt>
949     <dd>
950     You can specify separate locales for the input method and the rest of the
951     terminal, using the resource <code>imlocale</code>:
952     </dd>
953     <dd>
954     <pre>
955 root 1.46 URxvt.imlocale: ja_JP.EUC-JP</pre>
956 root 1.1 </dd>
957     <dd>
958     <p>Now you can start your terminal with <code>LC_CTYPE=ja_JP.UTF-8</code> and still
959     use your input method. Please note, however, that you will not be able to
960     input characters outside <code>EUC-JP</code> in a normal way then, as your input
961     method limits you.</p>
962     </dd>
963     <p></p>
964 root 1.12 <dt><strong><a name="item_rxvt_2dunicode_crashes_when_the_x_input_method_cha">Rxvt-unicode crashes when the X Input Method changes or exits.</a></strong><br />
965     </dt>
966     <dd>
967     Unfortunately, this is unavoidable, as the XIM protocol is racy by
968     design. Applications can avoid some crashes at the expense of memory
969     leaks, and Input Methods can avoid some crashes by careful ordering at
970     exit time. <strong>kinput2</strong> (and derived input methods) generally succeeds,
971     while <strong>SCIM</strong> (or similar input methods) fails. In the end, however,
972     crashes cannot be completely avoided even if both sides cooperate.
973     </dd>
974     <dd>
975     <p>So the only workaround is not to kill your Input Method Servers.</p>
976     </dd>
977     <p></p>
978 root 1.1 <dt><strong><a name="item_rxvt_2dunicode_uses_gobs_of_memory_2c_how_can_i_re">Rxvt-unicode uses gobs of memory, how can I reduce that?</a></strong><br />
979     </dt>
980     <dd>
981 root 1.11 Rxvt-unicode tries to obey the rule of not charging you for something you
982 root 1.1 don't use. One thing you should try is to configure out all settings that
983     you don't need, for example, Xft support is a resource hog by design,
984     when used. Compiling it out ensures that no Xft font will be loaded
985     accidentally when rxvt-unicode tries to find a font for your characters.
986     </dd>
987     <dd>
988     <p>Also, many people (me included) like large windows and even larger
989 root 1.24 scrollback buffers: Without <code>--enable-unicode3</code>, rxvt-unicode will use
990 root 1.1 6 bytes per screen cell. For a 160x?? window this amounts to almost a
991     kilobyte per line. A scrollback buffer of 10000 lines will then (if full)
992 root 1.24 use 10 Megabytes of memory. With <code>--enable-unicode3</code> it gets worse, as
993 root 1.1 rxvt-unicode then uses 8 bytes per screen cell.</p>
994     </dd>
995     <p></p>
996     <dt><strong><a name="item_can_i_speed_up_xft_rendering_somehow_3f">Can I speed up Xft rendering somehow?</a></strong><br />
997     </dt>
998     <dd>
999     Yes, the most obvious way to speed it up is to avoid Xft entirely, as
1000     it is simply slow. If you still want Xft fonts you might try to disable
1001 root 1.23 antialiasing (by appending <code>:antialias=false</code>), which saves lots of
1002 root 1.1 memory and also speeds up rendering considerably.
1003     </dd>
1004     <p></p>
1005     <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 />
1006     </dt>
1007     <dd>
1008     Rxvt-unicode will use whatever you specify as a font. If it needs to
1009     fall back to it's default font search list it will prefer X11 core
1010     fonts, because they are small and fast, and then use Xft fonts. It has
1011     antialiasing disabled for most of them, because the author thinks they
1012     look best that way.
1013     </dd>
1014     <dd>
1015     <p>If you want antialiasing, you have to specify the fonts manually.</p>
1016     </dd>
1017     <p></p>
1018     <dt><strong><a name="item_mouse_cut_2fpaste_suddenly_no_longer_works_2e">Mouse cut/paste suddenly no longer works.</a></strong><br />
1019     </dt>
1020     <dd>
1021     Make sure that mouse reporting is actually turned off since killing
1022     some editors prematurely may leave the mouse in mouse report mode. I've
1023     heard that tcsh may use mouse reporting unless it otherwise specified. A
1024     quick check is to see if cut/paste works when the Alt or Shift keys are
1025 root 1.44 depressed.
1026 root 1.1 </dd>
1027     <p></p>
1028     <dt><strong><a name="item_what_27s_with_this_bold_2fblink_stuff_3f">What's with this bold/blink stuff?</a></strong><br />
1029     </dt>
1030     <dd>
1031     If no bold colour is set via <code>colorBD:</code>, bold will invert text using the
1032     standard foreground colour.
1033     </dd>
1034     <dd>
1035     <p>For the standard background colour, blinking will actually make the
1036     text blink when compiled with <code>--enable-blinking</code>. with standard
1037     colours. Without <code>--enable-blinking</code>, the blink attribute will be
1038     ignored.</p>
1039     </dd>
1040     <dd>
1041     <p>On ANSI colours, bold/blink attributes are used to set high-intensity
1042     foreground/background colors.</p>
1043     </dd>
1044     <dd>
1045     <p>color0-7 are the low-intensity colors.</p>
1046     </dd>
1047     <dd>
1048     <p>color8-15 are the corresponding high-intensity colors.</p>
1049     </dd>
1050     <p></p>
1051     <dt><strong><a name="item_i_don_27t_like_the_screen_colors_2e_how_do_i_chang">I don't like the screen colors. How do I change them?</a></strong><br />
1052     </dt>
1053     <dd>
1054     You can change the screen colors at run-time using <em>~/.Xdefaults</em>
1055     resources (or as long-options).
1056     </dd>
1057     <dd>
1058     <p>Here are values that are supposed to resemble a VGA screen,
1059     including the murky brown that passes for low-intensity yellow:</p>
1060     </dd>
1061     <dd>
1062     <pre>
1063 root 1.11 URxvt.color0: #000000
1064     URxvt.color1: #A80000
1065     URxvt.color2: #00A800
1066     URxvt.color3: #A8A800
1067     URxvt.color4: #0000A8
1068     URxvt.color5: #A800A8
1069     URxvt.color6: #00A8A8
1070     URxvt.color7: #A8A8A8</pre>
1071 root 1.1 </dd>
1072     <dd>
1073     <pre>
1074 root 1.11 URxvt.color8: #000054
1075     URxvt.color9: #FF0054
1076     URxvt.color10: #00FF54
1077     URxvt.color11: #FFFF54
1078     URxvt.color12: #0000FF
1079     URxvt.color13: #FF00FF
1080     URxvt.color14: #00FFFF
1081     URxvt.color15: #FFFFFF</pre>
1082 root 1.1 </dd>
1083     <dd>
1084 root 1.11 <p>And here is a more complete set of non-standard colors described (not by
1085     me) as ``pretty girly''.</p>
1086 root 1.1 </dd>
1087     <dd>
1088     <pre>
1089     URxvt.cursorColor: #dc74d1
1090     URxvt.pointerColor: #dc74d1
1091     URxvt.background: #0e0e0e
1092     URxvt.foreground: #4ad5e1
1093     URxvt.color0: #000000
1094     URxvt.color8: #8b8f93
1095     URxvt.color1: #dc74d1
1096     URxvt.color9: #dc74d1
1097     URxvt.color2: #0eb8c7
1098     URxvt.color10: #0eb8c7
1099     URxvt.color3: #dfe37e
1100     URxvt.color11: #dfe37e
1101     URxvt.color5: #9e88f0
1102     URxvt.color13: #9e88f0
1103     URxvt.color6: #73f7ff
1104     URxvt.color14: #73f7ff
1105     URxvt.color7: #e1dddd
1106     URxvt.color15: #e1dddd</pre>
1107     </dd>
1108     <p></p>
1109 root 1.45 <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 />
1110 root 1.11 </dt>
1111     <dd>
1112 root 1.45 Try <code>rxvtd -f -o</code>, which tells rxvtd to open the
1113 root 1.22 display, create the listening socket and then fork.
1114 root 1.11 </dd>
1115     <p></p>
1116 root 1.1 <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 />
1117     </dt>
1118     <dd>
1119     Assuming that the physical Backspace key corresponds to the
1120     BackSpace keysym (not likely for Linux ... see the following
1121     question) there are two standard values that can be used for
1122     Backspace: <code>^H</code> and <code>^?</code>.
1123     </dd>
1124     <dd>
1125     <p>Historically, either value is correct, but rxvt-unicode adopts the debian
1126     policy of using <code>^?</code> when unsure, because it's the one only only correct
1127     choice :).</p>
1128     </dd>
1129     <dd>
1130     <p>Rxvt-unicode tries to inherit the current stty settings and uses the value
1131     of `erase' to guess the value for backspace. If rxvt-unicode wasn't
1132     started from a terminal (say, from a menu or by remote shell), then the
1133     system value of `erase', which corresponds to CERASE in &lt;termios.h&gt;, will
1134     be used (which may not be the same as your stty setting).</p>
1135     </dd>
1136     <dd>
1137     <p>For starting a new rxvt-unicode:</p>
1138     </dd>
1139     <dd>
1140     <pre>
1141     # use Backspace = ^H
1142     $ stty erase ^H
1143 root 1.45 $ rxvt</pre>
1144 root 1.1 </dd>
1145     <dd>
1146     <pre>
1147     # use Backspace = ^?
1148     $ stty erase ^?
1149 root 1.45 $ rxvt</pre>
1150 root 1.1 </dd>
1151     <dd>
1152 root 1.44 <p>Toggle with <code>ESC [ 36 h</code> / <code>ESC [ 36 l</code>.</p>
1153 root 1.1 </dd>
1154     <dd>
1155     <p>For an existing rxvt-unicode:</p>
1156     </dd>
1157     <dd>
1158     <pre>
1159     # use Backspace = ^H
1160     $ stty erase ^H
1161     $ echo -n &quot;^[[36h&quot;</pre>
1162     </dd>
1163     <dd>
1164     <pre>
1165     # use Backspace = ^?
1166     $ stty erase ^?
1167     $ echo -n &quot;^[[36l&quot;</pre>
1168     </dd>
1169     <dd>
1170     <p>This helps satisfy some of the Backspace discrepancies that occur, but
1171     if you use Backspace = <code>^H</code>, make sure that the termcap/terminfo value
1172     properly reflects that.</p>
1173     </dd>
1174     <dd>
1175     <p>The Delete key is a another casualty of the ill-defined Backspace problem.
1176     To avoid confusion between the Backspace and Delete keys, the Delete
1177     key has been assigned an escape sequence to match the vt100 for Execute
1178 root 1.11 (<code>ESC [ 3 ~</code>) and is in the supplied termcap/terminfo.</p>
1179 root 1.1 </dd>
1180     <dd>
1181     <p>Some other Backspace problems:</p>
1182     </dd>
1183     <dd>
1184     <p>some editors use termcap/terminfo,
1185     some editors (vim I'm told) expect Backspace = ^H,
1186     GNU Emacs (and Emacs-like editors) use ^H for help.</p>
1187     </dd>
1188     <dd>
1189     <p>Perhaps someday this will all be resolved in a consistent manner.</p>
1190     </dd>
1191     <p></p>
1192     <dt><strong><a name="item_i_don_27t_like_the_key_2dbindings_2e_how_do_i_chan">I don't like the key-bindings. How do I change them?</a></strong><br />
1193     </dt>
1194     <dd>
1195     There are some compile-time selections available via configure. Unless
1196     you have run ``configure'' with the <a href="#item__2d_2ddisable_2dresources"><code>--disable-resources</code></a> option you can
1197 root 1.2 use the `keysym' resource to alter the keystrings associated with keysyms.
1198 root 1.1 </dd>
1199     <dd>
1200 root 1.45 <p>Here's an example for a URxvt session started using <code>rxvt -name URxvt</code></p>
1201 root 1.1 </dd>
1202     <dd>
1203     <pre>
1204 root 1.11 URxvt.keysym.Home: \033[1~
1205     URxvt.keysym.End: \033[4~
1206     URxvt.keysym.C-apostrophe: \033&lt;C-'&gt;
1207     URxvt.keysym.C-slash: \033&lt;C-/&gt;
1208     URxvt.keysym.C-semicolon: \033&lt;C-;&gt;
1209     URxvt.keysym.C-grave: \033&lt;C-`&gt;
1210     URxvt.keysym.C-comma: \033&lt;C-,&gt;
1211     URxvt.keysym.C-period: \033&lt;C-.&gt;
1212     URxvt.keysym.C-0x60: \033&lt;C-`&gt;
1213     URxvt.keysym.C-Tab: \033&lt;C-Tab&gt;
1214     URxvt.keysym.C-Return: \033&lt;C-Return&gt;
1215     URxvt.keysym.S-Return: \033&lt;S-Return&gt;
1216     URxvt.keysym.S-space: \033&lt;S-Space&gt;
1217     URxvt.keysym.M-Up: \033&lt;M-Up&gt;
1218     URxvt.keysym.M-Down: \033&lt;M-Down&gt;
1219     URxvt.keysym.M-Left: \033&lt;M-Left&gt;
1220     URxvt.keysym.M-Right: \033&lt;M-Right&gt;
1221     URxvt.keysym.M-C-0: list \033&lt;M-C- 0123456789 &gt;
1222 root 1.4 URxvt.keysym.M-C-a: list \033&lt;M-C- abcdefghijklmnopqrstuvwxyz &gt;
1223 root 1.11 URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007</pre>
1224 root 1.4 </dd>
1225     <dd>
1226     <p>See some more examples in the documentation for the <strong>keysym</strong> resource.</p>
1227 root 1.1 </dd>
1228     <p></p>
1229     <dt><strong><a name="item_i_27m_using_keyboard_model_xxx_that_has_extra_prio">I'm using keyboard model XXX that has extra Prior/Next/Insert keys.
1230     How do I make use of them? For example, the Sun Keyboard type 4
1231     has the following mappings that rxvt-unicode doesn't recognize.</a></strong><br />
1232     </dt>
1233     <dd>
1234     <pre>
1235     KP_Insert == Insert
1236     F22 == Print
1237     F27 == Home
1238     F29 == Prior
1239     F33 == End
1240     F35 == Next</pre>
1241     </dd>
1242     <dd>
1243 root 1.4 <p>Rather than have rxvt-unicode try to accommodate all the various possible
1244     keyboard mappings, it is better to use `xmodmap' to remap the keys as
1245     required for your particular machine.</p>
1246 root 1.1 </dd>
1247 root 1.11 <dt><strong><a name="item_how_do_i_distinguish_wether_i_27m_running_rxvt_2du">How do I distinguish wether I'm running rxvt-unicode or a regular xterm?
1248 root 1.1 I need this to decide about setting colors etc.</a></strong><br />
1249     </dt>
1250     <dd>
1251     rxvt and rxvt-unicode always export the variable ``COLORTERM'', so you can
1252     check and see if that is set. Note that several programs, JED, slrn,
1253     Midnight Commander automatically check this variable to decide whether or
1254     not to use color.
1255     </dd>
1256     <p></p>
1257     <dt><strong><a name="item_how_do_i_set_the_correct_2c_full_ip_address_for_th">How do I set the correct, full IP address for the DISPLAY variable?</a></strong><br />
1258     </dt>
1259     <dd>
1260     If you've compiled rxvt-unicode with DISPLAY_IS_IP and have enabled
1261     insecure mode then it is possible to use the following shell script
1262     snippets to correctly set the display. If your version of rxvt-unicode
1263     wasn't also compiled with ESCZ_ANSWER (as assumed in these snippets) then
1264     the COLORTERM variable can be used to distinguish rxvt-unicode from a
1265     regular xterm.
1266     </dd>
1267     <dd>
1268     <p>Courtesy of Chuck Blake &lt;<a href="mailto:cblake@BBN.COM">cblake@BBN.COM</a>&gt; with the following shell script
1269     snippets:</p>
1270     </dd>
1271     <dd>
1272     <pre>
1273     # Bourne/Korn/POSIX family of shells:
1274     [ ${TERM:-foo} = foo ] &amp;&amp; TERM=xterm # assume an xterm if we don't know
1275     if [ ${TERM:-foo} = xterm ]; then
1276     stty -icanon -echo min 0 time 15 # see if enhanced rxvt or not
1277     echo -n '^[Z'
1278     read term_id
1279     stty icanon echo
1280     if [ &quot;&quot;${term_id} = '^[[?1;2C' -a ${DISPLAY:-foo} = foo ]; then
1281     echo -n '^[[7n' # query the rxvt we are in for the DISPLAY string
1282     read DISPLAY # set it in our local shell
1283     fi
1284     fi</pre>
1285     </dd>
1286     <p></p>
1287     <dt><strong><a name="item_how_do_i_compile_the_manual_pages_for_myself_3f">How do I compile the manual pages for myself?</a></strong><br />
1288     </dt>
1289     <dd>
1290     You need to have a recent version of perl installed as <em>/usr/bin/perl</em>,
1291     one that comes with <em>pod2man</em>, <em>pod2text</em> and <em>pod2html</em>. Then go to
1292     the doc subdirectory and enter <code>make alldoc</code>.
1293     </dd>
1294     <p></p>
1295     <dt><strong><a name="item_my_question_isn_27t_answered_here_2c_can_i_ask_a_h">My question isn't answered here, can I ask a human?</a></strong><br />
1296     </dt>
1297     <dd>
1298     Before sending me mail, you could go to IRC: <code>irc.freenode.net</code>,
1299     channel <code>#rxvt-unicode</code> has some rxvt-unicode enthusiasts that might be
1300     interested in learning about new and exciting problems (but not FAQs :).
1301     </dd>
1302     <p></p></dl>
1303     <p>
1304     </p>
1305     <hr />
1306 root 1.11 <h1><a name="rxvt_technical_reference">RXVT TECHNICAL REFERENCE</a></h1>
1307 root 1.1 <p>
1308     </p>
1309     <hr />
1310     <h1><a name="description">DESCRIPTION</a></h1>
1311     <p>The rest of this document describes various technical aspects of
1312     <strong>rxvt-unicode</strong>. First the description of supported command sequences,
1313 root 1.47 followed by pixmap support and last by a description of all features
1314     selectable at <code>configure</code> time.</p>
1315 root 1.1 <p>
1316     </p>
1317     <hr />
1318     <h1><a name="definitions">Definitions</a></h1>
1319     <dl>
1320     <dt><strong><a name="item_c"><strong><code>c</code> </strong>&gt;</a></strong><br />
1321     </dt>
1322     <dd>
1323     The literal character c.
1324     </dd>
1325     <p></p>
1326     <dt><strong><a name="item_c"><strong><code>C</code> </strong>&gt;</a></strong><br />
1327     </dt>
1328     <dd>
1329     A single (required) character.
1330     </dd>
1331     <p></p>
1332     <dt><strong><a name="item_ps"><strong><code>Ps</code> </strong>&gt;</a></strong><br />
1333     </dt>
1334     <dd>
1335     A single (usually optional) numeric parameter, composed of one or more
1336     digits.
1337     </dd>
1338     <p></p>
1339     <dt><strong><a name="item_pm"><strong><code>Pm</code> </strong>&gt;</a></strong><br />
1340     </dt>
1341     <dd>
1342     A multiple numeric parameter composed of any number of single numeric
1343     parameters, separated by <code>;</code> character(s).
1344     </dd>
1345     <p></p>
1346     <dt><strong><a name="item_pt"><strong><code>Pt</code> </strong>&gt;</a></strong><br />
1347     </dt>
1348     <dd>
1349     A text parameter composed of printable characters.
1350     </dd>
1351     <p></p></dl>
1352     <p>
1353     </p>
1354     <hr />
1355     <h1><a name="values">Values</a></h1>
1356     <dl>
1357     <dt><strong><a name="item_enq"><strong><code>ENQ</code> </strong>&gt;</a></strong><br />
1358     </dt>
1359     <dd>
1360     Enquiry (Ctrl-E) = Send Device Attributes (DA)
1361     request attributes from terminal. See <strong><a href="#item_esc__5b_ps_c"><code>ESC [ Ps c</code></a> </strong>&gt;.
1362     </dd>
1363     <p></p>
1364     <dt><strong><a name="item_bel"><strong><code>BEL</code> </strong>&gt;</a></strong><br />
1365     </dt>
1366     <dd>
1367     Bell (Ctrl-G)
1368     </dd>
1369     <p></p>
1370     <dt><strong><a name="item_bs"><strong><code>BS</code> </strong>&gt;</a></strong><br />
1371     </dt>
1372     <dd>
1373     Backspace (Ctrl-H)
1374     </dd>
1375     <p></p>
1376     <dt><strong><a name="item_tab"><strong><code>TAB</code> </strong>&gt;</a></strong><br />
1377     </dt>
1378     <dd>
1379     Horizontal Tab (HT) (Ctrl-I)
1380     </dd>
1381     <p></p>
1382     <dt><strong><a name="item_lf"><strong><code>LF</code> </strong>&gt;</a></strong><br />
1383     </dt>
1384     <dd>
1385     Line Feed or New Line (NL) (Ctrl-J)
1386     </dd>
1387     <p></p>
1388     <dt><strong><a name="item_vt"><strong><code>VT</code> </strong>&gt;</a></strong><br />
1389     </dt>
1390     <dd>
1391     Vertical Tab (Ctrl-K) same as <strong><a href="#item_lf"><code>LF</code></a> </strong>&gt;
1392     </dd>
1393     <p></p>
1394     <dt><strong><a name="item_ff"><strong><code>FF</code> </strong>&gt;</a></strong><br />
1395     </dt>
1396     <dd>
1397     Form Feed or New Page (NP) (Ctrl-L) same as <strong><a href="#item_lf"><code>LF</code></a> </strong>&gt;
1398     </dd>
1399     <p></p>
1400     <dt><strong><a name="item_cr"><strong><code>CR</code> </strong>&gt;</a></strong><br />
1401     </dt>
1402     <dd>
1403     Carriage Return (Ctrl-M)
1404     </dd>
1405     <p></p>
1406     <dt><strong><a name="item_so"><strong><code>SO</code> </strong>&gt;</a></strong><br />
1407     </dt>
1408     <dd>
1409     Shift Out (Ctrl-N), invokes the G1 character set.
1410     Switch to Alternate Character Set
1411     </dd>
1412     <p></p>
1413     <dt><strong><a name="item_si"><strong><code>SI</code> </strong>&gt;</a></strong><br />
1414     </dt>
1415     <dd>
1416     Shift In (Ctrl-O), invokes the G0 character set (the default).
1417     Switch to Standard Character Set
1418     </dd>
1419     <p></p>
1420     <dt><strong><a name="item_spc"><strong><code>SPC</code> </strong>&gt;</a></strong><br />
1421     </dt>
1422     <dd>
1423     Space Character
1424     </dd>
1425     <p></p></dl>
1426     <p>
1427     </p>
1428     <hr />
1429     <h1><a name="escape_sequences">Escape Sequences</a></h1>
1430     <dl>
1431     <dt><strong><a name="item_esc__23_8"><strong><code>ESC # 8</code> </strong>&gt;</a></strong><br />
1432     </dt>
1433     <dd>
1434     DEC Screen Alignment Test (DECALN)
1435     </dd>
1436     <p></p>
1437     <dt><strong><a name="item_esc_7"><strong><code>ESC 7</code> </strong>&gt;</a></strong><br />
1438     </dt>
1439     <dd>
1440     Save Cursor (SC)
1441     </dd>
1442     <p></p>
1443     <dt><strong><a name="item_esc_8"><strong><code>ESC 8</code> </strong>&gt;</a></strong><br />
1444     </dt>
1445     <dd>
1446     Restore Cursor
1447     </dd>
1448     <p></p>
1449     <dt><strong><a name="item_esc__3d"><strong><code>ESC =</code> </strong>&gt;</a></strong><br />
1450     </dt>
1451     <dd>
1452     Application Keypad (SMKX). See also next sequence.
1453     </dd>
1454     <p></p>
1455     <dt><strong><a name="item_esc"><strong><code>ESC</code> </strong>&gt;&gt;</a></strong><br />
1456     </dt>
1457     <dd>
1458     Normal Keypad (RMKX)
1459     </dd>
1460     <dd>
1461     <p><strong>Note:</strong> If the numeric keypad is activated, eg, <strong>Num_Lock</strong> has been
1462     pressed, numbers or control functions are generated by the numeric keypad
1463     (see Key Codes).</p>
1464     </dd>
1465     <p></p>
1466     <dt><strong><a name="item_esc_d"><strong><code>ESC D</code> </strong>&gt;</a></strong><br />
1467     </dt>
1468     <dd>
1469     Index (IND)
1470     </dd>
1471     <p></p>
1472     <dt><strong><a name="item_esc_e"><strong><code>ESC E</code> </strong>&gt;</a></strong><br />
1473     </dt>
1474     <dd>
1475     Next Line (NEL)
1476     </dd>
1477     <p></p>
1478     <dt><strong><a name="item_esc_h"><strong><code>ESC H</code> </strong>&gt;</a></strong><br />
1479     </dt>
1480     <dd>
1481     Tab Set (HTS)
1482     </dd>
1483     <p></p>
1484     <dt><strong><a name="item_esc_m"><strong><code>ESC M</code> </strong>&gt;</a></strong><br />
1485     </dt>
1486     <dd>
1487     Reverse Index (RI)
1488     </dd>
1489     <p></p>
1490     <dt><strong><a name="item_esc_n"><strong><code>ESC N</code> </strong>&gt;</a></strong><br />
1491     </dt>
1492     <dd>
1493     Single Shift Select of G2 Character Set (SS2): affects next character
1494     only <em>unimplemented</em>
1495     </dd>
1496     <p></p>
1497     <dt><strong><a name="item_esc_o"><strong><code>ESC O</code> </strong>&gt;</a></strong><br />
1498     </dt>
1499     <dd>
1500     Single Shift Select of G3 Character Set (SS3): affects next character
1501     only <em>unimplemented</em>
1502     </dd>
1503     <p></p>
1504     <dt><strong><a name="item_esc_z"><strong><code>ESC Z</code> </strong>&gt;</a></strong><br />
1505     </dt>
1506     <dd>
1507 root 1.11 Obsolete form of returns: <strong><code>ESC [ ? 1 ; 2 C</code> </strong>&gt; <em>rxvt-unicode compile-time option</em>
1508 root 1.1 </dd>
1509     <p></p>
1510     <dt><strong><a name="item_esc_c"><strong><code>ESC c</code> </strong>&gt;</a></strong><br />
1511     </dt>
1512     <dd>
1513     Full reset (RIS)
1514     </dd>
1515     <p></p>
1516     <dt><strong><a name="item_esc_n"><strong><code>ESC n</code> </strong>&gt;</a></strong><br />
1517     </dt>
1518     <dd>
1519     Invoke the G2 Character Set (LS2)
1520     </dd>
1521     <p></p>
1522     <dt><strong><a name="item_esc_o"><strong><code>ESC o</code> </strong>&gt;</a></strong><br />
1523     </dt>
1524     <dd>
1525     Invoke the G3 Character Set (LS3)
1526     </dd>
1527     <p></p>
1528 root 1.11 <dt><strong><strong><code>ESC ( C</code> </strong>&gt;</strong><br />
1529 root 1.1 </dt>
1530     <dd>
1531     Designate G0 Character Set (ISO 2022), see below for values of <a href="#item_c"><code>C</code></a>.
1532     </dd>
1533     <p></p>
1534 root 1.11 <dt><strong><a name="item_esc__29_c"><strong><code>ESC ) C</code> </strong>&gt;</a></strong><br />
1535 root 1.1 </dt>
1536     <dd>
1537     Designate G1 Character Set (ISO 2022), see below for values of <a href="#item_c"><code>C</code></a>.
1538     </dd>
1539     <p></p>
1540     <dt><strong><a name="item_esc__2a_c"><strong><code>ESC * C</code> </strong>&gt;</a></strong><br />
1541     </dt>
1542     <dd>
1543     Designate G2 Character Set (ISO 2022), see below for values of <a href="#item_c"><code>C</code></a>.
1544     </dd>
1545     <p></p>
1546     <dt><strong><a name="item_esc__2b_c"><strong><code>ESC + C</code> </strong>&gt;</a></strong><br />
1547     </dt>
1548     <dd>
1549     Designate G3 Character Set (ISO 2022), see below for values of <a href="#item_c"><code>C</code></a>.
1550     </dd>
1551     <p></p>
1552     <dt><strong><a name="item_esc__24_c"><strong><code>ESC $ C</code> </strong>&gt;</a></strong><br />
1553     </dt>
1554     <dd>
1555     Designate Kanji Character Set
1556     </dd>
1557     <dd>
1558     <p>Where <strong><a href="#item_c"><code>C</code></a> </strong>&gt; is one of:</p>
1559     </dd>
1560     <table>
1561     <tr><td>C = 0 </td><td>DEC Special Character and Line Drawing Set</td></tr>
1562     <tr><td>C = A </td><td>United Kingdom (UK)</td></tr>
1563     <tr><td>C = B </td><td>United States (USASCII)</td></tr>
1564     <tr><td>C = <</td><td>Multinational character set unimplemented</td></tr>
1565     <tr><td>C = 5 </td><td>Finnish character set unimplemented</td></tr>
1566     <tr><td>C = C </td><td>Finnish character set unimplemented</td></tr>
1567     <tr><td>C = K </td><td>German character set unimplemented</td></tr>
1568     </table><p></p></dl>
1569     <p></p>
1570     <p>
1571     </p>
1572     <hr />
1573     <h1><a name="csi__command_sequence_introducer__sequences">CSI (Command Sequence Introducer) Sequences</a></h1>
1574     <dl>
1575     <dt><strong><a name="item_esc__5b_ps__40"><strong><code>ESC [ Ps @</code> </strong>&gt;</a></strong><br />
1576     </dt>
1577     <dd>
1578     Insert <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; (Blank) <code>Character(s)</code> [default: 1] (ICH)
1579     </dd>
1580     <p></p>
1581     <dt><strong><a name="item_esc__5b_ps_a"><strong><code>ESC [ Ps A</code> </strong>&gt;</a></strong><br />
1582     </dt>
1583     <dd>
1584     Cursor Up <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; Times [default: 1] (CUU)
1585     </dd>
1586     <p></p>
1587     <dt><strong><a name="item_esc__5b_ps_b"><strong><code>ESC [ Ps B</code> </strong>&gt;</a></strong><br />
1588     </dt>
1589     <dd>
1590     Cursor Down <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; Times [default: 1] (CUD)
1591     </dd>
1592     <p></p>
1593     <dt><strong><a name="item_esc__5b_ps_c"><strong><code>ESC [ Ps C</code> </strong>&gt;</a></strong><br />
1594     </dt>
1595     <dd>
1596     Cursor Forward <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; Times [default: 1] (CUF)
1597     </dd>
1598     <p></p>
1599     <dt><strong><a name="item_esc__5b_ps_d"><strong><code>ESC [ Ps D</code> </strong>&gt;</a></strong><br />
1600     </dt>
1601     <dd>
1602     Cursor Backward <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; Times [default: 1] (CUB)
1603     </dd>
1604     <p></p>
1605     <dt><strong><a name="item_esc__5b_ps_e"><strong><code>ESC [ Ps E</code> </strong>&gt;</a></strong><br />
1606     </dt>
1607     <dd>
1608     Cursor Down <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; Times [default: 1] and to first column
1609     </dd>
1610     <p></p>
1611     <dt><strong><a name="item_esc__5b_ps_f"><strong><code>ESC [ Ps F</code> </strong>&gt;</a></strong><br />
1612     </dt>
1613     <dd>
1614     Cursor Up <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; Times [default: 1] and to first column
1615     </dd>
1616     <p></p>
1617     <dt><strong><a name="item_esc__5b_ps_g"><strong><code>ESC [ Ps G</code> </strong>&gt;</a></strong><br />
1618     </dt>
1619     <dd>
1620     Cursor to Column <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; (HPA)
1621     </dd>
1622     <p></p>
1623     <dt><strong><a name="item_esc__5b_ps_3bps_h"><strong><code>ESC [ Ps;Ps H</code> </strong>&gt;</a></strong><br />
1624     </dt>
1625     <dd>
1626     Cursor Position [row;column] [default: 1;1] (CUP)
1627     </dd>
1628     <p></p>
1629     <dt><strong><a name="item_esc__5b_ps_i"><strong><code>ESC [ Ps I</code> </strong>&gt;</a></strong><br />
1630     </dt>
1631     <dd>
1632     Move forward <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; tab stops [default: 1]
1633     </dd>
1634     <p></p>
1635     <dt><strong><a name="item_esc__5b_ps_j"><strong><code>ESC [ Ps J</code> </strong>&gt;</a></strong><br />
1636     </dt>
1637     <dd>
1638     Erase in Display (ED)
1639     </dd>
1640     <table>
1641     <tr><td>Ps = 0</td><td>Clear Below (default)</td></tr>
1642     <tr><td>Ps = 1</td><td>Clear Above</td></tr>
1643     <tr><td>Ps = 2</td><td>Clear All</td></tr>
1644     </table><p></p>
1645     <dt><strong><a name="item_esc__5b_ps_k"><strong><code>ESC [ Ps K</code> </strong>&gt;</a></strong><br />
1646     </dt>
1647     <dd>
1648     Erase in Line (EL)
1649     </dd>
1650     <table>
1651     <tr><td>Ps = 0</td><td>Clear to Right (default)</td></tr>
1652     <tr><td>Ps = 1</td><td>Clear to Left</td></tr>
1653     <tr><td>Ps = 2</td><td>Clear All</td></tr>
1654     </table><p></p>
1655     <dt><strong><a name="item_esc__5b_ps_l"><strong><code>ESC [ Ps L</code> </strong>&gt;</a></strong><br />
1656     </dt>
1657     <dd>
1658     Insert <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; <code>Line(s)</code> [default: 1] (IL)
1659     </dd>
1660     <p></p>
1661     <dt><strong><a name="item_esc__5b_ps_m"><strong><code>ESC [ Ps M</code> </strong>&gt;</a></strong><br />
1662     </dt>
1663     <dd>
1664     Delete <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; <code>Line(s)</code> [default: 1] (DL)
1665     </dd>
1666     <p></p>
1667     <dt><strong><a name="item_esc__5b_ps_p"><strong><code>ESC [ Ps P</code> </strong>&gt;</a></strong><br />
1668     </dt>
1669     <dd>
1670     Delete <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; <code>Character(s)</code> [default: 1] (DCH)
1671     </dd>
1672     <p></p>
1673     <dt><strong><a name="item_esc__5b_ps_3bps_3bps_3bps_3bps_t"><strong><code>ESC [ Ps;Ps;Ps;Ps;Ps T</code> </strong>&gt;</a></strong><br />
1674     </dt>
1675     <dd>
1676     Initiate . <em>unimplemented</em> Parameters are
1677     [func;startx;starty;firstrow;lastrow].
1678     </dd>
1679     <p></p>
1680     <dt><strong><a name="item_esc__5b_ps_w"><strong><code>ESC [ Ps W</code> </strong>&gt;</a></strong><br />
1681     </dt>
1682     <dd>
1683     Tabulator functions
1684     </dd>
1685     <table>
1686     <tr><td>Ps = 0</td><td>Tab Set (HTS)</td></tr>
1687     <tr><td>Ps = 2</td><td>Tab Clear (TBC), Clear Current Column (default)</td></tr>
1688     <tr><td>Ps = 5</td><td>Tab Clear (TBC), Clear All</td></tr>
1689     </table><p></p>
1690     <dt><strong><a name="item_esc__5b_ps_x"><strong><code>ESC [ Ps X</code> </strong>&gt;</a></strong><br />
1691     </dt>
1692     <dd>
1693     Erase <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; <code>Character(s)</code> [default: 1] (ECH)
1694     </dd>
1695     <p></p>
1696     <dt><strong><a name="item_esc__5b_ps_z"><strong><code>ESC [ Ps Z</code> </strong>&gt;</a></strong><br />
1697     </dt>
1698     <dd>
1699     Move backward <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; [default: 1] tab stops
1700     </dd>
1701     <p></p>
1702     <dt><strong><a name="item_esc__5b_ps__27"><strong><code>ESC [ Ps '</code> </strong>&gt;</a></strong><br />
1703     </dt>
1704     <dd>
1705     See <strong><a href="#item_esc__5b_ps_g"><code>ESC [ Ps G</code></a> </strong>&gt;
1706     </dd>
1707     <p></p>
1708     <dt><strong><a name="item_esc__5b_ps_a"><strong><code>ESC [ Ps a</code> </strong>&gt;</a></strong><br />
1709     </dt>
1710     <dd>
1711     See <strong><a href="#item_esc__5b_ps_c"><code>ESC [ Ps C</code></a> </strong>&gt;
1712     </dd>
1713     <p></p>
1714     <dt><strong><a name="item_esc__5b_ps_c"><strong><code>ESC [ Ps c</code> </strong>&gt;</a></strong><br />
1715     </dt>
1716     <dd>
1717     Send Device Attributes (DA)
1718     <strong><code>Ps = 0</code> </strong>&gt; (or omitted): request attributes from terminal
1719 root 1.11 returns: <strong><code>ESC [ ? 1 ; 2 c</code> </strong>&gt; (``I am a VT100 with Advanced Video
1720 root 1.1 Option'')
1721     </dd>
1722     <p></p>
1723     <dt><strong><a name="item_esc__5b_ps_d"><strong><code>ESC [ Ps d</code> </strong>&gt;</a></strong><br />
1724     </dt>
1725     <dd>
1726     Cursor to Line <strong><a href="#item_ps"><code>Ps</code></a> </strong>&gt; (VPA)
1727     </dd>
1728     <p></p>
1729     <dt><strong><a name="item_esc__5b_ps_e"><strong><code>ESC [ Ps e</code> </strong>&gt;</a></strong><br />
1730     </dt>
1731     <dd>
1732     See <strong><a href="#item_esc__5b_ps_a"><code>ESC [ Ps A</code></a> </strong>&gt;
1733     </dd>
1734     <p></p>
1735     <dt><strong><a name="item_esc__5b_ps_3bps_f"><strong><code>ESC [ Ps;Ps f</code> </strong>&gt;</a></strong><br />
1736     </dt>
1737     <dd>
1738     Horizontal and Vertical Position [row;column] (HVP) [default: 1;1]
1739     </dd>
1740     <p></p>
1741     <dt><strong><a name="item_esc__5b_ps_g"><strong><code>ESC [ Ps g</code> </strong>&gt;</a></strong><br />
1742     </dt>
1743     <dd>
1744     Tab Clear (TBC)
1745     </dd>
1746     <table>
1747     <tr><td>Ps = 0</td><td>Clear Current Column (default)</td></tr>
1748     <tr><td>Ps = 3</td><td>Clear All (TBC)</td></tr>
1749     </table><p></p>
1750     <dt><strong><a name="item_esc__5b_pm_h"><strong><code>ESC [ Pm h</code> </strong>&gt;</a></strong><br />
1751     </dt>
1752     <dd>
1753     Set Mode (SM). See <strong><a href="#item_esc__5b_pm_l"><code>ESC [ Pm l</code></a> </strong>&gt; sequence for description of <a href="#item_pm"><code>Pm</code></a>.
1754     </dd>
1755     <p></p>
1756     <dt><strong><a name="item_esc__5b_ps_i"><strong><code>ESC [ Ps i</code> </strong>&gt;</a></strong><br />
1757     </dt>
1758     <dd>
1759     Printing. See also the <code>print-pipe</code> resource.
1760     </dd>
1761     <table>
1762     <tr><td>Ps = 0</td><td>print screen (MC0)</td></tr>
1763     <tr><td>Ps = 4</td><td>disable transparent print mode (MC4)</td></tr>
1764     <tr><td>Ps = 5</td><td>enable transparent print mode (MC5)</td></tr>
1765     </table><p></p>
1766     <dt><strong><a name="item_esc__5b_pm_l"><strong><code>ESC [ Pm l</code> </strong>&gt;</a></strong><br />
1767     </dt>
1768     <dd>
1769     Reset Mode (RM)
1770     </dd>
1771     <dl>
1772     <dt><strong><a name="item_ps__3d_4"><strong><code>Ps = 4</code> </strong>&gt;</a></strong><br />
1773     </dt>
1774     <table>
1775     <tr><td>h</td><td>Insert Mode (SMIR)</td></tr>
1776     <tr><td>l</td><td>Replace Mode (RMIR)</td></tr>
1777     </table><dt><strong><a name="item_20"><strong><code>Ps = 20</code> </strong>&gt; (partially implemented)</a></strong><br />
1778     </dt>
1779     <table>
1780     <tr><td>h</td><td>Automatic Newline (LNM)</td></tr>
1781     <tr><td>l</td><td>Normal Linefeed (LNM)</td></tr>
1782     </table></dl>
1783     <dt><strong><a name="item_esc__5b_pm_m"><strong><code>ESC [ Pm m</code> </strong>&gt;</a></strong><br />
1784     </dt>
1785     <dd>
1786     Character Attributes (SGR)
1787     </dd>
1788     <table>
1789     <tr><td>Ps = 0</td><td>Normal (default)</td></tr>
1790     <tr><td>Ps = 1 / 21</td><td>On / Off Bold (bright fg)</td></tr>
1791     <tr><td>Ps = 3 / 23</td><td>On / Off Italic</td></tr>
1792     <tr><td>Ps = 4 / 24</td><td>On / Off Underline</td></tr>
1793     <tr><td>Ps = 5 / 25</td><td>On / Off Slow Blink (bright bg)</td></tr>
1794     <tr><td>Ps = 6 / 26</td><td>On / Off Rapid Blink (bright bg)</td></tr>
1795     <tr><td>Ps = 7 / 27</td><td>On / Off Inverse</td></tr>
1796     <tr><td>Ps = 8 / 27</td><td>On / Off Invisible (NYI)</td></tr>
1797     <tr><td>Ps = 30 / 40</td><td>fg/bg Black</td></tr>
1798     <tr><td>Ps = 31 / 41</td><td>fg/bg Red</td></tr>
1799     <tr><td>Ps = 32 / 42</td><td>fg/bg Green</td></tr>
1800     <tr><td>Ps = 33 / 43</td><td>fg/bg Yellow</td></tr>
1801     <tr><td>Ps = 34 / 44</td><td>fg/bg Blue</td></tr>
1802     <tr><td>Ps = 35 / 45</td><td>fg/bg Magenta</td></tr>
1803     <tr><td>Ps = 36 / 46</td><td>fg/bg Cyan</td></tr>
1804     <tr><td>Ps = 38;5 / 48;5</td><td>set fg/bg to color #m (ISO 8613-6)</td></tr>
1805     <tr><td>Ps = 37 / 47</td><td>fg/bg White</td></tr>
1806     <tr><td>Ps = 39 / 49</td><td>fg/bg Default</td></tr>
1807     <tr><td>Ps = 90 / 100</td><td>fg/bg Bright Black</td></tr>
1808     <tr><td>Ps = 91 / 101</td><td>fg/bg Bright Red</td></tr>
1809     <tr><td>Ps = 92 / 102</td><td>fg/bg Bright Green</td></tr>
1810     <tr><td>Ps = 93 / 103</td><td>fg/bg Bright Yellow</td></tr>
1811     <tr><td>Ps = 94 / 104</td><td>fg/bg Bright Blue</td></tr>
1812     <tr><td>Ps = 95 / 105</td><td>fg/bg Bright Magenta</td></tr>
1813     <tr><td>Ps = 96 / 106</td><td>fg/bg Bright Cyan</td></tr>
1814     <tr><td>Ps = 97 / 107</td><td>fg/bg Bright White</td></tr>
1815     <tr><td>Ps = 99 / 109</td><td>fg/bg Bright Default</td></tr>
1816     </table><p></p>
1817     <dt><strong><a name="item_esc__5b_ps_n"><strong><code>ESC [ Ps n</code> </strong>&gt;</a></strong><br />
1818     </dt>
1819     <dd>
1820     Device Status Report (DSR)
1821     </dd>
1822     <table>
1823     <tr><td>Ps = 5</td><td>Status Report ESC [ 0 n (``OK'')</td></tr>
1824     <tr><td>Ps = 6</td><td>Report Cursor Position (CPR) [row;column] as ESC [ r ; c R</td></tr>
1825     <tr><td>Ps = 7</td><td>Request Display Name</td></tr>
1826     <tr><td>Ps = 8</td><td>Request Version Number (place in window title)</td></tr>
1827     </table><p></p>
1828     <dt><strong><a name="item_esc__5b_ps_3bps_r"><strong><code>ESC [ Ps;Ps r</code> </strong>&gt;</a></strong><br />
1829     </dt>
1830     <dd>
1831     Set Scrolling Region [top;bottom]
1832     [default: full size of window] (CSR)
1833     </dd>
1834     <p></p>
1835     <dt><strong><a name="item_esc__5b_s"><strong><code>ESC [ s</code> </strong>&gt;</a></strong><br />
1836     </dt>
1837     <dd>
1838     Save Cursor (SC)
1839     </dd>
1840     <p></p>
1841 root 1.4 <dt><strong><a name="item_esc__5b_ps_3bpt_t"><strong><code>ESC [ Ps;Pt t</code> </strong>&gt;</a></strong><br />
1842 root 1.1 </dt>
1843     <dd>
1844 root 1.4 Window Operations
1845 root 1.1 </dd>
1846 root 1.4 <table>
1847     <tr><td>Ps = 1</td><td>Deiconify (map) window</td></tr>
1848     <tr><td>Ps = 2</td><td>Iconify window</td></tr>
1849     <tr><td>Ps = 3</td><td>ESC [ 3 ; X ; Y t Move window to (X|Y)</td></tr>
1850 root 1.11 <tr><td>Ps = 4</td><td>ESC [ 4 ; H ; W t Resize to WxH pixels</td></tr>
1851 root 1.4 <tr><td>Ps = 5</td><td>Raise window</td></tr>
1852     <tr><td>Ps = 6</td><td>Lower window</td></tr>
1853     <tr><td>Ps = 7</td><td>Refresh screen once</td></tr>
1854 root 1.11 <tr><td>Ps = 8</td><td>ESC [ 8 ; R ; C t Resize to R rows and C columns</td></tr>
1855     <tr><td>Ps = 11</td><td>Report window state (responds with Ps = 1 or Ps = 2)</td></tr>
1856 root 1.4 <tr><td>Ps = 13</td><td>Report window position (responds with Ps = 3)</td></tr>
1857     <tr><td>Ps = 14</td><td>Report window pixel size (responds with Ps = 4)</td></tr>
1858     <tr><td>Ps = 18</td><td>Report window text size (responds with Ps = 7)</td></tr>
1859     <tr><td>Ps = 19</td><td>Currently the same as Ps = 18, but responds with Ps = 9</td></tr>
1860     <tr><td>Ps = 20</td><td>Reports icon label (ESC ] L NAME \234)</td></tr>
1861     <tr><td>Ps = 21</td><td>Reports window title (ESC ] l NAME \234)</td></tr>
1862     <tr><td>Ps = 24..</td><td>Set window height to Ps rows</td></tr>
1863     </table><p></p>
1864 root 1.1 <dt><strong><a name="item_esc__5b_u"><strong><code>ESC [ u</code> </strong>&gt;</a></strong><br />
1865     </dt>
1866     <dd>
1867     Restore Cursor
1868     </dd>
1869 root 1.4 <p></p>
1870     <dt><strong><a name="item_esc__5b_ps_x"><strong><code>ESC [ Ps x</code> </strong>&gt;</a></strong><br />
1871     </dt>
1872     <dd>
1873     Request Terminal Parameters (DECREQTPARM)
1874     </dd>
1875 root 1.1 <p></p></dl>
1876     <p></p>
1877     <p>
1878     </p>
1879     <hr />
1880     <h1><a name="dec_private_modes">DEC Private Modes</a></h1>
1881     <dl>
1882     <dt><strong><a name="item_esc__5b__3f_pm_h"><strong><code>ESC [ ? Pm h</code> </strong>&gt;</a></strong><br />
1883     </dt>
1884     <dd>
1885     DEC Private Mode Set (DECSET)
1886     </dd>
1887     <p></p>
1888     <dt><strong><a name="item_esc__5b__3f_pm_l"><strong><code>ESC [ ? Pm l</code> </strong>&gt;</a></strong><br />
1889     </dt>
1890     <dd>
1891     DEC Private Mode Reset (DECRST)
1892     </dd>
1893     <p></p>
1894     <dt><strong><a name="item_esc__5b__3f_pm_r"><strong><code>ESC [ ? Pm r</code> </strong>&gt;</a></strong><br />
1895     </dt>
1896     <dd>
1897     Restore previously saved DEC Private Mode Values.
1898     </dd>
1899     <p></p>
1900     <dt><strong><a name="item_esc__5b__3f_pm_s"><strong><code>ESC [ ? Pm s</code> </strong>&gt;</a></strong><br />
1901     </dt>
1902     <dd>
1903     Save DEC Private Mode Values.
1904     </dd>
1905     <p></p>
1906     <dt><strong><a name="item_esc__5b__3f_pm_t"><strong><code>ESC [ ? Pm t</code> </strong>&gt;</a></strong><br />
1907     </dt>
1908     <dd>
1909     Toggle DEC Private Mode Values (rxvt extension). <em>where</em>
1910     </dd>
1911     <dl>
1912     <dt><strong><a name="item_1"><strong><code>Ps = 1</code> </strong>&gt; (DECCKM)</a></strong><br />
1913     </dt>
1914     <table>
1915     <tr><td>h</td><td>Application Cursor Keys</td></tr>
1916     <tr><td>l</td><td>Normal Cursor Keys</td></tr>
1917     </table><dt><strong><a name="item_2"><strong><code>Ps = 2</code> </strong>&gt; (ANSI/VT52 mode)</a></strong><br />
1918     </dt>
1919     <table>
1920     <tr><td>h</td><td>Enter VT52 mode</td></tr>
1921     <tr><td>l</td><td>Enter VT52 mode</td></tr>
1922     </table><dt><strong><a name="item_ps__3d_3"><strong><code>Ps = 3</code> </strong>&gt;</a></strong><br />
1923     </dt>
1924     <table>
1925     <tr><td>h</td><td>132 Column Mode (DECCOLM)</td></tr>
1926     <tr><td>l</td><td>80 Column Mode (DECCOLM)</td></tr>
1927     </table><dt><strong><strong><code>Ps = 4</code> </strong>&gt;</strong><br />
1928     </dt>
1929     <table>
1930     <tr><td>h</td><td>Smooth (Slow) Scroll (DECSCLM)</td></tr>
1931     <tr><td>l</td><td>Jump (Fast) Scroll (DECSCLM)</td></tr>
1932     </table><dt><strong><a name="item_ps__3d_5"><strong><code>Ps = 5</code> </strong>&gt;</a></strong><br />
1933     </dt>
1934     <table>
1935     <tr><td>h</td><td>Reverse Video (DECSCNM)</td></tr>
1936     <tr><td>l</td><td>Normal Video (DECSCNM)</td></tr>
1937     </table><dt><strong><a name="item_ps__3d_6"><strong><code>Ps = 6</code> </strong>&gt;</a></strong><br />
1938     </dt>
1939     <table>
1940     <tr><td>h</td><td>Origin Mode (DECOM)</td></tr>
1941     <tr><td>l</td><td>Normal Cursor Mode (DECOM)</td></tr>
1942     </table><dt><strong><a name="item_ps__3d_7"><strong><code>Ps = 7</code> </strong>&gt;</a></strong><br />
1943     </dt>
1944     <table>
1945     <tr><td>h</td><td>Wraparound Mode (DECAWM)</td></tr>
1946     <tr><td>l</td><td>No Wraparound Mode (DECAWM)</td></tr>
1947     </table><dt><strong><a name="item_ps__3d_8_unimplemented"><strong><code>Ps = 8</code> </strong>&gt; <em>unimplemented</em></a></strong><br />
1948     </dt>
1949     <table>
1950     <tr><td>h</td><td>Auto-repeat Keys (DECARM)</td></tr>
1951     <tr><td>l</td><td>No Auto-repeat Keys (DECARM)</td></tr>
1952     </table><dt><strong><a name="item_ps__3d_9_x10_xterm"><strong><code>Ps = 9</code> </strong>&gt; X10 XTerm</a></strong><br />
1953     </dt>
1954     <table>
1955     <tr><td>h</td><td>Send Mouse X & Y on button press.</td></tr>
1956     <tr><td>l</td><td>No mouse reporting.</td></tr>
1957     </table><dt><strong><a name="item_ps__3d_25"><strong><code>Ps = 25</code> </strong>&gt;</a></strong><br />
1958     </dt>
1959     <table>
1960     <tr><td>h</td><td>Visible cursor {cnorm/cvvis}</td></tr>
1961     <tr><td>l</td><td>Invisible cursor {civis}</td></tr>
1962     </table><dt><strong><a name="item_ps__3d_30"><strong><code>Ps = 30</code> </strong>&gt;</a></strong><br />
1963     </dt>
1964     <table>
1965     <tr><td>h</td><td>scrollBar visisble</td></tr>
1966     <tr><td>l</td><td>scrollBar invisisble</td></tr>
1967     </table><dt><strong><a name="item_35"><strong><code>Ps = 35</code> </strong>&gt; (<strong>rxvt</strong>)</a></strong><br />
1968     </dt>
1969     <table>
1970     <tr><td>h</td><td>Allow XTerm Shift+key sequences</td></tr>
1971     <tr><td>l</td><td>Disallow XTerm Shift+key sequences</td></tr>
1972     </table><dt><strong><a name="item_ps__3d_38_unimplemented"><strong><code>Ps = 38</code> </strong>&gt; <em>unimplemented</em></a></strong><br />
1973     </dt>
1974     <dd>
1975     Enter Tektronix Mode (DECTEK)
1976     </dd>
1977     <p></p>
1978     <dt><strong><a name="item_ps__3d_40"><strong><code>Ps = 40</code> </strong>&gt;</a></strong><br />
1979     </dt>
1980     <table>
1981     <tr><td>h</td><td>Allow 80/132 Mode</td></tr>
1982     <tr><td>l</td><td>Disallow 80/132 Mode</td></tr>
1983     </table><dt><strong><a name="item_ps__3d_44_unimplemented"><strong><code>Ps = 44</code> </strong>&gt; <em>unimplemented</em></a></strong><br />
1984     </dt>
1985     <table>
1986     <tr><td>h</td><td>Turn On Margin Bell</td></tr>
1987     <tr><td>l</td><td>Turn Off Margin Bell</td></tr>
1988     </table><dt><strong><a name="item_ps__3d_45_unimplemented"><strong><code>Ps = 45</code> </strong>&gt; <em>unimplemented</em></a></strong><br />
1989     </dt>
1990     <table>
1991     <tr><td>h</td><td>Reverse-wraparound Mode</td></tr>
1992     <tr><td>l</td><td>No Reverse-wraparound Mode</td></tr>
1993     </table><dt><strong><a name="item_ps__3d_46_unimplemented"><strong><code>Ps = 46</code> </strong>&gt; <em>unimplemented</em></a></strong><br />
1994     </dt>
1995     <dt><strong><a name="item_ps__3d_47"><strong><code>Ps = 47</code> </strong>&gt;</a></strong><br />
1996     </dt>
1997     <table>
1998     <tr><td>h</td><td>Use Alternate Screen Buffer</td></tr>
1999     <tr><td>l</td><td>Use Normal Screen Buffer</td></tr>
2000     </table><p></p>
2001     <dt><strong><a name="item_ps__3d_66"><strong><code>Ps = 66</code> </strong>&gt;</a></strong><br />
2002     </dt>
2003     <table>
2004     <tr><td>h</td><td>Application Keypad (DECPAM) == ESC =</td></tr>
2005     <tr><td>l</td><td>Normal Keypad (DECPNM) == ESC ></td></tr>
2006     </table><dt><strong><a name="item_ps__3d_67"><strong><code>Ps = 67</code> </strong>&gt;</a></strong><br />
2007     </dt>
2008     <table>
2009     <tr><td>h</td><td>Backspace key sends BS (DECBKM)</td></tr>
2010     <tr><td>l</td><td>Backspace key sends DEL</td></tr>
2011     </table><dt><strong><a name="item_1000"><strong><code>Ps = 1000</code> </strong>&gt; (X11 XTerm)</a></strong><br />
2012     </dt>
2013     <table>
2014     <tr><td>h</td><td>Send Mouse X & Y on button press and release.</td></tr>
2015     <tr><td>l</td><td>No mouse reporting.</td></tr>
2016     </table><dt><strong><a name="item_1001"><strong><code>Ps = 1001</code> </strong>&gt; (X11 XTerm) <em>unimplemented</em></a></strong><br />
2017     </dt>
2018     <table>
2019     <tr><td>h</td><td>Use Hilite Mouse Tracking.</td></tr>
2020     <tr><td>l</td><td>No mouse reporting.</td></tr>
2021     </table><dt><strong><a name="item_1010"><strong><code>Ps = 1010</code> </strong>&gt; (<strong>rxvt</strong>)</a></strong><br />
2022     </dt>
2023     <table>
2024     <tr><td>h</td><td>Don't scroll to bottom on TTY output</td></tr>
2025     <tr><td>l</td><td>Scroll to bottom on TTY output</td></tr>
2026     </table><dt><strong><a name="item_1011"><strong><code>Ps = 1011</code> </strong>&gt; (<strong>rxvt</strong>)</a></strong><br />
2027     </dt>
2028     <table>
2029     <tr><td>h</td><td>Scroll to bottom when a key is pressed</td></tr>
2030     <tr><td>l</td><td>Don't scroll to bottom when a key is pressed</td></tr>
2031 root 1.29 </table><dt><strong><a name="item_1021"><strong><code>Ps = 1021</code> </strong>&gt; (<strong>rxvt</strong>)</a></strong><br />
2032     </dt>
2033     <table>
2034     <tr><td>h</td><td>Bold/italic implies high intensity (see option -is)</td></tr>
2035     <tr><td>l</td><td>Font styles have no effect on intensity (Compile styles)</td></tr>
2036 root 1.1 </table><dt><strong><a name="item_ps__3d_1047"><strong><code>Ps = 1047</code> </strong>&gt;</a></strong><br />
2037     </dt>
2038     <table>
2039     <tr><td>h</td><td>Use Alternate Screen Buffer</td></tr>
2040     <tr><td>l</td><td>Use Normal Screen Buffer - clear Alternate Screen Buffer if returning from it</td></tr>
2041     </table><dt><strong><a name="item_ps__3d_1048"><strong><code>Ps = 1048</code> </strong>&gt;</a></strong><br />
2042     </dt>
2043     <table>
2044     <tr><td>h</td><td>Save cursor position</td></tr>
2045     <tr><td>l</td><td>Restore cursor position</td></tr>
2046     </table><dt><strong><a name="item_ps__3d_1049"><strong><code>Ps = 1049</code> </strong>&gt;</a></strong><br />
2047     </dt>
2048     <table>
2049     <tr><td>h</td><td>Use Alternate Screen Buffer - clear Alternate Screen Buffer if switching to it</td></tr>
2050     <tr><td>l</td><td>Use Normal Screen Buffer</td></tr>
2051     </table></dl>
2052     </dl>
2053     <p></p>
2054     <p>
2055     </p>
2056     <hr />
2057     <h1><a name="xterm_operating_system_commands">XTerm Operating System Commands</a></h1>
2058     <dl>
2059     <dt><strong><a name="item_esc__5d_ps_3bpt_st"><strong><code>ESC ] Ps;Pt ST</code> </strong>&gt;</a></strong><br />
2060     </dt>
2061     <dd>
2062     Set XTerm Parameters. 8-bit ST: 0x9c, 7-bit ST sequence: ESC \ (0x1b,
2063     0x5c), backwards compatible terminator BEL (0x07) is also accepted. any
2064     <strong>octet</strong> can be escaped by prefixing it with SYN (0x16, ^V).
2065     </dd>
2066     <table>
2067     <tr><td>Ps = 0</td><td>Change Icon Name and Window Title to Pt</td></tr>
2068     <tr><td>Ps = 1</td><td>Change Icon Name to Pt</td></tr>
2069     <tr><td>Ps = 2</td><td>Change Window Title to Pt</td></tr>
2070     <tr><td>Ps = 3</td><td>If Pt starts with a ?, query the (STRING) property of the window and return it. If Pt contains a =, set the named property to the given value, else delete the specified property.</td></tr>
2071     <tr><td>Ps = 4</td><td>Pt is a semi-colon separated sequence of one or more semi-colon separated number/name pairs, where number is an index to a colour and name is the name of a colour. Each pair causes the numbered colour to be changed to name. Numbers 0-7 corresponds to low-intensity (normal) colours and 8-15 corresponds to high-intensity colours. 0=black, 1=red, 2=green, 3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white</td></tr>
2072     <tr><td>Ps = 10</td><td>Change colour of text foreground to Pt (NB: may change in future)</td></tr>
2073     <tr><td>Ps = 11</td><td>Change colour of text background to Pt (NB: may change in future)</td></tr>
2074     <tr><td>Ps = 12</td><td>Change colour of text cursor foreground to Pt</td></tr>
2075     <tr><td>Ps = 13</td><td>Change colour of mouse foreground to Pt</td></tr>
2076     <tr><td>Ps = 17</td><td>Change colour of highlight characters to Pt</td></tr>
2077 root 1.38 <tr><td>Ps = 18</td><td>Change colour of bold characters to Pt [deprecated, see 706]</td></tr>
2078     <tr><td>Ps = 19</td><td>Change colour of underlined characters to Pt [deprecated, see 707]</td></tr>
2079 root 1.49 <tr><td>Ps = 20</td><td>Change background pixmap parameters (see section XPM) (Compile XPM).</td></tr>
2080 root 1.18 <tr><td>Ps = 39</td><td>Change default foreground colour to Pt.</td></tr>
2081 root 1.1 <tr><td>Ps = 46</td><td>Change Log File to Pt unimplemented</td></tr>
2082 root 1.18 <tr><td>Ps = 49</td><td>Change default background colour to Pt.</td></tr>
2083 root 1.1 <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>
2084     <tr><td>Ps = 55</td><td>Log all scrollback buffer and all of screen to Pt</td></tr>
2085 root 1.18 <tr><td>Ps = 701</td><td>Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills).</td></tr>
2086 root 1.52 <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>
2087 root 1.1 <tr><td>Ps = 704</td><td>Change colour of italic characters to Pt</td></tr>
2088 root 1.18 <tr><td>Ps = 705</td><td>Change background pixmap tint colour to Pt (Compile transparency).</td></tr>
2089 root 1.38 <tr><td>Ps = 706</td><td>Change colour of bold characters to Pt</td></tr>
2090     <tr><td>Ps = 707</td><td>Change colour of underlined characters to Pt</td></tr>
2091 root 1.1 <tr><td>Ps = 710</td><td>Set normal fontset to Pt. Same as Ps = 50.</td></tr>
2092 root 1.18 <tr><td>Ps = 711</td><td>Set bold fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr>
2093     <tr><td>Ps = 712</td><td>Set italic fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr>
2094     <tr><td>Ps = 713</td><td>Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr>
2095     <tr><td>Ps = 720</td><td>Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).</td></tr>
2096     <tr><td>Ps = 721</td><td>Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).</td></tr>
2097 root 1.32 <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>
2098 root 1.1 </table><p></p></dl>
2099     <p></p>
2100     <p>
2101     </p>
2102     <hr />
2103     <h1><a name="xpm">XPM</a></h1>
2104     <p>For the XPM XTerm escape sequence <strong><code>ESC ] 20 ; Pt ST</code> </strong>&gt; then value
2105     of <strong><a href="#item_pt"><code>Pt</code></a> </strong>&gt; can be the name of the background pixmap followed by a
2106     sequence of scaling/positioning commands separated by semi-colons. The
2107     scaling/positioning commands are as follows:</p>
2108     <dl>
2109     <dt><strong><a name="item_query_scale_2fposition">query scale/position</a></strong><br />
2110     </dt>
2111     <dd>
2112     <strong>?</strong>
2113     </dd>
2114     <p></p>
2115     <dt><strong><a name="item_change_scale_and_position">change scale and position</a></strong><br />
2116     </dt>
2117     <dd>
2118     <strong>WxH+X+Y</strong>
2119     </dd>
2120     <dd>
2121     <p><strong>WxH+X</strong> (== <strong>WxH+X+X</strong>)</p>
2122     </dd>
2123     <dd>
2124     <p><strong>WxH</strong> (same as <strong>WxH+50+50</strong>)</p>
2125     </dd>
2126     <dd>
2127     <p><strong>W+X+Y</strong> (same as <strong>WxW+X+Y</strong>)</p>
2128     </dd>
2129     <dd>
2130     <p><strong>W+X</strong> (same as <strong>WxW+X+X</strong>)</p>
2131     </dd>
2132     <dd>
2133     <p><strong>W</strong> (same as <strong>WxW+50+50</strong>)</p>
2134     </dd>
2135     <p></p>
2136     <dt><strong><a name="item_position">change position (absolute)</a></strong><br />
2137     </dt>
2138     <dd>
2139     <strong>=+X+Y</strong>
2140     </dd>
2141     <dd>
2142     <p><strong>=+X</strong> (same as <strong>=+X+Y</strong>)</p>
2143     </dd>
2144     <p></p>
2145     <dt><strong>change position (relative)</strong><br />
2146     </dt>
2147     <dd>
2148     <strong>+X+Y</strong>
2149     </dd>
2150     <dd>
2151     <p><strong>+X</strong> (same as <strong>+X+Y</strong>)</p>
2152     </dd>
2153     <p></p>
2154     <dt><strong><a name="item_rescale">rescale (relative)</a></strong><br />
2155     </dt>
2156     <dd>
2157     <strong>Wx0</strong> -&gt; <strong>W *= (W/100)</strong>
2158     </dd>
2159     <dd>
2160     <p><strong>0xH</strong> -&gt; <strong>H *= (H/100)</strong></p>
2161     </dd>
2162     <p></p></dl>
2163     <p>For example:</p>
2164     <dl>
2165     <dt><strong><a name="item__5ce_5d20_3bfunky_5ca"><strong>\E]20;funky\a</strong></a></strong><br />
2166     </dt>
2167     <dd>
2168     load <strong>funky.xpm</strong> as a tiled image
2169     </dd>
2170     <p></p>
2171     <dt><strong><a name="item__5ce_5d20_3bmona_3b100_5ca"><strong>\E]20;mona;100\a</strong></a></strong><br />
2172     </dt>
2173     <dd>
2174     load <strong>mona.xpm</strong> with a scaling of 100%
2175     </dd>
2176     <p></p>
2177     <dt><strong><a name="item__5ce_5d20_3b_3b200_3b_3f_5ca"><strong>\E]20;;200;?\a</strong></a></strong><br />
2178     </dt>
2179     <dd>
2180     rescale the current pixmap to 200% and display the image geometry in
2181     the title
2182     </dd>
2183     <p></p></dl>
2184     <p>
2185     </p>
2186     <hr />
2187     <h1><a name="mouse_reporting">Mouse Reporting</a></h1>
2188     <dl>
2189     <dt><strong><a name="item_esc__5b_m__3cb_3e__3cx_3e__3cy_3e"><strong><code>ESC [ M &lt;b&gt; &lt;x&gt; &lt;y&gt;</code> </strong>&gt;</a></strong><br />
2190     </dt>
2191     <dd>
2192     report mouse position
2193     </dd>
2194     <p></p></dl>
2195     <p>The lower 2 bits of <strong><code>&lt;b&gt;</code> </strong>&gt; indicate the button:</p>
2196     <dl>
2197     <dt><strong><a name="item_button__3d__28_3cb_3e__2d_space_29__26_3">Button = <strong><code>(&lt;b&gt; - SPACE) &amp; 3</code> </strong>&gt;</a></strong><br />
2198     </dt>
2199     <table>
2200     <tr><td>0</td><td>Button1 pressed</td></tr>
2201     <tr><td>1</td><td>Button2 pressed</td></tr>
2202     <tr><td>2</td><td>Button3 pressed</td></tr>
2203     <tr><td>3</td><td>button released (X11 mouse report)</td></tr>
2204     </table></dl>
2205     <p>The upper bits of <strong><code>&lt;b&gt;</code> </strong>&gt; indicate the modifiers when the
2206     button was pressed and are added together (X11 mouse report only):</p>
2207     <dl>
2208     <dt><strong><a name="item_state__3d__28_3cb_3e__2d_space_29__26_60">State = <strong><code>(&lt;b&gt; - SPACE) &amp; 60</code> </strong>&gt;</a></strong><br />
2209     </dt>
2210     <table>
2211     <tr><td>4</td><td>Shift</td></tr>
2212     <tr><td>8</td><td>Meta</td></tr>
2213     <tr><td>16</td><td>Control</td></tr>
2214     <tr><td>32</td><td>Double Click (Rxvt extension)</td></tr>
2215     </table><p>Col = <strong><code>&lt;x&gt; - SPACE</code> </strong>&gt;</p>
2216     <p>Row = <strong><code>&lt;y&gt; - SPACE</code> </strong>&gt;</p>
2217     </dl>
2218     <p>
2219     </p>
2220     <hr />
2221     <h1><a name="key_codes">Key Codes</a></h1>
2222     <p>Note: <strong>Shift</strong> + <strong>F1</strong>-<strong>F10</strong> generates <strong>F11</strong>-<strong>F20</strong></p>
2223     <p>For the keypad, use <strong>Shift</strong> to temporarily override Application-Keypad
2224     setting use <strong>Num_Lock</strong> to toggle Application-Keypad setting if
2225     <strong>Num_Lock</strong> is off, toggle Application-Keypad setting. Also note that
2226     values of <strong>Home</strong>, <strong>End</strong>, <strong>Delete</strong> may have been compiled differently on
2227     your system.</p>
2228     <table>
2229     <tr><td></td><td>Normal</td><td>Shift</td><td>Control</td><td>Ctrl+Shift</td></tr>
2230     <tr><td>Tab</td><td>^I</td><td>ESC [ Z</td><td>^I</td><td>ESC [ Z</td></tr>
2231     <tr><td>BackSpace</td><td>^H</td><td>^?</td><td>^?</td><td>^?</td></tr>
2232     <tr><td>Find</td><td>ESC [ 1 ~</td><td>ESC [ 1 $</td><td>ESC [ 1 ^</td><td>ESC [ 1 @</td></tr>
2233     <tr><td>Insert</td><td>ESC [ 2 ~</td><td>paste</td><td>ESC [ 2 ^</td><td>ESC [ 2 @</td></tr>
2234     <tr><td>Execute</td><td>ESC [ 3 ~</td><td>ESC [ 3 $</td><td>ESC [ 3 ^</td><td>ESC [ 3 @</td></tr>
2235     <tr><td>Select</td><td>ESC [ 4 ~</td><td>ESC [ 4 $</td><td>ESC [ 4 ^</td><td>ESC [ 4 @</td></tr>
2236     <tr><td>Prior</td><td>ESC [ 5 ~</td><td>scroll-up</td><td>ESC [ 5 ^</td><td>ESC [ 5 @</td></tr>
2237     <tr><td>Next</td><td>ESC [ 6 ~</td><td>scroll-down</td><td>ESC [ 6 ^</td><td>ESC [ 6 @</td></tr>
2238     <tr><td>Home</td><td>ESC [ 7 ~</td><td>ESC [ 7 $</td><td>ESC [ 7 ^</td><td>ESC [ 7 @</td></tr>
2239     <tr><td>End</td><td>ESC [ 8 ~</td><td>ESC [ 8 $</td><td>ESC [ 8 ^</td><td>ESC [ 8 @</td></tr>
2240     <tr><td>Delete</td><td>ESC [ 3 ~</td><td>ESC [ 3 $</td><td>ESC [ 3 ^</td><td>ESC [ 3 @</td></tr>
2241     <tr><td>F1</td><td>ESC [ 11 ~</td><td>ESC [ 23 ~</td><td>ESC [ 11 ^</td><td>ESC [ 23 ^</td></tr>
2242     <tr><td>F2</td><td>ESC [ 12 ~</td><td>ESC [ 24 ~</td><td>ESC [ 12 ^</td><td>ESC [ 24 ^</td></tr>
2243     <tr><td>F3</td><td>ESC [ 13 ~</td><td>ESC [ 25 ~</td><td>ESC [ 13 ^</td><td>ESC [ 25 ^</td></tr>
2244     <tr><td>F4</td><td>ESC [ 14 ~</td><td>ESC [ 26 ~</td><td>ESC [ 14 ^</td><td>ESC [ 26 ^</td></tr>
2245     <tr><td>F5</td><td>ESC [ 15 ~</td><td>ESC [ 28 ~</td><td>ESC [ 15 ^</td><td>ESC [ 28 ^</td></tr>
2246     <tr><td>F6</td><td>ESC [ 17 ~</td><td>ESC [ 29 ~</td><td>ESC [ 17 ^</td><td>ESC [ 29 ^</td></tr>
2247     <tr><td>F7</td><td>ESC [ 18 ~</td><td>ESC [ 31 ~</td><td>ESC [ 18 ^</td><td>ESC [ 31 ^</td></tr>
2248     <tr><td>F8</td><td>ESC [ 19 ~</td><td>ESC [ 32 ~</td><td>ESC [ 19 ^</td><td>ESC [ 32 ^</td></tr>
2249     <tr><td>F9</td><td>ESC [ 20 ~</td><td>ESC [ 33 ~</td><td>ESC [ 20 ^</td><td>ESC [ 33 ^</td></tr>
2250     <tr><td>F10</td><td>ESC [ 21 ~</td><td>ESC [ 34 ~</td><td>ESC [ 21 ^</td><td>ESC [ 34 ^</td></tr>
2251     <tr><td>F11</td><td>ESC [ 23 ~</td><td>ESC [ 23 $</td><td>ESC [ 23 ^</td><td>ESC [ 23 @</td></tr>
2252     <tr><td>F12</td><td>ESC [ 24 ~</td><td>ESC [ 24 $</td><td>ESC [ 24 ^</td><td>ESC [ 24 @</td></tr>
2253     <tr><td>F13</td><td>ESC [ 25 ~</td><td>ESC [ 25 $</td><td>ESC [ 25 ^</td><td>ESC [ 25 @</td></tr>
2254     <tr><td>F14</td><td>ESC [ 26 ~</td><td>ESC [ 26 $</td><td>ESC [ 26 ^</td><td>ESC [ 26 @</td></tr>
2255     <tr><td>F15 (Help)</td><td>ESC [ 28 ~</td><td>ESC [ 28 $</td><td>ESC [ 28 ^</td><td>ESC [ 28 @</td></tr>
2256     <tr><td>F16 (Menu)</td><td>ESC [ 29 ~</td><td>ESC [ 29 $</td><td>ESC [ 29 ^</td><td>ESC [ 29 @</td></tr>
2257     <tr><td>F17</td><td>ESC [ 31 ~</td><td>ESC [ 31 $</td><td>ESC [ 31 ^</td><td>ESC [ 31 @</td></tr>
2258     <tr><td>F18</td><td>ESC [ 32 ~</td><td>ESC [ 32 $</td><td>ESC [ 32 ^</td><td>ESC [ 32 @</td></tr>
2259     <tr><td>F19</td><td>ESC [ 33 ~</td><td>ESC [ 33 $</td><td>ESC [ 33 ^</td><td>ESC [ 33 @</td></tr>
2260     <tr><td>F20</td><td>ESC [ 34 ~</td><td>ESC [ 34 $</td><td>ESC [ 34 ^</td><td>ESC [ 34 @</td></tr>
2261     <tr><td></td><td></td><td></td><td></td><td>Application</td></tr>
2262     <tr><td>Up</td><td>ESC [ A</td><td>ESC [ a</td><td>ESC O a</td><td>ESC O A</td></tr>
2263     <tr><td>Down</td><td>ESC [ B</td><td>ESC [ b</td><td>ESC O b</td><td>ESC O B</td></tr>
2264     <tr><td>Right</td><td>ESC [ C</td><td>ESC [ c</td><td>ESC O c</td><td>ESC O C</td></tr>
2265     <tr><td>Left</td><td>ESC [ D</td><td>ESC [ d</td><td>ESC O d</td><td>ESC O D</td></tr>
2266     <tr><td>KP_Enter</td><td>^M</td><td></td><td></td><td>ESC O M</td></tr>
2267     <tr><td>KP_F1</td><td>ESC O P</td><td></td><td></td><td>ESC O P</td></tr>
2268     <tr><td>KP_F2</td><td>ESC O Q</td><td></td><td></td><td>ESC O Q</td></tr>
2269     <tr><td>KP_F3</td><td>ESC O R</td><td></td><td></td><td>ESC O R</td></tr>
2270     <tr><td>KP_F4</td><td>ESC O S</td><td></td><td></td><td>ESC O S</td></tr>
2271     <tr><td>XK_KP_Multiply</td><td>*</td><td></td><td></td><td>ESC O j</td></tr>
2272     <tr><td>XK_KP_Add</td><td>+</td><td></td><td></td><td>ESC O k</td></tr>
2273     <tr><td>XK_KP_Separator</td><td>,</td><td></td><td></td><td>ESC O l</td></tr>
2274     <tr><td>XK_KP_Subtract</td><td>-</td><td></td><td></td><td>ESC O m</td></tr>
2275     <tr><td>XK_KP_Decimal</td><td>.</td><td></td><td></td><td>ESC O n</td></tr>
2276     <tr><td>XK_KP_Divide</td><td>/</td><td></td><td></td><td>ESC O o</td></tr>
2277     <tr><td>XK_KP_0</td><td>0</td><td></td><td></td><td>ESC O p</td></tr>
2278     <tr><td>XK_KP_1</td><td>1</td><td></td><td></td><td>ESC O q</td></tr>
2279     <tr><td>XK_KP_2</td><td>2</td><td></td><td></td><td>ESC O r</td></tr>
2280     <tr><td>XK_KP_3</td><td>3</td><td></td><td></td><td>ESC O s</td></tr>
2281     <tr><td>XK_KP_4</td><td>4</td><td></td><td></td><td>ESC O t</td></tr>
2282     <tr><td>XK_KP_5</td><td>5</td><td></td><td></td><td>ESC O u</td></tr>
2283     <tr><td>XK_KP_6</td><td>6</td><td></td><td></td><td>ESC O v</td></tr>
2284     <tr><td>XK_KP_7</td><td>7</td><td></td><td></td><td>ESC O w</td></tr>
2285     <tr><td>XK_KP_8</td><td>8</td><td></td><td></td><td>ESC O x</td></tr>
2286     <tr><td>XK_KP_9</td><td>9</td><td></td><td></td><td>ESC O y</td></tr>
2287     </table><p>
2288     </p>
2289     <hr />
2290     <h1><a name="configure_options">CONFIGURE OPTIONS</a></h1>
2291     <p>General hint: if you get compile errors, then likely your configuration
2292 root 1.24 hasn't been tested well. Either try with <a href="#item__2d_2denable_2deverything"><code>--enable-everything</code></a> or use
2293     the <em>./reconf</em> script as a base for experiments. <em>./reconf</em> is used by
2294     myself, so it should generally be a working config. Of course, you should
2295     always report when a combination doesn't work, so it can be fixed. Marc
2296     Lehmann &lt;<a href="mailto:rxvt@schmorp.de">rxvt@schmorp.de</a>&gt;.</p>
2297     <p>All</p>
2298 root 1.1 <dl>
2299     <dt><strong><a name="item__2d_2denable_2deverything">--enable-everything</a></strong><br />
2300     </dt>
2301     <dd>
2302 root 1.24 Add (or remove) support for all non-multichoice options listed in ``./configure
2303     --help''.
2304     </dd>
2305     <dd>
2306     <p>You can specify this and then disable options you do not like by
2307     <em>following</em> this with the appropriate <code>--disable-...</code> arguments,
2308     or you can start with a minimal configuration by specifying
2309     <code>--disable-everything</code> and than adding just the <code>--enable-...</code> arguments
2310     you want.</p>
2311 root 1.1 </dd>
2312     <p></p>
2313 root 1.24 <dt><strong><a name="item_xft">--enable-xft (default: enabled)</a></strong><br />
2314 root 1.1 </dt>
2315     <dd>
2316     Add support for Xft (anti-aliases, among others) fonts. Xft fonts are
2317     slower and require lots of memory, but as long as you don't use them, you
2318     don't pay for them.
2319     </dd>
2320     <p></p>
2321 root 1.24 <dt><strong><a name="item_styles">--enable-font-styles (default: on)</a></strong><br />
2322 root 1.1 </dt>
2323     <dd>
2324     Add support for <strong>bold</strong>, <em>italic</em> and <strong><em>bold italic</em> </strong>&gt; font
2325     styles. The fonts can be set manually or automatically.
2326     </dd>
2327     <p></p>
2328 root 1.24 <dt><strong><a name="item__2d_2dwith_2dcodesets_3dname_2c_2e_2e_2e__28defaul">--with-codesets=NAME,... (default: all)</a></strong><br />
2329 root 1.1 </dt>
2330     <dd>
2331 root 1.19 Compile in support for additional codeset (encoding) groups (<code>eu</code>, <code>vn</code>
2332     are always compiled in, which includes most 8-bit character sets). These
2333     codeset tables are used for driving X11 core fonts, they are not required
2334     for Xft fonts, although having them compiled in lets rxvt-unicode choose
2335     replacement fonts more intelligently. Compiling them in will make your
2336     binary bigger (all of together cost about 700kB), but it doesn't increase
2337     memory usage unless you use a font requiring one of these encodings.
2338 root 1.1 </dd>
2339     <table>
2340     <tr><td>all</td><td>all available codeset groups</td></tr>
2341     <tr><td>zh</td><td>common chinese encodings</td></tr>
2342     <tr><td>zh_ext</td><td>rarely used but very big chinese encodigs</td></tr>
2343     <tr><td>jp</td><td>common japanese encodings</td></tr>
2344     <tr><td>jp_ext</td><td>rarely used but big japanese encodings</td></tr>
2345     <tr><td>kr</td><td>korean encodings</td></tr>
2346     </table><p></p>
2347 root 1.24 <dt><strong><a name="item_xim">--enable-xim (default: on)</a></strong><br />
2348 root 1.1 </dt>
2349     <dd>
2350     Add support for XIM (X Input Method) protocol. This allows using
2351     alternative input methods (e.g. kinput2) and will also correctly
2352     set up the input for people using dead keys or compose keys.
2353     </dd>
2354     <p></p>
2355 root 1.24 <dt><strong><a name="item_unicode3">--enable-unicode3 (default: off)</a></strong><br />
2356 root 1.1 </dt>
2357     <dd>
2358 root 1.50 Recommended to stay off unless you really need non-BMP characters.
2359     </dd>
2360     <dd>
2361     <p>Enable direct support for displaying unicode codepoints above
2362 root 1.1 65535 (the basic multilingual page). This increases storage
2363     requirements per character from 2 to 4 bytes. X11 fonts do not yet
2364 root 1.50 support these extra characters, but Xft does.</p>
2365 root 1.1 </dd>
2366     <dd>
2367     <p>Please note that rxvt-unicode can store unicode code points &gt;65535
2368     even without this flag, but the number of such characters is
2369     limited to a view thousand (shared with combining characters,
2370     see next switch), and right now rxvt-unicode cannot display them
2371     (input/output and cut&amp;paste still work, though).</p>
2372     </dd>
2373     <p></p>
2374 root 1.24 <dt><strong><a name="item_combining">--enable-combining (default: on)</a></strong><br />
2375 root 1.1 </dt>
2376     <dd>
2377     Enable automatic composition of combining characters into
2378     composite characters. This is required for proper viewing of text
2379     where accents are encoded as seperate unicode characters. This is
2380     done by using precomposited characters when available or creating
2381     new pseudo-characters when no precomposed form exists.
2382     </dd>
2383     <dd>
2384 root 1.50 <p>Without --enable-unicode3, the number of additional precomposed
2385     characters is somewhat limited (the 6400 private use characters will be
2386     (ab-)used). With --enable-unicode3, no practical limit exists.</p>
2387 root 1.13 </dd>
2388     <dd>
2389     <p>This option will also enable storage (but not display) of characters
2390     beyond plane 0 (&gt;65535) when --enable-unicode3 was not specified.</p>
2391 root 1.1 </dd>
2392     <dd>
2393     <p>The combining table also contains entries for arabic presentation forms,
2394 root 1.13 but these are not currently used. Bug me if you want these to be used (and
2395     tell me how these are to be used...).</p>
2396 root 1.1 </dd>
2397     <p></p>
2398 root 1.24 <dt><strong><a name="item_fallback">--enable-fallback(=CLASS) (default: Rxvt)</a></strong><br />
2399 root 1.1 </dt>
2400     <dd>
2401 root 1.50 When reading resource settings, also read settings for class CLASS. To
2402     disable resource fallback use --disable-fallback.
2403 root 1.1 </dd>
2404     <p></p>
2405 root 1.24 <dt><strong><a name="item_name">--with-res-name=NAME (default: urxvt)</a></strong><br />
2406 root 1.1 </dt>
2407     <dd>
2408 root 1.24 Use the given name as default application name when
2409 root 1.1 reading resources. Specify --with-res-name=rxvt to replace rxvt.
2410     </dd>
2411     <p></p>
2412 root 1.24 <dt><strong><a name="item__2d_2dwith_2dres_2dclass_3dclass__2fdefault_3a_urx">--with-res-class=CLASS /default: URxvt)</a></strong><br />
2413 root 1.1 </dt>
2414     <dd>
2415 root 1.24 Use the given class as default application class
2416     when reading resources. Specify --with-res-class=Rxvt to replace
2417 root 1.1 rxvt.
2418     </dd>
2419     <p></p>
2420 root 1.24 <dt><strong><a name="item_utmp">--enable-utmp (default: on)</a></strong><br />
2421 root 1.1 </dt>
2422     <dd>
2423     Write user and tty to utmp file (used by programs like <em>w</em>) at
2424     start of rxvt execution and delete information when rxvt exits.
2425     </dd>
2426     <p></p>
2427 root 1.24 <dt><strong><a name="item_wtmp">--enable-wtmp (default: on)</a></strong><br />
2428 root 1.1 </dt>
2429     <dd>
2430     Write user and tty to wtmp file (used by programs like <em>last</em>) at
2431     start of rxvt execution and write logout when rxvt exits. This
2432     option requires --enable-utmp to also be specified.
2433     </dd>
2434     <p></p>
2435 root 1.24 <dt><strong><a name="item_lastlog">--enable-lastlog (default: on)</a></strong><br />
2436 root 1.1 </dt>
2437     <dd>
2438     Write user and tty to lastlog file (used by programs like
2439     <em>lastlogin</em>) at start of rxvt execution. This option requires
2440     --enable-utmp to also be specified.
2441     </dd>
2442     <p></p>
2443 root 1.35 <dt><strong><a name="item_background">--enable-xpm-background (default: on)</a></strong><br />
2444 root 1.1 </dt>
2445     <dd>
2446     Add support for XPM background pixmaps.
2447     </dd>
2448     <p></p>
2449 root 1.35 <dt><strong><a name="item_transparency">--enable-transparency (default: on)</a></strong><br />
2450 root 1.1 </dt>
2451     <dd>
2452     Add support for inheriting parent backgrounds thus giving a fake
2453     transparency to the term.
2454     </dd>
2455     <p></p>
2456 root 1.24 <dt><strong><a name="item_fading">--enable-fading (default: on)</a></strong><br />
2457 root 1.1 </dt>
2458     <dd>
2459 root 1.24 Add support for fading the text when focus is lost (requires <code>--enable-transparency</code>).
2460 root 1.1 </dd>
2461     <p></p>
2462 root 1.24 <dt><strong><a name="item_tinting">--enable-tinting (default: on)</a></strong><br />
2463 root 1.1 </dt>
2464     <dd>
2465 root 1.24 Add support for tinting of transparent backgrounds (requires <code>--enable-transparency</code>).
2466 root 1.1 </dd>
2467     <p></p>
2468 root 1.24 <dt><strong><a name="item_scroll">--enable-rxvt-scroll (default: on)</a></strong><br />
2469 root 1.1 </dt>
2470     <dd>
2471     Add support for the original rxvt scrollbar.
2472     </dd>
2473     <p></p>
2474 root 1.24 <dt><strong>--enable-next-scroll (default: on)</strong><br />
2475 root 1.1 </dt>
2476     <dd>
2477     Add support for a NeXT-like scrollbar.
2478     </dd>
2479     <p></p>
2480 root 1.24 <dt><strong>--enable-xterm-scroll (default: on)</strong><br />
2481 root 1.1 </dt>
2482     <dd>
2483     Add support for an Xterm-like scrollbar.
2484     </dd>
2485     <p></p>
2486 root 1.24 <dt><strong>--enable-plain-scroll (default: on)</strong><br />
2487 root 1.1 </dt>
2488     <dd>
2489     Add support for a very unobtrusive, plain-looking scrollbar that
2490     is the favourite of the rxvt-unicode author, having used it for
2491     many years.
2492     </dd>
2493     <p></p>
2494 root 1.24 <dt><strong><a name="item_ttygid">--enable-ttygid (default: off)</a></strong><br />
2495 root 1.1 </dt>
2496     <dd>
2497     Change tty device setting to group ``tty'' - only use this if
2498     your system uses this type of security.
2499     </dd>
2500     <p></p>
2501     <dt><strong><a name="item__2d_2ddisable_2dbackspace_2dkey">--disable-backspace-key</a></strong><br />
2502     </dt>
2503     <dd>
2504 root 1.24 Removes any handling of the backspace key by us - let the X server do it.
2505 root 1.1 </dd>
2506     <p></p>
2507     <dt><strong><a name="item__2d_2ddisable_2ddelete_2dkey">--disable-delete-key</a></strong><br />
2508     </dt>
2509     <dd>
2510 root 1.24 Removes any handling of the delete key by us - let the X server
2511 root 1.1 do it.
2512     </dd>
2513     <p></p>
2514     <dt><strong><a name="item__2d_2ddisable_2dresources">--disable-resources</a></strong><br />
2515     </dt>
2516     <dd>
2517 root 1.24 Removes any support for resource checking.
2518 root 1.1 </dd>
2519     <p></p>
2520     <dt><strong><a name="item__2d_2ddisable_2dswapscreen">--disable-swapscreen</a></strong><br />
2521     </dt>
2522     <dd>
2523 root 1.24 Remove support for secondary/swap screen.
2524 root 1.1 </dd>
2525     <p></p>
2526 root 1.24 <dt><strong><a name="item_frills">--enable-frills (default: on)</a></strong><br />
2527 root 1.1 </dt>
2528     <dd>
2529     Add support for many small features that are not essential but nice to
2530     have. Normally you want this, but for very small binaries you may want to
2531     disable this.
2532     </dd>
2533 root 1.2 <dd>
2534 root 1.24 <p>A non-exhaustive list of features enabled by <code>--enable-frills</code> (possibly
2535 root 1.2 in combination with other switches) is:</p>
2536     </dd>
2537     <dd>
2538     <pre>
2539     MWM-hints
2540 root 1.17 EWMH-hints (pid, utf8 names) and protocols (ping)
2541 root 1.33 seperate underline colour (-underlineColor)
2542     settable border widths and borderless switch (-w, -b, -bl)
2543 root 1.53 visual depth selection (-depth)
2544 root 1.33 settable extra linespacing /-lsp)
2545 root 1.2 iso-14755-2 and -3, and visual feedback
2546 root 1.33 tripleclickwords (-tcw)
2547     settable insecure mode (-insecure)
2548 root 1.16 keysym remapping support
2549 root 1.33 cursor blinking and underline cursor (-cb, -uc)
2550     XEmbed support (-embed)
2551     user-pty (-pty-fd)
2552     hold on exit (-hold)
2553 root 1.53 skip builtin block graphics (-sbg)</pre>
2554     </dd>
2555     <dd>
2556     <p>It also enabled some non-essential features otherwise disabled, such as:</p>
2557     </dd>
2558     <dd>
2559     <pre>
2560     some round-trip time optimisations
2561     nearest color allocation on pseudocolor screens
2562     UTF8_STRING supporr for selection
2563     sgr modes 90..97 and 100..107
2564     backindex and forwardindex escape sequences
2565     view change/zero scorllback esacpe sequences
2566     locale switching escape sequence
2567     window op and some xterm/OSC escape sequences
2568     rectangular selections
2569     trailing space removal for selections
2570     verbose X error handling</pre>
2571 root 1.2 </dd>
2572 root 1.1 <p></p>
2573 root 1.24 <dt><strong><a name="item_iso14755">--enable-iso14755 (default: on)</a></strong><br />
2574 root 1.1 </dt>
2575     <dd>
2576 root 1.45 Enable extended ISO 14755 support (see rxvt(1), or
2577 root 1.1 <em>doc/rxvt.1.txt</em>). Basic support (section 5.1) is enabled by
2578 root 1.24 <code>--enable-frills</code>, while support for 5.2, 5.3 and 5.4 is enabled with
2579 root 1.1 this switch.
2580     </dd>
2581     <p></p>
2582 root 1.24 <dt><strong><a name="item_keepscrolling">--enable-keepscrolling (default: on)</a></strong><br />
2583 root 1.1 </dt>
2584     <dd>
2585     Add support for continual scrolling of the display when you hold
2586     the mouse button down on a scrollbar arrow.
2587     </dd>
2588     <p></p>
2589 root 1.24 <dt><strong><a name="item_mousewheel">--enable-mousewheel (default: on)</a></strong><br />
2590 root 1.1 </dt>
2591     <dd>
2592     Add support for scrolling via mouse wheel or buttons 4 &amp; 5.
2593     </dd>
2594     <p></p>
2595 root 1.24 <dt><strong><a name="item_slipwheeling">--enable-slipwheeling (default: on)</a></strong><br />
2596 root 1.1 </dt>
2597     <dd>
2598     Add support for continual scrolling (using the mouse wheel as an
2599     accelerator) while the control key is held down. This option
2600     requires --enable-mousewheel to also be specified.
2601     </dd>
2602     <p></p>
2603     <dt><strong><a name="item__2d_2ddisable_2dnew_2dselection">--disable-new-selection</a></strong><br />
2604     </dt>
2605     <dd>
2606     Remove support for mouse selection style like that of xterm.
2607     </dd>
2608     <p></p>
2609 root 1.24 <dt><strong><a name="item_dmalloc">--enable-dmalloc (default: off)</a></strong><br />
2610 root 1.1 </dt>
2611     <dd>
2612     Use Gray Watson's malloc - which is good for debugging See
2613     <a href="http://www.letters.com/dmalloc/">http://www.letters.com/dmalloc/</a> for details If you use either this or the
2614     next option, you may need to edit src/Makefile after compiling to point
2615     DINCLUDE and DLIB to the right places.
2616     </dd>
2617     <dd>
2618     <p>You can only use either this option and the following (should
2619     you use either) .</p>
2620     </dd>
2621     <p></p>
2622 root 1.24 <dt><strong><a name="item_dlmalloc">--enable-dlmalloc (default: off)</a></strong><br />
2623 root 1.1 </dt>
2624     <dd>
2625     Use Doug Lea's malloc - which is good for a production version
2626     See <a href="http://g.oswego.edu/dl/html/malloc.html">http://g.oswego.edu/dl/html/malloc.html</a> for details.
2627     </dd>
2628     <p></p>
2629 root 1.24 <dt><strong><a name="item_resize">--enable-smart-resize (default: on)</a></strong><br />
2630 root 1.1 </dt>
2631     <dd>
2632 root 1.25 Add smart growth/shrink behaviour when changing font size via hot
2633 root 1.26 keys. This should keep the window corner which is closest to a corner of
2634     the screen in a fixed position.
2635 root 1.1 </dd>
2636     <p></p>
2637 root 1.24 <dt><strong><a name="item_blank">--enable-pointer-blank (default: on)</a></strong><br />
2638 root 1.1 </dt>
2639     <dd>
2640     Add support to have the pointer disappear when typing or inactive.
2641     </dd>
2642     <p></p>
2643 root 1.50 <dt><strong><a name="item_perl">--enable-perl (default: on)</a></strong><br />
2644 root 1.30 </dt>
2645     <dd>
2646 root 1.45 Enable an embedded perl interpreter. See the <strong>rxvtperl(3)</strong>
2647 root 1.31 manpage (<em>doc/rxvtperl.txt</em>) for more info on this feature, or the files
2648 root 1.34 in <em>src/perl-ext/</em> for the extensions that are installed by default. The
2649     perl interpreter that is used can be specified via the <code>PERL</code> environment
2650     variable when running configure.
2651 root 1.30 </dd>
2652     <p></p>
2653 root 1.24 <dt><strong>--with-name=NAME (default: urxvt)</strong><br />
2654 root 1.1 </dt>
2655     <dd>
2656 root 1.24 Set the basename for the installed binaries, resulting
2657 root 1.3 in <code>urxvt</code>, <code>urxvtd</code> etc.). Specify <code>--with-name=rxvt</code> to replace with
2658     <code>rxvt</code>.
2659 root 1.1 </dd>
2660     <p></p>
2661 root 1.24 <dt><strong>--with-term=NAME (default: rxvt-unicode)</strong><br />
2662 root 1.1 </dt>
2663     <dd>
2664 root 1.24 Change the environmental variable for the terminal to NAME.
2665 root 1.1 </dd>
2666     <p></p>
2667     <dt><strong><a name="item__2d_2dwith_2dterminfo_3dpath">--with-terminfo=PATH</a></strong><br />
2668     </dt>
2669     <dd>
2670     Change the environmental variable for the path to the terminfo tree to
2671     PATH.
2672     </dd>
2673     <p></p>
2674     <dt><strong><a name="item__2d_2dwith_2dx">--with-x</a></strong><br />
2675     </dt>
2676     <dd>
2677     Use the X Window System (pretty much default, eh?).
2678     </dd>
2679     <p></p>
2680     <dt><strong><a name="item__2d_2dwith_2dxpm_2dincludes_3ddir">--with-xpm-includes=DIR</a></strong><br />
2681     </dt>
2682     <dd>
2683     Look for the XPM includes in DIR.
2684     </dd>
2685     <p></p>
2686     <dt><strong><a name="item__2d_2dwith_2dxpm_2dlibrary_3ddir">--with-xpm-library=DIR</a></strong><br />
2687     </dt>
2688     <dd>
2689     Look for the XPM library in DIR.
2690     </dd>
2691     <p></p>
2692     <dt><strong><a name="item__2d_2dwith_2dxpm">--with-xpm</a></strong><br />
2693     </dt>
2694     <dd>
2695     Not needed - define via --enable-xpm-background.
2696     </dd>
2697     <p></p></dl>
2698     <p>
2699     </p>
2700     <hr />
2701     <h1><a name="authors">AUTHORS</a></h1>
2702     <p>Marc Lehmann &lt;<a href="mailto:rxvt@schmorp.de">rxvt@schmorp.de</a>&gt; converted this document to pod and
2703     reworked it from the original Rxvt documentation, which was done by Geoff
2704     Wing &lt;<a href="mailto:gcw@pobox.com">gcw@pobox.com</a>&gt;, who in turn used the XTerm documentation and other
2705     sources.</p>
2706    
2707     </body>
2708    
2709     </html>