ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.7.man.in
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.7.man.in (file contents):
Revision 1.1 by root, Tue Jan 11 02:24:59 2005 UTC vs.
Revision 1.55 by root, Mon Jan 30 22:49:30 2006 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines