# doc/Makefile.in -*- Makefile -*-
-# $Id: Makefile.in,v 1.19 2004-09-08 17:22:35 root Exp $
+# $Id: Makefile.in,v 1.20 2005-02-11 18:06:44 root Exp $
@MCOMMON@
srcdir = @srcdir@
./podtbl <$< >$@
%.1.man.in: %.1.tbl
- pod2man -n rxvt -r"$(VERSION)" -qnone -s1 -c "RXVT-UNICODE" <$< >$@
+ pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@
%.7.man.in: %.7.tbl
- pod2man -n rxvt -r"$(VERSION)" -qnone -s7 -c "RXVT-UNICODE" <$< >$@
+ pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@
%.html: %.tbl
$(SED) $(SEDREPLACE) <$< | pod2html >$@
<ul>
<li><a href="#name">NAME</a></li>
- <li><a href="#frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></li>
<li><a href="#synopsis">SYNOPSIS</a></li>
<li><a href="#description">DESCRIPTION</a></li>
+ <li><a href="#frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></li>
<li><a href="#rxvt_technical_reference">RXVT TECHNICAL REFERENCE</a></li>
+ <li><a href="#description">DESCRIPTION</a></li>
<li><a href="#definitions">Definitions</a></li>
<li><a href="#values">Values</a></li>
<li><a href="#escape_sequences">Escape Sequences</a></li>
<p>
</p>
<hr />
+<h1><a name="synopsis">SYNOPSIS</a></h1>
+<pre>
+ # set a new font set
+ printf '\33]50;%s\007' 9x15,xft:Kochi" Mincho"</pre>
+<pre>
+ # change the locale and tell rxvt-unicode about it
+ export LC_CTYPE=ja_JP.EUC-JP; printf "\33]701;$LC_CTYPE\007"</pre>
+<pre>
+ # set window title
+ printf '\33]2;%s\007' "new window title"</pre>
+<p>
+</p>
+<hr />
+<h1><a name="description">DESCRIPTION</a></h1>
+<p>This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting
+all escape sequences, and other background information.</p>
+<p>The newest version of this document is
+also available on the World Wide Web at
+<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>
+<p>
+</p>
+<hr />
<h1><a name="frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></h1>
<dl>
<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 />
</dt>
<dd>
The version number is displayed with the usage (-h). Also the escape
-sequence <code>ESC[8n</code> sets the window title to the version number.
+sequence <code>ESC [ 8 n</code> sets the window title to the version number.
+</dd>
+<p></p>
+<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 />
+</dt>
+<dd>
+The Debian GNU/Linux package of rxvt-unicode contains large patches that
+considerably change the behaviour of rxvt-unicode. Before reporting a
+bug to the original rxvt-unicode author please download and install the
+genuine version (<a href="http://software.schmorp.de#rxvt-unicode">http://software.schmorp.de#rxvt-unicode</a>) and try to
+reproduce the problem. If you cannot, chances are that the problems are
+specific to Debian GNU/Linux, in which case it should be reported via the
+Debian Bug Tracking System (use <code>reportbug</code> to report the bug).
+</dd>
+<dd>
+<p>For other problems that also affect the Debian package, you can and
+probably should use the Debian BTS, too, because, after all, it's also a
+bug in the Debian version and it serves as a reminder for other users that
+might encounter the same issue.</p>
</dd>
<p></p>
<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 />
quick-and-dirty workaround for rare cases, though.</p>
</dd>
<dd>
-<p>If you always want to do this you can either recompile rxvt-unicode with
-the desired TERM value or use a resource to set it:</p>
+<p>If you always want to do this (and are fine with the consequences) you
+can either recompile rxvt-unicode with the desired TERM value or use a
+resource to set it:</p>
</dd>
<dd>
<pre>
the rxvt terminfo file with the rxvt-unicode one.</p>
</dd>
<p></p>
+<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 />
+</dt>
<dt><strong><a name="item_i_need_a_termcap_file_entry_2e">I need a termcap file entry.</a></strong><br />
</dt>
<dd>
-You could use rxvt's termcap entry with resonable results in many cases.
+One reason you might want this is that some distributions or operating
+systems still compile some programs using the long-obsoleted termcap
+(Fedora Core's bash is one example) and rely on a termcap entry for
+<code>rxvt-unicode</code>.
+</dd>
+<dd>
+<p>You could use rxvt's termcap entry with resonable results in many cases.
You can also create a termcap entry by using terminfo's infocmp program
-like this:
+like this:</p>
</dd>
<dd>
<pre>
infocmp -C rxvt-unicode</pre>
</dd>
<dd>
-<p>OR you could this termcap entry:</p>
+<p>Or you could use this termcap entry, generated by the command above:</p>
</dd>
<dd>
<pre>
how to do this).
</dd>
<p></p>
+<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 />
+</dt>
+<dd>
+Some Debian GNUL/Linux users seem to have this problem, although no
+specific details were reported so far. It is possible that this is caused
+by the wrong <code>TERM</code> setting, although the details of wether and how
+this can happen are unknown, as <code>TERM=rxvt</code> should offer a compatible
+keymap. See the answer to the previous question, and please report if that
+helped.
+</dd>
+<p></p>
<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 />
</dt>
<dt><strong><a name="item_unicode_does_not_seem_to_work_3f">Unicode does not seem to work?</a></strong><br />
<p>Rxvt-unicode must be started with the same <code>LC_CTYPE</code> setting as the
programs. Often rxvt-unicode is started in the <a href="#item_c"><code>C</code></a> locale, while the
login script running within the rxvt-unicode window changes the locale to
-sth. else, e.h. <code>en_GB.UTF-8</code>. Needless to say, this is not going to work.</p>
+something else, e.g. <code>en_GB.UTF-8</code>. Needless to say, this is not going to work.</p>
</dd>
<dd>
<p>The best thing is to fix your startup environment, as you will likely run
<dd>
<p>If this doesn't work, then maybe you use a <code>LC_CTYPE</code> specification not
supported on your systems. Some systems have a <code>locale</code> command which
-displays this. If it displays sth. like:</p>
+displays this (also, <code>perl -e0</code> can be used to check locale settings, as
+it will complain loudly if it cannot set the locale). If it displays something
+like:</p>
</dd>
<dd>
<pre>
<dd>
<p><strong>rxvt-unicode</strong> makes a best-effort try at finding a replacement
font. Often the result is fine, but sometimes the chosen font looks
-bad. Many fonts have totally strange characters that don't resemble the
-correct glyph at all, and rxvt-unicode lacks the artificial intelligence
-to detect that a specific glyph is wrong: it has to believe the font that
-the characters it contains indeed look correct.</p>
+bad/ugly/wrong. Some fonts have totally strange characters that don't
+resemble the correct glyph at all, and rxvt-unicode lacks the artificial
+intelligence to detect that a specific glyph is wrong: it has to believe
+the font that the characters it claims to contain indeed look correct.</p>
</dd>
<dd>
<p>In that case, select a font of your taste and add it to the font list,
search and use less resources within rxvt-unicode and the X-server.</p>
</dd>
<dd>
-<p>The only limitation is that all the fonts must not be larger than the base
-font, as the base font defines the principal cell size, which must be the
-same due to the way terminals work.</p>
+<p>The only limitation is that none of the fonts may be larger than the base
+font, as the base font defines the terminal character cell size, which
+must be the same due to the way terminals work.</p>
</dd>
<p></p>
<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 />
</dt>
<dd>
This is because there is a difference between script and language --
-rxvt-unicode does not know which language the text that is output
-is, as it only knows the unicode character codes. If rxvt-unicode
-first sees a japanese character, it might choose a japanese font for
-it. Subsequent japanese characters will take that font. Now, many chinese
-characters aren't represented in japanese fonts, so when the first
+rxvt-unicode does not know which language the text that is output is,
+as it only knows the unicode character codes. If rxvt-unicode first
+sees a japanese/chinese character, it might choose a japanese font for
+display. Subsequent japanese characters will use that font. Now, many
+chinese characters aren't represented in japanese fonts, so when the first
non-japanese character comes up, rxvt-unicode will look for a chinese font
-- unfortunately at this point, it will still use the japanese font for
-japanese characters that are also chinese.
+chinese characters that are also in the japanese font.
</dd>
<dd>
<p>The workaround is easy: just tag a chinese font at the end of your font
first. If you expect more chinese, put a chinese font first.</p>
</dd>
<dd>
-<p>In the future it might be possible to switch preferences at runtime (the
-internal data structure has no problem with using different fonts for
-the same character at the same time, but no interface for this has been
-designed yet).</p>
+<p>In the future it might be possible to switch language preferences at
+runtime (the internal data structure has no problem with using different
+fonts for the same character at the same time, but no interface for this
+has been designed yet).</p>
+</dd>
+<dd>
+<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>
</dd>
<p></p>
<dt><strong><a name="item_why_does_rxvt_2dunicode_sometimes_leave_pixel_drop">Why does rxvt-unicode sometimes leave pixel droppings?</a></strong><br />
<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 />
</dt>
<dd>
-First of all, make sure you are running with the right terminfo
-(<code>urxvt</code>), which will get rid of most of these effects. Then make sure
-you have specified colours for italic and bold, as otherwise rxvt-unicode
-might use reverse video to simulate the effect:
+First of all, make sure you are running with the right terminal settings
+(<code>TERM=rxvt-unicode</code>), which will get rid of most of these effects. Then
+make sure you have specified colours for italic and bold, as otherwise
+rxvt-unicode might use reverse video to simulate the effect:
</dd>
<dd>
<pre>
- URxvt*colorBD: white
- URxvt*colorIT: green</pre>
+ URxvt.colorBD: white
+ URxvt.colorIT: green</pre>
</dd>
<p></p>
<dt><strong><a name="item_colours">Some programs assume totally weird colours (red instead of blue), how can I fix that?</a></strong><br />
</dt>
<dd>
-For some unexplainable reason, some programs (i.e. irssi) assume a very
-weird colour palette when confronted with a terminal with more than the
-standard 8 colours (rxvt-unicode supports 88). The right fix is, of
-course, to fix these programs not to assume non-ISO colours without very
-good reasons.
+For some unexplainable reason, some rare programs assume a very weird
+colour palette when confronted with a terminal with more than the standard
+8 colours (rxvt-unicode supports 88). The right fix is, of course, to fix
+these programs not to assume non-ISO colours without very good reasons.
</dd>
<dd>
-<p>In the meantime, you can either edit your <code>urxvt</code> terminfo definition to
-only claim 8 colour support or use <code>TERM=rxvt</code>, which will fix colours
-but keep you from using other rxvt-unicode features.</p>
+<p>In the meantime, you can either edit your <code>rxvt-unicode</code> terminfo
+definition to only claim 8 colour support or use <code>TERM=rxvt</code>, which will
+fix colours but keep you from using other rxvt-unicode features.</p>
</dd>
<p></p>
<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 />
<dd>
<p>As you might have guessed, FreeBSD does neither define this symobl nor
does it support it. Instead, it uses it's own internal representation of
-<strong>wchar_t</strong>. This is, of course, completely legal.</p>
+<strong>wchar_t</strong>. This is, of course, completely fine with respect to standards.</p>
</dd>
<dd>
<p>However, <code>__STDC_ISO_10646__</code> is the only sane way to support
<dd>
<p>The rxvt-unicode author insists that the right way to fix this is in the
system libraries once and for all, instead of forcing every app to carry
-complete replacements.</p>
+complete replacements for them :)</p>
</dd>
<p></p>
<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 />
<dd>
<p>The reasons is that there exists a perfectly fine mechanism for selecting
the encoding, doing I/O and (most important) communicating this to all
-applications so everybody agrees on character properties such as width and
-code number. This mechanism is the <em>locale</em>.</p>
+applications so everybody agrees on character properties such as width
+and code number. This mechanism is the <em>locale</em>. Applications not using
+that info will have problems (for example, <code>xterm</code> gets the width of
+characters wrong as it uses it's own, locale-independent table under all
+locales).</p>
</dd>
<dd>
<p>Rxvt-unicode uses the <code>LC_CTYPE</code> locale category to select encoding. All
<dd>
<p>Rxvt-unicode ignores all other locale categories, and except for
the encoding, ignores country or language-specific settings,
-i.e. <code>de_DE.UTF-8</code> and <code>ja_JP.UTF-8</code> are the same for rxvt-unicode.</p>
+i.e. <code>de_DE.UTF-8</code> and <code>ja_JP.UTF-8</code> are the normally same to
+rxvt-unicode.</p>
</dd>
<dd>
<p>If you want to use a specific encoding you have to make sure you start
<dt><strong><a name="item_can_i_switch_locales_at_runtime_3f">Can I switch locales at runtime?</a></strong><br />
</dt>
<dd>
-Yes, using an escape sequence. Try sth. like this, which sets
+Yes, using an escape sequence. Try something like this, which sets
rxvt-unicode's idea of <code>LC_CTYPE</code>.
</dd>
<dd>
printf '\e]701;%s\007' ja_JP.SJIS</pre>
</dd>
<dd>
-<p>See also the previous question.</p>
+<p>See also the previous answer.</p>
</dd>
<dd>
-<p>Sometimes this capability is rather handy when you want to work in one
-locale (e.g. <code>de_DE.UTF-8</code>) but some programs don't support UTF-8. For
-example, I use this script to start <code>xjdic</code>, which first switches to a
-locale supported by xjdic and back later:</p>
+<p>Sometimes this capability is rather handy when you want to work in
+one locale (e.g. <code>de_DE.UTF-8</code>) but some programs don't support it
+(e.g. UTF-8). For example, I use this script to start <code>xjdic</code>, which
+first switches to a locale supported by xjdic and back later:</p>
</dd>
<dd>
<pre>
xjdic -js
printf '\e]701;%s\007' de_DE.UTF-8</pre>
</dd>
+<dd>
+<p>You can also use xterm's <code>luit</code> program, which usually works fine, except
+for some locales where character width differs between program- and
+rxvt-unicode-locales.</p>
+</dd>
<p></p>
<dt><strong><a name="item_can_i_switch_the_fonts_at_runtime_3f">Can I switch the fonts at runtime?</a></strong><br />
</dt>
<dd>
-Yes, using an escape sequence. Try sth. like this, which has the same
+Yes, using an escape sequence. Try something like this, which has the same
effect as using the <code>-fn</code> switch, and takes effect immediately:
</dd>
<dd>
<dd>
Many fonts have difficulties with italic characters and hinting. For
example, the otherwise very nicely hinted font <code>xft:Bitstream Vera Sans
-Mono</code> completely fails in it's italic face. A workaround is to enable
-freetype autohinting, i.e. like this:
+Mono</code> completely fails in it's italic face. A workaround might be to
+enable freetype autohinting, i.e. like this:
</dd>
<dd>
<pre>
- URxvt*italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true
- URxvt*boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true</pre>
+ URxvt.italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true
+ URxvt.boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true</pre>
</dd>
<p></p>
<dt><strong><a name="item_my_input_method_wants__3csome_encoding_3e_but_i_wa">My input method wants <some encoding> but I want UTF-8, what can I do?</a></strong><br />
<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 />
</dt>
<dd>
-Rxvt-unicode tries to obey the rule of not charging you for sth. you
+Rxvt-unicode tries to obey the rule of not charging you for something you
don't use. One thing you should try is to configure out all settings that
you don't need, for example, Xft support is a resource hog by design,
when used. Compiling it out ensures that no Xft font will be loaded
</dd>
<dd>
<pre>
- URxvt*color0: #000000
- URxvt*color1: #A80000
- URxvt*color2: #00A800
- URxvt*color3: #A8A800
- URxvt*color4: #0000A8
- URxvt*color5: #A800A8
- URxvt*color6: #00A8A8
- URxvt*color7: #A8A8A8</pre>
+ URxvt.color0: #000000
+ URxvt.color1: #A80000
+ URxvt.color2: #00A800
+ URxvt.color3: #A8A800
+ URxvt.color4: #0000A8
+ URxvt.color5: #A800A8
+ URxvt.color6: #00A8A8
+ URxvt.color7: #A8A8A8</pre>
</dd>
<dd>
<pre>
- URxvt*color8: #000054
- URxvt*color9: #FF0054
- URxvt*color10: #00FF54
- URxvt*color11: #FFFF54
- URxvt*color12: #0000FF
- URxvt*color13: #FF00FF
- URxvt*color14: #00FFFF
- URxvt*color15: #FFFFFF</pre>
+ URxvt.color8: #000054
+ URxvt.color9: #FF0054
+ URxvt.color10: #00FF54
+ URxvt.color11: #FFFF54
+ URxvt.color12: #0000FF
+ URxvt.color13: #FF00FF
+ URxvt.color14: #00FFFF
+ URxvt.color15: #FFFFFF</pre>
</dd>
<dd>
-<p>And here is a more complete set of non-standard colors described as
-``pretty girly'':</p>
+<p>And here is a more complete set of non-standard colors described (not by
+me) as ``pretty girly''.</p>
</dd>
<dd>
<pre>
URxvt.color15: #e1dddd</pre>
</dd>
<p></p>
+<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 />
+</dt>
+<dd>
+Despite it's name, rxvtd is not a real daemon, but more like a
+server that answers rxvtc's requests, so it doesn't background
+itself.
+</dd>
+<dd>
+<p>To ensure rxvtd is listening on it's socket, you can use the
+following method to wait for the startup message before continuing:</p>
+</dd>
+<dd>
+<pre>
+ { rxvtd & } | read</pre>
+</dd>
+<p></p>
<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 />
</dt>
<dd>
$ rxvt</pre>
</dd>
<dd>
-<p>Toggle with ``ESC[36h'' / ``ESC[36l'' as documented in rxvt(7).</p>
+<p>Toggle with <code>ESC [ 36 h</code> / <code>ESC [ 36 l</code> as documented in rxvt(7).</p>
</dd>
<dd>
<p>For an existing rxvt-unicode:</p>
<p>The Delete key is a another casualty of the ill-defined Backspace problem.
To avoid confusion between the Backspace and Delete keys, the Delete
key has been assigned an escape sequence to match the vt100 for Execute
-(ESC[3~) and is in the supplied termcap/terminfo.</p>
+(<code>ESC [ 3 ~</code>) and is in the supplied termcap/terminfo.</p>
</dd>
<dd>
<p>Some other Backspace problems:</p>
use the `keysym' resource to alter the keystrings associated with keysyms.
</dd>
<dd>
-<p>Here's an example for a URxvt session started using `rxvt -name URxvt'</p>
+<p>Here's an example for a URxvt session started using <code>rxvt -name URxvt</code></p>
</dd>
<dd>
<pre>
- URxvt.keysym.Home: \e[1~
- URxvt.keysym.End: \e[4~
- URxvt.keysym.C-apostrophe: \e<C-'>
- URxvt.keysym.C-slash: \e<C-/>
- URxvt.keysym.C-semicolon: \e<C-;>
- URxvt.keysym.C-grave: \e<C-`>
- URxvt.keysym.C-comma: \e<C-,>
- URxvt.keysym.C-period: \e<C-.>
- URxvt.keysym.C-0x60: \e<C-`>
- URxvt.keysym.C-Tab: \e<C-Tab>
- URxvt.keysym.C-Return: \e<C-Return>
- URxvt.keysym.S-Return: \e<S-Return>
- URxvt.keysym.S-space: \e<S-Space>
- URxvt.keysym.M-Up: \e<M-Up>
- URxvt.keysym.M-Down: \e<M-Down>
- URxvt.keysym.M-Left: \e<M-Left>
- URxvt.keysym.M-Right: \e<M-Right>
- URxvt.keysym.M-C-0: list \e<M-C- 0123456789 >
+ URxvt.keysym.Home: \033[1~
+ URxvt.keysym.End: \033[4~
+ URxvt.keysym.C-apostrophe: \033<C-'>
+ URxvt.keysym.C-slash: \033<C-/>
+ URxvt.keysym.C-semicolon: \033<C-;>
+ URxvt.keysym.C-grave: \033<C-`>
+ URxvt.keysym.C-comma: \033<C-,>
+ URxvt.keysym.C-period: \033<C-.>
+ URxvt.keysym.C-0x60: \033<C-`>
+ URxvt.keysym.C-Tab: \033<C-Tab>
+ URxvt.keysym.C-Return: \033<C-Return>
+ URxvt.keysym.S-Return: \033<S-Return>
+ URxvt.keysym.S-space: \033<S-Space>
+ URxvt.keysym.M-Up: \033<M-Up>
+ URxvt.keysym.M-Down: \033<M-Down>
+ URxvt.keysym.M-Left: \033<M-Left>
+ URxvt.keysym.M-Right: \033<M-Right>
+ URxvt.keysym.M-C-0: list \033<M-C- 0123456789 >
URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz >
- URxvt.keysym.F12: proto:\033]701;zh_CN.GBK\007</pre>
+ URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007</pre>
</dd>
<dd>
<p>See some more examples in the documentation for the <strong>keysym</strong> resource.</p>
keyboard mappings, it is better to use `xmodmap' to remap the keys as
required for your particular machine.</p>
</dd>
-<dt><strong><a name="item_how_do_i_distinguish_if_i_27m_running_rxvt_2dunico">How do I distinguish if I'm running rxvt-unicode or a regular xterm?
+<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?
I need this to decide about setting colors etc.</a></strong><br />
</dt>
<dd>
<p>
</p>
<hr />
-<h1><a name="synopsis">SYNOPSIS</a></h1>
-<pre>
- # set a new font set
- printf '\33]50;%s\007' 9x15,xft:Kochi" Mincho"</pre>
-<pre>
- # change the locale and tell rxvt-unicode about it
- export LC_CTYPE=ja_JP.EUC-JP; printf "\33]701;$LC_CTYPE\007"</pre>
-<pre>
- # set window title
- printf '\33]2;%s\007' "new window title"</pre>
+<h1><a name="rxvt_technical_reference">RXVT TECHNICAL REFERENCE</a></h1>
<p>
</p>
<hr />
<p>
</p>
<hr />
-<h1><a name="rxvt_technical_reference">RXVT TECHNICAL REFERENCE</a></h1>
-<p>
-</p>
-<hr />
<h1><a name="definitions">Definitions</a></h1>
<dl>
<dt><strong><a name="item_c"><strong><code>c</code> </strong>></a></strong><br />
<dt><strong><a name="item_esc_z"><strong><code>ESC Z</code> </strong>></a></strong><br />
</dt>
<dd>
-Obsolete form of returns: <strong><code>ESC[?1;2C</code> </strong>> <em>rxvt-unicode compile-time option</em>
+Obsolete form of returns: <strong><code>ESC [ ? 1 ; 2 C</code> </strong>> <em>rxvt-unicode compile-time option</em>
</dd>
<p></p>
<dt><strong><a name="item_esc_c"><strong><code>ESC c</code> </strong>></a></strong><br />
Invoke the G3 Character Set (LS3)
</dd>
<p></p>
-<dt><strong><strong><code>ESC</code> ( C</strong> >></strong><br />
+<dt><strong><strong><code>ESC ( C</code> </strong>></strong><br />
</dt>
<dd>
Designate G0 Character Set (ISO 2022), see below for values of <a href="#item_c"><code>C</code></a>.
</dd>
<p></p>
-<dt><strong><a name="item_esc__29_c_3e"><strong><a href="#item_esc"><code>ESC</code></a> ) C</strong> >></a></strong><br />
+<dt><strong><a name="item_esc__29_c"><strong><code>ESC ) C</code> </strong>></a></strong><br />
</dt>
<dd>
Designate G1 Character Set (ISO 2022), see below for values of <a href="#item_c"><code>C</code></a>.
<dd>
Send Device Attributes (DA)
<strong><code>Ps = 0</code> </strong>> (or omitted): request attributes from terminal
-returns: <strong><code>ESC[?1;2c</code> </strong>> (``I am a VT100 with Advanced Video
+returns: <strong><code>ESC [ ? 1 ; 2 c</code> </strong>> (``I am a VT100 with Advanced Video
Option'')
</dd>
<p></p>
<tr><td>Ps = 1</td><td>Deiconify (map) window</td></tr>
<tr><td>Ps = 2</td><td>Iconify window</td></tr>
<tr><td>Ps = 3</td><td>ESC [ 3 ; X ; Y t Move window to (X|Y)</td></tr>
-<tr><td>Ps = 4</td><td>ESC [ 4 ; W ; H t Resize to WxH pixels</td></tr>
+<tr><td>Ps = 4</td><td>ESC [ 4 ; H ; W t Resize to WxH pixels</td></tr>
<tr><td>Ps = 5</td><td>Raise window</td></tr>
<tr><td>Ps = 6</td><td>Lower window</td></tr>
<tr><td>Ps = 7</td><td>Refresh screen once</td></tr>
-<tr><td>Ps = 8</td><td>ESC [ 4 ; C ; R t Resize to C columns and R rows</td></tr>
-<tr><td>Ps = 11</td><td>Report window state (responds with Ps = 1 or Ps = 2</td></tr>
+<tr><td>Ps = 8</td><td>ESC [ 8 ; R ; C t Resize to R rows and C columns</td></tr>
+<tr><td>Ps = 11</td><td>Report window state (responds with Ps = 1 or Ps = 2)</td></tr>
<tr><td>Ps = 13</td><td>Report window position (responds with Ps = 3)</td></tr>
<tr><td>Ps = 14</td><td>Report window pixel size (responds with Ps = 4)</td></tr>
<tr><td>Ps = 18</td><td>Report window text size (responds with Ps = 7)</td></tr>
<p>As a convenience for the many Emacs-type editors, <em>action</em> may start
with <strong>M-</strong> (eg, <strong>M-$</strong> is equivalent to <strong>\E$</strong>) and a <strong>CR</strong> will be
appended if missed from <strong>M-x</strong> commands.</p>
-<p>As a convenience for issuing XTerm <strong>ESC]</strong> sequences from a menubar (or
+<p>As a convenience for issuing XTerm <strong>ESC ]</strong> sequences from a menubar (or
quick arrow), a <strong>BEL</strong> (<strong>^G</strong>) will be appended if needed.</p>
<dl>
<dt><strong><a name="item_for_example_2c">For example,</a></strong><br />
</dt>
<dd>
Make resources checking via <code>XGetDefault()</code> instead of our small
-version which only checks ~/.Xdefaults, or if that doesn't exist
-then ~/.Xresources.
+version which only checks ~/.Xdefaults, or if that doesn't exist then
+~/.Xresources.
+</dd>
+<dd>
+<p>Please note that nowadays, things like XIM will automatically pull in and
+use the full X resource manager, so the overhead of using it might be very
+small, if nonexistant.</p>
</dd>
<p></p>
<dt><strong><a name="item__2d_2denable_2dstrings">--enable-strings</a></strong><br />
backindex and forwardindex escape sequence
window op and locale change escape sequences
tripleclickwords
- settable insecure mode</pre>
+ settable insecure mode
+ keysym remapping support</pre>
</dd>
<p></p>
<dt><strong><a name="item__2d_2denable_2diso14755">--enable-iso14755</a></strong><br />
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
-. ds C`
-. ds C'
+. ds C` ""
+. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
.\" ========================================================================
.\"
.IX Title "rxvt 7"
-.TH rxvt 7 "2005-02-03" "4.9" "RXVT-UNICODE"
+.TH rxvt 7 "2005-02-11" "5.0" "RXVT-UNICODE"
.SH "NAME"
RXVT REFERENCE \- FAQ, command sequences and other background information
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+.Vb 2
+\& # set a new font set
+\& printf '\e33]50;%s\e007' 9x15,xft:Kochi" Mincho"
+.Ve
+.PP
+.Vb 2
+\& # change the locale and tell rxvt-unicode about it
+\& export LC_CTYPE=ja_JP.EUC-JP; printf "\e33]701;$LC_CTYPE\e007"
+.Ve
+.PP
+.Vb 2
+\& # set window title
+\& printf '\e33]2;%s\e007' "new window title"
+.Ve
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+This document contains the \s-1FAQ\s0, the \s-1RXVT\s0 \s-1TECHNICAL\s0 \s-1REFERENCE\s0 documenting
+all escape sequences, and other background information.
+.PP
+The newest version of this document is
+also available on the World Wide Web at
+<http://cvs.schmorp.de/browse/*checkout*/rxvt\-unicode/doc/rxvt.7.html>.
.SH "FREQUENTLY ASKED QUESTIONS"
.IX Header "FREQUENTLY ASKED QUESTIONS"
.IP "How do I know which rxvt-unicode version I'm using?" 4
.IX Item "How do I know which rxvt-unicode version I'm using?"
The version number is displayed with the usage (\-h). Also the escape
-sequence \f(CW\*(C`ESC[8n\*(C'\fR sets the window title to the version number.
+sequence \f(CW\*(C`ESC [ 8 n\*(C'\fR sets the window title to the version number.
+.IP "I am using Debian GNU/Linux and have a problem..." 4
+.IX Item "I am using Debian GNU/Linux and have a problem..."
+The Debian GNU/Linux package of rxvt-unicode contains large patches that
+considerably change the behaviour of rxvt\-unicode. Before reporting a
+bug to the original rxvt-unicode author please download and install the
+genuine version (<http://software.schmorp.de#rxvt\-unicode>) and try to
+reproduce the problem. If you cannot, chances are that the problems are
+specific to Debian GNU/Linux, in which case it should be reported via the
+Debian Bug Tracking System (use \f(CW\*(C`reportbug\*(C'\fR to report the bug).
+.Sp
+For other problems that also affect the Debian package, you can and
+probably should use the Debian \s-1BTS\s0, too, because, after all, it's also a
+bug in the Debian version and it serves as a reminder for other users that
+might encounter the same issue.
.IP "When I log-in to another system it tells me about missing terminfo data?" 4
.IX Item "When I log-in to another system it tells me about missing terminfo data?"
The terminal description used by rxvt-unicode is not as widely available
colours and some refresh errors in fullscreen applications. It's a nice
quick-and-dirty workaround for rare cases, though.
.Sp
-If you always want to do this you can either recompile rxvt-unicode with
-the desired \s-1TERM\s0 value or use a resource to set it:
+If you always want to do this (and are fine with the consequences) you
+can either recompile rxvt-unicode with the desired \s-1TERM\s0 value or use a
+resource to set it:
.Sp
.Vb 1
\& URxvt.termName: rxvt
.Sp
If you don't plan to use \fBrxvt\fR (quite common...) you could also replace
the rxvt terminfo file with the rxvt-unicode one.
+.ie n .IP """bash""'s readline does not work correctly under @@RXVT_NAME@@." 4
+.el .IP "\f(CWbash\fR's readline does not work correctly under @@RXVT_NAME@@." 4
+.IX Item "bash's readline does not work correctly under @@RXVT_NAME@@."
+.PD 0
.IP "I need a termcap file entry." 4
.IX Item "I need a termcap file entry."
+.PD
+One reason you might want this is that some distributions or operating
+systems still compile some programs using the long-obsoleted termcap
+(Fedora Core's bash is one example) and rely on a termcap entry for
+\&\f(CW\*(C`rxvt\-unicode\*(C'\fR.
+.Sp
You could use rxvt's termcap entry with resonable results in many cases.
You can also create a termcap entry by using terminfo's infocmp program
like this:
\& infocmp -C rxvt-unicode
.Ve
.Sp
-\&\s-1OR\s0 you could this termcap entry:
+Or you could use this termcap entry, generated by the command above:
.Sp
.Vb 19
\& rxvt-unicode|rxvt-unicode terminal (X Window System):\e
\& :up=\eE[A:us=\eE[4m:vb=\eE[?5h\eE[?5l:ve=\eE[?25h:vi=\eE[?25l:\e
\& :vs=\eE[?25h:
.Ve
-.ie n .IP "Why does \*(C`ls\*(C' no longer have coloured output?" 4
-.el .IP "Why does \f(CW\*(C`ls\*(C'\fR no longer have coloured output?" 4
+.ie n .IP "Why does ""ls"" no longer have coloured output?" 4
+.el .IP "Why does \f(CWls\fR no longer have coloured output?" 4
.IX Item "Why does ls no longer have coloured output?"
The \f(CW\*(C`ls\*(C'\fR in the \s-1GNU\s0 coreutils unfortunately doesn't use terminfo to
decide wether a terminal has colour, but uses it's own configuration
file, so you will need to install it on your own (See the question \fBWhen
I log-in to another system it tells me about missing terminfo data?\fR on
how to do this).
+.IP "My numerical keypad acts weird and generates differing output?" 4
+.IX Item "My numerical keypad acts weird and generates differing output?"
+Some Debian GNUL/Linux users seem to have this problem, although no
+specific details were reported so far. It is possible that this is caused
+by the wrong \f(CW\*(C`TERM\*(C'\fR setting, although the details of wether and how
+this can happen are unknown, as \f(CW\*(C`TERM=rxvt\*(C'\fR should offer a compatible
+keymap. See the answer to the previous question, and please report if that
+helped.
.IP "Rxvt-unicode does not seem to understand the selected encoding?" 4
.IX Item "Rxvt-unicode does not seem to understand the selected encoding?"
.PD 0
Rxvt-unicode must be started with the same \f(CW\*(C`LC_CTYPE\*(C'\fR setting as the
programs. Often rxvt-unicode is started in the \f(CW\*(C`C\*(C'\fR locale, while the
login script running within the rxvt-unicode window changes the locale to
-sth. else, e.h. \f(CW\*(C`en_GB.UTF\-8\*(C'\fR. Needless to say, this is not going to work.
+something else, e.g. \f(CW\*(C`en_GB.UTF\-8\*(C'\fR. Needless to say, this is not going to work.
.Sp
The best thing is to fix your startup environment, as you will likely run
into other problems. If nothing works you can try this in your .profile.
.Sp
If this doesn't work, then maybe you use a \f(CW\*(C`LC_CTYPE\*(C'\fR specification not
supported on your systems. Some systems have a \f(CW\*(C`locale\*(C'\fR command which
-displays this. If it displays sth. like:
+displays this (also, \f(CW\*(C`perl \-e0\*(C'\fR can be used to check locale settings, as
+it will complain loudly if it cannot set the locale). If it displays something
+like:
.Sp
.Vb 1
\& locale: Cannot set LC_CTYPE to default locale: ...
.Sp
\&\fBrxvt-unicode\fR makes a best-effort try at finding a replacement
font. Often the result is fine, but sometimes the chosen font looks
-bad. Many fonts have totally strange characters that don't resemble the
-correct glyph at all, and rxvt-unicode lacks the artificial intelligence
-to detect that a specific glyph is wrong: it has to believe the font that
-the characters it contains indeed look correct.
+bad/ugly/wrong. Some fonts have totally strange characters that don't
+resemble the correct glyph at all, and rxvt-unicode lacks the artificial
+intelligence to detect that a specific glyph is wrong: it has to believe
+the font that the characters it claims to contain indeed look correct.
.Sp
In that case, select a font of your taste and add it to the font list,
e.g.:
next font, and so on. Specifying your own fonts will also speed up this
search and use less resources within rxvt-unicode and the X\-server.
.Sp
-The only limitation is that all the fonts must not be larger than the base
-font, as the base font defines the principal cell size, which must be the
-same due to the way terminals work.
+The only limitation is that none of the fonts may be larger than the base
+font, as the base font defines the terminal character cell size, which
+must be the same due to the way terminals work.
.IP "Why do some chinese characters look so different than others?" 4
.IX Item "Why do some chinese characters look so different than others?"
This is because there is a difference between script and language \*(--
-rxvt-unicode does not know which language the text that is output
-is, as it only knows the unicode character codes. If rxvt-unicode
-first sees a japanese character, it might choose a japanese font for
-it. Subsequent japanese characters will take that font. Now, many chinese
-characters aren't represented in japanese fonts, so when the first
+rxvt-unicode does not know which language the text that is output is,
+as it only knows the unicode character codes. If rxvt-unicode first
+sees a japanese/chinese character, it might choose a japanese font for
+display. Subsequent japanese characters will use that font. Now, many
+chinese characters aren't represented in japanese fonts, so when the first
non-japanese character comes up, rxvt-unicode will look for a chinese font
\&\*(-- unfortunately at this point, it will still use the japanese font for
-japanese characters that are also chinese.
+chinese characters that are also in the japanese font.
.Sp
The workaround is easy: just tag a chinese font at the end of your font
list (see the previous question). The key is to view the font list as
a preference list: If you expect more japanese, list a japanese font
first. If you expect more chinese, put a chinese font first.
.Sp
-In the future it might be possible to switch preferences at runtime (the
-internal data structure has no problem with using different fonts for
-the same character at the same time, but no interface for this has been
-designed yet).
+In the future it might be possible to switch language preferences at
+runtime (the internal data structure has no problem with using different
+fonts for the same character at the same time, but no interface for this
+has been designed yet).
+.Sp
+Until then, you might get away with switching fonts at runtime (see \*(L"Can I switch the fonts at runtime?\*(R" later in this document).
.IP "Why does rxvt-unicode sometimes leave pixel droppings?" 4
.IX Item "Why does rxvt-unicode sometimes leave pixel droppings?"
Most fonts were not designed for terminal use, which means that character
.Sp
In this case either do not specify a \fBpreeditStyle\fR or specify more than
one pre-edit style, such as \fBOverTheSpot,Root,None\fR.
-.ie n .IP "I cannot type \*(C`Ctrl\-Shift\-2\*(C' to get an \s-1ASCII\s0 \s-1NUL\s0 character due to \s-1ISO\s0 14755" 4
-.el .IP "I cannot type \f(CW\*(C`Ctrl\-Shift\-2\*(C'\fR to get an \s-1ASCII\s0 \s-1NUL\s0 character due to \s-1ISO\s0 14755" 4
+.ie n .IP "I cannot type ""Ctrl\-Shift\-2"" to get an \s-1ASCII\s0 \s-1NUL\s0 character due to \s-1ISO\s0 14755" 4
+.el .IP "I cannot type \f(CWCtrl\-Shift\-2\fR to get an \s-1ASCII\s0 \s-1NUL\s0 character due to \s-1ISO\s0 14755" 4
.IX Item "I cannot type Ctrl-Shift-2 to get an ASCII NUL character due to ISO 14755"
Either try \f(CW\*(C`Ctrl\-2\*(C'\fR alone (it often is mapped to \s-1ASCII\s0 \s-1NUL\s0 even on
international keyboards) or simply use \s-1ISO\s0 14755 support to your
character and so on.
.IP "How can I keep rxvt-unicode from using reverse video so much?" 4
.IX Item "How can I keep rxvt-unicode from using reverse video so much?"
-First of all, make sure you are running with the right terminfo
-(\f(CW\*(C`urxvt\*(C'\fR), which will get rid of most of these effects. Then make sure
-you have specified colours for italic and bold, as otherwise rxvt-unicode
-might use reverse video to simulate the effect:
+First of all, make sure you are running with the right terminal settings
+(\f(CW\*(C`TERM=rxvt\-unicode\*(C'\fR), which will get rid of most of these effects. Then
+make sure you have specified colours for italic and bold, as otherwise
+rxvt-unicode might use reverse video to simulate the effect:
.Sp
.Vb 2
-\& URxvt*colorBD: white
-\& URxvt*colorIT: green
+\& URxvt.colorBD: white
+\& URxvt.colorIT: green
.Ve
.IP "Some programs assume totally weird colours (red instead of blue), how can I fix that?" 4
.IX Item "Some programs assume totally weird colours (red instead of blue), how can I fix that?"
-For some unexplainable reason, some programs (i.e. irssi) assume a very
-weird colour palette when confronted with a terminal with more than the
-standard 8 colours (rxvt\-unicode supports 88). The right fix is, of
-course, to fix these programs not to assume non-ISO colours without very
-good reasons.
-.Sp
-In the meantime, you can either edit your \f(CW\*(C`urxvt\*(C'\fR terminfo definition to
-only claim 8 colour support or use \f(CW\*(C`TERM=rxvt\*(C'\fR, which will fix colours
-but keep you from using other rxvt-unicode features.
+For some unexplainable reason, some rare programs assume a very weird
+colour palette when confronted with a terminal with more than the standard
+8 colours (rxvt\-unicode supports 88). The right fix is, of course, to fix
+these programs not to assume non-ISO colours without very good reasons.
+.Sp
+In the meantime, you can either edit your \f(CW\*(C`rxvt\-unicode\*(C'\fR terminfo
+definition to only claim 8 colour support or use \f(CW\*(C`TERM=rxvt\*(C'\fR, which will
+fix colours but keep you from using other rxvt-unicode features.
.IP "I am on FreeBSD and rxvt-unicode does not seem to work at all." 4
.IX Item "I am on FreeBSD and rxvt-unicode does not seem to work at all."
Rxvt-unicode requires the symbol \f(CW\*(C`_\|_STDC_ISO_10646_\|_\*(C'\fR to be defined
.Sp
As you might have guessed, FreeBSD does neither define this symobl nor
does it support it. Instead, it uses it's own internal representation of
-\&\fBwchar_t\fR. This is, of course, completely legal.
+\&\fBwchar_t\fR. This is, of course, completely fine with respect to standards.
.Sp
However, \f(CW\*(C`_\|_STDC_ISO_10646_\|_\*(C'\fR is the only sane way to support
multi-language apps in an \s-1OS\s0, as using a locale-dependent (and
.Sp
The rxvt-unicode author insists that the right way to fix this is in the
system libraries once and for all, instead of forcing every app to carry
-complete replacements.
+complete replacements for them :)
.IP "How does rxvt-unicode determine the encoding to use?" 4
.IX Item "How does rxvt-unicode determine the encoding to use?"
.PD 0
.Sp
The reasons is that there exists a perfectly fine mechanism for selecting
the encoding, doing I/O and (most important) communicating this to all
-applications so everybody agrees on character properties such as width and
-code number. This mechanism is the \fIlocale\fR.
+applications so everybody agrees on character properties such as width
+and code number. This mechanism is the \fIlocale\fR. Applications not using
+that info will have problems (for example, \f(CW\*(C`xterm\*(C'\fR gets the width of
+characters wrong as it uses it's own, locale-independent table under all
+locales).
.Sp
Rxvt-unicode uses the \f(CW\*(C`LC_CTYPE\*(C'\fR locale category to select encoding. All
programs doing the same (that is, most) will automatically agree in the
.Sp
Rxvt-unicode ignores all other locale categories, and except for
the encoding, ignores country or language-specific settings,
-i.e. \f(CW\*(C`de_DE.UTF\-8\*(C'\fR and \f(CW\*(C`ja_JP.UTF\-8\*(C'\fR are the same for rxvt\-unicode.
+i.e. \f(CW\*(C`de_DE.UTF\-8\*(C'\fR and \f(CW\*(C`ja_JP.UTF\-8\*(C'\fR are the normally same to
+rxvt\-unicode.
.Sp
If you want to use a specific encoding you have to make sure you start
rxvt-unicode with the correct \f(CW\*(C`LC_CTYPE\*(C'\fR category.
.IP "Can I switch locales at runtime?" 4
.IX Item "Can I switch locales at runtime?"
-Yes, using an escape sequence. Try sth. like this, which sets
+Yes, using an escape sequence. Try something like this, which sets
rxvt\-unicode's idea of \f(CW\*(C`LC_CTYPE\*(C'\fR.
.Sp
.Vb 1
\& printf '\ee]701;%s\e007' ja_JP.SJIS
.Ve
.Sp
-See also the previous question.
+See also the previous answer.
.Sp
-Sometimes this capability is rather handy when you want to work in one
-locale (e.g. \f(CW\*(C`de_DE.UTF\-8\*(C'\fR) but some programs don't support \s-1UTF\-8\s0. For
-example, I use this script to start \f(CW\*(C`xjdic\*(C'\fR, which first switches to a
-locale supported by xjdic and back later:
+Sometimes this capability is rather handy when you want to work in
+one locale (e.g. \f(CW\*(C`de_DE.UTF\-8\*(C'\fR) but some programs don't support it
+(e.g. \s-1UTF\-8\s0). For example, I use this script to start \f(CW\*(C`xjdic\*(C'\fR, which
+first switches to a locale supported by xjdic and back later:
.Sp
.Vb 3
\& printf '\ee]701;%s\e007' ja_JP.SJIS
\& xjdic -js
\& printf '\ee]701;%s\e007' de_DE.UTF-8
.Ve
+.Sp
+You can also use xterm's \f(CW\*(C`luit\*(C'\fR program, which usually works fine, except
+for some locales where character width differs between program\- and
+rxvt\-unicode\-locales.
.IP "Can I switch the fonts at runtime?" 4
.IX Item "Can I switch the fonts at runtime?"
-Yes, using an escape sequence. Try sth. like this, which has the same
+Yes, using an escape sequence. Try something like this, which has the same
effect as using the \f(CW\*(C`\-fn\*(C'\fR switch, and takes effect immediately:
.Sp
.Vb 1
.IX Item "Why do italic characters look as if clipped?"
Many fonts have difficulties with italic characters and hinting. For
example, the otherwise very nicely hinted font \f(CW\*(C`xft:Bitstream Vera Sans
-Mono\*(C'\fR completely fails in it's italic face. A workaround is to enable
-freetype autohinting, i.e. like this:
+Mono\*(C'\fR completely fails in it's italic face. A workaround might be to
+enable freetype autohinting, i.e. like this:
.Sp
.Vb 2
-\& URxvt*italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true
-\& URxvt*boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true
+\& URxvt.italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true
+\& URxvt.boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true
.Ve
.IP "My input method wants <some encoding> but I want \s-1UTF\-8\s0, what can I do?" 4
.IX Item "My input method wants <some encoding> but I want UTF-8, what can I do?"
method limits you.
.IP "Rxvt-unicode uses gobs of memory, how can I reduce that?" 4
.IX Item "Rxvt-unicode uses gobs of memory, how can I reduce that?"
-Rxvt-unicode tries to obey the rule of not charging you for sth. you
+Rxvt-unicode tries to obey the rule of not charging you for something you
don't use. One thing you should try is to configure out all settings that
you don't need, for example, Xft support is a resource hog by design,
when used. Compiling it out ensures that no Xft font will be loaded
including the murky brown that passes for low-intensity yellow:
.Sp
.Vb 8
-\& URxvt*color0: #000000
-\& URxvt*color1: #A80000
-\& URxvt*color2: #00A800
-\& URxvt*color3: #A8A800
-\& URxvt*color4: #0000A8
-\& URxvt*color5: #A800A8
-\& URxvt*color6: #00A8A8
-\& URxvt*color7: #A8A8A8
+\& URxvt.color0: #000000
+\& URxvt.color1: #A80000
+\& URxvt.color2: #00A800
+\& URxvt.color3: #A8A800
+\& URxvt.color4: #0000A8
+\& URxvt.color5: #A800A8
+\& URxvt.color6: #00A8A8
+\& URxvt.color7: #A8A8A8
.Ve
.Sp
.Vb 8
-\& URxvt*color8: #000054
-\& URxvt*color9: #FF0054
-\& URxvt*color10: #00FF54
-\& URxvt*color11: #FFFF54
-\& URxvt*color12: #0000FF
-\& URxvt*color13: #FF00FF
-\& URxvt*color14: #00FFFF
-\& URxvt*color15: #FFFFFF
+\& URxvt.color8: #000054
+\& URxvt.color9: #FF0054
+\& URxvt.color10: #00FF54
+\& URxvt.color11: #FFFF54
+\& URxvt.color12: #0000FF
+\& URxvt.color13: #FF00FF
+\& URxvt.color14: #00FFFF
+\& URxvt.color15: #FFFFFF
.Ve
.Sp
-And here is a more complete set of non-standard colors described as
-\&\*(L"pretty girly\*(R":
+And here is a more complete set of non-standard colors described (not by
+me) as \*(L"pretty girly\*(R".
.Sp
.Vb 18
\& URxvt.cursorColor: #dc74d1
\& URxvt.color7: #e1dddd
\& URxvt.color15: #e1dddd
.Ve
+.IP "How can I start @@RXVT_NAME@@d in a race-free way?" 4
+.IX Item "How can I start @@RXVT_NAME@@d in a race-free way?"
+Despite it's name, @@RXVT_NAME@@d is not a real daemon, but more like a
+server that answers @@RXVT_NAME@@c's requests, so it doesn't background
+itself.
+.Sp
+To ensure @@RXVT_NAME@@d is listening on it's socket, you can use the
+following method to wait for the startup message before continuing:
+.Sp
+.Vb 1
+\& { @@RXVT_NAME@@d & } | read
+.Ve
.IP "What's with the strange Backspace/Delete key behaviour?" 4
.IX Item "What's with the strange Backspace/Delete key behaviour?"
Assuming that the physical Backspace key corresponds to the
\& $ @@RXVT_NAME@@
.Ve
.Sp
-Toggle with \*(L"ESC[36h\*(R" / \*(L"ESC[36l\*(R" as documented in @@RXVT_NAME@@(7).
+Toggle with \f(CW\*(C`ESC [ 36 h\*(C'\fR / \f(CW\*(C`ESC [ 36 l\*(C'\fR as documented in @@RXVT_NAME@@(7).
.Sp
For an existing rxvt\-unicode:
.Sp
The Delete key is a another casualty of the ill-defined Backspace problem.
To avoid confusion between the Backspace and Delete keys, the Delete
key has been assigned an escape sequence to match the vt100 for Execute
-(ESC[3~) and is in the supplied termcap/terminfo.
+(\f(CW\*(C`ESC [ 3 ~\*(C'\fR) and is in the supplied termcap/terminfo.
.Sp
Some other Backspace problems:
.Sp
you have run \*(L"configure\*(R" with the \f(CW\*(C`\-\-disable\-resources\*(C'\fR option you can
use the `keysym' resource to alter the keystrings associated with keysyms.
.Sp
-Here's an example for a URxvt session started using `@@RXVT_NAME@@ \-name URxvt'
+Here's an example for a URxvt session started using \f(CW\*(C`@@RXVT_NAME@@ \-name URxvt\*(C'\fR
.Sp
.Vb 20
-\& URxvt.keysym.Home: \ee[1~
-\& URxvt.keysym.End: \ee[4~
-\& URxvt.keysym.C-apostrophe: \ee<C-'>
-\& URxvt.keysym.C-slash: \ee<C-/>
-\& URxvt.keysym.C-semicolon: \ee<C-;>
-\& URxvt.keysym.C-grave: \ee<C-`>
-\& URxvt.keysym.C-comma: \ee<C-,>
-\& URxvt.keysym.C-period: \ee<C-.>
-\& URxvt.keysym.C-0x60: \ee<C-`>
-\& URxvt.keysym.C-Tab: \ee<C-Tab>
-\& URxvt.keysym.C-Return: \ee<C-Return>
-\& URxvt.keysym.S-Return: \ee<S-Return>
-\& URxvt.keysym.S-space: \ee<S-Space>
-\& URxvt.keysym.M-Up: \ee<M-Up>
-\& URxvt.keysym.M-Down: \ee<M-Down>
-\& URxvt.keysym.M-Left: \ee<M-Left>
-\& URxvt.keysym.M-Right: \ee<M-Right>
-\& URxvt.keysym.M-C-0: list \ee<M-C- 0123456789 >
+\& URxvt.keysym.Home: \e033[1~
+\& URxvt.keysym.End: \e033[4~
+\& URxvt.keysym.C-apostrophe: \e033<C-'>
+\& URxvt.keysym.C-slash: \e033<C-/>
+\& URxvt.keysym.C-semicolon: \e033<C-;>
+\& URxvt.keysym.C-grave: \e033<C-`>
+\& URxvt.keysym.C-comma: \e033<C-,>
+\& URxvt.keysym.C-period: \e033<C-.>
+\& URxvt.keysym.C-0x60: \e033<C-`>
+\& URxvt.keysym.C-Tab: \e033<C-Tab>
+\& URxvt.keysym.C-Return: \e033<C-Return>
+\& URxvt.keysym.S-Return: \e033<S-Return>
+\& URxvt.keysym.S-space: \e033<S-Space>
+\& URxvt.keysym.M-Up: \e033<M-Up>
+\& URxvt.keysym.M-Down: \e033<M-Down>
+\& URxvt.keysym.M-Left: \e033<M-Left>
+\& URxvt.keysym.M-Right: \e033<M-Right>
+\& URxvt.keysym.M-C-0: list \e033<M-C- 0123456789 >
\& URxvt.keysym.M-C-a: list \e033<M-C- abcdefghijklmnopqrstuvwxyz >
-\& URxvt.keysym.F12: proto:\e033]701;zh_CN.GBK\e007
+\& URxvt.keysym.F12: command:\e033]701;zh_CN.GBK\e007
.Ve
.Sp
See some more examples in the documentation for the \fBkeysym\fR resource.
Rather than have rxvt-unicode try to accommodate all the various possible
keyboard mappings, it is better to use `xmodmap' to remap the keys as
required for your particular machine.
-.IP "How do I distinguish if I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc." 4
-.IX Item "How do I distinguish if I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc."
+.IP "How do I distinguish wether I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc." 4
+.IX Item "How do I distinguish wether I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc."
rxvt and rxvt-unicode always export the variable \*(L"\s-1COLORTERM\s0\*(R", so you can
check and see if that is set. Note that several programs, \s-1JED\s0, slrn,
Midnight Commander automatically check this variable to decide whether or
Before sending me mail, you could go to \s-1IRC:\s0 \f(CW\*(C`irc.freenode.net\*(C'\fR,
channel \f(CW\*(C`#rxvt\-unicode\*(C'\fR has some rxvt-unicode enthusiasts that might be
interested in learning about new and exciting problems (but not FAQs :).
-.SH "SYNOPSIS"
-.IX Header "SYNOPSIS"
-.Vb 2
-\& # set a new font set
-\& printf '\e33]50;%s\e007' 9x15,xft:Kochi" Mincho"
-.Ve
-.PP
-.Vb 2
-\& # change the locale and tell rxvt-unicode about it
-\& export LC_CTYPE=ja_JP.EUC-JP; printf "\e33]701;$LC_CTYPE\e007"
-.Ve
-.PP
-.Vb 2
-\& # set window title
-\& printf '\e33]2;%s\e007' "new window title"
-.Ve
+.SH "RXVT TECHNICAL REFERENCE"
+.IX Header "RXVT TECHNICAL REFERENCE"
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
The rest of this document describes various technical aspects of
\&\fBrxvt-unicode\fR. First the description of supported command sequences,
followed by menu and pixmap support and last by a description of all
features selectable at \f(CW\*(C`configure\*(C'\fR time.
-.SH "RXVT TECHNICAL REFERENCE"
-.IX Header "RXVT TECHNICAL REFERENCE"
.SH "Definitions"
.IX Header "Definitions"
-.ie n .IP "\fB\fB\*(C`c\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`c\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""c""\fB\fR" 4
+.el .IP "\fB\f(CBc\fB\fR" 4
.IX Item "c"
The literal character c.
-.ie n .IP "\fB\fB\*(C`C\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`C\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""C""\fB\fR" 4
+.el .IP "\fB\f(CBC\fB\fR" 4
.IX Item "C"
A single (required) character.
-.ie n .IP "\fB\fB\*(C`Ps\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps""\fB\fR" 4
+.el .IP "\fB\f(CBPs\fB\fR" 4
.IX Item "Ps"
A single (usually optional) numeric parameter, composed of one or more
digits.
-.ie n .IP "\fB\fB\*(C`Pm\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Pm\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Pm""\fB\fR" 4
+.el .IP "\fB\f(CBPm\fB\fR" 4
.IX Item "Pm"
A multiple numeric parameter composed of any number of single numeric
parameters, separated by \f(CW\*(C`;\*(C'\fR character(s).
-.ie n .IP "\fB\fB\*(C`Pt\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Pt\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Pt""\fB\fR" 4
+.el .IP "\fB\f(CBPt\fB\fR" 4
.IX Item "Pt"
A text parameter composed of printable characters.
.SH "Values"
.IX Header "Values"
-.ie n .IP "\fB\fB\*(C`ENQ\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ENQ\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ENQ""\fB\fR" 4
+.el .IP "\fB\f(CBENQ\fB\fR" 4
.IX Item "ENQ"
Enquiry (Ctrl\-E) = Send Device Attributes (\s-1DA\s0)
request attributes from terminal. See \fB\f(CB\*(C`ESC [ Ps c\*(C'\fB\fR.
-.ie n .IP "\fB\fB\*(C`BEL\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`BEL\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""BEL""\fB\fR" 4
+.el .IP "\fB\f(CBBEL\fB\fR" 4
.IX Item "BEL"
Bell (Ctrl\-G)
-.ie n .IP "\fB\fB\*(C`BS\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`BS\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""BS""\fB\fR" 4
+.el .IP "\fB\f(CBBS\fB\fR" 4
.IX Item "BS"
Backspace (Ctrl\-H)
-.ie n .IP "\fB\fB\*(C`TAB\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`TAB\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""TAB""\fB\fR" 4
+.el .IP "\fB\f(CBTAB\fB\fR" 4
.IX Item "TAB"
Horizontal Tab (\s-1HT\s0) (Ctrl\-I)
-.ie n .IP "\fB\fB\*(C`LF\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`LF\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""LF""\fB\fR" 4
+.el .IP "\fB\f(CBLF\fB\fR" 4
.IX Item "LF"
Line Feed or New Line (\s-1NL\s0) (Ctrl\-J)
-.ie n .IP "\fB\fB\*(C`VT\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`VT\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""VT""\fB\fR" 4
+.el .IP "\fB\f(CBVT\fB\fR" 4
.IX Item "VT"
Vertical Tab (Ctrl\-K) same as \fB\f(CB\*(C`LF\*(C'\fB\fR
-.ie n .IP "\fB\fB\*(C`FF\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`FF\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""FF""\fB\fR" 4
+.el .IP "\fB\f(CBFF\fB\fR" 4
.IX Item "FF"
Form Feed or New Page (\s-1NP\s0) (Ctrl\-L) same as \fB\f(CB\*(C`LF\*(C'\fB\fR
-.ie n .IP "\fB\fB\*(C`CR\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`CR\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""CR""\fB\fR" 4
+.el .IP "\fB\f(CBCR\fB\fR" 4
.IX Item "CR"
Carriage Return (Ctrl\-M)
-.ie n .IP "\fB\fB\*(C`SO\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`SO\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""SO""\fB\fR" 4
+.el .IP "\fB\f(CBSO\fB\fR" 4
.IX Item "SO"
Shift Out (Ctrl\-N), invokes the G1 character set.
Switch to Alternate Character Set
-.ie n .IP "\fB\fB\*(C`SI\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`SI\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""SI""\fB\fR" 4
+.el .IP "\fB\f(CBSI\fB\fR" 4
.IX Item "SI"
Shift In (Ctrl\-O), invokes the G0 character set (the default).
Switch to Standard Character Set
-.ie n .IP "\fB\fB\*(C`SPC\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`SPC\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""SPC""\fB\fR" 4
+.el .IP "\fB\f(CBSPC\fB\fR" 4
.IX Item "SPC"
Space Character
.SH "Escape Sequences"
.IX Header "Escape Sequences"
-.ie n .IP "\fB\fB\*(C`ESC # 8\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC # 8\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC # 8""\fB\fR" 4
+.el .IP "\fB\f(CBESC # 8\fB\fR" 4
.IX Item "ESC # 8"
\&\s-1DEC\s0 Screen Alignment Test (\s-1DECALN\s0)
-.ie n .IP "\fB\fB\*(C`ESC 7\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC 7\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC 7""\fB\fR" 4
+.el .IP "\fB\f(CBESC 7\fB\fR" 4
.IX Item "ESC 7"
Save Cursor (\s-1SC\s0)
-.ie n .IP "\fB\fB\*(C`ESC 8\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC 8\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC 8""\fB\fR" 4
+.el .IP "\fB\f(CBESC 8\fB\fR" 4
.IX Item "ESC 8"
Restore Cursor
-.ie n .IP "\fB\fB\*(C`ESC =\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC =\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC =""\fB\fR" 4
+.el .IP "\fB\f(CBESC =\fB\fR" 4
.IX Item "ESC ="
Application Keypad (\s-1SMKX\s0). See also next sequence.
-.ie n .IP "\fB\fB\*(C`ESC\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC""\fB\fR" 4
+.el .IP "\fB\f(CBESC\fB\fR" 4
.IX Item "ESC"
Normal Keypad (\s-1RMKX\s0)
.Sp
\&\fBNote:\fR If the numeric keypad is activated, eg, \fBNum_Lock\fR has been
pressed, numbers or control functions are generated by the numeric keypad
(see Key Codes).
-.ie n .IP "\fB\fB\*(C`ESC D\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC D\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC D""\fB\fR" 4
+.el .IP "\fB\f(CBESC D\fB\fR" 4
.IX Item "ESC D"
Index (\s-1IND\s0)
-.ie n .IP "\fB\fB\*(C`ESC E\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC E\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC E""\fB\fR" 4
+.el .IP "\fB\f(CBESC E\fB\fR" 4
.IX Item "ESC E"
Next Line (\s-1NEL\s0)
-.ie n .IP "\fB\fB\*(C`ESC H\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC H\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC H""\fB\fR" 4
+.el .IP "\fB\f(CBESC H\fB\fR" 4
.IX Item "ESC H"
Tab Set (\s-1HTS\s0)
-.ie n .IP "\fB\fB\*(C`ESC M\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC M\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC M""\fB\fR" 4
+.el .IP "\fB\f(CBESC M\fB\fR" 4
.IX Item "ESC M"
Reverse Index (\s-1RI\s0)
-.ie n .IP "\fB\fB\*(C`ESC N\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC N\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC N""\fB\fR" 4
+.el .IP "\fB\f(CBESC N\fB\fR" 4
.IX Item "ESC N"
Single Shift Select of G2 Character Set (\s-1SS2\s0): affects next character
only \fIunimplemented\fR
-.ie n .IP "\fB\fB\*(C`ESC O\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC O\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC O""\fB\fR" 4
+.el .IP "\fB\f(CBESC O\fB\fR" 4
.IX Item "ESC O"
Single Shift Select of G3 Character Set (\s-1SS3\s0): affects next character
only \fIunimplemented\fR
-.ie n .IP "\fB\fB\*(C`ESC Z\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC Z\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC Z""\fB\fR" 4
+.el .IP "\fB\f(CBESC Z\fB\fR" 4
.IX Item "ESC Z"
-Obsolete form of returns: \fB\f(CB\*(C`ESC[?1;2C\*(C'\fB\fR \fIrxvt-unicode compile-time option\fR
-.ie n .IP "\fB\fB\*(C`ESC c\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC c\*(C'\fB\fR" 4
+Obsolete form of returns: \fB\f(CB\*(C`ESC [ ? 1 ; 2 C\*(C'\fB\fR \fIrxvt-unicode compile-time option\fR
+.ie n .IP "\fB\fB""ESC c""\fB\fR" 4
+.el .IP "\fB\f(CBESC c\fB\fR" 4
.IX Item "ESC c"
Full reset (\s-1RIS\s0)
-.ie n .IP "\fB\fB\*(C`ESC n\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC n\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC n""\fB\fR" 4
+.el .IP "\fB\f(CBESC n\fB\fR" 4
.IX Item "ESC n"
Invoke the G2 Character Set (\s-1LS2\s0)
-.ie n .IP "\fB\fB\*(C`ESC o\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC o\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC o""\fB\fR" 4
+.el .IP "\fB\f(CBESC o\fB\fR" 4
.IX Item "ESC o"
Invoke the G3 Character Set (\s-1LS3\s0)
-.ie n .IP "\fB\fB\*(C`ESC\*(C'\fB ( C>\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC\*(C'\fB ( C>\fR" 4
-.IX Item "ESC ( C>"
+.ie n .IP "\fB\fB""ESC ( C""\fB\fR" 4
+.el .IP "\fB\f(CBESC ( C\fB\fR" 4
+.IX Item "ESC ( C"
Designate G0 Character Set (\s-1ISO\s0 2022), see below for values of \f(CW\*(C`C\*(C'\fR.
-.ie n .IP "\fB\fB\*(C`ESC\*(C'\fB ) C>\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC\*(C'\fB ) C>\fR" 4
-.IX Item "ESC ) C>"
+.ie n .IP "\fB\fB""ESC ) C""\fB\fR" 4
+.el .IP "\fB\f(CBESC ) C\fB\fR" 4
+.IX Item "ESC ) C"
Designate G1 Character Set (\s-1ISO\s0 2022), see below for values of \f(CW\*(C`C\*(C'\fR.
-.ie n .IP "\fB\fB\*(C`ESC * C\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC * C\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC * C""\fB\fR" 4
+.el .IP "\fB\f(CBESC * C\fB\fR" 4
.IX Item "ESC * C"
Designate G2 Character Set (\s-1ISO\s0 2022), see below for values of \f(CW\*(C`C\*(C'\fR.
-.ie n .IP "\fB\fB\*(C`ESC + C\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC + C\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC + C""\fB\fR" 4
+.el .IP "\fB\f(CBESC + C\fB\fR" 4
.IX Item "ESC + C"
Designate G3 Character Set (\s-1ISO\s0 2022), see below for values of \f(CW\*(C`C\*(C'\fR.
-.ie n .IP "\fB\fB\*(C`ESC $ C\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC $ C\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC $ C""\fB\fR" 4
+.el .IP "\fB\f(CBESC $ C\fB\fR" 4
.IX Item "ESC $ C"
Designate Kanji Character Set
.Sp
.IX Xref "CSI"
.SH "CSI (Command Sequence Introducer) Sequences"
.IX Header "CSI (Command Sequence Introducer) Sequences"
-.ie n .IP "\fB\fB\*(C`ESC [ Ps @\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps @\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps @""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps @\fB\fR" 4
.IX Item "ESC [ Ps @"
Insert \fB\f(CB\*(C`Ps\*(C'\fB\fR (Blank) Character(s) [default: 1] (\s-1ICH\s0)
.IX Xref "ESCOBPsA"
-.ie n .IP "\fB\fB\*(C`ESC [ Ps A\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps A\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps A""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps A\fB\fR" 4
.IX Item "ESC [ Ps A"
Cursor Up \fB\f(CB\*(C`Ps\*(C'\fB\fR Times [default: 1] (\s-1CUU\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ Ps B\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps B\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps B""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps B\fB\fR" 4
.IX Item "ESC [ Ps B"
Cursor Down \fB\f(CB\*(C`Ps\*(C'\fB\fR Times [default: 1] (\s-1CUD\s0)
.IX Xref "ESCOBPsC"
-.ie n .IP "\fB\fB\*(C`ESC [ Ps C\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps C\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps C""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps C\fB\fR" 4
.IX Item "ESC [ Ps C"
Cursor Forward \fB\f(CB\*(C`Ps\*(C'\fB\fR Times [default: 1] (\s-1CUF\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ Ps D\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps D\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps D""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps D\fB\fR" 4
.IX Item "ESC [ Ps D"
Cursor Backward \fB\f(CB\*(C`Ps\*(C'\fB\fR Times [default: 1] (\s-1CUB\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ Ps E\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps E\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps E""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps E\fB\fR" 4
.IX Item "ESC [ Ps E"
Cursor Down \fB\f(CB\*(C`Ps\*(C'\fB\fR Times [default: 1] and to first column
-.ie n .IP "\fB\fB\*(C`ESC [ Ps F\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps F\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps F""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps F\fB\fR" 4
.IX Item "ESC [ Ps F"
Cursor Up \fB\f(CB\*(C`Ps\*(C'\fB\fR Times [default: 1] and to first column
.IX Xref "ESCOBPsG"
-.ie n .IP "\fB\fB\*(C`ESC [ Ps G\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps G\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps G""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps G\fB\fR" 4
.IX Item "ESC [ Ps G"
Cursor to Column \fB\f(CB\*(C`Ps\*(C'\fB\fR (\s-1HPA\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ Ps;Ps H\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps;Ps H\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps;Ps H""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps;Ps H\fB\fR" 4
.IX Item "ESC [ Ps;Ps H"
Cursor Position [row;column] [default: 1;1] (\s-1CUP\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ Ps I\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps I\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps I""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps I\fB\fR" 4
.IX Item "ESC [ Ps I"
Move forward \fB\f(CB\*(C`Ps\*(C'\fB\fR tab stops [default: 1]
-.ie n .IP "\fB\fB\*(C`ESC [ Ps J\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps J\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps J""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps J\fB\fR" 4
.IX Item "ESC [ Ps J"
Erase in Display (\s-1ED\s0)
.TS
Ps = 2 Clear All
.TE
-.ie n .IP "\fB\fB\*(C`ESC [ Ps K\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps K\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps K""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps K\fB\fR" 4
.IX Item "ESC [ Ps K"
Erase in Line (\s-1EL\s0)
.TS
Ps = 2 Clear All
.TE
-.ie n .IP "\fB\fB\*(C`ESC [ Ps L\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps L\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps L""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps L\fB\fR" 4
.IX Item "ESC [ Ps L"
Insert \fB\f(CB\*(C`Ps\*(C'\fB\fR Line(s) [default: 1] (\s-1IL\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ Ps M\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps M\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps M""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps M\fB\fR" 4
.IX Item "ESC [ Ps M"
Delete \fB\f(CB\*(C`Ps\*(C'\fB\fR Line(s) [default: 1] (\s-1DL\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ Ps P\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps P\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps P""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps P\fB\fR" 4
.IX Item "ESC [ Ps P"
Delete \fB\f(CB\*(C`Ps\*(C'\fB\fR Character(s) [default: 1] (\s-1DCH\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ Ps;Ps;Ps;Ps;Ps T\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps;Ps;Ps;Ps;Ps T\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps;Ps;Ps;Ps;Ps T""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps;Ps;Ps;Ps;Ps T\fB\fR" 4
.IX Item "ESC [ Ps;Ps;Ps;Ps;Ps T"
Initiate . \fIunimplemented\fR Parameters are
[func;startx;starty;firstrow;lastrow].
-.ie n .IP "\fB\fB\*(C`ESC [ Ps W\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps W\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps W""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps W\fB\fR" 4
.IX Item "ESC [ Ps W"
Tabulator functions
.TS
Ps = 5 Tab Clear (TBC), Clear All
.TE
-.ie n .IP "\fB\fB\*(C`ESC [ Ps X\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps X\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps X""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps X\fB\fR" 4
.IX Item "ESC [ Ps X"
Erase \fB\f(CB\*(C`Ps\*(C'\fB\fR Character(s) [default: 1] (\s-1ECH\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ Ps Z\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps Z\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps Z""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps Z\fB\fR" 4
.IX Item "ESC [ Ps Z"
Move backward \fB\f(CB\*(C`Ps\*(C'\fB\fR [default: 1] tab stops
-.ie n .IP "\fB\fB\*(C`ESC [ Ps '\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps '\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps '""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps '\fB\fR" 4
.IX Item "ESC [ Ps '"
See \fB\f(CB\*(C`ESC [ Ps G\*(C'\fB\fR
-.ie n .IP "\fB\fB\*(C`ESC [ Ps a\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps a\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps a""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps a\fB\fR" 4
.IX Item "ESC [ Ps a"
See \fB\f(CB\*(C`ESC [ Ps C\*(C'\fB\fR
-.ie n .IP "\fB\fB\*(C`ESC [ Ps c\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps c\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps c""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps c\fB\fR" 4
.IX Item "ESC [ Ps c"
Send Device Attributes (\s-1DA\s0)
\&\fB\f(CB\*(C`Ps = 0\*(C'\fB\fR (or omitted): request attributes from terminal
-returns: \fB\f(CB\*(C`ESC[?1;2c\*(C'\fB\fR (``I am a \s-1VT100\s0 with Advanced Video
+returns: \fB\f(CB\*(C`ESC [ ? 1 ; 2 c\*(C'\fB\fR (``I am a \s-1VT100\s0 with Advanced Video
Option'')
-.ie n .IP "\fB\fB\*(C`ESC [ Ps d\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps d\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps d""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps d\fB\fR" 4
.IX Item "ESC [ Ps d"
Cursor to Line \fB\f(CB\*(C`Ps\*(C'\fB\fR (\s-1VPA\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ Ps e\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps e\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps e""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps e\fB\fR" 4
.IX Item "ESC [ Ps e"
See \fB\f(CB\*(C`ESC [ Ps A\*(C'\fB\fR
-.ie n .IP "\fB\fB\*(C`ESC [ Ps;Ps f\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps;Ps f\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps;Ps f""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps;Ps f\fB\fR" 4
.IX Item "ESC [ Ps;Ps f"
Horizontal and Vertical Position [row;column] (\s-1HVP\s0) [default: 1;1]
-.ie n .IP "\fB\fB\*(C`ESC [ Ps g\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps g\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps g""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps g\fB\fR" 4
.IX Item "ESC [ Ps g"
Tab Clear (\s-1TBC\s0)
.TS
Ps = 3 Clear All (TBC)
.TE
-.ie n .IP "\fB\fB\*(C`ESC [ Pm h\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Pm h\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Pm h""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Pm h\fB\fR" 4
.IX Item "ESC [ Pm h"
Set Mode (\s-1SM\s0). See \fB\f(CB\*(C`ESC [ Pm l\*(C'\fB\fR sequence for description of \f(CW\*(C`Pm\*(C'\fR.
-.ie n .IP "\fB\fB\*(C`ESC [ Ps i\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps i\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps i""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps i\fB\fR" 4
.IX Item "ESC [ Ps i"
Printing. See also the \f(CW\*(C`print\-pipe\*(C'\fR resource.
.TS
Ps = 5 enable transparent print mode (MC5)
.TE
-.ie n .IP "\fB\fB\*(C`ESC [ Pm l\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Pm l\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Pm l""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Pm l\fB\fR" 4
.IX Item "ESC [ Pm l"
Reset Mode (\s-1RM\s0)
.RS 4
-.ie n .IP "\fB\fB\*(C`Ps = 4\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 4\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 4""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 4\fB\fR" 4
.IX Item "Ps = 4"
.TS
l l .
.TE
.PD 0
-.ie n .IP "\fB\fB\*(C`Ps = 20\*(C'\fB\fR (partially implemented)" 4
-.el .IP "\fB\f(CB\*(C`Ps = 20\*(C'\fB\fR (partially implemented)" 4
+.ie n .IP "\fB\fB""Ps = 20""\fB\fR (partially implemented)" 4
+.el .IP "\fB\f(CBPs = 20\fB\fR (partially implemented)" 4
.IX Item "Ps = 20 (partially implemented)"
.TS
l l .
.RE
.RS 4
.RE
-.ie n .IP "\fB\fB\*(C`ESC [ Pm m\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Pm m\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Pm m""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Pm m\fB\fR" 4
.IX Item "ESC [ Pm m"
.PD
Character Attributes (\s-1SGR\s0)
Ps = 99 / 109 fg/bg Bright Default
.TE
-.ie n .IP "\fB\fB\*(C`ESC [ Ps n\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps n\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps n""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps n\fB\fR" 4
.IX Item "ESC [ Ps n"
Device Status Report (\s-1DSR\s0)
.TS
Ps = 8 Request Version Number (place in window title)
.TE
-.ie n .IP "\fB\fB\*(C`ESC [ Ps;Ps r\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps;Ps r\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps;Ps r""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps;Ps r\fB\fR" 4
.IX Item "ESC [ Ps;Ps r"
Set Scrolling Region [top;bottom]
[default: full size of window] (\s-1CSR\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ s\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ s\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ s""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ s\fB\fR" 4
.IX Item "ESC [ s"
Save Cursor (\s-1SC\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ Ps;Pt t\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps;Pt t\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps;Pt t""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps;Pt t\fB\fR" 4
.IX Item "ESC [ Ps;Pt t"
Window Operations
.TS
Ps = 1 Deiconify (map) window
Ps = 2 Iconify window
Ps = 3 ESC [ 3 ; X ; Y t Move window to (X|Y)
-Ps = 4 ESC [ 4 ; W ; H t Resize to WxH pixels
+Ps = 4 ESC [ 4 ; H ; W t Resize to WxH pixels
Ps = 5 Raise window
Ps = 6 Lower window
Ps = 7 Refresh screen once
-Ps = 8 ESC [ 4 ; C ; R t Resize to C columns and R rows
-Ps = 11 Report window state (responds with Ps = 1 or Ps = 2
+Ps = 8 ESC [ 8 ; R ; C t Resize to R rows and C columns
+Ps = 11 Report window state (responds with Ps = 1 or Ps = 2)
Ps = 13 Report window position (responds with Ps = 3)
Ps = 14 Report window pixel size (responds with Ps = 4)
Ps = 18 Report window text size (responds with Ps = 7)
Ps = 24.. Set window height to Ps rows
.TE
-.ie n .IP "\fB\fB\*(C`ESC [ u\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ u\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ u""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ u\fB\fR" 4
.IX Item "ESC [ u"
Restore Cursor
-.ie n .IP "\fB\fB\*(C`ESC [ Ps x\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ Ps x\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ Ps x""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ Ps x\fB\fR" 4
.IX Item "ESC [ Ps x"
Request Terminal Parameters (\s-1DECREQTPARM\s0)
.PP
.IX Xref "PrivateModes"
.SH "DEC Private Modes"
.IX Header "DEC Private Modes"
-.ie n .IP "\fB\fB\*(C`ESC [ ? Pm h\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ ? Pm h\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ ? Pm h""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ ? Pm h\fB\fR" 4
.IX Item "ESC [ ? Pm h"
\&\s-1DEC\s0 Private Mode Set (\s-1DECSET\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ ? Pm l\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ ? Pm l\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ ? Pm l""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ ? Pm l\fB\fR" 4
.IX Item "ESC [ ? Pm l"
\&\s-1DEC\s0 Private Mode Reset (\s-1DECRST\s0)
-.ie n .IP "\fB\fB\*(C`ESC [ ? Pm r\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ ? Pm r\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ ? Pm r""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ ? Pm r\fB\fR" 4
.IX Item "ESC [ ? Pm r"
Restore previously saved \s-1DEC\s0 Private Mode Values.
-.ie n .IP "\fB\fB\*(C`ESC [ ? Pm s\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ ? Pm s\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ ? Pm s""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ ? Pm s\fB\fR" 4
.IX Item "ESC [ ? Pm s"
Save \s-1DEC\s0 Private Mode Values.
-.ie n .IP "\fB\fB\*(C`ESC [ ? Pm t\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ ? Pm t\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ ? Pm t""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ ? Pm t\fB\fR" 4
.IX Item "ESC [ ? Pm t"
Toggle \s-1DEC\s0 Private Mode Values (rxvt extension). \fIwhere\fR
.RS 4
-.ie n .IP "\fB\fB\*(C`Ps = 1\*(C'\fB\fR (\s-1DECCKM\s0)" 4
-.el .IP "\fB\f(CB\*(C`Ps = 1\*(C'\fB\fR (\s-1DECCKM\s0)" 4
+.ie n .IP "\fB\fB""Ps = 1""\fB\fR (\s-1DECCKM\s0)" 4
+.el .IP "\fB\f(CBPs = 1\fB\fR (\s-1DECCKM\s0)" 4
.IX Item "Ps = 1 (DECCKM)"
.TS
l l .
.TE
.PD 0
-.ie n .IP "\fB\fB\*(C`Ps = 2\*(C'\fB\fR (\s-1ANSI/VT52\s0 mode)" 4
-.el .IP "\fB\f(CB\*(C`Ps = 2\*(C'\fB\fR (\s-1ANSI/VT52\s0 mode)" 4
+.ie n .IP "\fB\fB""Ps = 2""\fB\fR (\s-1ANSI/VT52\s0 mode)" 4
+.el .IP "\fB\f(CBPs = 2\fB\fR (\s-1ANSI/VT52\s0 mode)" 4
.IX Item "Ps = 2 (ANSI/VT52 mode)"
.TS
l l .
l Enter VT52 mode
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 3\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 3\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 3""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 3\fB\fR" 4
.IX Item "Ps = 3"
.TS
l l .
l 80 Column Mode (DECCOLM)
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 4\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 4\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 4""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 4\fB\fR" 4
.IX Item "Ps = 4"
.TS
l l .
l Jump (Fast) Scroll (DECSCLM)
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 5\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 5\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 5""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 5\fB\fR" 4
.IX Item "Ps = 5"
.TS
l l .
l Normal Video (DECSCNM)
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 6\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 6\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 6""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 6\fB\fR" 4
.IX Item "Ps = 6"
.TS
l l .
l Normal Cursor Mode (DECOM)
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 7\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 7\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 7""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 7\fB\fR" 4
.IX Item "Ps = 7"
.TS
l l .
l No Wraparound Mode (DECAWM)
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 8\*(C'\fB\fR \fIunimplemented\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 8\*(C'\fB\fR \fIunimplemented\fR" 4
+.ie n .IP "\fB\fB""Ps = 8""\fB\fR \fIunimplemented\fR" 4
+.el .IP "\fB\f(CBPs = 8\fB\fR \fIunimplemented\fR" 4
.IX Item "Ps = 8 unimplemented"
.TS
l l .
l No Auto-repeat Keys (DECARM)
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 9\*(C'\fB\fR X10 XTerm" 4
-.el .IP "\fB\f(CB\*(C`Ps = 9\*(C'\fB\fR X10 XTerm" 4
+.ie n .IP "\fB\fB""Ps = 9""\fB\fR X10 XTerm" 4
+.el .IP "\fB\f(CBPs = 9\fB\fR X10 XTerm" 4
.IX Item "Ps = 9 X10 XTerm"
.TS
l l .
l No mouse reporting.
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 10\*(C'\fB\fR (\fBrxvt\fR)" 4
-.el .IP "\fB\f(CB\*(C`Ps = 10\*(C'\fB\fR (\fBrxvt\fR)" 4
+.ie n .IP "\fB\fB""Ps = 10""\fB\fR (\fBrxvt\fR)" 4
+.el .IP "\fB\f(CBPs = 10\fB\fR (\fBrxvt\fR)" 4
.IX Item "Ps = 10 (rxvt)"
.TS
l l .
l menuBar invisible
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 25\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 25\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 25""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 25\fB\fR" 4
.IX Item "Ps = 25"
.TS
l l .
l Invisible cursor {civis}
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 30\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 30\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 30""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 30\fB\fR" 4
.IX Item "Ps = 30"
.TS
l l .
l scrollBar invisisble
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 35\*(C'\fB\fR (\fBrxvt\fR)" 4
-.el .IP "\fB\f(CB\*(C`Ps = 35\*(C'\fB\fR (\fBrxvt\fR)" 4
+.ie n .IP "\fB\fB""Ps = 35""\fB\fR (\fBrxvt\fR)" 4
+.el .IP "\fB\f(CBPs = 35\fB\fR (\fBrxvt\fR)" 4
.IX Item "Ps = 35 (rxvt)"
.TS
l l .
l Disallow XTerm Shift+key sequences
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 38\*(C'\fB\fR \fIunimplemented\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 38\*(C'\fB\fR \fIunimplemented\fR" 4
+.ie n .IP "\fB\fB""Ps = 38""\fB\fR \fIunimplemented\fR" 4
+.el .IP "\fB\f(CBPs = 38\fB\fR \fIunimplemented\fR" 4
.IX Item "Ps = 38 unimplemented"
.PD
Enter Tektronix Mode (\s-1DECTEK\s0)
-.ie n .IP "\fB\fB\*(C`Ps = 40\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 40\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 40""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 40\fB\fR" 4
.IX Item "Ps = 40"
.TS
l l .
.TE
.PD 0
-.ie n .IP "\fB\fB\*(C`Ps = 44\*(C'\fB\fR \fIunimplemented\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 44\*(C'\fB\fR \fIunimplemented\fR" 4
+.ie n .IP "\fB\fB""Ps = 44""\fB\fR \fIunimplemented\fR" 4
+.el .IP "\fB\f(CBPs = 44\fB\fR \fIunimplemented\fR" 4
.IX Item "Ps = 44 unimplemented"
.TS
l l .
l Turn Off Margin Bell
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 45\*(C'\fB\fR \fIunimplemented\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 45\*(C'\fB\fR \fIunimplemented\fR" 4
+.ie n .IP "\fB\fB""Ps = 45""\fB\fR \fIunimplemented\fR" 4
+.el .IP "\fB\f(CBPs = 45\fB\fR \fIunimplemented\fR" 4
.IX Item "Ps = 45 unimplemented"
.TS
l l .
l No Reverse-wraparound Mode
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 46\*(C'\fB\fR \fIunimplemented\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 46\*(C'\fB\fR \fIunimplemented\fR" 4
+.ie n .IP "\fB\fB""Ps = 46""\fB\fR \fIunimplemented\fR" 4
+.el .IP "\fB\f(CBPs = 46\fB\fR \fIunimplemented\fR" 4
.IX Item "Ps = 46 unimplemented"
-.ie n .IP "\fB\fB\*(C`Ps = 47\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 47\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 47""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 47\fB\fR" 4
.IX Item "Ps = 47"
.TS
l l .
.PD
.IX Xref "Priv66"
-.ie n .IP "\fB\fB\*(C`Ps = 66\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 66\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 66""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 66\fB\fR" 4
.IX Item "Ps = 66"
.TS
l l .
.TE
.PD 0
-.ie n .IP "\fB\fB\*(C`Ps = 67\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 67\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 67""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 67\fB\fR" 4
.IX Item "Ps = 67"
.TS
l l .
l Backspace key sends DEL
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 1000\*(C'\fB\fR (X11 XTerm)" 4
-.el .IP "\fB\f(CB\*(C`Ps = 1000\*(C'\fB\fR (X11 XTerm)" 4
+.ie n .IP "\fB\fB""Ps = 1000""\fB\fR (X11 XTerm)" 4
+.el .IP "\fB\f(CBPs = 1000\fB\fR (X11 XTerm)" 4
.IX Item "Ps = 1000 (X11 XTerm)"
.TS
l l .
l No mouse reporting.
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 1001\*(C'\fB\fR (X11 XTerm) \fIunimplemented\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 1001\*(C'\fB\fR (X11 XTerm) \fIunimplemented\fR" 4
+.ie n .IP "\fB\fB""Ps = 1001""\fB\fR (X11 XTerm) \fIunimplemented\fR" 4
+.el .IP "\fB\f(CBPs = 1001\fB\fR (X11 XTerm) \fIunimplemented\fR" 4
.IX Item "Ps = 1001 (X11 XTerm) unimplemented"
.TS
l l .
l No mouse reporting.
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 1010\*(C'\fB\fR (\fBrxvt\fR)" 4
-.el .IP "\fB\f(CB\*(C`Ps = 1010\*(C'\fB\fR (\fBrxvt\fR)" 4
+.ie n .IP "\fB\fB""Ps = 1010""\fB\fR (\fBrxvt\fR)" 4
+.el .IP "\fB\f(CBPs = 1010\fB\fR (\fBrxvt\fR)" 4
.IX Item "Ps = 1010 (rxvt)"
.TS
l l .
l Scroll to bottom on TTY output
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 1011\*(C'\fB\fR (\fBrxvt\fR)" 4
-.el .IP "\fB\f(CB\*(C`Ps = 1011\*(C'\fB\fR (\fBrxvt\fR)" 4
+.ie n .IP "\fB\fB""Ps = 1011""\fB\fR (\fBrxvt\fR)" 4
+.el .IP "\fB\f(CBPs = 1011\fB\fR (\fBrxvt\fR)" 4
.IX Item "Ps = 1011 (rxvt)"
.TS
l l .
l Don't scroll to bottom when a key is pressed
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 1047\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 1047\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 1047""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 1047\fB\fR" 4
.IX Item "Ps = 1047"
.TS
l l .
l Use Normal Screen Buffer - clear Alternate Screen Buffer if returning from it
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 1048\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 1048\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 1048""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 1048\fB\fR" 4
.IX Item "Ps = 1048"
.TS
l l .
l Restore cursor position
.TE
-.ie n .IP "\fB\fB\*(C`Ps = 1049\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`Ps = 1049\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""Ps = 1049""\fB\fR" 4
+.el .IP "\fB\f(CBPs = 1049\fB\fR" 4
.IX Item "Ps = 1049"
.TS
l l .
.IX Xref "XTerm"
.SH "XTerm Operating System Commands"
.IX Header "XTerm Operating System Commands"
-.ie n .IP "\fB\fB\*(C`ESC ] Ps;Pt ST\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC ] Ps;Pt ST\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC ] Ps;Pt ST""\fB\fR" 4
+.el .IP "\fB\f(CBESC ] Ps;Pt ST\fB\fR" 4
.IX Item "ESC ] Ps;Pt ST"
Set XTerm Parameters. 8\-bit \s-1ST:\s0 0x9c, 7\-bit \s-1ST\s0 sequence: \s-1ESC\s0 \e (0x1b,
0x5c), backwards compatible terminator \s-1BEL\s0 (0x07) is also accepted. any
with \fBM\-\fR (eg, \fBM\-$\fR is equivalent to \fB\eE$\fR) and a \fB\s-1CR\s0\fR will be
appended if missed from \fBM\-x\fR commands.
.PP
-As a convenience for issuing XTerm \fB\s-1ESC\s0]\fR sequences from a menubar (or
+As a convenience for issuing XTerm \fB\s-1ESC\s0 ]\fR sequences from a menubar (or
quick arrow), a \fB\s-1BEL\s0\fR (\fB^G\fR) will be appended if needed.
.IP "For example," 4
.IX Item "For example,"
the title
.SH "Mouse Reporting"
.IX Header "Mouse Reporting"
-.ie n .IP "\fB\fB\*(C`ESC [ M <b> <x> <y>\*(C'\fB\fR" 4
-.el .IP "\fB\f(CB\*(C`ESC [ M <b> <x> <y>\*(C'\fB\fR" 4
+.ie n .IP "\fB\fB""ESC [ M <b> <x> <y>""\fB\fR" 4
+.el .IP "\fB\f(CBESC [ M <b> <x> <y>\fB\fR" 4
.IX Item "ESC [ M <b> <x> <y>"
report mouse position
.PP
The lower 2 bits of \fB\f(CB\*(C`<b>\*(C'\fB\fR indicate the button:
-.ie n .IP "Button = \fB\fB\*(C`(<b> \- SPACE) & 3\*(C'\fB\fR" 4
-.el .IP "Button = \fB\f(CB\*(C`(<b> \- SPACE) & 3\*(C'\fB\fR" 4
+.ie n .IP "Button = \fB\fB""(<b> \- SPACE) & 3""\fB\fR" 4
+.el .IP "Button = \fB\f(CB(<b> \- SPACE) & 3\fB\fR" 4
.IX Item "Button = (<b> - SPACE) & 3"
.TS
l l .
.PP
The upper bits of \fB\f(CB\*(C`<b>\*(C'\fB\fR indicate the modifiers when the
button was pressed and are added together (X11 mouse report only):
-.ie n .IP "State = \fB\fB\*(C`(<b> \- SPACE) & 60\*(C'\fB\fR" 4
-.el .IP "State = \fB\f(CB\*(C`(<b> \- SPACE) & 60\*(C'\fB\fR" 4
+.ie n .IP "State = \fB\fB""(<b> \- SPACE) & 60""\fB\fR" 4
+.el .IP "State = \fB\f(CB(<b> \- SPACE) & 60\fB\fR" 4
.IX Item "State = (<b> - SPACE) & 60"
.TS
l l .
.IP "\-\-enable\-xgetdefault" 4
.IX Item "--enable-xgetdefault"
Make resources checking via \fIXGetDefault()\fR instead of our small
-version which only checks ~/.Xdefaults, or if that doesn't exist
-then ~/.Xresources.
+version which only checks ~/.Xdefaults, or if that doesn't exist then
+~/.Xresources.
+.Sp
+Please note that nowadays, things like \s-1XIM\s0 will automatically pull in and
+use the full X resource manager, so the overhead of using it might be very
+small, if nonexistant.
.IP "\-\-enable\-strings" 4
.IX Item "--enable-strings"
Add support for our possibly faster \fImemset()\fR function and other
A non-exhaustive list of features enabled by \f(CW\*(C`\-\-enable\-frills\*(C'\fR (possibly
in combination with other switches) is:
.Sp
-.Vb 10
+.Vb 11
\& MWM-hints
\& seperate underline colour
\& settable border widths and borderless switch
\& window op and locale change escape sequences
\& tripleclickwords
\& settable insecure mode
+\& keysym remapping support
.Ve
.IP "\-\-enable\-iso14755" 4
.IX Item "--enable-iso14755"
RXVT REFERENCE - FAQ, command sequences and other background information
+=head1 SYNOPSIS
+
+ # set a new font set
+ printf '\33]50;%s\007' 9x15,xft:Kochi" Mincho"
+
+ # change the locale and tell rxvt-unicode about it
+ export LC_CTYPE=ja_JP.EUC-JP; printf "\33]701;$LC_CTYPE\007"
+
+ # set window title
+ printf '\33]2;%s\007' "new window title"
+
+=head1 DESCRIPTION
+
+This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting
+all escape sequences, and other background information.
+
+The newest version of this document is
+also available on the World Wide Web at
+L<http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html>.
+
=head1 FREQUENTLY ASKED QUESTIONS
=over 4
=item How do I know which rxvt-unicode version I'm using?
The version number is displayed with the usage (-h). Also the escape
-sequence C<ESC[8n> sets the window title to the version number.
+sequence C<ESC [ 8 n> sets the window title to the version number.
+
+=item I am using Debian GNU/Linux and have a problem...
+
+The Debian GNU/Linux package of rxvt-unicode contains large patches that
+considerably change the behaviour of rxvt-unicode. Before reporting a
+bug to the original rxvt-unicode author please download and install the
+genuine version (L<http://software.schmorp.de#rxvt-unicode>) and try to
+reproduce the problem. If you cannot, chances are that the problems are
+specific to Debian GNU/Linux, in which case it should be reported via the
+Debian Bug Tracking System (use C<reportbug> to report the bug).
+
+For other problems that also affect the Debian package, you can and
+probably should use the Debian BTS, too, because, after all, it's also a
+bug in the Debian version and it serves as a reminder for other users that
+might encounter the same issue.
=item When I log-in to another system it tells me about missing terminfo data?
colours and some refresh errors in fullscreen applications. It's a nice
quick-and-dirty workaround for rare cases, though.
-If you always want to do this you can either recompile rxvt-unicode with
-the desired TERM value or use a resource to set it:
+If you always want to do this (and are fine with the consequences) you
+can either recompile rxvt-unicode with the desired TERM value or use a
+resource to set it:
URxvt.termName: rxvt
If you don't plan to use B<rxvt> (quite common...) you could also replace
the rxvt terminfo file with the rxvt-unicode one.
+=item C<bash>'s readline does not work correctly under @@RXVT_NAME@@.
+
=item I need a termcap file entry.
+One reason you might want this is that some distributions or operating
+systems still compile some programs using the long-obsoleted termcap
+(Fedora Core's bash is one example) and rely on a termcap entry for
+C<rxvt-unicode>.
+
You could use rxvt's termcap entry with resonable results in many cases.
You can also create a termcap entry by using terminfo's infocmp program
like this:
infocmp -C rxvt-unicode
-OR you could this termcap entry:
+Or you could use this termcap entry, generated by the command above:
rxvt-unicode|rxvt-unicode terminal (X Window System):\
:am:bw:eo:km:mi:ms:xn:xo:\
I log-in to another system it tells me about missing terminfo data?> on
how to do this).
+=item My numerical keypad acts weird and generates differing output?
+
+Some Debian GNUL/Linux users seem to have this problem, although no
+specific details were reported so far. It is possible that this is caused
+by the wrong C<TERM> setting, although the details of wether and how
+this can happen are unknown, as C<TERM=rxvt> should offer a compatible
+keymap. See the answer to the previous question, and please report if that
+helped.
+
=item Rxvt-unicode does not seem to understand the selected encoding?
=item Unicode does not seem to work?
Rxvt-unicode must be started with the same C<LC_CTYPE> setting as the
programs. Often rxvt-unicode is started in the C<C> locale, while the
login script running within the rxvt-unicode window changes the locale to
-sth. else, e.h. C<en_GB.UTF-8>. Needless to say, this is not going to work.
+something else, e.g. C<en_GB.UTF-8>. Needless to say, this is not going to work.
The best thing is to fix your startup environment, as you will likely run
into other problems. If nothing works you can try this in your .profile.
If this doesn't work, then maybe you use a C<LC_CTYPE> specification not
supported on your systems. Some systems have a C<locale> command which
-displays this. If it displays sth. like:
+displays this (also, C<perl -e0> can be used to check locale settings, as
+it will complain loudly if it cannot set the locale). If it displays something
+like:
locale: Cannot set LC_CTYPE to default locale: ...
B<rxvt-unicode> makes a best-effort try at finding a replacement
font. Often the result is fine, but sometimes the chosen font looks
-bad. Many fonts have totally strange characters that don't resemble the
-correct glyph at all, and rxvt-unicode lacks the artificial intelligence
-to detect that a specific glyph is wrong: it has to believe the font that
-the characters it contains indeed look correct.
+bad/ugly/wrong. Some fonts have totally strange characters that don't
+resemble the correct glyph at all, and rxvt-unicode lacks the artificial
+intelligence to detect that a specific glyph is wrong: it has to believe
+the font that the characters it claims to contain indeed look correct.
In that case, select a font of your taste and add it to the font list,
e.g.:
next font, and so on. Specifying your own fonts will also speed up this
search and use less resources within rxvt-unicode and the X-server.
-The only limitation is that all the fonts must not be larger than the base
-font, as the base font defines the principal cell size, which must be the
-same due to the way terminals work.
+The only limitation is that none of the fonts may be larger than the base
+font, as the base font defines the terminal character cell size, which
+must be the same due to the way terminals work.
=item Why do some chinese characters look so different than others?
This is because there is a difference between script and language --
-rxvt-unicode does not know which language the text that is output
-is, as it only knows the unicode character codes. If rxvt-unicode
-first sees a japanese character, it might choose a japanese font for
-it. Subsequent japanese characters will take that font. Now, many chinese
-characters aren't represented in japanese fonts, so when the first
+rxvt-unicode does not know which language the text that is output is,
+as it only knows the unicode character codes. If rxvt-unicode first
+sees a japanese/chinese character, it might choose a japanese font for
+display. Subsequent japanese characters will use that font. Now, many
+chinese characters aren't represented in japanese fonts, so when the first
non-japanese character comes up, rxvt-unicode will look for a chinese font
-- unfortunately at this point, it will still use the japanese font for
-japanese characters that are also chinese.
+chinese characters that are also in the japanese font.
The workaround is easy: just tag a chinese font at the end of your font
list (see the previous question). The key is to view the font list as
a preference list: If you expect more japanese, list a japanese font
first. If you expect more chinese, put a chinese font first.
-In the future it might be possible to switch preferences at runtime (the
-internal data structure has no problem with using different fonts for
-the same character at the same time, but no interface for this has been
-designed yet).
+In the future it might be possible to switch language preferences at
+runtime (the internal data structure has no problem with using different
+fonts for the same character at the same time, but no interface for this
+has been designed yet).
+
+Until then, you might get away with switching fonts at runtime (see L<Can
+I switch the fonts at runtime?> later in this document).
=item Why does rxvt-unicode sometimes leave pixel droppings?
=item How can I keep rxvt-unicode from using reverse video so much?
-First of all, make sure you are running with the right terminfo
-(C<urxvt>), which will get rid of most of these effects. Then make sure
-you have specified colours for italic and bold, as otherwise rxvt-unicode
-might use reverse video to simulate the effect:
+First of all, make sure you are running with the right terminal settings
+(C<TERM=rxvt-unicode>), which will get rid of most of these effects. Then
+make sure you have specified colours for italic and bold, as otherwise
+rxvt-unicode might use reverse video to simulate the effect:
- URxvt*colorBD: white
- URxvt*colorIT: green
+ URxvt.colorBD: white
+ URxvt.colorIT: green
=item Some programs assume totally weird colours (red instead of blue), how can I fix that?
-For some unexplainable reason, some programs (i.e. irssi) assume a very
-weird colour palette when confronted with a terminal with more than the
-standard 8 colours (rxvt-unicode supports 88). The right fix is, of
-course, to fix these programs not to assume non-ISO colours without very
-good reasons.
+For some unexplainable reason, some rare programs assume a very weird
+colour palette when confronted with a terminal with more than the standard
+8 colours (rxvt-unicode supports 88). The right fix is, of course, to fix
+these programs not to assume non-ISO colours without very good reasons.
-In the meantime, you can either edit your C<urxvt> terminfo definition to
-only claim 8 colour support or use C<TERM=rxvt>, which will fix colours
-but keep you from using other rxvt-unicode features.
+In the meantime, you can either edit your C<rxvt-unicode> terminfo
+definition to only claim 8 colour support or use C<TERM=rxvt>, which will
+fix colours but keep you from using other rxvt-unicode features.
=item I am on FreeBSD and rxvt-unicode does not seem to work at all.
As you might have guessed, FreeBSD does neither define this symobl nor
does it support it. Instead, it uses it's own internal representation of
-B<wchar_t>. This is, of course, completely legal.
+B<wchar_t>. This is, of course, completely fine with respect to standards.
However, C<__STDC_ISO_10646__> is the only sane way to support
multi-language apps in an OS, as using a locale-dependent (and
The rxvt-unicode author insists that the right way to fix this is in the
system libraries once and for all, instead of forcing every app to carry
-complete replacements.
+complete replacements for them :)
=item How does rxvt-unicode determine the encoding to use?
The reasons is that there exists a perfectly fine mechanism for selecting
the encoding, doing I/O and (most important) communicating this to all
-applications so everybody agrees on character properties such as width and
-code number. This mechanism is the I<locale>.
+applications so everybody agrees on character properties such as width
+and code number. This mechanism is the I<locale>. Applications not using
+that info will have problems (for example, C<xterm> gets the width of
+characters wrong as it uses it's own, locale-independent table under all
+locales).
Rxvt-unicode uses the C<LC_CTYPE> locale category to select encoding. All
programs doing the same (that is, most) will automatically agree in the
Rxvt-unicode ignores all other locale categories, and except for
the encoding, ignores country or language-specific settings,
-i.e. C<de_DE.UTF-8> and C<ja_JP.UTF-8> are the same for rxvt-unicode.
+i.e. C<de_DE.UTF-8> and C<ja_JP.UTF-8> are the normally same to
+rxvt-unicode.
If you want to use a specific encoding you have to make sure you start
rxvt-unicode with the correct C<LC_CTYPE> category.
=item Can I switch locales at runtime?
-Yes, using an escape sequence. Try sth. like this, which sets
+Yes, using an escape sequence. Try something like this, which sets
rxvt-unicode's idea of C<LC_CTYPE>.
printf '\e]701;%s\007' ja_JP.SJIS
-See also the previous question.
+See also the previous answer.
-Sometimes this capability is rather handy when you want to work in one
-locale (e.g. C<de_DE.UTF-8>) but some programs don't support UTF-8. For
-example, I use this script to start C<xjdic>, which first switches to a
-locale supported by xjdic and back later:
+Sometimes this capability is rather handy when you want to work in
+one locale (e.g. C<de_DE.UTF-8>) but some programs don't support it
+(e.g. UTF-8). For example, I use this script to start C<xjdic>, which
+first switches to a locale supported by xjdic and back later:
printf '\e]701;%s\007' ja_JP.SJIS
xjdic -js
printf '\e]701;%s\007' de_DE.UTF-8
+You can also use xterm's C<luit> program, which usually works fine, except
+for some locales where character width differs between program- and
+rxvt-unicode-locales.
+
=item Can I switch the fonts at runtime?
-Yes, using an escape sequence. Try sth. like this, which has the same
+Yes, using an escape sequence. Try something like this, which has the same
effect as using the C<-fn> switch, and takes effect immediately:
printf '\e]50;%s\007' "9x15bold,xft:Kochi Gothic"
Many fonts have difficulties with italic characters and hinting. For
example, the otherwise very nicely hinted font C<xft:Bitstream Vera Sans
-Mono> completely fails in it's italic face. A workaround is to enable
-freetype autohinting, i.e. like this:
+Mono> completely fails in it's italic face. A workaround might be to
+enable freetype autohinting, i.e. like this:
- URxvt*italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true
- URxvt*boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true
+ URxvt.italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true
+ URxvt.boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true
=item My input method wants <some encoding> but I want UTF-8, what can I do?
=item Rxvt-unicode uses gobs of memory, how can I reduce that?
-Rxvt-unicode tries to obey the rule of not charging you for sth. you
+Rxvt-unicode tries to obey the rule of not charging you for something you
don't use. One thing you should try is to configure out all settings that
you don't need, for example, Xft support is a resource hog by design,
when used. Compiling it out ensures that no Xft font will be loaded
Here are values that are supposed to resemble a VGA screen,
including the murky brown that passes for low-intensity yellow:
- URxvt*color0: #000000
- URxvt*color1: #A80000
- URxvt*color2: #00A800
- URxvt*color3: #A8A800
- URxvt*color4: #0000A8
- URxvt*color5: #A800A8
- URxvt*color6: #00A8A8
- URxvt*color7: #A8A8A8
-
- URxvt*color8: #000054
- URxvt*color9: #FF0054
- URxvt*color10: #00FF54
- URxvt*color11: #FFFF54
- URxvt*color12: #0000FF
- URxvt*color13: #FF00FF
- URxvt*color14: #00FFFF
- URxvt*color15: #FFFFFF
-
-And here is a more complete set of non-standard colors described as
-"pretty girly":
+ URxvt.color0: #000000
+ URxvt.color1: #A80000
+ URxvt.color2: #00A800
+ URxvt.color3: #A8A800
+ URxvt.color4: #0000A8
+ URxvt.color5: #A800A8
+ URxvt.color6: #00A8A8
+ URxvt.color7: #A8A8A8
+
+ URxvt.color8: #000054
+ URxvt.color9: #FF0054
+ URxvt.color10: #00FF54
+ URxvt.color11: #FFFF54
+ URxvt.color12: #0000FF
+ URxvt.color13: #FF00FF
+ URxvt.color14: #00FFFF
+ URxvt.color15: #FFFFFF
+
+And here is a more complete set of non-standard colors described (not by
+me) as "pretty girly".
URxvt.cursorColor: #dc74d1
URxvt.pointerColor: #dc74d1
URxvt.color7: #e1dddd
URxvt.color15: #e1dddd
+=item How can I start @@RXVT_NAME@@d in a race-free way?
+
+Despite it's name, @@RXVT_NAME@@d is not a real daemon, but more like a
+server that answers @@RXVT_NAME@@c's requests, so it doesn't background
+itself.
+
+To ensure @@RXVT_NAME@@d is listening on it's socket, you can use the
+following method to wait for the startup message before continuing:
+
+ { @@RXVT_NAME@@d & } | read
+
=item What's with the strange Backspace/Delete key behaviour?
Assuming that the physical Backspace key corresponds to the
$ stty erase ^?
$ @@RXVT_NAME@@
-Toggle with "ESC[36h" / "ESC[36l" as documented in @@RXVT_NAME@@(7).
+Toggle with C<ESC [ 36 h> / C<ESC [ 36 l> as documented in @@RXVT_NAME@@(7).
For an existing rxvt-unicode:
The Delete key is a another casualty of the ill-defined Backspace problem.
To avoid confusion between the Backspace and Delete keys, the Delete
key has been assigned an escape sequence to match the vt100 for Execute
-(ESC[3~) and is in the supplied termcap/terminfo.
+(C<ESC [ 3 ~>) and is in the supplied termcap/terminfo.
Some other Backspace problems:
you have run "configure" with the C<--disable-resources> option you can
use the `keysym' resource to alter the keystrings associated with keysyms.
-Here's an example for a URxvt session started using `@@RXVT_NAME@@ -name URxvt'
+Here's an example for a URxvt session started using C<@@RXVT_NAME@@ -name URxvt>
URxvt.keysym.Home: \033[1~
URxvt.keysym.End: \033[4~
keyboard mappings, it is better to use `xmodmap' to remap the keys as
required for your particular machine.
-=item How do I distinguish if I'm running rxvt-unicode or a regular xterm?
+=item How do I distinguish wether I'm running rxvt-unicode or a regular xterm?
I need this to decide about setting colors etc.
rxvt and rxvt-unicode always export the variable "COLORTERM", so you can
=back
-=head1 SYNOPSIS
-
- # set a new font set
- printf '\33]50;%s\007' 9x15,xft:Kochi" Mincho"
-
- # change the locale and tell rxvt-unicode about it
- export LC_CTYPE=ja_JP.EUC-JP; printf "\33]701;$LC_CTYPE\007"
-
- # set window title
- printf '\33]2;%s\007' "new window title"
+=head1 RXVT TECHNICAL REFERENCE
=head1 DESCRIPTION
followed by menu and pixmap support and last by a description of all
features selectable at C<configure> time.
-=head1 RXVT TECHNICAL REFERENCE
-
=head1 Definitions
=over 4
=item B<< C<ESC Z> >>
-Obsolete form of returns: B<< C<ESC[?1;2C> >> I<rxvt-unicode compile-time option>
+Obsolete form of returns: B<< C<ESC [ ? 1 ; 2 C> >> I<rxvt-unicode compile-time option>
=item B<< C<ESC c> >>
Invoke the G3 Character Set (LS3)
-=item B<< C<ESC> ( C> >>
+=item B<< C<ESC ( C> >>
Designate G0 Character Set (ISO 2022), see below for values of C<C>.
-=item B<< C<ESC> ) C> >>
+=item B<< C<ESC ) C> >>
Designate G1 Character Set (ISO 2022), see below for values of C<C>.
Send Device Attributes (DA)
B<< C<Ps = 0> >> (or omitted): request attributes from terminal
-returns: B<< C<ESC[?1;2c> >> (``I am a VT100 with Advanced Video
+returns: B<< C<ESC [ ? 1 ; 2 c> >> (``I am a VT100 with Advanced Video
Option'')
=item B<< C<ESC [ Ps d> >>
B<< C<Ps = 6> >> Lower window
B<< C<Ps = 7> >> Refresh screen once
B<< C<Ps = 8> >> B<< C<ESC [ 8 ; R ; C t> >> Resize to R rows and C columns
- B<< C<Ps = 11> >> Report window state (responds with C<Ps = 1> or C<Ps = 2>
+ B<< C<Ps = 11> >> Report window state (responds with C<Ps = 1> or C<Ps = 2>)
B<< C<Ps = 13> >> Report window position (responds with C<Ps = 3>)
B<< C<Ps = 14> >> Report window pixel size (responds with C<Ps = 4>)
B<< C<Ps = 18> >> Report window text size (responds with C<Ps = 7>)
with B<M-> (eg, B<M-$> is equivalent to B<\E$>) and a B<CR> will be
appended if missed from B<M-x> commands.
-As a convenience for issuing XTerm B<ESC]> sequences from a menubar (or
+As a convenience for issuing XTerm B<ESC ]> sequences from a menubar (or
quick arrow), a B<BEL> (B<^G>) will be appended if needed.
=over 4
=item --enable-xgetdefault
Make resources checking via XGetDefault() instead of our small
-version which only checks ~/.Xdefaults, or if that doesn't exist
-then ~/.Xresources.
+version which only checks ~/.Xdefaults, or if that doesn't exist then
+~/.Xresources.
+
+Please note that nowadays, things like XIM will automatically pull in and
+use the full X resource manager, so the overhead of using it might be very
+small, if nonexistant.
=item --enable-strings
window op and locale change escape sequences
tripleclickwords
settable insecure mode
+ keysym remapping support
=item --enable-iso14755
NAME
RXVT REFERENCE - FAQ, command sequences and other background information
+SYNOPSIS
+ # set a new font set
+ printf '\33]50;%s\007' 9x15,xft:Kochi" Mincho"
+
+ # change the locale and tell rxvt-unicode about it
+ export LC_CTYPE=ja_JP.EUC-JP; printf "\33]701;$LC_CTYPE\007"
+
+ # set window title
+ printf '\33]2;%s\007' "new window title"
+
+DESCRIPTION
+ This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting
+ all escape sequences, and other background information.
+
+ The newest version of this document is also available on the World Wide
+ Web at
+ <http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html>.
+
FREQUENTLY ASKED QUESTIONS
How do I know which rxvt-unicode version I'm using?
The version number is displayed with the usage (-h). Also the escape
- sequence "ESC[8n" sets the window title to the version number.
+ sequence "ESC [ 8 n" sets the window title to the version number.
+
+ I am using Debian GNU/Linux and have a problem...
+ The Debian GNU/Linux package of rxvt-unicode contains large patches
+ that considerably change the behaviour of rxvt-unicode. Before
+ reporting a bug to the original rxvt-unicode author please download
+ and install the genuine version
+ (<http://software.schmorp.de#rxvt-unicode>) and try to reproduce the
+ problem. If you cannot, chances are that the problems are specific
+ to Debian GNU/Linux, in which case it should be reported via the
+ Debian Bug Tracking System (use "reportbug" to report the bug).
+
+ For other problems that also affect the Debian package, you can and
+ probably should use the Debian BTS, too, because, after all, it's
+ also a bug in the Debian version and it serves as a reminder for
+ other users that might encounter the same issue.
When I log-in to another system it tells me about missing terminfo data?
The terminal description used by rxvt-unicode is not as widely
applications. It's a nice quick-and-dirty workaround for rare cases,
though.
- If you always want to do this you can either recompile rxvt-unicode
- with the desired TERM value or use a resource to set it:
+ If you always want to do this (and are fine with the consequences)
+ you can either recompile rxvt-unicode with the desired TERM value or
+ use a resource to set it:
URxvt.termName: rxvt
If you don't plan to use rxvt (quite common...) you could also
replace the rxvt terminfo file with the rxvt-unicode one.
+ "bash"'s readline does not work correctly under rxvt.
I need a termcap file entry.
+ One reason you might want this is that some distributions or
+ operating systems still compile some programs using the
+ long-obsoleted termcap (Fedora Core's bash is one example) and rely
+ on a termcap entry for "rxvt-unicode".
+
You could use rxvt's termcap entry with resonable results in many
cases. You can also create a termcap entry by using terminfo's
infocmp program like this:
infocmp -C rxvt-unicode
- OR you could this termcap entry:
+ Or you could use this termcap entry, generated by the command above:
rxvt-unicode|rxvt-unicode terminal (X Window System):\
:am:bw:eo:km:mi:ms:xn:xo:\
log-in to another system it tells me about missing terminfo data? on
how to do this).
+ My numerical keypad acts weird and generates differing output?
+ Some Debian GNUL/Linux users seem to have this problem, although no
+ specific details were reported so far. It is possible that this is
+ caused by the wrong "TERM" setting, although the details of wether
+ and how this can happen are unknown, as "TERM=rxvt" should offer a
+ compatible keymap. See the answer to the previous question, and
+ please report if that helped.
+
Rxvt-unicode does not seem to understand the selected encoding?
Unicode does not seem to work?
If you encounter strange problems like typing an accented character
Rxvt-unicode must be started with the same "LC_CTYPE" setting as the
programs. Often rxvt-unicode is started in the "C" locale, while the
login script running within the rxvt-unicode window changes the
- locale to sth. else, e.h. "en_GB.UTF-8". Needless to say, this is
- not going to work.
+ locale to something else, e.g. "en_GB.UTF-8". Needless to say, this
+ is not going to work.
The best thing is to fix your startup environment, as you will
likely run into other problems. If nothing works you can try this in
If this doesn't work, then maybe you use a "LC_CTYPE" specification
not supported on your systems. Some systems have a "locale" command
- which displays this. If it displays sth. like:
+ which displays this (also, "perl -e0" can be used to check locale
+ settings, as it will complain loudly if it cannot set the locale).
+ If it displays something like:
locale: Cannot set LC_CTYPE to default locale: ...
want to display.
rxvt-unicode makes a best-effort try at finding a replacement font.
- Often the result is fine, but sometimes the chosen font looks bad.
- Many fonts have totally strange characters that don't resemble the
- correct glyph at all, and rxvt-unicode lacks the artificial
- intelligence to detect that a specific glyph is wrong: it has to
- believe the font that the characters it contains indeed look
- correct.
+ Often the result is fine, but sometimes the chosen font looks
+ bad/ugly/wrong. Some fonts have totally strange characters that
+ don't resemble the correct glyph at all, and rxvt-unicode lacks the
+ artificial intelligence to detect that a specific glyph is wrong: it
+ has to believe the font that the characters it claims to contain
+ indeed look correct.
In that case, select a font of your taste and add it to the font
list, e.g.:
up this search and use less resources within rxvt-unicode and the
X-server.
- The only limitation is that all the fonts must not be larger than
- the base font, as the base font defines the principal cell size,
- which must be the same due to the way terminals work.
+ The only limitation is that none of the fonts may be larger than the
+ base font, as the base font defines the terminal character cell
+ size, which must be the same due to the way terminals work.
Why do some chinese characters look so different than others?
This is because there is a difference between script and language --
rxvt-unicode does not know which language the text that is output
is, as it only knows the unicode character codes. If rxvt-unicode
- first sees a japanese character, it might choose a japanese font for
- it. Subsequent japanese characters will take that font. Now, many
- chinese characters aren't represented in japanese fonts, so when the
- first non-japanese character comes up, rxvt-unicode will look for a
- chinese font -- unfortunately at this point, it will still use the
- japanese font for japanese characters that are also chinese.
+ first sees a japanese/chinese character, it might choose a japanese
+ font for display. Subsequent japanese characters will use that font.
+ Now, many chinese characters aren't represented in japanese fonts,
+ so when the first non-japanese character comes up, rxvt-unicode will
+ look for a chinese font -- unfortunately at this point, it will
+ still use the japanese font for chinese characters that are also in
+ the japanese font.
The workaround is easy: just tag a chinese font at the end of your
font list (see the previous question). The key is to view the font
japanese font first. If you expect more chinese, put a chinese font
first.
- In the future it might be possible to switch preferences at runtime
- (the internal data structure has no problem with using different
- fonts for the same character at the same time, but no interface for
- this has been designed yet).
+ In the future it might be possible to switch language preferences at
+ runtime (the internal data structure has no problem with using
+ different fonts for the same character at the same time, but no
+ interface for this has been designed yet).
+
+ Until then, you might get away with switching fonts at runtime (see
+ "Can I switch the fonts at runtime?" later in this document).
Why does rxvt-unicode sometimes leave pixel droppings?
Most fonts were not designed for terminal use, which means that
telnet escape character and so on.
How can I keep rxvt-unicode from using reverse video so much?
- First of all, make sure you are running with the right terminfo
- ("urxvt"), which will get rid of most of these effects. Then make
- sure you have specified colours for italic and bold, as otherwise
- rxvt-unicode might use reverse video to simulate the effect:
+ First of all, make sure you are running with the right terminal
+ settings ("TERM=rxvt-unicode"), which will get rid of most of these
+ effects. Then make sure you have specified colours for italic and
+ bold, as otherwise rxvt-unicode might use reverse video to simulate
+ the effect:
- URxvt*colorBD: white
- URxvt*colorIT: green
+ URxvt.colorBD: white
+ URxvt.colorIT: green
Some programs assume totally weird colours (red instead of blue), how
can I fix that?
- For some unexplainable reason, some programs (i.e. irssi) assume a
- very weird colour palette when confronted with a terminal with more
- than the standard 8 colours (rxvt-unicode supports 88). The right
- fix is, of course, to fix these programs not to assume non-ISO
- colours without very good reasons.
+ For some unexplainable reason, some rare programs assume a very
+ weird colour palette when confronted with a terminal with more than
+ the standard 8 colours (rxvt-unicode supports 88). The right fix is,
+ of course, to fix these programs not to assume non-ISO colours
+ without very good reasons.
- In the meantime, you can either edit your "urxvt" terminfo
+ In the meantime, you can either edit your "rxvt-unicode" terminfo
definition to only claim 8 colour support or use "TERM=rxvt", which
will fix colours but keep you from using other rxvt-unicode
features.
As you might have guessed, FreeBSD does neither define this symobl
nor does it support it. Instead, it uses it's own internal
- representation of wchar_t. This is, of course, completely legal.
+ representation of wchar_t. This is, of course, completely fine with
+ respect to standards.
However, "__STDC_ISO_10646__" is the only sane way to support
multi-language apps in an OS, as using a locale-dependent (and
The rxvt-unicode author insists that the right way to fix this is in
the system libraries once and for all, instead of forcing every app
- to carry complete replacements.
+ to carry complete replacements for them :)
How does rxvt-unicode determine the encoding to use?
Is there an option to switch encodings?
selecting the encoding, doing I/O and (most important) communicating
this to all applications so everybody agrees on character properties
such as width and code number. This mechanism is the *locale*.
+ Applications not using that info will have problems (for example,
+ "xterm" gets the width of characters wrong as it uses it's own,
+ locale-independent table under all locales).
Rxvt-unicode uses the "LC_CTYPE" locale category to select encoding.
All programs doing the same (that is, most) will automatically agree
Rxvt-unicode ignores all other locale categories, and except for the
encoding, ignores country or language-specific settings, i.e.
- "de_DE.UTF-8" and "ja_JP.UTF-8" are the same for rxvt-unicode.
+ "de_DE.UTF-8" and "ja_JP.UTF-8" are the normally same to
+ rxvt-unicode.
If you want to use a specific encoding you have to make sure you
start rxvt-unicode with the correct "LC_CTYPE" category.
Can I switch locales at runtime?
- Yes, using an escape sequence. Try sth. like this, which sets
+ Yes, using an escape sequence. Try something like this, which sets
rxvt-unicode's idea of "LC_CTYPE".
printf '\e]701;%s\007' ja_JP.SJIS
- See also the previous question.
+ See also the previous answer.
Sometimes this capability is rather handy when you want to work in
- one locale (e.g. "de_DE.UTF-8") but some programs don't support
- UTF-8. For example, I use this script to start "xjdic", which first
- switches to a locale supported by xjdic and back later:
+ one locale (e.g. "de_DE.UTF-8") but some programs don't support it
+ (e.g. UTF-8). For example, I use this script to start "xjdic", which
+ first switches to a locale supported by xjdic and back later:
printf '\e]701;%s\007' ja_JP.SJIS
xjdic -js
printf '\e]701;%s\007' de_DE.UTF-8
+ You can also use xterm's "luit" program, which usually works fine,
+ except for some locales where character width differs between
+ program- and rxvt-unicode-locales.
+
Can I switch the fonts at runtime?
- Yes, using an escape sequence. Try sth. like this, which has the
- same effect as using the "-fn" switch, and takes effect immediately:
+ Yes, using an escape sequence. Try something like this, which has
+ the same effect as using the "-fn" switch, and takes effect
+ immediately:
printf '\e]50;%s\007' "9x15bold,xft:Kochi Gothic"
Why do italic characters look as if clipped?
Many fonts have difficulties with italic characters and hinting. For
example, the otherwise very nicely hinted font "xft:Bitstream Vera
- Sans Mono" completely fails in it's italic face. A workaround is to
- enable freetype autohinting, i.e. like this:
+ Sans Mono" completely fails in it's italic face. A workaround might
+ be to enable freetype autohinting, i.e. like this:
- URxvt*italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true
- URxvt*boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true
+ URxvt.italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true
+ URxvt.boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true
My input method wants <some encoding> but I want UTF-8, what can I do?
You can specify separate locales for the input method and the rest
as your input method limits you.
Rxvt-unicode uses gobs of memory, how can I reduce that?
- Rxvt-unicode tries to obey the rule of not charging you for sth. you
- don't use. One thing you should try is to configure out all settings
- that you don't need, for example, Xft support is a resource hog by
- design, when used. Compiling it out ensures that no Xft font will be
- loaded accidentally when rxvt-unicode tries to find a font for your
- characters.
+ Rxvt-unicode tries to obey the rule of not charging you for
+ something you don't use. One thing you should try is to configure
+ out all settings that you don't need, for example, Xft support is a
+ resource hog by design, when used. Compiling it out ensures that no
+ Xft font will be loaded accidentally when rxvt-unicode tries to find
+ a font for your characters.
Also, many people (me included) like large windows and even larger
scrollback buffers: Without "--enable-unicode3", rxvt-unicode will
Here are values that are supposed to resemble a VGA screen,
including the murky brown that passes for low-intensity yellow:
- URxvt*color0: #000000
- URxvt*color1: #A80000
- URxvt*color2: #00A800
- URxvt*color3: #A8A800
- URxvt*color4: #0000A8
- URxvt*color5: #A800A8
- URxvt*color6: #00A8A8
- URxvt*color7: #A8A8A8
-
- URxvt*color8: #000054
- URxvt*color9: #FF0054
- URxvt*color10: #00FF54
- URxvt*color11: #FFFF54
- URxvt*color12: #0000FF
- URxvt*color13: #FF00FF
- URxvt*color14: #00FFFF
- URxvt*color15: #FFFFFF
-
- And here is a more complete set of non-standard colors described as
- "pretty girly":
+ URxvt.color0: #000000
+ URxvt.color1: #A80000
+ URxvt.color2: #00A800
+ URxvt.color3: #A8A800
+ URxvt.color4: #0000A8
+ URxvt.color5: #A800A8
+ URxvt.color6: #00A8A8
+ URxvt.color7: #A8A8A8
+
+ URxvt.color8: #000054
+ URxvt.color9: #FF0054
+ URxvt.color10: #00FF54
+ URxvt.color11: #FFFF54
+ URxvt.color12: #0000FF
+ URxvt.color13: #FF00FF
+ URxvt.color14: #00FFFF
+ URxvt.color15: #FFFFFF
+
+ And here is a more complete set of non-standard colors described
+ (not by me) as "pretty girly".
URxvt.cursorColor: #dc74d1
URxvt.pointerColor: #dc74d1
URxvt.color7: #e1dddd
URxvt.color15: #e1dddd
+ How can I start rxvtd in a race-free way?
+ Despite it's name, rxvtd is not a real daemon, but more like a
+ server that answers rxvtc's requests, so it doesn't background
+ itself.
+
+ To ensure rxvtd is listening on it's socket, you can use the
+ following method to wait for the startup message before continuing:
+
+ { rxvtd & } | read
+
What's with the strange Backspace/Delete key behaviour?
Assuming that the physical Backspace key corresponds to the
BackSpace keysym (not likely for Linux ... see the following
$ stty erase ^?
$ rxvt
- Toggle with "ESC[36h" / "ESC[36l" as documented in rxvt(7).
+ Toggle with "ESC [ 36 h" / "ESC [ 36 l" as documented in rxvt(7).
For an existing rxvt-unicode:
The Delete key is a another casualty of the ill-defined Backspace
problem. To avoid confusion between the Backspace and Delete keys,
the Delete key has been assigned an escape sequence to match the
- vt100 for Execute (ESC[3~) and is in the supplied termcap/terminfo.
+ vt100 for Execute ("ESC [ 3 ~") and is in the supplied
+ termcap/terminfo.
Some other Backspace problems:
option you can use the `keysym' resource to alter the keystrings
associated with keysyms.
- Here's an example for a URxvt session started using `rxvt -name
- URxvt'
-
- URxvt.keysym.Home: \e[1~
- URxvt.keysym.End: \e[4~
- URxvt.keysym.C-apostrophe: \e<C-'>
- URxvt.keysym.C-slash: \e<C-/>
- URxvt.keysym.C-semicolon: \e<C-;>
- URxvt.keysym.C-grave: \e<C-`>
- URxvt.keysym.C-comma: \e<C-,>
- URxvt.keysym.C-period: \e<C-.>
- URxvt.keysym.C-0x60: \e<C-`>
- URxvt.keysym.C-Tab: \e<C-Tab>
- URxvt.keysym.C-Return: \e<C-Return>
- URxvt.keysym.S-Return: \e<S-Return>
- URxvt.keysym.S-space: \e<S-Space>
- URxvt.keysym.M-Up: \e<M-Up>
- URxvt.keysym.M-Down: \e<M-Down>
- URxvt.keysym.M-Left: \e<M-Left>
- URxvt.keysym.M-Right: \e<M-Right>
- URxvt.keysym.M-C-0: list \e<M-C- 0123456789 >
+ Here's an example for a URxvt session started using "rxvt -name
+ URxvt"
+
+ URxvt.keysym.Home: \033[1~
+ URxvt.keysym.End: \033[4~
+ URxvt.keysym.C-apostrophe: \033<C-'>
+ URxvt.keysym.C-slash: \033<C-/>
+ URxvt.keysym.C-semicolon: \033<C-;>
+ URxvt.keysym.C-grave: \033<C-`>
+ URxvt.keysym.C-comma: \033<C-,>
+ URxvt.keysym.C-period: \033<C-.>
+ URxvt.keysym.C-0x60: \033<C-`>
+ URxvt.keysym.C-Tab: \033<C-Tab>
+ URxvt.keysym.C-Return: \033<C-Return>
+ URxvt.keysym.S-Return: \033<S-Return>
+ URxvt.keysym.S-space: \033<S-Space>
+ URxvt.keysym.M-Up: \033<M-Up>
+ URxvt.keysym.M-Down: \033<M-Down>
+ URxvt.keysym.M-Left: \033<M-Left>
+ URxvt.keysym.M-Right: \033<M-Right>
+ URxvt.keysym.M-C-0: list \033<M-C- 0123456789 >
URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz >
- URxvt.keysym.F12: proto:\033]701;zh_CN.GBK\007
+ URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007
See some more examples in the documentation for the keysym resource.
possible keyboard mappings, it is better to use `xmodmap' to remap
the keys as required for your particular machine.
- How do I distinguish if I'm running rxvt-unicode or a regular xterm? I
- need this to decide about setting colors etc.
+ How do I distinguish wether I'm running rxvt-unicode or a regular xterm?
+ I need this to decide about setting colors etc.
rxvt and rxvt-unicode always export the variable "COLORTERM", so you
can check and see if that is set. Note that several programs, JED,
slrn, Midnight Commander automatically check this variable to decide
be interested in learning about new and exciting problems (but not
FAQs :).
-SYNOPSIS
- # set a new font set
- printf '\33]50;%s\007' 9x15,xft:Kochi" Mincho"
-
- # change the locale and tell rxvt-unicode about it
- export LC_CTYPE=ja_JP.EUC-JP; printf "\33]701;$LC_CTYPE\007"
-
- # set window title
- printf '\33]2;%s\007' "new window title"
-
+RXVT TECHNICAL REFERENCE
DESCRIPTION
The rest of this document describes various technical aspects of
rxvt-unicode. First the description of supported command sequences,
followed by menu and pixmap support and last by a description of all
features selectable at "configure" time.
-RXVT TECHNICAL REFERENCE
Definitions
"c" The literal character c.
character only *unimplemented*
"ESC Z"
- Obsolete form of returns: "ESC[?1;2C" *rxvt-unicode compile-time
- option*
+ Obsolete form of returns: "ESC [ ? 1 ; 2 C" *rxvt-unicode
+ compile-time option*
"ESC c"
Full reset (RIS)
"ESC o"
Invoke the G3 Character Set (LS3)
- "ESC" ( C>
+ "ESC ( C"
Designate G0 Character Set (ISO 2022), see below for values of "C".
- "ESC" ) C>
+ "ESC ) C"
Designate G1 Character Set (ISO 2022), see below for values of "C".
"ESC * C"
"ESC [ Ps c"
Send Device Attributes (DA) "Ps = 0" (or omitted): request
- attributes from terminal returns: "ESC[?1;2c" (``I am a VT100 with
- Advanced Video Option'')
+ attributes from terminal returns: "ESC [ ? 1 ; 2 c" (``I am a VT100
+ with Advanced Video Option'')
"ESC [ Ps d"
Cursor to Line "Ps" (VPA)
Ps = 1 Deiconify (map) window
Ps = 2 Iconify window
Ps = 3 ESC [ 3 ; X ; Y t Move window to (X|Y)
- Ps = 4 ESC [ 4 ; W ; H t Resize to WxH pixels
+ Ps = 4 ESC [ 4 ; H ; W t Resize to WxH pixels
Ps = 5 Raise window
Ps = 6 Lower window
Ps = 7 Refresh screen once
- Ps = 8 ESC [ 4 ; C ; R t Resize to C columns and R rows
- Ps = 11 Report window state (responds with Ps = 1 or Ps = 2
+ Ps = 8 ESC [ 8 ; R ; C t Resize to R rows and C columns
+ Ps = 11 Report window state (responds with Ps = 1 or Ps = 2)
Ps = 13 Report window position (responds with Ps = 3)
Ps = 14 Report window pixel size (responds with Ps = 4)
Ps = 18 Report window text size (responds with Ps = 7)
with M- (eg, M-$ is equivalent to \E$) and a CR will be appended if
missed from M-x commands.
- As a convenience for issuing XTerm ESC] sequences from a menubar (or
+ As a convenience for issuing XTerm ESC ] sequences from a menubar (or
quick arrow), a BEL (^G) will be appended if needed.
For example,
version which only checks ~/.Xdefaults, or if that doesn't exist
then ~/.Xresources.
+ Please note that nowadays, things like XIM will automatically pull
+ in and use the full X resource manager, so the overhead of using it
+ might be very small, if nonexistant.
+
--enable-strings
Add support for our possibly faster memset() function and other
various routines, overriding your system's versions which may have
window op and locale change escape sequences
tripleclickwords
settable insecure mode
+ keysym remapping support
--enable-iso14755
Enable extended ISO 14755 support (see rxvt(1), or doc/rxvt.1.txt).