ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.man.in
Revision: 1.98
Committed: Wed Jun 22 15:18:06 2011 UTC (13 years ago) by root
Branch: MAIN
Changes since 1.97: +54 -3 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.97 .\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14)
2 root 1.1 .\"
3     .\" Standard preamble:
4     .\" ========================================================================
5     .de Sp \" Vertical space (when we can't use .PP)
6     .if t .sp .5v
7     .if n .sp
8     ..
9     .de Vb \" Begin verbatim text
10     .ft CW
11     .nf
12     .ne \\$1
13     ..
14     .de Ve \" End verbatim text
15     .ft R
16     .fi
17     ..
18     .\" Set up some character translations and predefined strings. \*(-- will
19     .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
20 root 1.79 .\" double quote, and \*(R" will give a right double quote. \*(C+ will
21     .\" give a nicer C++. Capital omega is used to do unbreakable dashes and
22     .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
23     .\" nothing in troff, for use with C<>.
24     .tr \(*W-
25 root 1.1 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
26     .ie n \{\
27     . ds -- \(*W-
28     . ds PI pi
29     . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30     . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
31     . ds L" ""
32     . ds R" ""
33 root 1.12 . ds C` ""
34     . ds C' ""
35 root 1.1 'br\}
36     .el\{\
37     . ds -- \|\(em\|
38     . ds PI \(*p
39     . ds L" ``
40     . ds R" ''
41     'br\}
42     .\"
43 root 1.79 .\" Escape single quotes in literal strings from groff's Unicode transform.
44     .ie \n(.g .ds Aq \(aq
45     .el .ds Aq '
46     .\"
47 root 1.1 .\" If the F register is turned on, we'll generate index entries on stderr for
48 root 1.88 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
49 root 1.1 .\" entries marked with X<> in POD. Of course, you'll have to process the
50     .\" output yourself in some meaningful fashion.
51 root 1.79 .ie \nF \{\
52 root 1.1 . de IX
53     . tm Index:\\$1\t\\n%\t"\\$2"
54     ..
55     . nr % 0
56     . rr F
57     .\}
58 root 1.79 .el \{\
59     . de IX
60     ..
61     .\}
62 root 1.1 .\"
63     .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
64     .\" Fear. Run. Save yourself. No user-serviceable parts.
65     . \" fudge factors for nroff and troff
66     .if n \{\
67     . ds #H 0
68     . ds #V .8m
69     . ds #F .3m
70     . ds #[ \f1
71     . ds #] \fP
72     .\}
73     .if t \{\
74     . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
75     . ds #V .6m
76     . ds #F 0
77     . ds #[ \&
78     . ds #] \&
79     .\}
80     . \" simple accents for nroff and troff
81     .if n \{\
82     . ds ' \&
83     . ds ` \&
84     . ds ^ \&
85     . ds , \&
86     . ds ~ ~
87     . ds /
88     .\}
89     .if t \{\
90     . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
91     . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
92     . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
93     . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
94     . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
95     . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
96     .\}
97     . \" troff and (daisy-wheel) nroff accents
98     .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
99     .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
100     .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
101     .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
102     .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
103     .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
104     .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
105     .ds ae a\h'-(\w'a'u*4/10)'e
106     .ds Ae A\h'-(\w'A'u*4/10)'E
107     . \" corrections for vroff
108     .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
109     .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
110     . \" for low resolution devices (crt and lpr)
111     .if \n(.H>23 .if \n(.V>19 \
112     \{\
113     . ds : e
114     . ds 8 ss
115     . ds o a
116     . ds d- d\h'-1'\(ga
117     . ds D- D\h'-1'\(hy
118     . ds th \o'bp'
119     . ds Th \o'LP'
120     . ds ae ae
121     . ds Ae AE
122     .\}
123     .rm #[ #] #H #V #F C
124     .\" ========================================================================
125     .\"
126 root 1.61 .IX Title "@@RXVT_NAME@@ 1"
127 root 1.98 <<<<<<< rxvt.1.man.in
128     <<<<<<< rxvt.1.man.in
129     .TH @@RXVT_NAME@@ 1 "2011-06-09" "@@RXVT_VERSION@@" "RXVT-UNICODE"
130     =======
131     .TH @@RXVT_NAME@@ 1 "2010-12-13" "@@RXVT_VERSION@@" "RXVT-UNICODE"
132     >>>>>>> 1.95
133     =======
134 root 1.97 .TH @@RXVT_NAME@@ 1 "2011-05-02" "@@RXVT_VERSION@@" "RXVT-UNICODE"
135 root 1.98 >>>>>>> 1.97
136 root 1.79 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
137     .\" way too many mistakes in technical documents.
138     .if n .ad l
139     .nh
140 root 1.1 .SH "NAME"
141     rxvt\-unicode (ouR XVT, unicode) \- (a VT102 emulator for the X window system)
142     .SH "SYNOPSIS"
143     .IX Header "SYNOPSIS"
144     \&\fB@@RXVT_NAME@@\fR [options] [\-e command [ args ]]
145     .SH "DESCRIPTION"
146     .IX Header "DESCRIPTION"
147     \&\fBrxvt-unicode\fR, version \fB@@RXVT_VERSION@@\fR, is a colour vt102 terminal
148     emulator intended as an \fIxterm\fR(1) replacement for users who do not
149     require features such as Tektronix 4014 emulation and toolkit-style
150     configurability. As a result, \fBrxvt-unicode\fR uses much less swap space \*(--
151     a significant advantage on a machine serving many X sessions.
152 root 1.75 .PP
153     This document is also available on the World-Wide-Web at
154 root 1.97 http://pod.tst.eu/http://cvs.schmorp.de/rxvt\-unicode/doc/rxvt.1.pod <http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.1.pod>.
155 root 1.1 .SH "FREQUENTLY ASKED QUESTIONS"
156     .IX Header "FREQUENTLY ASKED QUESTIONS"
157 root 1.12 See @@RXVT_NAME@@(7) (try \f(CW\*(C`man 7 @@RXVT_NAME@@\*(C'\fR) for a list of
158     frequently asked questions and answer to them and some common
159     problems. That document is also accessible on the World-Wide-Web at
160 root 1.97 http://pod.tst.eu/http://cvs.schmorp.de/rxvt\-unicode/doc/rxvt.7.pod <http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod>.
161 root 1.1 .SH "RXVT-UNICODE VS. RXVT"
162     .IX Header "RXVT-UNICODE VS. RXVT"
163     Unlike the original rxvt, \fBrxvt-unicode\fR stores all text in Unicode
164     internally. That means it can store and display most scripts in the
165     world. Being a terminal emulator, however, some things are very difficult,
166     especially cursive scripts such as arabic, vertically written scripts
167     like mongolian or scripts requiring extremely complex combining rules,
168 sasha 1.70 like tibetan or devanagari. Don't expect pretty output when using these
169 root 1.1 scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work
170 root 1.63 fine, though. A somewhat difficult case are right-to-left scripts, such
171 root 1.1 as hebrew: \fBrxvt-unicode\fR adopts the view that bidirectional algorithms
172 root 1.75 belong in the application, not the terminal emulator (too many things \*(--
173 root 1.1 such as cursor-movement while editing \*(-- break otherwise), but that might
174     change.
175     .PP
176     If you are looking for a terminal that supports more exotic scripts, let
177 root 1.63 me recommend \f(CW\*(C`mlterm\*(C'\fR, which is a very user friendly, lean and clean
178 root 1.1 terminal emulator. In fact, the reason rxvt-unicode was born was solely
179     because the author couldn't get \f(CW\*(C`mlterm\*(C'\fR to use one font for latin1 and
180     another for japanese.
181     .PP
182     Therefore another design rationale was the use of multiple fonts to
183     display characters: The idea of a single unicode font which many other
184 root 1.61 programs force onto its users never made sense to me: You should be able
185 root 1.1 to choose any font for any script freely.
186     .PP
187     Apart from that, rxvt-unicode is also much better internationalised than
188 root 1.61 its predecessor, supports things such as \s-1XFT\s0 and \s-1ISO\s0 14755 that are handy
189 root 1.63 in i18n\-environments, is faster, and has a lot bugs less than the original
190 root 1.1 rxvt. This all in addition to dozens of other small improvements.
191     .PP
192     It is still faithfully following the original rxvt idea of being lean
193     and nice on resources: for example, you can still configure rxvt-unicode
194 root 1.61 without most of its features to get a lean binary. It also comes with
195 root 1.1 a client/daemon pair that lets you open any number of terminal windows
196     from within a single process, which makes startup time very fast and
197     drastically reduces memory usage. See @@RXVT_NAME@@d(1) (daemon) and
198     @@RXVT_NAME@@c(1) (client).
199     .PP
200     It also makes technical information about escape sequences (which have
201 root 1.63 been extended) more accessible: see @@RXVT_NAME@@(7) for technical
202 root 1.1 reference documentation (escape sequences etc.).
203     .SH "OPTIONS"
204     .IX Header "OPTIONS"
205     The \fB@@RXVT_NAME@@\fR options (mostly a subset of \fIxterm\fR's) are listed
206     below. In keeping with the smaller-is-better philosophy, options may be
207 root 1.79 eliminated or default values chosen at compile-time, so options and
208 root 1.1 defaults listed may not accurately reflect the version installed on
209     your system. `@@RXVT_NAME@@ \-h' gives a list of major compile-time options on
210     the \fIOptions\fR line. Option descriptions may be prefixed with which
211     compile option each is dependent upon. e.g. `Compile \fI\s-1XIM\s0\fR:' requires
212     \&\fI\s-1XIM\s0\fR on the \fIOptions\fR line. Note: `@@RXVT_NAME@@ \-help' gives a list of all
213     command-line options compiled into your version.
214     .PP
215     Note that \fB@@RXVT_NAME@@\fR permits the resource name to be used as a
216     long-option (\-\-/++ option) so the potential command-line options are
217     far greater than those listed. For example: `@@RXVT_NAME@@ \-\-loginShell \-\-color1
218     Orange'.
219     .PP
220     The following options are available:
221     .IP "\fB\-help\fR, \fB\-\-help\fR" 4
222     .IX Item "-help, --help"
223     Print out a message describing available options.
224     .IP "\fB\-display\fR \fIdisplayname\fR" 4
225     .IX Item "-display displayname"
226 root 1.82 Attempt to open a window on the named X display (the older form \fB\-d\fR
227     is still respected. but deprecated). In the absence of this option, the
228     display specified by the \fB\s-1DISPLAY\s0\fR environment variable is used.
229 root 1.53 .IP "\fB\-depth\fR \fIbitdepth\fR" 4
230     .IX Item "-depth bitdepth"
231 root 1.56 Compile \fIxft\fR: Attempt to find a visual with the given bit depth;
232 root 1.53 resource \fBdepth\fR.
233 root 1.80 .Sp
234     [Please note that many X servers (and libXft) are buggy with
235     respect to \f(CW\*(C`\-depth 32\*(C'\fR and/or alpha channels, and will cause all sorts
236     of graphical corruption. This is harmless, but we can't do anything about
237     this, so watch out]
238 root 1.1 .IP "\fB\-geometry\fR \fIgeom\fR" 4
239     .IX Item "-geometry geom"
240     Window geometry (\fB\-g\fR still respected); resource \fBgeometry\fR.
241     .IP "\fB\-rv\fR|\fB+rv\fR" 4
242     .IX Item "-rv|+rv"
243     Turn on/off simulated reverse video; resource \fBreverseVideo\fR.
244     .IP "\fB\-j\fR|\fB+j\fR" 4
245     .IX Item "-j|+j"
246 root 1.68 Turn on/off jump scrolling (allow multiple lines per refresh); resource \fBjumpScroll\fR.
247     .IP "\fB\-ss\fR|\fB+ss\fR" 4
248     .IX Item "-ss|+ss"
249     Turn on/off skip scrolling (allow multiple screens per refresh); resource \fBskipScroll\fR.
250 sasha 1.70 .IP "\fB\-tr\fR|\fB+tr\fR" 4
251     .IX Item "-tr|+tr"
252 root 1.93 Turn on/off pseudo-transparency by using the root pixmap as background; resource \fBtransparent\fR.
253 sasha 1.70 .Sp
254 root 1.75 \&\fB\-ip\fR is still accepted as an obsolete alias but will be removed in
255     future versions.
256 root 1.1 .IP "\fB\-fade\fR \fInumber\fR" 4
257     .IX Item "-fade number"
258 root 1.25 Fade the text by the given percentage when focus is lost. Small values
259     fade a little only, 100 completely replaces all colours by the fade
260     colour; resource \fBfading\fR.
261     .IP "\fB\-fadecolor\fR \fIcolour\fR" 4
262     .IX Item "-fadecolor colour"
263     Fade to this colour when fading is used (see \fB\-fade\fR). The default colour
264 root 1.56 is opaque black. resource \fBfadeColor\fR.
265 root 1.1 .IP "\fB\-tint\fR \fIcolour\fR" 4
266     .IX Item "-tint colour"
267 root 1.93 Tint the transparent background with the given colour;
268     resource \fItintColor\fR.
269 root 1.68 .IP "\fB\-sh\fR \fInumber\fR" 4
270     .IX Item "-sh number"
271 root 1.94 Darken (0 .. 99) or lighten (101 .. 200) the transparent background.
272     A value of 100 means no shading; resource \fIshading\fR.
273 root 1.68 .IP "\fB\-blt\fR \fIstring\fR" 4
274     .IX Item "-blt string"
275 root 1.69 Specify background blending type. If background pixmap is specified
276     at the same time as transparency \- such pixmap will be blended over
277 root 1.93 the transparent background, using the method specified. Supported values are:
278 sf-exg 1.90 \&\fBadd\fR, \fBalphablend\fR, \fBallanon\fR \- colour values averaging, \fBcolorize\fR,
279 root 1.69 \&\fBdarken\fR, \fBdiff\fR, \fBdissipate\fR, \fBhue\fR, \fBlighten\fR, \fBoverlay\fR,
280     \&\fBsaturate\fR, \fBscreen\fR, \fBsub\fR, \fBtint\fR, \fBvalue\fR. The default is
281 root 1.79 alpha-blending. Compile \fIafterimage\fR; resource \fIblendType\fR.
282 root 1.69 .IP "\fB\-blr\fR \fIHxV\fR" 4
283     .IX Item "-blr HxV"
284     Apply Gaussian Blur with the specified radii to the transparent
285 root 1.93 background. If a single number is specified \- both vertical and
286 root 1.69 horizontal radii are considered to be the same. Setting one of the
287     radii to 1 and another to a large number creates interesting effects
288 root 1.93 on some backgrounds. Maximum radius value is 128;
289 sasha 1.70 resource \fIblurRadius\fR.
290 root 1.84 .IP "\fB\-icon\fR \fIfile\fR" 4
291     .IX Item "-icon file"
292 root 1.91 Compile \fIafterimage\fR or \fIpixbuf\fR: Use the specified image as application icon. This
293 root 1.84 is used by many window managers, taskbars and pagers to represent the
294 root 1.85 application window; resource \fIiconFile\fR.
295 root 1.1 .IP "\fB\-bg\fR \fIcolour\fR" 4
296     .IX Item "-bg colour"
297     Window background colour; resource \fBbackground\fR.
298     .IP "\fB\-fg\fR \fIcolour\fR" 4
299     .IX Item "-fg colour"
300     Window foreground colour; resource \fBforeground\fR.
301 root 1.73 .IP "\fB\-pixmap\fR \fIfile[;geom[:op1][:op2][...]]\fR" 4
302     .IX Item "-pixmap file[;geom[:op1][:op2][...]]"
303 root 1.91 Compile \fIafterimage\fR or \fIpixbuf\fR: Specify image file for the background and also
304 root 1.68 optionally specify its scaling with a geometry string. Note you may need to
305 root 1.3 add quotes to avoid special shell interpretation of the \f(CW\*(C`;\*(C'\fR in the
306 root 1.79 command-line; for more details see resource \fBbackgroundPixmap\fR.
307 root 1.1 .IP "\fB\-cr\fR \fIcolour\fR" 4
308     .IX Item "-cr colour"
309     The cursor colour; resource \fBcursorColor\fR.
310     .IP "\fB\-pr\fR \fIcolour\fR" 4
311     .IX Item "-pr colour"
312     The mouse pointer foreground colour; resource \fBpointerColor\fR.
313     .IP "\fB\-pr2\fR \fIcolour\fR" 4
314     .IX Item "-pr2 colour"
315     The mouse pointer background colour; resource \fBpointerColor2\fR.
316     .IP "\fB\-bd\fR \fIcolour\fR" 4
317     .IX Item "-bd colour"
318     The colour of the border around the text area and between the scrollbar and the text;
319     resource \fBborderColor\fR.
320     .IP "\fB\-fn\fR \fIfontlist\fR" 4
321     .IX Item "-fn fontlist"
322     Select the fonts to be used. This is a comma separated list of font names
323 root 1.46 that are checked in order when trying to find glyphs for characters. The
324 root 1.1 first font defines the cell size for characters; other fonts might be
325     smaller, but not (in general) larger. A (hopefully) reasonable default
326     font list is always appended to it. See resource \fBfont\fR for more details.
327     .Sp
328 root 1.61 In short, to specify an X11 core font, just specify its name or prefix it
329 root 1.79 with \f(CW\*(C`x:\*(C'\fR. To specify an XFT-font, you need to prefix it with \f(CW\*(C`xft:\*(C'\fR,
330 root 1.1 e.g.:
331     .Sp
332     .Vb 2
333 root 1.79 \& @@RXVT_NAME@@ \-fn "xft:Bitstream Vera Sans Mono:pixelsize=15"
334     \& @@RXVT_NAME@@ \-fn "9x15bold,xft:Bitstream Vera Sans Mono"
335 root 1.1 .Ve
336     .Sp
337     See also the question \*(L"How does rxvt-unicode choose fonts?\*(R" in the \s-1FAQ\s0
338     section of @@RXVT_NAME@@(7).
339     .IP "\fB\-fb\fR \fIfontlist\fR" 4
340     .IX Item "-fb fontlist"
341 root 1.37 Compile \fIfont-styles\fR: The bold font list to use when \fBbold\fR characters
342     are to be printed. See resource \fBboldFont\fR for details.
343 root 1.1 .IP "\fB\-fi\fR \fIfontlist\fR" 4
344     .IX Item "-fi fontlist"
345 root 1.37 Compile \fIfont-styles\fR: The italic font list to use when \fIitalic\fR
346     characters are to be printed. See resource \fBitalicFont\fR for details.
347 root 1.1 .IP "\fB\-fbi\fR \fIfontlist\fR" 4
348     .IX Item "-fbi fontlist"
349 root 1.37 Compile \fIfont-styles\fR: The bold italic font list to use when \fB\f(BIbold
350 root 1.35 italic\fB\fR characters are to be printed. See resource \fBboldItalicFont\fR
351     for details.
352 root 1.30 .IP "\fB\-is\fR|\fB+is\fR" 4
353     .IX Item "-is|+is"
354 root 1.76 Compile \fIfont-styles\fR: Bold/Blink font styles imply high intensity
355 root 1.30 foreground/background (default). See resource \fBintensityStyles\fR for
356     details.
357 root 1.1 .IP "\fB\-name\fR \fIname\fR" 4
358     .IX Item "-name name"
359     Specify the application name under which resources are to be obtained,
360     rather than the default executable file name. Name should not contain
361     `.' or `*' characters. Also sets the icon and title name.
362     .IP "\fB\-ls\fR|\fB+ls\fR" 4
363     .IX Item "-ls|+ls"
364     Start as a login\-shell/sub\-shell; resource \fBloginShell\fR.
365     .IP "\fB\-ut\fR|\fB+ut\fR" 4
366     .IX Item "-ut|+ut"
367     Compile \fIutmp\fR: Inhibit/enable writing a utmp entry; resource
368     \&\fButmpInhibit\fR.
369     .IP "\fB\-vb\fR|\fB+vb\fR" 4
370     .IX Item "-vb|+vb"
371     Turn on/off visual bell on receipt of a bell character; resource
372     \&\fBvisualBell\fR.
373     .IP "\fB\-sb\fR|\fB+sb\fR" 4
374     .IX Item "-sb|+sb"
375     Turn on/off scrollbar; resource \fBscrollBar\fR.
376 root 1.79 .IP "\fB\-sr\fR|\fB+sr\fR" 4
377     .IX Item "-sr|+sr"
378     Put scrollbar on right/left; resource \fBscrollBar_right\fR.
379     .IP "\fB\-st\fR|\fB+st\fR" 4
380     .IX Item "-st|+st"
381     Display rxvt (non XTerm/NeXT) scrollbar without/with a trough;
382     resource \fBscrollBar_floating\fR.
383 root 1.1 .IP "\fB\-si\fR|\fB+si\fR" 4
384     .IX Item "-si|+si"
385     Turn on/off scroll-to-bottom on \s-1TTY\s0 output inhibit; resource
386     \&\fBscrollTtyOutput\fR has opposite effect.
387     .IP "\fB\-sk\fR|\fB+sk\fR" 4
388     .IX Item "-sk|+sk"
389     Turn on/off scroll-to-bottom on keypress; resource
390     \&\fBscrollTtyKeypress\fR.
391     .IP "\fB\-sw\fR|\fB+sw\fR" 4
392     .IX Item "-sw|+sw"
393     Turn on/off scrolling with the scrollback buffer as new lines appear.
394     This only takes effect if \fB\-si\fR is also given; resource
395     \&\fBscrollWithBuffer\fR.
396     .IP "\fB\-ptab\fR|\fB+ptab\fR" 4
397     .IX Item "-ptab|+ptab"
398     If enabled (default), \*(L"Horizontal Tab\*(R" characters are being stored as
399     actual wide characters in the screen buffer, which makes it possible to
400     select and paste them. Since a horizontal tab is a cursor movement and
401     not an actual glyph, this can sometimes be visually annoying as the cursor
402     on a tab character is displayed as a wide cursor; resource \fBpastableTabs\fR.
403     .IP "\fB\-bc\fR|\fB+bc\fR" 4
404     .IX Item "-bc|+bc"
405     Blink the cursor; resource \fBcursorBlink\fR.
406 root 1.88 .IP "\fB\-uc\fR|\fB+uc\fR" 4
407     .IX Item "-uc|+uc"
408     Make the cursor underlined; resource \fBcursorUnderline\fR.
409 root 1.1 .IP "\fB\-iconic\fR" 4
410     .IX Item "-iconic"
411     Start iconified, if the window manager supports that option.
412     Alternative form is \fB\-ic\fR.
413     .IP "\fB\-sl\fR \fInumber\fR" 4
414     .IX Item "-sl number"
415     Save \fInumber\fR lines in the scrollback buffer. See resource entry for
416     limits; resource \fBsaveLines\fR.
417     .IP "\fB\-b\fR \fInumber\fR" 4
418     .IX Item "-b number"
419     Compile \fIfrills\fR: Internal border of \fInumber\fR pixels. See resource
420     entry for limits; resource \fBinternalBorder\fR.
421     .IP "\fB\-w\fR \fInumber\fR" 4
422     .IX Item "-w number"
423     Compile \fIfrills\fR: External border of \fInumber\fR pixels. Also, \fB\-bw\fR
424     and \fB\-borderwidth\fR. See resource entry for limits; resource
425     \&\fBexternalBorder\fR.
426     .IP "\fB\-bl\fR" 4
427     .IX Item "-bl"
428     Compile \fIfrills\fR: Set \s-1MWM\s0 hints to request a borderless window, i.e.
429     if honoured by the \s-1WM\s0, the rxvt-unicode window will not have window
430 root 1.84 decorations; resource \fBborderLess\fR. If the window manager does not
431     support \s-1MWM\s0 hints (e.g. kwin), enables override-redirect mode.
432 root 1.49 .IP "\fB\-override\-redirect\fR" 4
433     .IX Item "-override-redirect"
434     Compile \fIfrills\fR: Sets override-redirect on the window; resource
435     \&\fBoverride-redirect\fR.
436 root 1.37 .IP "\fB\-sbg\fR" 4
437     .IX Item "-sbg"
438     Compile \fIfrills\fR: Disable the usage of the built-in block graphics/line
439     drawing characters and just rely on what the specified fonts provide. Use
440     this if you have a good font and want to use its block graphic glyphs;
441     resource \fBskipBuiltinGlyphs\fR.
442 root 1.1 .IP "\fB\-lsp\fR \fInumber\fR" 4
443     .IX Item "-lsp number"
444     Compile \fIfrills\fR: Lines (pixel height) to insert between each row of
445     the display. Useful to work around font rendering problems; resource
446 sasha 1.70 \&\fBlineSpace\fR.
447 root 1.86 .IP "\fB\-letsp\fR \fInumber\fR" 4
448     .IX Item "-letsp number"
449     Compile \fIfrills\fR: Amount to adjust the computed character width by
450     to control overall letter spacing. Negative values will tighten up the
451     letter spacing, positive values will space letters out more. Useful to
452 root 1.88 work around odd font metrics; resource \fBletterSpace\fR.
453 root 1.1 .IP "\fB\-tn\fR \fItermname\fR" 4
454     .IX Item "-tn termname"
455     This option specifies the name of the terminal type to be set in the
456     \&\fB\s-1TERM\s0\fR environment variable. This terminal type must exist in the
457     \&\fI\fItermcap\fI\|(5)\fR database and should have \fIli#\fR and \fIco#\fR entries;
458     resource \fBtermName\fR.
459     .IP "\fB\-e\fR \fIcommand [arguments]\fR" 4
460     .IX Item "-e command [arguments]"
461     Run the command with its command-line arguments in the \fB@@RXVT_NAME@@\fR
462     window; also sets the window title and icon name to be the basename of
463     the program being executed if neither \fI\-title\fR (\fI\-T\fR) nor \fI\-n\fR are
464     given on the command line. If this option is used, it must be the last
465 root 1.79 on the command-line. If there is no \fB\-e\fR option then the default is to
466 root 1.1 run the program specified by the \fB\s-1SHELL\s0\fR environment variable or,
467     failing that, \fI\fIsh\fI\|(1)\fR.
468 root 1.28 .Sp
469     Please note that you must specify a program with arguments. If you want to
470     run shell commands, you have to specify the shell, like this:
471     .Sp
472     .Vb 1
473 root 1.79 \& @@RXVT_NAME@@ \-e sh \-c "shell commands"
474 root 1.28 .Ve
475 root 1.1 .IP "\fB\-title\fR \fItext\fR" 4
476     .IX Item "-title text"
477     Window title (\fB\-T\fR still respected); the default title is the basename
478     of the program specified after the \fB\-e\fR option, if any, otherwise the
479     application name; resource \fBtitle\fR.
480     .IP "\fB\-n\fR \fItext\fR" 4
481     .IX Item "-n text"
482     Icon name; the default name is the basename of the program specified
483     after the \fB\-e\fR option, if any, otherwise the application name;
484     resource \fBiconName\fR.
485     .IP "\fB\-C\fR" 4
486     .IX Item "-C"
487     Capture system console messages.
488     .IP "\fB\-pt\fR \fIstyle\fR" 4
489     .IX Item "-pt style"
490     Compile \fI\s-1XIM\s0\fR: input style for input method; \fBOverTheSpot\fR,
491     \&\fBOffTheSpot\fR, \fBRoot\fR; resource \fBpreeditType\fR.
492     .IP "\fB\-im\fR \fItext\fR" 4
493     .IX Item "-im text"
494     Compile \fI\s-1XIM\s0\fR: input method name. resource \fBinputMethod\fR.
495     .IP "\fB\-imlocale\fR \fIstring\fR" 4
496     .IX Item "-imlocale string"
497 root 1.7 The locale to use for opening the \s-1IM\s0. You can use an \f(CW\*(C`LC_CTYPE\*(C'\fR of e.g.
498     \&\f(CW\*(C`de_DE.UTF\-8\*(C'\fR for normal text processing but \f(CW\*(C`ja_JP.EUC\-JP\*(C'\fR for the
499     input extension to be able to input japanese characters while staying in
500     another locale. resource \fBimLocale\fR.
501     .IP "\fB\-imfont\fR \fIfontset\fR" 4
502     .IX Item "-imfont fontset"
503     Set the font set to use for the X Input Method, see resource \fBimFont\fR
504     for more info.
505     .IP "\fB\-tcw\fR" 4
506     .IX Item "-tcw"
507     Change the meaning of triple-click selection with the left mouse
508 root 1.79 button. Only effective when the original (non-perl) selection code is
509     in-use. Instead of selecting a full line it will extend the selection to
510 root 1.75 the end of the logical line only. resource \fBtripleclickwords\fR.
511 root 1.1 .IP "\fB\-insecure\fR" 4
512     .IX Item "-insecure"
513     Enable \*(L"insecure\*(R" mode, which currently enables most of the escape
514     sequences that echo strings. See the resource \fBinsecure\fR for more
515     info.
516     .IP "\fB\-mod\fR \fImodifier\fR" 4
517     .IX Item "-mod modifier"
518     Override detection of Meta modifier with specified key: \fBalt\fR,
519     \&\fBmeta\fR, \fBhyper\fR, \fBsuper\fR, \fBmod1\fR, \fBmod2\fR, \fBmod3\fR, \fBmod4\fR,
520     \&\fBmod5\fR; resource \fImodifier\fR.
521     .IP "\fB\-ssc\fR|\fB+ssc\fR" 4
522     .IX Item "-ssc|+ssc"
523     Turn on/off secondary screen (default enabled); resource
524     \&\fBsecondaryScreen\fR.
525     .IP "\fB\-ssr\fR|\fB+ssr\fR" 4
526     .IX Item "-ssr|+ssr"
527     Turn on/off secondary screen scroll (default enabled); resource
528     \&\fBsecondaryScroll\fR.
529 root 1.28 .IP "\fB\-hold\fR|\fB+hold\fR" 4
530     .IX Item "-hold|+hold"
531     Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@
532     will not immediately destroy its window when the program executed within
533     it exits. Instead, it will wait till it is being killed or closed by the
534     user; resource \fBhold\fR.
535 root 1.83 .IP "\fB\-cd\fR \fIpath\fR" 4
536     .IX Item "-cd path"
537     Sets the working directory for the shell (or the command specified via
538     \&\fB\-e\fR). The \fIpath\fR must be an absolute path and it must exist for
539     @@RXVT_NAME@@ to start; resource \fBchdir\fR.
540 root 1.74 .IP "\fB\-xrm\fR \fIstring\fR" 4
541     .IX Item "-xrm string"
542     Works like the X Toolkit option of the same name, by adding the \fIstring\fR
543     as if it were specified in a resource file. Resource values specified this
544     way take precedence over all other resource specifications.
545     .Sp
546     Note that you need to use the \fIsame\fR syntax as in the .Xdefaults file,
547     e.g. \f(CW\*(C`*.background: black\*(C'\fR. Also note that all @@RXVT_NAME@@\-specific
548     options can be specified as long-options on the commandline, so use
549     of \fB\-xrm\fR is mostly limited to cases where you want to specify other
550     resources (e.g. for input methods) or for compatibility with other
551     programs.
552 root 1.18 .IP "\fB\-keysym.\fR\fIsym\fR \fIstring\fR" 4
553     .IX Item "-keysym.sym string"
554 root 1.12 Remap a key symbol. See resource \fBkeysym\fR.
555 root 1.18 .IP "\fB\-embed\fR \fIwindowid\fR" 4
556     .IX Item "-embed windowid"
557 root 1.61 Tells @@RXVT_NAME@@ to embed its windows into an already-existing window,
558 root 1.15 which enables applications to easily embed a terminal.
559     .Sp
560     Right now, @@RXVT_NAME@@ will first unmap/map the specified window, so it
561     shouldn't be a top-level window. @@RXVT_NAME@@ will also reconfigure it
562     quite a bit, so don't expect it to keep some specific state. It's best to
563     create an extra subwindow for @@RXVT_NAME@@ and leave it alone.
564     .Sp
565 root 1.16 The window will not be destroyed when @@RXVT_NAME@@ exits.
566     .Sp
567 root 1.15 It might be useful to know that @@RXVT_NAME@@ will not close file
568     descriptors passed to it (except for stdin/out/err, of course), so you
569     can use file descriptors to communicate with the programs within the
570 root 1.63 terminal. This works regardless of whether the \f(CW\*(C`\-embed\*(C'\fR option was used or
571 root 1.15 not.
572 root 1.18 .Sp
573     Here is a short Gtk2\-perl snippet that illustrates how this option can be
574     used (a longer example is in \fIdoc/embed\fR):
575     .Sp
576 root 1.20 .Vb 5
577     \& my $rxvt = new Gtk2::Socket;
578 root 1.79 \& $rxvt\->signal_connect_after (realize => sub {
579     \& my $xid = $_[0]\->window\->get_xid;
580     \& system "@@RXVT_NAME@@ \-embed $xid &";
581 root 1.20 \& });
582 root 1.18 .Ve
583 root 1.38 .IP "\fB\-pty\-fd\fR \fIfile descriptor\fR" 4
584     .IX Item "-pty-fd file descriptor"
585 root 1.18 Tells @@RXVT_NAME@@ \s-1NOT\s0 to execute any commands or create a new pty/tty
586 root 1.63 pair but instead use the given file descriptor as the tty master. This is
587 root 1.18 useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator
588     without having to run a program within it.
589     .Sp
590     If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp
591     entries and will not tinker with pty/tty permissions \- you have to do that
592     yourself if you want that.
593     .Sp
594 root 1.38 As an extremely special case, specifying \f(CW\*(C`\-1\*(C'\fR will completely suppress
595 root 1.75 pty/tty operations, which is probably only useful in conjunction with some
596     perl extension that manages the terminal.
597 root 1.38 .Sp
598 root 1.18 Here is a example in perl that illustrates how this option can be used (a
599     longer example is in \fIdoc/pty\-fd\fR):
600     .Sp
601     .Vb 2
602     \& use IO::Pty;
603     \& use Fcntl;
604 root 1.79 \&
605 root 1.18 \& my $pty = new IO::Pty;
606 root 1.79 \& fcntl $pty, F_SETFD, 0; # clear close\-on\-exec
607     \& system "@@RXVT_NAME@@ \-pty\-fd " . (fileno $pty) . "&";
608 root 1.19 \& close $pty;
609 root 1.79 \&
610 root 1.18 \& # now communicate with rxvt
611 root 1.79 \& my $slave = $pty\->slave;
612 root 1.18 \& while (<$slave>) { print $slave "got <$_>\en" }
613     .Ve
614 root 1.32 .IP "\fB\-pe\fR \fIstring\fR" 4
615     .IX Item "-pe string"
616 root 1.39 Comma-separated list of perl extension scripts to use (or not to use) in
617     this terminal instance. See resource \fBperl-ext\fR for details.
618 root 1.75 .SH "RESOURCES"
619     .IX Header "RESOURCES"
620 root 1.1 Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long
621 root 1.75 options) compiled into your version. All resources are also available as
622 root 1.79 long-options.
623 root 1.1 .PP
624 root 1.43 You can set and change the resources using X11 tools like \fBxrdb\fR. Many
625     distribution do also load settings from the \fB~/.Xresources\fR file when X
626     starts. @@RXVT_NAME@@ will consult the following files/resources in order,
627     with later settings overwriting earlier ones:
628 root 1.12 .PP
629 root 1.74 .Vb 6
630 sf-exg 1.96 \& 1. app\-defaults file in $XAPPLRESDIR
631     \& 2. $HOME/.Xdefaults
632     \& 3. RESOURCE_MANAGER property on root\-window of screen 0
633     \& 4. SCREEN_RESOURCES property on root\-window of the current screen
634 root 1.79 \& 5. $XENVIRONMENT file OR $HOME/.Xdefaults\-<nodename>
635     \& 6. resources specified via \-xrm on the commandline
636 root 1.12 .Ve
637 root 1.1 .PP
638 root 1.43 Note that when reading X resources, \fB@@RXVT_NAME@@\fR recognizes two class
639     names: \fBRxvt\fR and \fBURxvt\fR. The class name \fBRxvt\fR allows resources
640     common to both \fB@@RXVT_NAME@@\fR and the original \fIrxvt\fR to be easily
641     configured, while the class name \fBURxvt\fR allows resources unique to
642     \&\fB@@RXVT_NAME@@\fR, to be shared between different \fB@@RXVT_NAME@@\fR
643     configurations. If no resources are specified, suitable defaults will
644     be used. Command-line arguments can be used to override resource
645     settings. The following resources are supported (you might want to
646     check the @@RXVT_NAME@@\fIperl\fR\|(3) manpage for additional settings by perl
647     extensions not documented here):
648 root 1.53 .IP "\fBdepth:\fR \fIbitdepth\fR" 4
649     .IX Item "depth: bitdepth"
650 root 1.56 Compile \fIxft\fR: Attempt to find a visual with the given bit depth;
651 root 1.53 option \fB\-depth\fR.
652 root 1.81 .IP "\fBbuffered:\fR \fIboolean\fR" 4
653     .IX Item "buffered: boolean"
654     Compile \fIxft\fR: Turn on/off double-buffering for xft (default enabled).
655     On some card/driver combination enabling it slightly decreases
656     performance, on most it greatly helps it. The slowdown is small, so it
657     should normally be enabled.
658 root 1.1 .IP "\fBgeometry:\fR \fIgeom\fR" 4
659     .IX Item "geometry: geom"
660     Create the window with the specified X window geometry [default 80x24];
661     option \fB\-geometry\fR.
662     .IP "\fBbackground:\fR \fIcolour\fR" 4
663     .IX Item "background: colour"
664     Use the specified colour as the window's background colour [default
665     White]; option \fB\-bg\fR.
666     .IP "\fBforeground:\fR \fIcolour\fR" 4
667     .IX Item "foreground: colour"
668     Use the specified colour as the window's foreground colour [default
669     Black]; option \fB\-fg\fR.
670     .IP "\fBcolor\fR\fIn\fR\fB:\fR \fIcolour\fR" 4
671     .IX Item "colorn: colour"
672     Use the specified colour for the colour value \fIn\fR, where 0\-7
673     corresponds to low-intensity (normal) colours and 8\-15 corresponds to
674     high-intensity (bold = bright foreground, blink = bright background)
675     colours. The canonical names are as follows: 0=black, 1=red, 2=green,
676     3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour
677 sf-exg 1.90 names used are listed in the \fB\s-1COLOURS\s0 \s-1AND\s0 \s-1GRAPHICS\s0\fR section.
678 root 1.1 .Sp
679     Colours higher than 15 cannot be set using resources (yet), but can be
680     changed using an escape command (see @@RXVT_NAME@@(7)).
681     .Sp
682     Colours 16\-79 form a standard 4x4x4 colour cube (the same as xterm with
683     88 colour support). Colours 80\-87 are evenly spaces grey steps.
684     .IP "\fBcolorBD:\fR \fIcolour\fR" 4
685     .IX Item "colorBD: colour"
686     .PD 0
687     .IP "\fBcolorIT:\fR \fIcolour\fR" 4
688     .IX Item "colorIT: colour"
689     .PD
690     Use the specified colour to display bold or italic characters when the
691     foreground colour is the default. If font styles are not available
692 root 1.3 (Compile \fIstyles\fR) and this option is unset, reverse video is used instead.
693 root 1.1 .IP "\fBcolorUL:\fR \fIcolour\fR" 4
694     .IX Item "colorUL: colour"
695     Use the specified colour to display underlined characters when the
696     foreground colour is the default.
697     .IP "\fBunderlineColor:\fR \fIcolour\fR" 4
698     .IX Item "underlineColor: colour"
699     If set, use the specified colour as the colour for the underline
700     itself. If unset, use the foreground colour.
701 sf-exg 1.90 .IP "\fBhighlightColor:\fR \fIcolour\fR" 4
702     .IX Item "highlightColor: colour"
703     If set, use the specified colour as the background for highlighted
704     characters. If unset, use reverse video.
705     .IP "\fBhighlightTextColor:\fR \fIcolour\fR" 4
706     .IX Item "highlightTextColor: colour"
707     If set and highlightColor is set, use the specified colour as the
708     foreground for highlighted characters.
709 root 1.1 .IP "\fBcursorColor:\fR \fIcolour\fR" 4
710     .IX Item "cursorColor: colour"
711     Use the specified colour for the cursor. The default is to use the
712     foreground colour; option \fB\-cr\fR.
713     .IP "\fBcursorColor2:\fR \fIcolour\fR" 4
714     .IX Item "cursorColor2: colour"
715     Use the specified colour for the colour of the cursor text. For this to
716     take effect, \fBcursorColor\fR must also be specified. The default is to
717     use the background colour.
718     .IP "\fBreverseVideo:\fR \fIboolean\fR" 4
719     .IX Item "reverseVideo: boolean"
720     \&\fBTrue\fR: simulate reverse video by foreground and background colours;
721     option \fB\-rv\fR. \fBFalse\fR: regular screen colours [default]; option
722 sf-exg 1.90 \&\fB+rv\fR. See note in \fB\s-1COLOURS\s0 \s-1AND\s0 \s-1GRAPHICS\s0\fR section.
723 root 1.1 .IP "\fBjumpScroll:\fR \fIboolean\fR" 4
724     .IX Item "jumpScroll: boolean"
725 root 1.68 \&\fBTrue\fR: specify that jump scrolling should be used. When receiving lots
726     of lines, @@RXVT_NAME@@ will only scroll once a whole screen height of lines
727     has been read, resulting in fewer updates while still displaying every
728     received line; option \fB\-j\fR.
729     .Sp
730     \&\fBFalse\fR: specify that smooth scrolling should be used. @@RXVT_NAME@@ will
731     force a screen refresh on each new line it received; option \fB+j\fR.
732     .IP "\fBskipScroll:\fR \fIboolean\fR" 4
733     .IX Item "skipScroll: boolean"
734     \&\fBTrue\fR: (the default) specify that skip scrolling should be used. When
735     receiving lots of lines, @@RXVT_NAME@@ will only scroll once in a while
736     (around 60 times per second), resulting in far fewer updates. This can
737     result in @@RXVT_NAME@@ not ever displaying some of the lines it receives;
738     option \fB\-ss\fR.
739     .Sp
740     \&\fBFalse\fR: specify that everything is to be displayed, even
741     if the refresh is too fast for the human eye to read anything (or the
742     monitor to display anything); option \fB+ss\fR.
743 root 1.75 .IP "\fBtransparent:\fR \fIboolean\fR" 4
744     .IX Item "transparent: boolean"
745 root 1.93 Turn on/off pseudo-transparency by using the root pixmap as background.
746 root 1.75 .Sp
747     \&\fBinheritPixmap\fR is still accepted as an obsolete alias but will be removed in
748     future versions.
749 root 1.1 .IP "\fBfading:\fR \fInumber\fR" 4
750     .IX Item "fading: number"
751 root 1.25 Fade the text by the given percentage when focus is lost; option \fB\-fade\fR.
752     .IP "\fBfadeColor:\fR \fIcolour\fR" 4
753     .IX Item "fadeColor: colour"
754     Fade to this colour, when fading is used (see \fBfading:\fR). The default
755     colour is black; option \fB\-fadecolor\fR.
756 root 1.1 .IP "\fBtintColor:\fR \fIcolour\fR" 4
757     .IX Item "tintColor: colour"
758 root 1.94 Tint the transparent background with the given colour. If the \s-1RENDER\s0
759     extension is not available only black, red, green, yellow, blue,
760     magenta, cyan and white tints can be performed server-side. Note that
761     a black tint yields a completely black image while a white tint yields
762     the image unchanged; option \fB\-tint\fR.
763 root 1.1 .IP "\fBshading:\fR \fInumber\fR" 4
764     .IX Item "shading: number"
765 root 1.94 Darken (0 .. 99) or lighten (101 .. 200) the transparent background.
766     A value of 100 means no shading; option \fB\-sh\fR.
767 root 1.68 .IP "\fBblendType:\fR \fIstring\fR" 4
768     .IX Item "blendType: string"
769     Specify background blending type; option \fB\-blt\fR.
770     .IP "\fBblurRadius:\fR \fInumber\fR" 4
771     .IX Item "blurRadius: number"
772 root 1.84 Apply gaussian blur with the specified radius to the transparent
773 root 1.93 background; option \fB\-blr\fR.
774 root 1.84 .IP "\fBiconFile:\fR \fIfile\fR" 4
775     .IX Item "iconFile: file"
776     Set the application icon pixmap; option \fB\-icon\fR.
777 root 1.1 .IP "\fBscrollColor:\fR \fIcolour\fR" 4
778     .IX Item "scrollColor: colour"
779     Use the specified colour for the scrollbar [default #B2B2B2].
780     .IP "\fBtroughColor:\fR \fIcolour\fR" 4
781     .IX Item "troughColor: colour"
782     Use the specified colour for the scrollbar's trough area [default
783 root 1.23 #969696]. Only relevant for rxvt (non XTerm/NeXT) scrollbar.
784 root 1.1 .IP "\fBborderColor:\fR \fIcolour\fR" 4
785     .IX Item "borderColor: colour"
786     The colour of the border around the text area and between the scrollbar
787     and the text.
788 root 1.73 .IP "\fBbackgroundPixmap:\fR \fIfile[;geom[:op1][:op2][...]]\fR" 4
789     .IX Item "backgroundPixmap: file[;geom[:op1][:op2][...]]"
790     Use the specified image file for the background and also
791     optionally specify its scaling with a geometry string \fBWxH+X+Y\fR,
792 root 1.91 (default \f(CW\*(C`100x100+50+50\*(C'\fR) in which \fB\*(L"W\*(R" / \*(L"H\*(R"\fR specify the
793 root 1.73 horizontal/vertical scale (percent), and \fB\*(L"X\*(R" / \*(L"Y\*(R"\fR locate the image
794 root 1.91 centre (percent). A scale of 0 displays the image with tiling.
795     The maximum permitted scale is 1000.
796 root 1.73 Additional operations can be specified after colon \fB:op1:op2...\fR.
797     Supported operations are:
798     .Sp
799     .Vb 8
800 root 1.79 \& tile force background image to be tiled and not scaled. Equivalent to 0x0
801     \& propscale will scale image keeping proportions
802     \& auto will scale image to match window size. Equivalent to 100x100
803     \& hscale will scale image horizontally to the window size
804     \& vscale will scale image vertically to the window size
805     \& scale will scale image to match window size
806     \& root will tile image as if it was a root window background, auto\-adjusting
807     \& whenever terminal window moves
808 root 1.73 .Ve
809     .Sp
810     If used in conjunction with \fB\-tr\fR option, the specified pixmap will be
811 root 1.93 blended over the transparent background using alpha-blending. If \fIafterimage\fR
812 root 1.91 support has been compiled in it is possible to choose other blending
813     types with \fB\-blt \*(L"type\*(R"\fR option.
814 root 1.1 .IP "\fBpath:\fR \fIpath\fR" 4
815     .IX Item "path: path"
816 sasha 1.70 Specify the colon-delimited search path for finding background image files.
817 root 1.1 .IP "\fBfont:\fR \fIfontlist\fR" 4
818     .IX Item "font: fontlist"
819 root 1.46 Select the fonts to be used. This is a comma separated list of font names
820     that are checked in order when trying to find glyphs for characters. The
821     first font defines the cell size for characters; other fonts might be
822     smaller, but not (in general) larger. A (hopefully) reasonable default
823     font list is always appended to it; option \fB\-fn\fR.
824 root 1.1 .Sp
825     Each font can either be a standard X11 core font (\s-1XLFD\s0) name, with
826 root 1.3 optional prefix \f(CW\*(C`x:\*(C'\fR or a Xft font (Compile \fIxft\fR), prefixed with \f(CW\*(C`xft:\*(C'\fR.
827 root 1.1 .Sp
828     In addition, each font can be prefixed with additional hints and
829     specifications enclosed in square brackets (\f(CW\*(C`[]\*(C'\fR). The only available
830     hint currently is \f(CW\*(C`codeset=codeset\-name\*(C'\fR, and this is only used for Xft
831     fonts.
832     .Sp
833     For example, this font resource
834     .Sp
835     .Vb 5
836 root 1.47 \& URxvt.font: 9x15bold,\e
837 root 1.79 \& \-misc\-fixed\-bold\-r\-normal\-\-15\-140\-75\-75\-c\-90\-iso10646\-1,\e
838     \& \-misc\-fixed\-medium\-r\-normal\-\-15\-140\-75\-75\-c\-90\-iso10646\-1, \e
839 root 1.1 \& [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \e
840     \& xft:Code2000:antialias=false
841     .Ve
842     .Sp
843     specifies five fonts to be used. The first one is \f(CW\*(C`9x15bold\*(C'\fR (actually
844     the iso8859\-1 version of the second font), which is the base font (because
845     it is named first) and thus defines the character cell grid to be 9 pixels
846     wide and 15 pixels high.
847     .Sp
848     The second font is just used to add additional unicode characters not in
849 root 1.79 the base font, likewise the third, which is unfortunately non-bold, but
850 sf-exg 1.90 the bold version of the font does contain fewer characters, so this is a
851 root 1.1 useful supplement.
852     .Sp
853     The third font is an Xft font with aliasing turned off, and the characters
854     are limited to the \fB\s-1JIS\s0 0208\fR codeset (i.e. japanese kanji). The font
855     contains other characters, but we are not interested in them.
856     .Sp
857     The last font is a useful catch-all font that supplies most of the
858     remaining unicode characters.
859     .IP "\fBboldFont:\fR \fIfontlist\fR" 4
860     .IX Item "boldFont: fontlist"
861     .PD 0
862     .IP "\fBitalicFont:\fR \fIfontlist\fR" 4
863     .IX Item "italicFont: fontlist"
864     .IP "\fBboldItalicFont:\fR \fIfontlist\fR" 4
865     .IX Item "boldItalicFont: fontlist"
866     .PD
867     The font list to use for displaying \fBbold\fR, \fIitalic\fR or \fB\f(BIbold
868     italic\fB\fR characters, respectively.
869     .Sp
870 root 1.79 If specified and non-empty, then the syntax is the same as for the
871 root 1.1 \&\fBfont\fR\-resource, and the given font list will be used as is, which makes
872     it possible to substitute completely different font styles for bold and
873     italic.
874     .Sp
875     If unset (the default), a suitable font list will be synthesized by
876     \&\*(L"morphing\*(R" the normal text font list into the desired shape. If that is
877     not possible, replacement fonts of the desired shape will be tried.
878     .Sp
879     If set, but empty, then this specific style is disabled and the normal
880     text font will being used for the given style.
881 root 1.30 .IP "\fBintensityStyles:\fR \fIboolean\fR" 4
882     .IX Item "intensityStyles: boolean"
883     When font styles are not enabled, or this option is enabled (\fBTrue\fR,
884 root 1.76 option \fB\-is\fR, the default), bold/blink font styles imply high
885 root 1.63 intensity foreground/background colours. Disabling this option (\fBFalse\fR,
886 root 1.30 option \fB+is\fR) disables this behaviour, the high intensity colours are not
887     reachable.
888 root 1.1 .IP "\fBtitle:\fR \fIstring\fR" 4
889     .IX Item "title: string"
890     Set window title string, the default title is the command-line
891     specified after the \fB\-e\fR option, if any, otherwise the application
892     name; option \fB\-title\fR.
893     .IP "\fBiconName:\fR \fIstring\fR" 4
894     .IX Item "iconName: string"
895     Set the name used to label the window's icon or displayed in an icon
896     manager window, it also sets the window's title unless it is explicitly
897     set; option \fB\-n\fR.
898     .IP "\fBmapAlert:\fR \fIboolean\fR" 4
899     .IX Item "mapAlert: boolean"
900     \&\fBTrue\fR: de-iconify (map) on receipt of a bell character. \fBFalse\fR: no
901     de-iconify (map) on receipt of a bell character [default].
902 root 1.67 .IP "\fBurgentOnBell:\fR \fIboolean\fR" 4
903     .IX Item "urgentOnBell: boolean"
904     \&\fBTrue\fR: set the urgency hint for the wm on receipt of a bell character.
905     \&\fBFalse\fR: do not set the urgency hint [default].
906 root 1.84 .Sp
907     @@RXVT_NAME@@ resets the urgency hint on every focus change.
908 root 1.1 .IP "\fBvisualBell:\fR \fIboolean\fR" 4
909     .IX Item "visualBell: boolean"
910     \&\fBTrue\fR: use visual bell on receipt of a bell character; option \fB\-vb\fR.
911     \&\fBFalse\fR: no visual bell [default]; option \fB+vb\fR.
912     .IP "\fBloginShell:\fR \fIboolean\fR" 4
913     .IX Item "loginShell: boolean"
914     \&\fBTrue\fR: start as a login shell by prepending a `\-' to \fBargv[0]\fR of
915     the shell; option \fB\-ls\fR. \fBFalse\fR: start as a normal sub-shell
916     [default]; option \fB+ls\fR.
917     .IP "\fButmpInhibit:\fR \fIboolean\fR" 4
918     .IX Item "utmpInhibit: boolean"
919     \&\fBTrue\fR: inhibit writing record into the system log file \fButmp\fR;
920     option \fB\-ut\fR. \fBFalse\fR: write record into the system log file \fButmp\fR
921     [default]; option \fB+ut\fR.
922 root 1.79 .IP "\fBprint-pipe:\fR \fIstring\fR" 4
923 root 1.1 .IX Item "print-pipe: string"
924     Specify a command pipe for vt100 printer [default \fI\fIlpr\fI\|(1)\fR]. Use
925     \&\fBPrint\fR to initiate a screen dump to the printer and \fBCtrl-Print\fR or
926     \&\fBShift-Print\fR to include the scrollback as well.
927 root 1.24 .Sp
928 root 1.79 The string will be interpreted as if typed into the shell as-is.
929 root 1.24 .Sp
930     Example:
931     .Sp
932     .Vb 1
933 root 1.79 \& URxvt.print\-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX)
934 root 1.24 .Ve
935     .Sp
936     This creates a new file in your home directory with the screen contents
937 root 1.63 every time you hit \f(CW\*(C`Print\*(C'\fR.
938 root 1.79 .IP "\fBscrollstyle:\fR \fImode\fR" 4
939     .IX Item "scrollstyle: mode"
940     Set scrollbar style to \fBrxvt\fR, \fBplain\fR, \fBnext\fR or \fBxterm\fR. \fBplain\fR is
941     the author's favourite.
942 sf-exg 1.96 .IP "\fBthickness:\fR \fInumber\fR" 4
943     .IX Item "thickness: number"
944     Set the scrollbar width in pixels.
945 root 1.1 .IP "\fBscrollBar:\fR \fIboolean\fR" 4
946     .IX Item "scrollBar: boolean"
947     \&\fBTrue\fR: enable the scrollbar [default]; option \fB\-sb\fR. \fBFalse\fR:
948     disable the scrollbar; option \fB+sb\fR.
949     .IP "\fBscrollBar_right:\fR \fIboolean\fR" 4
950     .IX Item "scrollBar_right: boolean"
951     \&\fBTrue\fR: place the scrollbar on the right of the window; option \fB\-sr\fR.
952     \&\fBFalse\fR: place the scrollbar on the left of the window; option \fB+sr\fR.
953     .IP "\fBscrollBar_floating:\fR \fIboolean\fR" 4
954     .IX Item "scrollBar_floating: boolean"
955     \&\fBTrue\fR: display an rxvt scrollbar without a trough; option \fB\-st\fR.
956     \&\fBFalse\fR: display an rxvt scrollbar with a trough; option \fB+st\fR.
957     .IP "\fBscrollBar_align:\fR \fImode\fR" 4
958     .IX Item "scrollBar_align: mode"
959     Align the \fBtop\fR, \fBbottom\fR or \fBcentre\fR [default] of the scrollbar
960     thumb with the pointer on middle button press/drag.
961     .IP "\fBscrollTtyOutput:\fR \fIboolean\fR" 4
962     .IX Item "scrollTtyOutput: boolean"
963     \&\fBTrue\fR: scroll to bottom when tty receives output; option \fB\-si\fR.
964     \&\fBFalse\fR: do not scroll to bottom when tty receives output; option
965     \&\fB+si\fR.
966     .IP "\fBscrollWithBuffer:\fR \fIboolean\fR" 4
967     .IX Item "scrollWithBuffer: boolean"
968 root 1.98 \&\fBTrue\fR: scroll with scrollback buffer when tty receives new lines (i.e.
969     try to show the same lines) and \fBscrollTtyOutput\fR is False; option
970     \&\fB\-sw\fR. \fBFalse\fR: do not scroll with scrollback buffer when tty receives
971     new lines; option \fB+sw\fR.
972 root 1.1 .IP "\fBscrollTtyKeypress:\fR \fIboolean\fR" 4
973     .IX Item "scrollTtyKeypress: boolean"
974     \&\fBTrue\fR: scroll to bottom when a non-special key is pressed. Special keys
975     are those which are intercepted by rxvt-unicode for special handling and
976     are not passed onto the shell; option \fB\-sk\fR. \fBFalse\fR: do not scroll to
977     bottom when a non-special key is pressed; option \fB+sk\fR.
978     .IP "\fBsaveLines:\fR \fInumber\fR" 4
979     .IX Item "saveLines: number"
980     Save \fInumber\fR lines in the scrollback buffer [default 64]. This
981     resource is limited on most machines to 65535; option \fB\-sl\fR.
982     .IP "\fBinternalBorder:\fR \fInumber\fR" 4
983     .IX Item "internalBorder: number"
984     Internal border of \fInumber\fR pixels. This resource is limited to 100;
985     option \fB\-b\fR.
986     .IP "\fBexternalBorder:\fR \fInumber\fR" 4
987     .IX Item "externalBorder: number"
988     External border of \fInumber\fR pixels. This resource is limited to 100;
989     option \fB\-w\fR, \fB\-bw\fR, \fB\-borderwidth\fR.
990     .IP "\fBborderLess:\fR \fIboolean\fR" 4
991     .IX Item "borderLess: boolean"
992     Set \s-1MWM\s0 hints to request a borderless window, i.e. if honoured by the
993     \&\s-1WM\s0, the rxvt-unicode window will not have window decorations; option \fB\-bl\fR.
994 root 1.37 .IP "\fBskipBuiltinGlyphs:\fR \fIboolean\fR" 4
995     .IX Item "skipBuiltinGlyphs: boolean"
996     Compile \fIfrills\fR: Disable the usage of the built-in block graphics/line
997     drawing characters and just rely on what the specified fonts provide. Use
998     this if you have a good font and want to use its block graphic glyphs;
999     option \fB\-sbg\fR.
1000 root 1.1 .IP "\fBtermName:\fR \fItermname\fR" 4
1001     .IX Item "termName: termname"
1002     Specifies the terminal type name to be set in the \fB\s-1TERM\s0\fR environment
1003     variable; option \fB\-tn\fR.
1004 sasha 1.70 .IP "\fBlineSpace:\fR \fInumber\fR" 4
1005     .IX Item "lineSpace: number"
1006 root 1.1 Specifies number of lines (pixel height) to insert between each row of
1007     the display [default 0]; option \fB\-lsp\fR.
1008     .IP "\fBmeta8:\fR \fIboolean\fR" 4
1009     .IX Item "meta8: boolean"
1010     \&\fBTrue\fR: handle Meta (Alt) + keypress to set the 8th bit. \fBFalse\fR:
1011     handle Meta (Alt) + keypress as an escape prefix [default].
1012     .IP "\fBmouseWheelScrollPage:\fR \fIboolean\fR" 4
1013     .IX Item "mouseWheelScrollPage: boolean"
1014     \&\fBTrue\fR: the mouse wheel scrolls a page full. \fBFalse\fR: the mouse wheel
1015     scrolls five lines [default].
1016     .IP "\fBpastableTabs:\fR \fIboolean\fR" 4
1017     .IX Item "pastableTabs: boolean"
1018     \&\fBTrue\fR: store tabs as wide characters. \fBFalse\fR: interpret tabs as cursor
1019     movement only; option \f(CW\*(C`\-ptab\*(C'\fR.
1020     .IP "\fBcursorBlink:\fR \fIboolean\fR" 4
1021     .IX Item "cursorBlink: boolean"
1022     \&\fBTrue\fR: blink the cursor. \fBFalse\fR: do not blink the cursor [default];
1023     option \fB\-bc\fR.
1024 root 1.88 .IP "\fBcursorUnderline:\fR \fIboolean\fR" 4
1025     .IX Item "cursorUnderline: boolean"
1026     \&\fBTrue\fR: Make the cursor underlined. \fBFalse\fR: Make the cursor a box [default];
1027     option \fB\-uc\fR.
1028 root 1.1 .IP "\fBpointerBlank:\fR \fIboolean\fR" 4
1029     .IX Item "pointerBlank: boolean"
1030     \&\fBTrue\fR: blank the pointer when a key is pressed or after a set number
1031     of seconds of inactivity. \fBFalse\fR: the pointer is always visible
1032     [default].
1033     .IP "\fBpointerColor:\fR \fIcolour\fR" 4
1034     .IX Item "pointerColor: colour"
1035     Mouse pointer foreground colour.
1036     .IP "\fBpointerColor2:\fR \fIcolour\fR" 4
1037     .IX Item "pointerColor2: colour"
1038     Mouse pointer background colour.
1039     .IP "\fBpointerBlankDelay:\fR \fInumber\fR" 4
1040     .IX Item "pointerBlankDelay: number"
1041 root 1.21 Specifies number of seconds before blanking the pointer [default 2]. Use a
1042     large number (e.g. \f(CW987654321\fR) to effectively disable the timeout.
1043 root 1.1 .IP "\fBbackspacekey:\fR \fIstring\fR" 4
1044     .IX Item "backspacekey: string"
1045     The string to send when the backspace key is pressed. If set to \fB\s-1DEC\s0\fR
1046 sf-exg 1.90 or unset it will send \fBDelete\fR (code 127) or, with control, \fBBackspace\fR
1047 root 1.1 (code 8) \- which can be reversed with the appropriate \s-1DEC\s0 private mode
1048     escape sequence.
1049     .IP "\fBdeletekey:\fR \fIstring\fR" 4
1050     .IX Item "deletekey: string"
1051     The string to send when the delete key (not the keypad delete key) is
1052     pressed. If unset it will send the sequence traditionally associated
1053     with the \fBExecute\fR key.
1054     .IP "\fBcutchars:\fR \fIstring\fR" 4
1055     .IX Item "cutchars: string"
1056 root 1.53 The characters used as delimiters for double-click word selection
1057     (whitespace delimiting is added automatically if resource is given).
1058     .Sp
1059 root 1.67 When the perl selection extension is in use (the default if compiled
1060     in, see the @@RXVT_NAME@@\fIperl\fR\|(3) manpage), a suitable regex using these
1061     characters will be created (if the resource exists, otherwise, no regex
1062     will be created). In this mode, characters outside \s-1ISO\-8859\-1\s0 can be used.
1063 root 1.53 .Sp
1064     When the selection extension is not used, only \s-1ISO\-8859\-1\s0 characters can
1065     be used. If not specified, the built-in default is used:
1066 root 1.1 .Sp
1067 root 1.73 \&\fB\s-1BACKSLASH\s0 `"'&()*,;<=>?@[]^{|}\fR
1068 root 1.1 .IP "\fBpreeditType:\fR \fIstyle\fR" 4
1069     .IX Item "preeditType: style"
1070     \&\fBOverTheSpot\fR, \fBOffTheSpot\fR, \fBRoot\fR; option \fB\-pt\fR.
1071     .IP "\fBinputMethod:\fR \fIname\fR" 4
1072     .IX Item "inputMethod: name"
1073     \&\fIname\fR of inputMethod to use; option \fB\-im\fR.
1074     .IP "\fBimLocale:\fR \fIname\fR" 4
1075     .IX Item "imLocale: name"
1076 root 1.7 The locale to use for opening the \s-1IM\s0. You can use an \f(CW\*(C`LC_CTYPE\*(C'\fR of e.g.
1077     \&\f(CW\*(C`de_DE.UTF\-8\*(C'\fR for normal text processing but \f(CW\*(C`ja_JP.EUC\-JP\*(C'\fR for the
1078     input extension to be able to input japanese characters while staying in
1079 root 1.31 another locale; option \fB\-imlocale\fR.
1080 root 1.7 .IP "\fBimFont:\fR \fIfontset\fR" 4
1081     .IX Item "imFont: fontset"
1082     Specify the font-set used for \s-1XIM\s0 styles \f(CW\*(C`OverTheSpot\*(C'\fR or
1083     \&\f(CW\*(C`OffTheSpot\*(C'\fR. It must be a standard X font set (\s-1XLFD\s0 patterns separated
1084     by commas), i.e. it's not in the same format as the other font lists used
1085     in @@RXVT_NAME@@. The default will be set-up to chose *any* suitable found
1086     found, preferably one or two pixels differing in size to the base font.
1087     option \fB\-imfont\fR.
1088     .IP "\fBtripleclickwords:\fR \fIboolean\fR" 4
1089     .IX Item "tripleclickwords: boolean"
1090     Change the meaning of triple-click selection with the left mouse
1091     button. Instead of selecting a full line it will extend the selection to
1092 root 1.31 the end of the logical line only; option \fB\-tcw\fR.
1093 root 1.1 .IP "\fBinsecure:\fR \fIboolean\fR" 4
1094     .IX Item "insecure: boolean"
1095     Enables \*(L"insecure\*(R" mode. Rxvt-unicode offers some escape sequences that
1096     echo arbitrary strings like the icon name or the locale. This could be
1097     abused if somebody gets 8\-bit\-clean access to your display, whether
1098 root 1.27 through a mail client displaying mail bodies unfiltered or through
1099     \&\fIwrite\fR\|(1) or any other means. Therefore, these sequences are disabled by
1100     default. (Note that many other terminals, including xterm, have these
1101     sequences enabled by default, which doesn't make it safer, though).
1102     .Sp
1103     You can enable them by setting this boolean resource or specifying
1104 root 1.79 \&\fB\-insecure\fR as an option. At the moment, this enables display-answer,
1105 root 1.47 locale, findfont, icon label and window title requests.
1106 root 1.1 .IP "\fBmodifier:\fR \fImodifier\fR" 4
1107     .IX Item "modifier: modifier"
1108     Set the key to be interpreted as the Meta key to: \fBalt\fR, \fBmeta\fR,
1109     \&\fBhyper\fR, \fBsuper\fR, \fBmod1\fR, \fBmod2\fR, \fBmod3\fR, \fBmod4\fR, \fBmod5\fR; option
1110     \&\fB\-mod\fR.
1111     .IP "\fBanswerbackString:\fR \fIstring\fR" 4
1112     .IX Item "answerbackString: string"
1113 root 1.79 Specify the reply rxvt-unicode sends to the shell when an \s-1ENQ\s0 (control-E)
1114 root 1.1 character is passed through. It may contain escape values as described
1115     in the entry on \fBkeysym\fR following.
1116 root 1.49 .IP "\fBsecondaryScreen:\fR \fIboolean\fR" 4
1117     .IX Item "secondaryScreen: boolean"
1118 root 1.1 Turn on/off secondary screen (default enabled).
1119 root 1.49 .IP "\fBsecondaryScroll:\fR \fIboolean\fR" 4
1120     .IX Item "secondaryScroll: boolean"
1121 root 1.67 Turn on/off secondary screen scroll (default enabled). If this
1122 root 1.1 option is enabled, scrolls on the secondary screen will change the
1123 root 1.82 scrollback buffer and, when secondaryScreen is off, switching
1124     to/from the secondary screen will instead scroll the screen up.
1125 root 1.49 .IP "\fBhold\fR: \fIboolean\fR" 4
1126     .IX Item "hold: boolean"
1127 root 1.28 Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@
1128     will not immediately destroy its window when the program executed within
1129     it exits. Instead, it will wait till it is being killed or closed by the
1130     user.
1131 root 1.83 .IP "\fBchdir\fR: \fIpath\fR" 4
1132     .IX Item "chdir: path"
1133     Sets the working directory for the shell (or the command specified via
1134     \&\fB\-e\fR). The \fIpath\fR must be an absolute path and it must exist for
1135     @@RXVT_NAME@@ to start. If it isn't specified then the current working
1136     directory will be used; option \fB\-cd\fR.
1137 root 1.1 .IP "\fBkeysym.\fR\fIsym\fR: \fIstring\fR" 4
1138     .IX Item "keysym.sym: string"
1139 root 1.3 Compile \fIfrills\fR: Associate \fIstring\fR with keysym \fIsym\fR. The
1140     intervening resource name \fBkeysym.\fR cannot be omitted.
1141     .Sp
1142     The format of \fIsym\fR is "\fI(modifiers\-)key\fR", where \fImodifiers\fR can be
1143     any combination of \fBISOLevel3\fR, \fBAppKeypad\fR, \fBControl\fR, \fBNumLock\fR,
1144     \&\fBShift\fR, \fBMeta\fR, \fBLock\fR, \fBMod1\fR, \fBMod2\fR, \fBMod3\fR, \fBMod4\fR, \fBMod5\fR,
1145     and the abbreviated \fBI\fR, \fBK\fR, \fBC\fR, \fBN\fR, \fBS\fR, \fBM\fR, \fBA\fR, \fBL\fR, \fB1\fR,
1146     \&\fB2\fR, \fB3\fR, \fB4\fR, \fB5\fR.
1147     .Sp
1148     The \fBNumLock\fR, \fBMeta\fR and \fBISOLevel3\fR modifiers are usually aliased to
1149     whatever modifier the NumLock key, Meta/Alt keys or \s-1ISO\s0 Level3 Shift/AltGr
1150 root 1.7 keys are being mapped. \fBAppKeypad\fR is a synthetic modifier mapped to the
1151 root 1.3 current application keymap mode state.
1152     .Sp
1153     The spellings of \fIkey\fR can be obtained by using \fBxev\fR(1) command or
1154     searching keysym macros from \fB/usr/X11R6/include/X11/keysymdef.h\fR and
1155     omitting the prefix \fB\s-1XK_\s0\fR. Alternatively you can specify \fIkey\fR by its hex
1156     keysym value (\fB0x0000 \- 0xFFFF\fR). Note that the lookup of \fIsym\fRs is not
1157     performed in an exact manner; however, the closest match is assured.
1158     .Sp
1159 sasha 1.70 \&\fIstring\fR may contain escape values (\f(CW\*(C`\en\*(C'\fR: newline, \f(CW\*(C`\e000\*(C'\fR: octal
1160 root 1.91 number), see \s-1RESOURCES\s0 in \f(CW\*(C`man 7 X\*(C'\fR for further details.
1161 root 1.12 .Sp
1162 root 1.98 <<<<<<< rxvt.1.man.in
1163     <<<<<<< rxvt.1.man.in
1164     You can define a range of keysyms in one shot by providing a \fIstring\fR
1165     with pattern \fBlist/PREFIX/MIDDLE/SUFFIX\fR, where the delimiter `/'
1166     should be a character not used by the strings.
1167     .Sp
1168     Its usage can be demonstrated by an example:
1169     .Sp
1170     .Vb 1
1171     \& URxvt.keysym.M\-C\-0x61: list|\e033<|abc|>
1172     .Ve
1173     .Sp
1174     The above line is equivalent to the following three lines:
1175     .Sp
1176     .Vb 3
1177     \& URxvt.keysym.Meta\-Control\-0x61: \e033<a>
1178     \& URxvt.keysym.Meta\-Control\-0x62: \e033<b>
1179     \& URxvt.keysym.Meta\-Control\-0x63: \e033<c>
1180     .Ve
1181     .Sp
1182     =======
1183     You can define a range of keysyms in one shot by providing a \fIstring\fR
1184     with pattern \fBlist/PREFIX/MIDDLE/SUFFIX\fR, where the delimiter `/'
1185     should be a character not used by the strings.
1186     .Sp
1187     Its usage can be demonstrated by an example:
1188     .Sp
1189     .Vb 1
1190     \& URxvt.keysym.M\-C\-0x61: list|\e033<M\-C\-|abc|>
1191     .Ve
1192     .Sp
1193     The above line is equivalent to the following three lines:
1194     .Sp
1195     .Vb 3
1196     \& URxvt.keysym.Meta\-Control\-0x61: \e033<M\-C\-a>
1197     \& URxvt.keysym.Meta\-Control\-0x62: \e033<M\-C\-b>
1198     \& URxvt.keysym.Meta\-Control\-0x63: \e033<M\-C\-c>
1199     .Ve
1200     .Sp
1201     >>>>>>> 1.95
1202     =======
1203     >>>>>>> 1.97
1204 root 1.12 If \fIstring\fR takes the form of \f(CW\*(C`command:STRING\*(C'\fR, the specified \fB\s-1STRING\s0\fR
1205 root 1.7 is interpreted and executed as @@RXVT_NAME@@'s control sequence. For
1206     example the following means "change the current locale to \f(CW\*(C`zh_CN.GBK\*(C'\fR
1207     when Control-Meta-c is being pressed":
1208     .Sp
1209     .Vb 1
1210 root 1.79 \& URxvt.keysym.M\-C\-c: command:\e033]701;zh_CN.GBK\e007
1211 root 1.7 .Ve
1212     .Sp
1213 root 1.33 If \fIstring\fR takes the form \f(CW\*(C`perl:STRING\*(C'\fR, then the specified \fB\s-1STRING\s0\fR
1214 root 1.87 is passed to the \f(CW\*(C`on_user_command\*(C'\fR perl handler. See the @@RXVT_NAME@@\fIperl\fR\|(3)
1215 root 1.33 manpage. For example, the \fIselection\fR extension (activated via
1216     \&\f(CW\*(C`@@RXVT_NAME@@ \-pe selection\*(C'\fR) listens for \f(CW\*(C`selection:rot13\*(C'\fR events:
1217     .Sp
1218     .Vb 1
1219 root 1.79 \& URxvt.keysym.M\-C\-c: perl:selection:rot13
1220 root 1.33 .Ve
1221     .Sp
1222 root 1.22 Due the the large number of modifier combinations, a defined key mapping
1223 root 1.91 will match if \fIat least\fR the specified identifiers are being set, and
1224 root 1.22 no other key mappings with those and more bits are being defined. That
1225     means that defining a key map for \f(CW\*(C`a\*(C'\fR will automatically provide
1226     definitions for \f(CW\*(C`Meta\-a\*(C'\fR, \f(CW\*(C`Shift\-a\*(C'\fR and so on, unless some of those are defined
1227     mappings themselves.
1228     .Sp
1229     Unfortunately, this will override built-in key mappings. For example
1230     if you overwrite the \f(CW\*(C`Insert\*(C'\fR key you will disable @@RXVT_NAME@@'s
1231     \&\f(CW\*(C`Shift\-Insert\*(C'\fR mapping. To re-enable that, you can poke \*(L"holes\*(R" into the
1232     user-defined keymap using the \f(CW\*(C`builtin:\*(C'\fR replacement:
1233     .Sp
1234     .Vb 2
1235     \& URxvt.keysym.Insert: <my insert key sequence>
1236 root 1.79 \& URxvt.keysym.S\-Insert: builtin:
1237 root 1.22 .Ve
1238     .Sp
1239     The first line defines a mapping for \f(CW\*(C`Insert\*(C'\fR and \fIany\fR combination
1240     of modifiers. The second line re-establishes the default mapping for
1241     \&\f(CW\*(C`Shift\-Insert\*(C'\fR.
1242     .Sp
1243 root 1.7 The following example will map Control\-Meta\-1 and Control\-Meta\-2 to
1244 root 1.12 the fonts \f(CW\*(C`suxuseuro\*(C'\fR and \f(CW\*(C`9x15bold\*(C'\fR, so you can have some limited
1245 root 1.7 font-switching at runtime:
1246     .Sp
1247     .Vb 2
1248 root 1.79 \& URxvt.keysym.M\-C\-1: command:\e033]50;suxuseuro\e007
1249     \& URxvt.keysym.M\-C\-2: command:\e033]50;9x15bold\e007
1250 root 1.7 .Ve
1251     .Sp
1252 root 1.12 Other things are possible, e.g. resizing (see @@RXVT_NAME@@(7) for more
1253     info):
1254     .Sp
1255     .Vb 2
1256 root 1.79 \& URxvt.keysym.M\-C\-3: command:\e033[8;25;80t
1257     \& URxvt.keysym.M\-C\-4: command:\e033[8;48;110t
1258 root 1.12 .Ve
1259 root 1.36 .IP "\fBperl-ext-common\fR: \fIstring\fR" 4
1260     .IX Item "perl-ext-common: string"
1261     .PD 0
1262 root 1.32 .IP "\fBperl-ext\fR: \fIstring\fR" 4
1263     .IX Item "perl-ext: string"
1264 root 1.36 .PD
1265 root 1.39 Comma-separated list(s) of perl extension scripts (default: \f(CW\*(C`default\*(C'\fR) to
1266     use in this terminal instance; option \fB\-pe\fR.
1267     .Sp
1268     Extension names can be prefixed with a \f(CW\*(C`\-\*(C'\fR sign to prohibit using
1269 root 1.41 them. This can be useful to selectively disable some extensions loaded
1270 root 1.39 by default, or specified via the \f(CW\*(C`perl\-ext\-common\*(C'\fR resource. For
1271     example, \f(CW\*(C`default,\-selection\*(C'\fR will use all the default extension except
1272     \&\f(CW\*(C`selection\*(C'\fR.
1273     .Sp
1274 root 1.41 Extension names can also be followed by an argument in angle brackets
1275     (e.g. \f(CW\*(C`searchable\-scrollback<M\-s>\*(C'\fR, which binds the hotkey for
1276 root 1.63 searchable scrollback to Alt/Meta\-s). Mentioning the same extension
1277 root 1.41 multiple times with different arguments will pass multiple arguments to
1278     the extension.
1279     .Sp
1280 root 1.39 Each extension is looked up in the library directories, loaded if
1281     necessary, and bound to the current terminal instance.
1282     .Sp
1283     If both of these resources are the empty string, then the perl
1284     interpreter will not be initialized. The idea behind two options is that
1285     \&\fBperl-ext-common\fR will be used for extensions that should be available to
1286     all instances, while \fBperl-ext\fR is used for specific instances.
1287 root 1.31 .IP "\fBperl-eval\fR: \fIstring\fR" 4
1288     .IX Item "perl-eval: string"
1289 root 1.40 Perl code to be evaluated when all extensions have been registered. See
1290 root 1.84 the @@RXVT_NAME@@\fIperl\fR\|(3) manpage.
1291 root 1.31 .IP "\fBperl-lib\fR: \fIpath\fR" 4
1292     .IX Item "perl-lib: path"
1293 root 1.32 Colon-separated list of additional directories that hold extension
1294     scripts. When looking for extensions specified by the \f(CW\*(C`perl\*(C'\fR resource,
1295     @@RXVT_NAME@@ will first look in these directories and then in
1296 root 1.84 \&\fI@@RXVT_LIBDIR@@/urxvt/perl/\fR.
1297 root 1.31 .Sp
1298 root 1.33 See the @@RXVT_NAME@@\fIperl\fR\|(3) manpage.
1299 root 1.45 .IP "\fBselection.pattern\-\f(BIidx\fB\fR: \fIperl-regex\fR" 4
1300     .IX Item "selection.pattern-idx: perl-regex"
1301     Additional selection patterns, see the @@RXVT_NAME@@\fIperl\fR\|(3) manpage for
1302     details.
1303 root 1.79 .IP "\fBselection-autotransform.\f(BIidx\fB\fR: \fIperl-transform\fR" 4
1304 root 1.45 .IX Item "selection-autotransform.idx: perl-transform"
1305     Selection auto-transform patterns, see the @@RXVT_NAME@@\fIperl\fR\|(3) manpage
1306     for details.
1307 root 1.79 .IP "\fBsearchable-scrollback:\fR \fIkeysym\fR" 4
1308 root 1.44 .IX Item "searchable-scrollback: keysym"
1309     Sets the hotkey that starts the incremental scrollback buffer search
1310     (default: \f(CW\*(C`M\-s\*(C'\fR).
1311 root 1.42 .IP "\fBurlLauncher\fR: \fIstring\fR" 4
1312     .IX Item "urlLauncher: string"
1313     Specifies the program to be started with a \s-1URL\s0 argument. Used by the
1314 root 1.65 \&\f(CW\*(C`selection\-popup\*(C'\fR and \f(CW\*(C`matcher\*(C'\fR perl extensions.
1315 root 1.40 .IP "\fBtransient-for\fR: \fIwindowid\fR" 4
1316     .IX Item "transient-for: windowid"
1317 root 1.49 Compile \fIfrills\fR: Sets the \s-1WM_TRANSIENT_FOR\s0 property to the given window id.
1318     .IP "\fBoverride-redirect\fR: \fIboolean\fR" 4
1319     .IX Item "override-redirect: boolean"
1320     Compile \fIfrills\fR: Sets override-redirect for the terminal window, making
1321     it almost invisible to window managers; option \fB\-override\-redirect\fR.
1322 root 1.89 .IP "\fBiso14755:\fR \fIboolean\fR" 4
1323     .IX Item "iso14755: boolean"
1324     Turn on/off \s-1ISO\s0 14755 (default enabled).
1325 root 1.68 .IP "\fBiso14755_52:\fR \fIboolean\fR" 4
1326     .IX Item "iso14755_52: boolean"
1327     Turn on/off \s-1ISO\s0 14755 5.2 mode (default enabled).
1328 root 1.1 .SH "THE SCROLLBAR"
1329     .IX Header "THE SCROLLBAR"
1330     Lines of text that scroll off the top of the \fB@@RXVT_NAME@@\fR window
1331     (resource: \fBsaveLines\fR) and can be scrolled back using the scrollbar
1332     or by keystrokes. The normal \fB@@RXVT_NAME@@\fR scrollbar has arrows and
1333     its behaviour is fairly intuitive. The \fBxterm-scrollbar\fR is without
1334     arrows and its behaviour mimics that of \fIxterm\fR
1335     .PP
1336     Scroll down with \fBButton1\fR (\fBxterm-scrollbar\fR) or \fBShift-Next\fR.
1337     Scroll up with \fBButton3\fR (\fBxterm-scrollbar\fR) or \fBShift-Prior\fR.
1338     Continuous scroll with \fBButton2\fR.
1339     .SH "MOUSE REPORTING"
1340     .IX Header "MOUSE REPORTING"
1341     To temporarily override mouse reporting, for either the scrollbar or
1342     the normal text selection/insertion, hold either the Shift or the Meta
1343     (Alt) key while performing the desired mouse action.
1344     .PP
1345     If mouse reporting mode is active, the normal scrollbar actions are
1346     disabled \*(-- on the assumption that we are using a fullscreen
1347 root 1.12 application. Instead, pressing Button1 and Button3 sends \fB\s-1ESC\s0 [ 6 ~\fR
1348     (Next) and \fB\s-1ESC\s0 [ 5 ~\fR (Prior), respectively. Similarly, clicking on the
1349     up and down arrows sends \fB\s-1ESC\s0 [ A\fR (Up) and \fB\s-1ESC\s0 [ B\fR (Down),
1350 root 1.1 respectively.
1351 root 1.67 .SH "THE SELECTION: SELECTING AND PASTING TEXT"
1352     .IX Header "THE SELECTION: SELECTING AND PASTING TEXT"
1353     The behaviour of text selection and insertion/pasting mechanism is similar
1354     to \fIxterm\fR(1).
1355     .IP "\fBSelecting\fR:" 4
1356     .IX Item "Selecting:"
1357 root 1.7 Left click at the beginning of the region, drag to the end of the region
1358     and release; Right click to extend the marked region; Left double-click
1359     to select a word; Left triple-click to select the entire logical line
1360     (which can span multiple screen lines), unless modified by resource
1361     \&\fBtripleclickwords\fR.
1362 root 1.1 .Sp
1363     Starting a selection while pressing the \fBMeta\fR key (or \fBMeta+Ctrl\fR keys)
1364 root 1.29 (Compile: \fIfrills\fR) will create a rectangular selection instead of a
1365     normal one. In this mode, every selected row becomes its own line in the
1366     selection, and trailing whitespace is visually underlined and removed from
1367     the selection.
1368 root 1.67 .IP "\fBPasting\fR:" 4
1369     .IX Item "Pasting:"
1370 root 1.52 Pressing and releasing the Middle mouse button in an \fB@@RXVT_NAME@@\fR
1371     window causes the value of the \s-1PRIMARY\s0 selection (or \s-1CLIPBOARD\s0 with the
1372 root 1.67 \&\fBMeta\fR modifier) to be inserted as if it had been typed on the keyboard.
1373 root 1.52 .Sp
1374     Pressing \fBShift-Insert\fR causes the value of the \s-1PRIMARY\s0 selection to be
1375     inserted too.
1376 root 1.1 .SH "CHANGING FONTS"
1377     .IX Header "CHANGING FONTS"
1378     Changing fonts (or font sizes, respectively) via the keypad is not yet
1379 root 1.79 supported in rxvt-unicode. Bug me if you need this.
1380 root 1.1 .PP
1381 root 1.47 You can, however, switch fonts at runtime using escape sequences, e.g.:
1382 root 1.1 .PP
1383     .Vb 1
1384 root 1.79 \& printf \*(Aq\ee]710;%s\e007\*(Aq "9x15bold,xft:Kochi Gothic"
1385 root 1.1 .Ve
1386     .PP
1387 root 1.47 You can use keyboard shortcuts, too:
1388     .PP
1389     .Vb 2
1390 root 1.79 \& URxvt.keysym.M\-C\-1: command:\e033]710;suxuseuro\e007\e033]711;suxuseuro\e007
1391     \& URxvt.keysym.M\-C\-2: command:\e033]710;9x15bold\e007\e033]711;9x15bold\e007
1392 root 1.47 .Ve
1393     .PP
1394 root 1.1 rxvt-unicode will automatically re-apply these fonts to the output so far.
1395     .SH "ISO 14755 SUPPORT"
1396     .IX Header "ISO 14755 SUPPORT"
1397     \&\s-1ISO\s0 14755 is a standard for entering and viewing unicode characters
1398     and character codes using the keyboard. It consists of 4 parts. The
1399 root 1.69 first part is available if rxvt-unicode has been compiled with
1400 root 1.1 \&\f(CW\*(C`\-\-enable\-frills\*(C'\fR, the rest is available when rxvt-unicode was compiled
1401     with \f(CW\*(C`\-\-enable\-iso14755\*(C'\fR.
1402 root 1.79 .IP "\(bu" 4
1403     5.1: Basic method
1404     .Sp
1405 root 1.1 This allows you to enter unicode characters using their hexcode.
1406     .Sp
1407     Start by pressing and holding both \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR, then enter
1408     hex-digits (between one and six). Releasing \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR will
1409     commit the character as if it were typed directly. While holding down
1410     \&\f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR you can also enter multiple characters by pressing
1411     \&\f(CW\*(C`Space\*(C'\fR, which will commit the current character and lets you start a new
1412     one.
1413     .Sp
1414     As an example of use, imagine a business card with a japanese e\-mail
1415     address, which you cannot type. Fortunately, the card has the e\-mail
1416     address printed as hexcodes, e.g. \f(CW\*(C`671d 65e5\*(C'\fR. You can enter this easily
1417     by pressing \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR, followed by \f(CW\*(C`6\-7\-1\-D\-SPACE\-6\-5\-E\-5\*(C'\fR,
1418     followed by releasing the modifier keys.
1419 root 1.79 .IP "\(bu" 4
1420     5.2: Keyboard symbols entry method
1421     .Sp
1422 root 1.1 This mode lets you input characters representing the keycap symbols of
1423     your keyboard, if representable in the current locale encoding.
1424     .Sp
1425     Start by pressing \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR together, then releasing
1426     them. The next special key (cursor keys, home etc.) you enter will not
1427 root 1.61 invoke its usual function but instead will insert the corresponding
1428 root 1.1 keycap symbol. The symbol will only be entered when the key has been
1429     released, otherwise pressing e.g. \f(CW\*(C`Shift\*(C'\fR would enter the symbol for
1430     \&\f(CW\*(C`ISO Level 2 Switch\*(C'\fR, although your intention might have been to enter a
1431 root 1.79 reverse tab (Shift-Tab).
1432     .IP "\(bu" 4
1433     5.3: Screen-selection entry method
1434     .Sp
1435 root 1.1 While this is implemented already (it's basically the selection
1436     mechanism), it could be extended by displaying a unicode character map.
1437 root 1.79 .IP "\(bu" 4
1438     5.4: Feedback method for identifying displayed characters for later input
1439     .Sp
1440 root 1.1 This method lets you display the unicode character code associated with
1441     characters already displayed.
1442     .Sp
1443     You enter this mode by holding down \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR together, then
1444     pressing and holding the left mouse button and moving around. The unicode
1445     hex code(s) (it might be a combining character) of the character under the
1446     pointer is displayed until you release \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR.
1447     .Sp
1448     In addition to the hex codes it will display the font used to draw this
1449     character \- due to implementation reasons, characters combined with
1450     combining characters, line drawing characters and unknown characters will
1451     always be drawn using the built-in support font.
1452     .PP
1453     With respect to conformance, rxvt-unicode is supposed to be compliant to
1454     both scenario A and B of \s-1ISO\s0 14755, including part 5.2.
1455     .SH "LOGIN STAMP"
1456     .IX Header "LOGIN STAMP"
1457 root 1.7 \&\fB@@RXVT_NAME@@\fR tries to write an entry into the \fIutmp\fR(5) file so that
1458     it can be seen via the \fI\fIwho\fI\|(1)\fR command, and can accept messages. To
1459     allow this feature, \fB@@RXVT_NAME@@\fR may need to be installed setuid root
1460     on some systems or setgid to root or to some other group on others.
1461 sf-exg 1.90 .SH "COLOURS AND GRAPHICS"
1462     .IX Header "COLOURS AND GRAPHICS"
1463 root 1.1 In addition to the default foreground and background colours,
1464 sf-exg 1.90 \&\fB@@RXVT_NAME@@\fR can display up to 88/256 colours: 8 \s-1ANSI\s0 colours plus
1465     high-intensity (potentially bold/blink) versions of the same, and 72 (or
1466     240 in 256 colour mode) colours arranged in an 4x4x4 (or 6x6x6) colour \s-1RGB\s0
1467     cube plus a 8 (24) colour greyscale ramp.
1468     .PP
1469     Here is a list of the \s-1ANSI\s0 colours with their names.
1470 root 1.1 .TS
1471     l l l .
1472     color0 (black) = Black
1473     color1 (red) = Red3
1474     color2 (green) = Green3
1475     color3 (yellow) = Yellow3
1476     color4 (blue) = Blue3
1477     color5 (magenta) = Magenta3
1478     color6 (cyan) = Cyan3
1479     color7 (white) = AntiqueWhite
1480     color8 (bright black) = Grey25
1481     color9 (bright red) = Red
1482     color10 (bright green) = Green
1483     color11 (bright yellow) = Yellow
1484     color12 (bright blue) = Blue
1485     color13 (bright magenta) = Magenta
1486     color14 (bright cyan) = Cyan
1487     color15 (bright white) = White
1488     foreground = Black
1489     background = White
1490     .TE
1491     .PP
1492     It is also possible to specify the colour values of \fBforeground\fR,
1493     \&\fBbackground\fR, \fBcursorColor\fR, \fBcursorColor2\fR, \fBcolorBD\fR, \fBcolorUL\fR as
1494     a number 0\-15, as a convenient shorthand to reference the colour name of
1495     color0\-color15.
1496     .PP
1497 sf-exg 1.90 The following text gives values for the standard 88 colour mode (and
1498     values for the 256 colour mode in parentheses).
1499     .PP
1500     The \s-1RGB\s0 cube uses indices 16..79 (16..231) using the following formulas:
1501     .PP
1502     .Vb 2
1503     \& index_88 = (r * 4 + g) * 4 + b + 16 # r, g, b = 0..3
1504     \& index_256 = (r * 16 + g) * 16 + b + 16 # r, g, b = 0..15
1505     .Ve
1506     .PP
1507     The grayscale ramp uses indices 80..87 (232..239), from 10% to 90% in 10%
1508     steps (1/26 to 25/26 in 1/26 steps) \- black and white are already part of
1509     the \s-1RGB\s0 cube.
1510     .PP
1511     Together, all those colours implement the 88 (256) colour xterm
1512     colours. Only the first 16 can be changed using resources currently, the
1513     rest can only be changed via command sequences (\*(L"escape codes\*(R").
1514     .PP
1515     Applications are advised to use terminfo or command sequences to discover
1516     number and \s-1RGB\s0 values of all colours (yes, you can query this...).
1517 root 1.58 .PP
1518 root 1.1 Note that \fB\-rv\fR (\fB\*(L"reverseVideo: True\*(R"\fR) simulates reverse video by
1519     always swapping the foreground/background colours. This is in contrast to
1520     \&\fIxterm\fR(1) where the colours are only swapped if they have not otherwise
1521     been specified. For example,
1522 root 1.88 .PP
1523     .Vb 1
1524     \& @@RXVT_NAME@@ \-fg Black \-bg White \-rv
1525     .Ve
1526     .PP
1527     would yield White on Black, while on \fIxterm\fR(1) it would yield Black on
1528     White.
1529     .SS "\s-1ALPHA\s0 \s-1CHANNEL\s0 \s-1SUPPORT\s0"
1530 root 1.57 .IX Subsection "ALPHA CHANNEL SUPPORT"
1531     If Xft support has been compiled in and as long as Xft/Xrender/X don't get
1532 root 1.79 their act together, rxvt-unicode will do it's own alpha channel management:
1533     .PP
1534 sf-exg 1.90 You can prefix any colour with an opaqueness percentage enclosed in
1535 root 1.79 brackets, i.e. \f(CW\*(C`[percent]\*(C'\fR, where \f(CW\*(C`percent\*(C'\fR is a decimal percentage
1536 sf-exg 1.90 (0\-100) that specifies the opacity of the colour, where \f(CW0\fR is completely
1537 root 1.79 transparent and \f(CW100\fR is completely opaque. For example, \f(CW\*(C`[50]red\*(C'\fR is a
1538     half-transparent red, while \f(CW\*(C`[95]#00ff00\*(C'\fR is an almost opaque green. This
1539     is the recommended format to specify transparency values, and works with
1540     all ways to specify a colour.
1541     .PP
1542     For complete control, rxvt-unicode also supports
1543     \&\f(CW\*(C`rgba:rrrr/gggg/bbbb/aaaa\*(C'\fR (exactly four hex digits/component) colour
1544     specifications, where the additional \f(CW\*(C`aaaa\*(C'\fR component specifies opacity
1545     (alpha) values. The minimum value of \f(CW0000\fR is completely transparent,
1546     while \f(CW\*(C`ffff\*(C'\fR is completely opaque). The two example colours from
1547     earlier could also be specified as \f(CW\*(C`rgba:ff00/0000/0000/8000\*(C'\fR and
1548     \&\f(CW\*(C`rgba:0000/ff00/0000/f332\*(C'\fR.
1549     .PP
1550     You probably need to specify \fB\*(L"\-depth 32\*(R"\fR, too, to force a visual with
1551     alpha channels, and have the luck that your X\-server uses \s-1ARGB\s0 pixel
1552     layout, as X is far from just supporting \s-1ARGB\s0 visuals out of the box, and
1553     rxvt-unicode just fudges around.
1554 root 1.57 .PP
1555 root 1.79 For example, the following selects an almost completely transparent black
1556 root 1.57 background, and an almost opaque pink foreground:
1557     .PP
1558     .Vb 1
1559 root 1.79 \& @@RXVT_NAME@@ \-depth 32 \-bg rgba:0000/0000/0000/4444 \-fg "[80]pink"
1560 root 1.57 .Ve
1561     .PP
1562 root 1.79 When not using a background image, then the interpretation of the
1563     alpha channel is up to your compositing manager (most interpret it as
1564     transparency of course).
1565     .PP
1566     When using a background pixmap or pseudo-transparency, then the background
1567     colour will always behave as if it were completely transparent (so the
1568     background image shows instead), regardless of how it was specified, while
1569     other colours will either be transparent as specified (the background
1570     image will show through) on servers supporting the \s-1RENDER\s0 extension, or
1571     fully opaque on servers not supporting the \s-1RENDER\s0 \s-1EXTENSION\s0.
1572     .PP
1573     Please note that due to bugs in Xft, specifying alpha values might result
1574     in garbage being displayed when the X\-server does not support the \s-1RENDER\s0
1575     extension.
1576 root 1.1 .SH "ENVIRONMENT"
1577     .IX Header "ENVIRONMENT"
1578 root 1.12 \&\fB@@RXVT_NAME@@\fR sets and/or uses the following environment variables:
1579     .IP "\fB\s-1TERM\s0\fR" 4
1580     .IX Item "TERM"
1581     Normally set to \f(CW\*(C`rxvt\-unicode\*(C'\fR, unless overwritten at configure time, via
1582 root 1.63 resources or on the command line.
1583 root 1.12 .IP "\fB\s-1COLORTERM\s0\fR" 4
1584     .IX Item "COLORTERM"
1585 root 1.63 Either \f(CW\*(C`rxvt\*(C'\fR, \f(CW\*(C`rxvt\-xpm\*(C'\fR, depending on whether @@RXVT_NAME@@ was
1586 root 1.73 compiled with background image support, and optionally with the added
1587     extension \f(CW\*(C`\-mono\*(C'\fR to indicate that rxvt-unicode runs on a monochrome
1588 sasha 1.70 screen.
1589 root 1.12 .IP "\fB\s-1COLORFGBG\s0\fR" 4
1590     .IX Item "COLORFGBG"
1591     Set to a string of the form \f(CW\*(C`fg;bg\*(C'\fR or \f(CW\*(C`fg;xpm;bg\*(C'\fR, where \f(CW\*(C`fg\*(C'\fR is
1592     the colour code used as default foreground/text colour (or the string
1593     \&\f(CW\*(C`default\*(C'\fR to indicate that the default-colour escape sequence is to be
1594     used), \f(CW\*(C`bg\*(C'\fR is the colour code used as default background colour (or the
1595     string \f(CW\*(C`default\*(C'\fR), and \f(CW\*(C`xpm\*(C'\fR is the string \f(CW\*(C`default\*(C'\fR if @@RXVT_NAME@@
1596 root 1.73 was compiled with background image support. Libraries like \f(CW\*(C`ncurses\*(C'\fR
1597 sasha 1.70 and \f(CW\*(C`slang\*(C'\fR can (and do) use this information to optimize screen output.
1598 root 1.12 .IP "\fB\s-1WINDOWID\s0\fR" 4
1599     .IX Item "WINDOWID"
1600     Set to the (decimal) X Window \s-1ID\s0 of the @@RXVT_NAME@@ window (the toplevel
1601     window, which usually has subwindows for the scrollbar, the terminal
1602     window and so on).
1603     .IP "\fB\s-1TERMINFO\s0\fR" 4
1604     .IX Item "TERMINFO"
1605     Set to the terminfo directory iff @@RXVT_NAME@@ was configured with
1606     \&\f(CW\*(C`\-\-with\-terminfo=PATH\*(C'\fR.
1607     .IP "\fB\s-1DISPLAY\s0\fR" 4
1608     .IX Item "DISPLAY"
1609     Used by @@RXVT_NAME@@ to connect to the display and set to the correct
1610 root 1.82 display in its child processes if \f(CW\*(C`\-display\*(C'\fR isn't used to override. It
1611     defaults to \f(CW\*(C`:0\*(C'\fR if it doesn't exist.
1612 root 1.12 .IP "\fB\s-1SHELL\s0\fR" 4
1613     .IX Item "SHELL"
1614     The shell to be used for command execution, defaults to \f(CW\*(C`/bin/sh\*(C'\fR.
1615     .IP "\fB\s-1RXVT_SOCKET\s0\fR" 4
1616     .IX Item "RXVT_SOCKET"
1617     The unix domain socket path used by @@RXVT_NAME@@c(1) and
1618     @@RXVT_NAME@@d(1).
1619     .Sp
1620 sf-exg 1.96 Default \fI\f(CI$HOME\fI/.rxvt\-unicode\-\fI<nodename>\fI\fR.
1621 root 1.12 .IP "\fB\s-1HOME\s0\fR" 4
1622     .IX Item "HOME"
1623     Used to locate the default directory for the unix domain socket for
1624     daemon communications and to locate various resource files (such as
1625     \&\f(CW\*(C`.Xdefaults\*(C'\fR)
1626     .IP "\fB\s-1XAPPLRESDIR\s0\fR" 4
1627     .IX Item "XAPPLRESDIR"
1628 sf-exg 1.96 Directory where application-specific X resource files are located.
1629 root 1.12 .IP "\fB\s-1XENVIRONMENT\s0\fR" 4
1630     .IX Item "XENVIRONMENT"
1631     If set and accessible, gives the name of a X resource file to be loaded by
1632     @@RXVT_NAME@@.
1633 root 1.1 .SH "FILES"
1634     .IX Header "FILES"
1635     .IP "\fB/usr/lib/X11/rgb.txt\fR" 4
1636     .IX Item "/usr/lib/X11/rgb.txt"
1637 sf-exg 1.90 Colour names.
1638 root 1.1 .SH "SEE ALSO"
1639     .IX Header "SEE ALSO"
1640 root 1.24 @@RXVT_NAME@@(7), @@RXVT_NAME@@c(1), @@RXVT_NAME@@d(1), \fIxterm\fR\|(1), \fIsh\fR\|(1), \fIresize\fR\|(1), X(1), \fIpty\fR\|(4), \fItty\fR\|(4), \fIutmp\fR\|(5)
1641 root 1.1 .SH "CURRENT PROJECT COORDINATOR"
1642     .IX Header "CURRENT PROJECT COORDINATOR"
1643     .IP "Project Coordinator" 4
1644     .IX Item "Project Coordinator"
1645 root 1.14 Marc A. Lehmann <rxvt\-unicode@schmorp.de>
1646 root 1.1 .Sp
1647 root 1.97 http://software.schmorp.de/pkg/rxvt\-unicode.html <http://software.schmorp.de/pkg/rxvt-unicode.html>
1648 root 1.1 .SH "AUTHORS"
1649     .IX Header "AUTHORS"
1650     .IP "John Bovey" 4
1651     .IX Item "John Bovey"
1652     University of Kent, 1992, wrote the original Xvt.
1653     .IP "Rob Nation <nation@rocket.sanders.lockheed.com>" 4
1654     .IX Item "Rob Nation <nation@rocket.sanders.lockheed.com>"
1655     very heavily modified Xvt and came up with Rxvt
1656     .IP "Angelo Haritsis <ah@doc.ic.ac.uk>" 4
1657     .IX Item "Angelo Haritsis <ah@doc.ic.ac.uk>"
1658     wrote the Greek Keyboard Input (no longer in code)
1659     .IP "mj olesen <olesen@me.QueensU.CA>" 4
1660     .IX Item "mj olesen <olesen@me.QueensU.CA>"
1661     Wrote the menu system.
1662     .Sp
1663     Project Coordinator (changes.txt 2.11 to 2.21)
1664     .IP "Oezguer Kesim <kesim@math.fu\-berlin.de>" 4
1665     .IX Item "Oezguer Kesim <kesim@math.fu-berlin.de>"
1666     Project Coordinator (changes.txt 2.21a to 2.4.5)
1667     .IP "Geoff Wing <gcw@pobox.com>" 4
1668     .IX Item "Geoff Wing <gcw@pobox.com>"
1669 root 1.49 Rewrote screen display and text selection routines.
1670     .Sp
1671 root 1.79 Project Coordinator (changes.txt 2.4.6 \- rxvt-unicode)
1672 root 1.14 .IP "Marc Alexander Lehmann <rxvt\-unicode@schmorp.de>" 4
1673     .IX Item "Marc Alexander Lehmann <rxvt-unicode@schmorp.de>"
1674 root 1.79 Forked rxvt-unicode, unicode support, rewrote almost all the code, perl
1675 root 1.49 extension, random hacks, numerous bugfixes and extensions.
1676 root 1.1 .Sp
1677     Project Coordinator (Changes 1.0 \-)
1678 root 1.49 .IP "Emanuele Giaquinta <e.giaquinta@glauco.it>" 4
1679     .IX Item "Emanuele Giaquinta <e.giaquinta@glauco.it>"
1680 root 1.95 pty/utmp code rewrite, image code improvements, many random hacks and bugfixes.