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