ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.7.man.in
Revision: 1.42
Committed: Thu Jan 12 05:37:34 2006 UTC (18 years, 5 months ago) by root
Branch: MAIN
Changes since 1.41: +25 -1 lines
Log Message:
*** empty log message ***

File Contents

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