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