ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.man.in
Revision: 1.119
Committed: Sat May 14 08:28:25 2016 UTC (8 years, 2 months ago) by root
Branch: MAIN
CVS Tags: rxvt-unicode-rel-9_22
Changes since 1.118: +12 -5 lines
Log Message:
9.22-maybe

File Contents

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