ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.man.in
Revision: 1.82
Committed: Sun Jun 15 13:54:15 2008 UTC (15 years, 11 months ago) by root
Branch: MAIN
Changes since 1.81: +8 -7 lines
Log Message:
*** empty log message ***

File Contents

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