ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.7.man.in
Revision: 1.55
Committed: Mon Jan 30 22:49:30 2006 UTC (18 years, 5 months ago) by root
Branch: MAIN
Changes since 1.54: +81 -5 lines
Log Message:
*** empty log message ***

File Contents

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