ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.man.in
Revision: 1.92
Committed: Fri Oct 15 21:38:31 2010 UTC (13 years, 8 months ago) by root
Branch: MAIN
Changes since 1.91: +0 -6 lines
Log Message:
add clipboard-osc

File Contents

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