ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.html
Revision: 1.49
Committed: Fri Jan 20 16:02:20 2006 UTC (18 years, 5 months ago) by root
Content type: text/html
Branch: MAIN
Changes since 1.48: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>unicode) -</title>
5 <link rev="made" href="mailto:perl-binary@plan9.de" />
6 </head>
7
8 <body style="background-color: white">
9
10 <p><a name="__index__"></a></p>
11 <!-- INDEX BEGIN -->
12
13 <ul>
14
15 <li><a href="#name">NAME</a></li>
16 <li><a href="#synopsis">SYNOPSIS</a></li>
17 <li><a href="#description">DESCRIPTION</a></li>
18 <li><a href="#frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></li>
19 <li><a href="#rxvtunicode_vs__rxvt">RXVT-UNICODE VS. RXVT</a></li>
20 <li><a href="#options">OPTIONS</a></li>
21 <li><a href="#resources__available_also_as_longoptions_">RESOURCES (available also as long-options)</a></li>
22 <li><a href="#the_scrollbar">THE SCROLLBAR</a></li>
23 <li><a href="#mouse_reporting">MOUSE REPORTING</a></li>
24 <li><a href="#text_selection_and_insertion">TEXT SELECTION AND INSERTION</a></li>
25 <li><a href="#changing_fonts">CHANGING FONTS</a></li>
26 <li><a href="#iso_14755_support">ISO 14755 SUPPORT</a></li>
27 <li><a href="#login_stamp">LOGIN STAMP</a></li>
28 <li><a href="#colors_and_graphics">COLORS AND GRAPHICS</a></li>
29 <li><a href="#environment">ENVIRONMENT</a></li>
30 <li><a href="#files">FILES</a></li>
31 <li><a href="#see_also">SEE ALSO</a></li>
32 <li><a href="#current_project_coordinator">CURRENT PROJECT COORDINATOR</a></li>
33 <li><a href="#authors">AUTHORS</a></li>
34 </ul>
35 <!-- INDEX END -->
36
37 <hr />
38 <p>
39 </p>
40 <h1><a name="name">NAME</a></h1>
41 <p>rxvt-unicode (ouR XVT, unicode) - (a VT102 emulator for the X window system)</p>
42 <p>
43 </p>
44 <hr />
45 <h1><a name="synopsis">SYNOPSIS</a></h1>
46 <p><strong>rxvt</strong> [options] [-e command [ args ]]</p>
47 <p>
48 </p>
49 <hr />
50 <h1><a name="description">DESCRIPTION</a></h1>
51 <p><strong>rxvt-unicode</strong>, version <strong>7.1</strong>, is a colour vt102 terminal
52 emulator intended as an <em>xterm</em>(1) replacement for users who do not
53 require features such as Tektronix 4014 emulation and toolkit-style
54 configurability. As a result, <strong>rxvt-unicode</strong> uses much less swap space --
55 a significant advantage on a machine serving many X sessions.</p>
56 <p>
57 </p>
58 <hr />
59 <h1><a name="frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></h1>
60 <p>See <code>rxvt(7)</code> (try <code>man 7 rxvt</code>) for a list of
61 frequently asked questions and answer to them and some common
62 problems. That document is also accessible on the World-Wide-Web at
63 <a href="http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html">http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html</a>.</p>
64 <p>
65 </p>
66 <hr />
67 <h1><a name="rxvtunicode_vs__rxvt">RXVT-UNICODE VS. RXVT</a></h1>
68 <p>Unlike the original rxvt, <strong>rxvt-unicode</strong> stores all text in Unicode
69 internally. That means it can store and display most scripts in the
70 world. Being a terminal emulator, however, some things are very difficult,
71 especially cursive scripts such as arabic, vertically written scripts
72 like mongolian or scripts requiring extremely complex combining rules,
73 like tibetan or devenagari. Don't expect pretty output when using these
74 scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work
75 fine, though. A somewhat difficult case are left-to-right scripts, such
76 as hebrew: <strong>rxvt-unicode</strong> adopts the view that bidirectional algorithms
77 belong into the application, not the terminal emulator (too many things --
78 such as cursor-movement while editing -- break otherwise), but that might
79 change.</p>
80 <p>If you are looking for a terminal that supports more exotic scripts, let
81 me recommend <code>mlterm</code>, which is a very userfriendly, lean and clean
82 terminal emulator. In fact, the reason rxvt-unicode was born was solely
83 because the author couldn't get <code>mlterm</code> to use one font for latin1 and
84 another for japanese.</p>
85 <p>Therefore another design rationale was the use of multiple fonts to
86 display characters: The idea of a single unicode font which many other
87 programs force onto it's users never made sense to me: You should be able
88 to choose any font for any script freely.</p>
89 <p>Apart from that, rxvt-unicode is also much better internationalised than
90 it's predecessor, supports things such as XFT and ISO 14755 that are handy
91 in i18n-environments, is faster, and has a lot less bugs than the original
92 rxvt. This all in addition to dozens of other small improvements.</p>
93 <p>It is still faithfully following the original rxvt idea of being lean
94 and nice on resources: for example, you can still configure rxvt-unicode
95 without most of it's features to get a lean binary. It also comes with
96 a client/daemon pair that lets you open any number of terminal windows
97 from within a single process, which makes startup time very fast and
98 drastically reduces memory usage. See <code>rxvtd(1)</code> (daemon) and
99 <code>rxvtc(1)</code> (client).</p>
100 <p>It also makes technical information about escape sequences (which have
101 been extended) easier accessible: see <code>rxvt(7)</code> for technical
102 reference documentation (escape sequences etc.).</p>
103 <p>
104 </p>
105 <hr />
106 <h1><a name="options">OPTIONS</a></h1>
107 <p>The <strong>rxvt</strong> options (mostly a subset of <em>xterm</em>'s) are listed
108 below. In keeping with the smaller-is-better philosophy, options may be
109 eliminated or default values chosen at compile-time, so options and
110 defaults listed may not accurately reflect the version installed on
111 your system. `rxvt -h' gives a list of major compile-time options on
112 the <em>Options</em> line. Option descriptions may be prefixed with which
113 compile option each is dependent upon. e.g. `Compile <em>XIM</em>:' requires
114 <em>XIM</em> on the <em>Options</em> line. Note: `rxvt -help' gives a list of all
115 command-line options compiled into your version.</p>
116 <p>Note that <strong>rxvt</strong> permits the resource name to be used as a
117 long-option (--/++ option) so the potential command-line options are
118 far greater than those listed. For example: `rxvt --loginShell --color1
119 Orange'.</p>
120 <p>The following options are available:</p>
121 <dl>
122 <dt><strong><a name="item__2dhelp_2c__2d_2dhelp"><strong>-help</strong>, <strong>--help</strong></a></strong><br />
123 </dt>
124 <dd>
125 Print out a message describing available options.
126 </dd>
127 <p></p>
128 <dt><strong><a name="item__2ddisplay_displayname"><strong>-display</strong> <em>displayname</em></a></strong><br />
129 </dt>
130 <dd>
131 Attempt to open a window on the named X display (<strong>-d</strong> still
132 respected). In the absence of this option, the display specified by the
133 <strong>DISPLAY</strong> environment variable is used.
134 </dd>
135 <p></p>
136 <dt><strong><a name="item__2dgeometry_geom"><strong>-geometry</strong> <em>geom</em></a></strong><br />
137 </dt>
138 <dd>
139 Window geometry (<strong>-g</strong> still respected); resource <strong>geometry</strong>.
140 </dd>
141 <p></p>
142 <dt><strong><a name="item__2drv_7c_2brv"><strong>-rv</strong>|<strong>+rv</strong></a></strong><br />
143 </dt>
144 <dd>
145 Turn on/off simulated reverse video; resource <strong>reverseVideo</strong>.
146 </dd>
147 <p></p>
148 <dt><strong><a name="item__2dj_7c_2bj"><strong>-j</strong>|<strong>+j</strong></a></strong><br />
149 </dt>
150 <dd>
151 Turn on/off jump scrolling; resource <strong>jumpScroll</strong>.
152 </dd>
153 <p></p>
154 <dt><strong><a name="item__2dip_7c_2bip__7c__2dtr_7c_2btr"><strong>-ip</strong>|<strong>+ip</strong> | <strong>-tr</strong>|<strong>+tr</strong></a></strong><br />
155 </dt>
156 <dd>
157 Turn on/off inheriting parent window's pixmap. Alternative form is
158 <strong>-tr</strong>; resource <strong>inheritPixmap</strong>.
159 </dd>
160 <p></p>
161 <dt><strong><a name="item__2dfade_number"><strong>-fade</strong> <em>number</em></a></strong><br />
162 </dt>
163 <dd>
164 Fade the text by the given percentage when focus is lost. Small values
165 fade a little only, 100 completely replaces all colours by the fade
166 colour; resource <strong>fading</strong>.
167 </dd>
168 <p></p>
169 <dt><strong><a name="item__2dfadecolor_colour"><strong>-fadecolor</strong> <em>colour</em></a></strong><br />
170 </dt>
171 <dd>
172 Fade to this colour when fading is used (see <strong>-fade</strong>). The default colour
173 is black. resource <strong>fadeColor</strong>.
174 </dd>
175 <p></p>
176 <dt><strong><a name="item__2dtint_colour"><strong>-tint</strong> <em>colour</em></a></strong><br />
177 </dt>
178 <dd>
179 Tint the transparent background pixmap with the given colour when
180 transparency is enabled with <strong>-tr</strong> or <strong>-ip</strong>. This only works for
181 non-tiled backgrounds, currently. See also the <strong>-sh</strong> option that can be
182 used to brighten or darken the image in addition to tinting it; resource
183 <em>tintColor</em>. Example:
184 </dd>
185 <dd>
186 <pre>
187 rxvt -tr -tint blue -sh 40</pre>
188 </dd>
189 <p></p>
190 <dt><strong><a name="item__2dsh"><strong>-sh</strong></a></strong><br />
191 </dt>
192 <dd>
193 <em>number</em> Darken (0 .. 100) or lighten (-1 .. -100) the transparent
194 background image in addition to tinting it (i.e. <strong>-tint</strong> must be
195 specified, too, e.g. <code>-tint white</code>).
196 </dd>
197 <p></p>
198 <dt><strong><a name="item__2dbg_colour"><strong>-bg</strong> <em>colour</em></a></strong><br />
199 </dt>
200 <dd>
201 Window background colour; resource <strong>background</strong>.
202 </dd>
203 <p></p>
204 <dt><strong><a name="item__2dfg_colour"><strong>-fg</strong> <em>colour</em></a></strong><br />
205 </dt>
206 <dd>
207 Window foreground colour; resource <strong>foreground</strong>.
208 </dd>
209 <p></p>
210 <dt><strong><a name="item__2dpixmap_file_5b_3bgeom_5d"><strong>-pixmap</strong> <em>file[;geom]</em></a></strong><br />
211 </dt>
212 <dd>
213 Compile <em>XPM</em>: Specify XPM file for the background and also optionally
214 specify its scaling with a geometry string. Note you may need to
215 add quotes to avoid special shell interpretation of the <code>;</code> in the
216 command-line; resource <strong>backgroundPixmap</strong>.
217 </dd>
218 <p></p>
219 <dt><strong><a name="item__2dcr_colour"><strong>-cr</strong> <em>colour</em></a></strong><br />
220 </dt>
221 <dd>
222 The cursor colour; resource <strong>cursorColor</strong>.
223 </dd>
224 <p></p>
225 <dt><strong><a name="item__2dpr_colour"><strong>-pr</strong> <em>colour</em></a></strong><br />
226 </dt>
227 <dd>
228 The mouse pointer foreground colour; resource <strong>pointerColor</strong>.
229 </dd>
230 <p></p>
231 <dt><strong><a name="item__2dpr2_colour"><strong>-pr2</strong> <em>colour</em></a></strong><br />
232 </dt>
233 <dd>
234 The mouse pointer background colour; resource <strong>pointerColor2</strong>.
235 </dd>
236 <p></p>
237 <dt><strong><a name="item__2dbd_colour"><strong>-bd</strong> <em>colour</em></a></strong><br />
238 </dt>
239 <dd>
240 The colour of the border around the text area and between the scrollbar and the text;
241 resource <strong>borderColor</strong>.
242 </dd>
243 <p></p>
244 <dt><strong><a name="item__2dfn_fontlist"><strong>-fn</strong> <em>fontlist</em></a></strong><br />
245 </dt>
246 <dd>
247 Select the fonts to be used. This is a comma separated list of font names
248 that are checked in order when trying to find glyphs for characters. The
249 first font defines the cell size for characters; other fonts might be
250 smaller, but not (in general) larger. A (hopefully) reasonable default
251 font list is always appended to it. See resource <strong>font</strong> for more details.
252 </dd>
253 <dd>
254 <p>In short, to specify an X11 core font, just specify it's name or prefix it
255 with <code>x:</code>. To specify an XFT-font, you need to prefix it with <code>xft:</code>,
256 e.g.:</p>
257 </dd>
258 <dd>
259 <pre>
260 rxvt -fn &quot;xft:Bitstream Vera Sans Mono:pixelsize=15&quot;
261 rxvt -fn &quot;9x15bold,xft:Bitstream Vera Sans Mono&quot;</pre>
262 </dd>
263 <dd>
264 <p>See also the question ``How does rxvt-unicode choose fonts?'' in the FAQ
265 section of rxvt(7).</p>
266 </dd>
267 <p></p>
268 <dt><strong><a name="item__2dfb_fontlist"><strong>-fb</strong> <em>fontlist</em></a></strong><br />
269 </dt>
270 <dd>
271 Compile <em>font-styles</em>: The bold font list to use when <strong>bold</strong> characters
272 are to be printed. See resource <strong>boldFont</strong> for details.
273 </dd>
274 <p></p>
275 <dt><strong><a name="item__2dfi_fontlist"><strong>-fi</strong> <em>fontlist</em></a></strong><br />
276 </dt>
277 <dd>
278 Compile <em>font-styles</em>: The italic font list to use when <em>italic</em>
279 characters are to be printed. See resource <strong>italicFont</strong> for details.
280 </dd>
281 <p></p>
282 <dt><strong><a name="item__2dfbi_fontlist"><strong>-fbi</strong> <em>fontlist</em></a></strong><br />
283 </dt>
284 <dd>
285 Compile <em>font-styles</em>: The bold italic font list to use when <strong><em>bold
286 italic</em> </strong>&gt; characters are to be printed. See resource <strong>boldItalicFont</strong>
287 for details.
288 </dd>
289 <p></p>
290 <dt><strong><a name="item__2dis_7c_2bis"><strong>-is</strong>|<strong>+is</strong></a></strong><br />
291 </dt>
292 <dd>
293 Compile <em>font-styles</em>: Bold/Italic font styles imply high intensity
294 foreground/background (default). See resource <strong>intensityStyles</strong> for
295 details.
296 </dd>
297 <p></p>
298 <dt><strong><a name="item__2dname_name"><strong>-name</strong> <em>name</em></a></strong><br />
299 </dt>
300 <dd>
301 Specify the application name under which resources are to be obtained,
302 rather than the default executable file name. Name should not contain
303 `.' or `*' characters. Also sets the icon and title name.
304 </dd>
305 <p></p>
306 <dt><strong><a name="item__2dls_7c_2bls"><strong>-ls</strong>|<strong>+ls</strong></a></strong><br />
307 </dt>
308 <dd>
309 Start as a login-shell/sub-shell; resource <strong>loginShell</strong>.
310 </dd>
311 <p></p>
312 <dt><strong><a name="item__2dut_7c_2but"><strong>-ut</strong>|<strong>+ut</strong></a></strong><br />
313 </dt>
314 <dd>
315 Compile <em>utmp</em>: Inhibit/enable writing a utmp entry; resource
316 <strong>utmpInhibit</strong>.
317 </dd>
318 <p></p>
319 <dt><strong><a name="item__2dvb_7c_2bvb"><strong>-vb</strong>|<strong>+vb</strong></a></strong><br />
320 </dt>
321 <dd>
322 Turn on/off visual bell on receipt of a bell character; resource
323 <strong>visualBell</strong>.
324 </dd>
325 <p></p>
326 <dt><strong><a name="item__2dsb_7c_2bsb"><strong>-sb</strong>|<strong>+sb</strong></a></strong><br />
327 </dt>
328 <dd>
329 Turn on/off scrollbar; resource <strong>scrollBar</strong>.
330 </dd>
331 <p></p>
332 <dt><strong><a name="item__2dsi_7c_2bsi"><strong>-si</strong>|<strong>+si</strong></a></strong><br />
333 </dt>
334 <dd>
335 Turn on/off scroll-to-bottom on TTY output inhibit; resource
336 <strong>scrollTtyOutput</strong> has opposite effect.
337 </dd>
338 <p></p>
339 <dt><strong><a name="item__2dsk_7c_2bsk"><strong>-sk</strong>|<strong>+sk</strong></a></strong><br />
340 </dt>
341 <dd>
342 Turn on/off scroll-to-bottom on keypress; resource
343 <strong>scrollTtyKeypress</strong>.
344 </dd>
345 <p></p>
346 <dt><strong><a name="item__2dsw_7c_2bsw"><strong>-sw</strong>|<strong>+sw</strong></a></strong><br />
347 </dt>
348 <dd>
349 Turn on/off scrolling with the scrollback buffer as new lines appear.
350 This only takes effect if <strong>-si</strong> is also given; resource
351 <strong>scrollWithBuffer</strong>.
352 </dd>
353 <p></p>
354 <dt><strong><a name="item__2dsr_7c_2bsr"><strong>-sr</strong>|<strong>+sr</strong></a></strong><br />
355 </dt>
356 <dd>
357 Put scrollbar on right/left; resource <strong>scrollBar_right</strong>.
358 </dd>
359 <p></p>
360 <dt><strong><a name="item__2dst_7c_2bst"><strong>-st</strong>|<strong>+st</strong></a></strong><br />
361 </dt>
362 <dd>
363 Display rxvt (non XTerm/NeXT) scrollbar without/with a trough;
364 resource <strong>scrollBar_floating</strong>.
365 </dd>
366 <p></p>
367 <dt><strong><a name="item__2dptab_7c_2bptab"><strong>-ptab</strong>|<strong>+ptab</strong></a></strong><br />
368 </dt>
369 <dd>
370 If enabled (default), ``Horizontal Tab'' 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 <strong>pastableTabs</strong>.
375 </dd>
376 <p></p>
377 <dt><strong><a name="item__2dbc_7c_2bbc"><strong>-bc</strong>|<strong>+bc</strong></a></strong><br />
378 </dt>
379 <dd>
380 Blink the cursor; resource <strong>cursorBlink</strong>.
381 </dd>
382 <p></p>
383 <dt><strong><a name="item__2diconic"><strong>-iconic</strong></a></strong><br />
384 </dt>
385 <dd>
386 Start iconified, if the window manager supports that option.
387 Alternative form is <strong>-ic</strong>.
388 </dd>
389 <p></p>
390 <dt><strong><a name="item__2dsl_number"><strong>-sl</strong> <em>number</em></a></strong><br />
391 </dt>
392 <dd>
393 Save <em>number</em> lines in the scrollback buffer. See resource entry for
394 limits; resource <strong>saveLines</strong>.
395 </dd>
396 <p></p>
397 <dt><strong><a name="item__2db_number"><strong>-b</strong> <em>number</em></a></strong><br />
398 </dt>
399 <dd>
400 Compile <em>frills</em>: Internal border of <em>number</em> pixels. See resource
401 entry for limits; resource <strong>internalBorder</strong>.
402 </dd>
403 <p></p>
404 <dt><strong><a name="item__2dw_number"><strong>-w</strong> <em>number</em></a></strong><br />
405 </dt>
406 <dd>
407 Compile <em>frills</em>: External border of <em>number</em> pixels. Also, <strong>-bw</strong>
408 and <strong>-borderwidth</strong>. See resource entry for limits; resource
409 <strong>externalBorder</strong>.
410 </dd>
411 <p></p>
412 <dt><strong><a name="item__2dbl"><strong>-bl</strong></a></strong><br />
413 </dt>
414 <dd>
415 Compile <em>frills</em>: Set MWM hints to request a borderless window, i.e.
416 if honoured by the WM, the rxvt-unicode window will not have window
417 decorations; resource <strong>borderLess</strong>.
418 </dd>
419 <p></p>
420 <dt><strong><a name="item__2doverride_2dredirect"><strong>-override-redirect</strong></a></strong><br />
421 </dt>
422 <dd>
423 Compile <em>frills</em>: Sets override-redirect on the window; resource
424 <strong>override-redirect</strong>.
425 </dd>
426 <p></p>
427 <dt><strong><a name="item__2dsbg"><strong>-sbg</strong></a></strong><br />
428 </dt>
429 <dd>
430 Compile <em>frills</em>: Disable the usage of the built-in block graphics/line
431 drawing characters and just rely on what the specified fonts provide. Use
432 this if you have a good font and want to use its block graphic glyphs;
433 resource <strong>skipBuiltinGlyphs</strong>.
434 </dd>
435 <p></p>
436 <dt><strong><a name="item__2dlsp_number"><strong>-lsp</strong> <em>number</em></a></strong><br />
437 </dt>
438 <dd>
439 Compile <em>frills</em>: Lines (pixel height) to insert between each row of
440 the display. Useful to work around font rendering problems; resource
441 <strong>linespace</strong>.
442 </dd>
443 <p></p>
444 <dt><strong><a name="item__2dtn_termname"><strong>-tn</strong> <em>termname</em></a></strong><br />
445 </dt>
446 <dd>
447 This option specifies the name of the terminal type to be set in the
448 <strong>TERM</strong> environment variable. This terminal type must exist in the
449 <em>termcap(5)</em> database and should have <em>li#</em> and <em>co#</em> entries;
450 resource <strong>termName</strong>.
451 </dd>
452 <p></p>
453 <dt><strong><a name="item__2de_command__5barguments_5d"><strong>-e</strong> <em>command [arguments]</em></a></strong><br />
454 </dt>
455 <dd>
456 Run the command with its command-line arguments in the <strong>rxvt</strong>
457 window; also sets the window title and icon name to be the basename of
458 the program being executed if neither <em>-title</em> (<em>-T</em>) nor <em>-n</em> are
459 given on the command line. If this option is used, it must be the last
460 on the command-line. If there is no <strong>-e</strong> option then the default is to
461 run the program specified by the <strong>SHELL</strong> environment variable or,
462 failing that, <em>sh(1)</em>.
463 </dd>
464 <dd>
465 <p>Please note that you must specify a program with arguments. If you want to
466 run shell commands, you have to specify the shell, like this:</p>
467 </dd>
468 <dd>
469 <pre>
470 rxvt -e sh -c &quot;shell commands&quot;</pre>
471 </dd>
472 <p></p>
473 <dt><strong><a name="item__2dtitle_text"><strong>-title</strong> <em>text</em></a></strong><br />
474 </dt>
475 <dd>
476 Window title (<strong>-T</strong> still respected); the default title is the basename
477 of the program specified after the <strong>-e</strong> option, if any, otherwise the
478 application name; resource <strong>title</strong>.
479 </dd>
480 <p></p>
481 <dt><strong><a name="item__2dn_text"><strong>-n</strong> <em>text</em></a></strong><br />
482 </dt>
483 <dd>
484 Icon name; the default name is the basename of the program specified
485 after the <strong>-e</strong> option, if any, otherwise the application name;
486 resource <strong>iconName</strong>.
487 </dd>
488 <p></p>
489 <dt><strong><a name="item__2dc"><strong>-C</strong></a></strong><br />
490 </dt>
491 <dd>
492 Capture system console messages.
493 </dd>
494 <p></p>
495 <dt><strong><a name="item__2dpt_style"><strong>-pt</strong> <em>style</em></a></strong><br />
496 </dt>
497 <dd>
498 Compile <em>XIM</em>: input style for input method; <strong>OverTheSpot</strong>,
499 <strong>OffTheSpot</strong>, <strong>Root</strong>; resource <strong>preeditType</strong>.
500 </dd>
501 <p></p>
502 <dt><strong><a name="item__2dim_text"><strong>-im</strong> <em>text</em></a></strong><br />
503 </dt>
504 <dd>
505 Compile <em>XIM</em>: input method name. resource <strong>inputMethod</strong>.
506 </dd>
507 <p></p>
508 <dt><strong><a name="item__2dimlocale_string"><strong>-imlocale</strong> <em>string</em></a></strong><br />
509 </dt>
510 <dd>
511 The locale to use for opening the IM. You can use an <code>LC_CTYPE</code> of e.g.
512 <code>de_DE.UTF-8</code> for normal text processing but <code>ja_JP.EUC-JP</code> for the
513 input extension to be able to input japanese characters while staying in
514 another locale. resource <strong>imLocale</strong>.
515 </dd>
516 <p></p>
517 <dt><strong><a name="item__2dimfont_fontset"><strong>-imfont</strong> <em>fontset</em></a></strong><br />
518 </dt>
519 <dd>
520 Set the font set to use for the X Input Method, see resource <strong>imFont</strong>
521 for more info.
522 </dd>
523 <p></p>
524 <dt><strong><a name="item__2dtcw"><strong>-tcw</strong></a></strong><br />
525 </dt>
526 <dd>
527 Change the meaning of triple-click selection with the left mouse
528 button. Instead of selecting a full line it will extend the selection the
529 end of the logical line only. resource <strong>tripleclickwords</strong>.
530 </dd>
531 <p></p>
532 <dt><strong><a name="item__2dinsecure"><strong>-insecure</strong></a></strong><br />
533 </dt>
534 <dd>
535 Enable ``insecure'' mode, which currently enables most of the escape
536 sequences that echo strings. See the resource <strong>insecure</strong> for more
537 info.
538 </dd>
539 <p></p>
540 <dt><strong><a name="item__2dmod_modifier"><strong>-mod</strong> <em>modifier</em></a></strong><br />
541 </dt>
542 <dd>
543 Override detection of Meta modifier with specified key: <strong>alt</strong>,
544 <strong>meta</strong>, <strong>hyper</strong>, <strong>super</strong>, <strong>mod1</strong>, <strong>mod2</strong>, <strong>mod3</strong>, <strong>mod4</strong>,
545 <strong>mod5</strong>; resource <em>modifier</em>.
546 </dd>
547 <p></p>
548 <dt><strong><a name="item__2dssc_7c_2bssc"><strong>-ssc</strong>|<strong>+ssc</strong></a></strong><br />
549 </dt>
550 <dd>
551 Turn on/off secondary screen (default enabled); resource
552 <strong>secondaryScreen</strong>.
553 </dd>
554 <p></p>
555 <dt><strong><a name="item__2dssr_7c_2bssr"><strong>-ssr</strong>|<strong>+ssr</strong></a></strong><br />
556 </dt>
557 <dd>
558 Turn on/off secondary screen scroll (default enabled); resource
559 <strong>secondaryScroll</strong>.
560 </dd>
561 <p></p>
562 <dt><strong><a name="item__2dhold_7c_2bhold"><strong>-hold</strong>|<strong>+hold</strong></a></strong><br />
563 </dt>
564 <dd>
565 Turn on/off hold window after exit support. If enabled, rxvt
566 will not immediately destroy its window when the program executed within
567 it exits. Instead, it will wait till it is being killed or closed by the
568 user; resource <strong>hold</strong>.
569 </dd>
570 <p></p>
571 <dt><strong><a name="item__2dkeysym_2esym_string"><strong>-keysym.</strong><em>sym</em> <em>string</em></a></strong><br />
572 </dt>
573 <dd>
574 Remap a key symbol. See resource <strong>keysym</strong>.
575 </dd>
576 <p></p>
577 <dt><strong><a name="item__2dembed_windowid"><strong>-embed</strong> <em>windowid</em></a></strong><br />
578 </dt>
579 <dd>
580 Tells rxvt to embed it's windows into an already-existing window,
581 which enables applications to easily embed a terminal.
582 </dd>
583 <dd>
584 <p>Right now, rxvt will first unmap/map the specified window, so it
585 shouldn't be a top-level window. rxvt will also reconfigure it
586 quite a bit, so don't expect it to keep some specific state. It's best to
587 create an extra subwindow for rxvt and leave it alone.</p>
588 </dd>
589 <dd>
590 <p>The window will not be destroyed when rxvt exits.</p>
591 </dd>
592 <dd>
593 <p>It might be useful to know that rxvt will not close file
594 descriptors passed to it (except for stdin/out/err, of course), so you
595 can use file descriptors to communicate with the programs within the
596 terminal. This works regardless of wether the <code>-embed</code> option was used or
597 not.</p>
598 </dd>
599 <dd>
600 <p>Here is a short Gtk2-perl snippet that illustrates how this option can be
601 used (a longer example is in <em>doc/embed</em>):</p>
602 </dd>
603 <dd>
604 <pre>
605 my $rxvt = new Gtk2::Socket;
606 $rxvt-&gt;signal_connect_after (realize =&gt; sub {
607 my $xid = $_[0]-&gt;window-&gt;get_xid;
608 system &quot;rxvt -embed $xid &amp;&quot;;
609 });</pre>
610 </dd>
611 <p></p>
612 <dt><strong><a name="item__2dpty_2dfd_file_descriptor"><strong>-pty-fd</strong> <em>file descriptor</em></a></strong><br />
613 </dt>
614 <dd>
615 Tells rxvt NOT to execute any commands or create a new pty/tty
616 pair but instead use the given filehandle as the tty master. This is
617 useful if you want to drive rxvt as a generic terminal emulator
618 without having to run a program within it.
619 </dd>
620 <dd>
621 <p>If this switch is given, rxvt will not create any utmp/wtmp
622 entries and will not tinker with pty/tty permissions - you have to do that
623 yourself if you want that.</p>
624 </dd>
625 <dd>
626 <p>As an extremely special case, specifying <code>-1</code> will completely suppress
627 pty/tty operations.</p>
628 </dd>
629 <dd>
630 <p>Here is a example in perl that illustrates how this option can be used (a
631 longer example is in <em>doc/pty-fd</em>):</p>
632 </dd>
633 <dd>
634 <pre>
635 use IO::Pty;
636 use Fcntl;</pre>
637 </dd>
638 <dd>
639 <pre>
640 my $pty = new IO::Pty;
641 fcntl $pty, F_SETFD, 0; # clear close-on-exec
642 system &quot;rxvt -pty-fd &quot; . (fileno $pty) . &quot;&amp;&quot;;
643 close $pty;</pre>
644 </dd>
645 <dd>
646 <pre>
647 # now communicate with rxvt
648 my $slave = $pty-&gt;slave;
649 while (&lt;$slave&gt;) { print $slave &quot;got &lt;$_&gt;\n&quot; }</pre>
650 </dd>
651 <p></p>
652 <dt><strong><a name="item__2dpe_string"><strong>-pe</strong> <em>string</em></a></strong><br />
653 </dt>
654 <dd>
655 Comma-separated list of perl extension scripts to use (or not to use) in
656 this terminal instance. See resource <strong>perl-ext</strong> for details.
657 </dd>
658 <p></p></dl>
659 <p>
660 </p>
661 <hr />
662 <h1><a name="resources__available_also_as_longoptions_">RESOURCES (available also as long-options)</a></h1>
663 <p>Note: `rxvt --help' gives a list of all resources (long
664 options) compiled into your version.</p>
665 <p>You can set and change the resources using X11 tools like <strong>xrdb</strong>. Many
666 distribution do also load settings from the <strong>~/.Xresources</strong> file when X
667 starts. rxvt will consult the following files/resources in order,
668 with later settings overwriting earlier ones:</p>
669 <pre>
670 1. system-wide app-defaults file, either locale-dependent OR global
671 2. app-defaults file in $XAPPLRESDIR
672 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults
673 4. SCREEN_RESOURCES for the current screen
674 5. $XENVIRONMENT file OR $HOME/.Xdefaults-&lt;nodename&gt;</pre>
675 <p>Note that when reading X resources, <strong>rxvt</strong> recognizes two class
676 names: <strong>Rxvt</strong> and <strong>URxvt</strong>. The class name <strong>Rxvt</strong> allows resources
677 common to both <strong>rxvt</strong> and the original <em>rxvt</em> to be easily
678 configured, while the class name <strong>URxvt</strong> allows resources unique to
679 <strong>rxvt</strong>, to be shared between different <strong>rxvt</strong>
680 configurations. If no resources are specified, suitable defaults will
681 be used. Command-line arguments can be used to override resource
682 settings. The following resources are supported (you might want to
683 check the <code>rxvtperl(3)</code> manpage for additional settings by perl
684 extensions not documented here):</p>
685 <dl>
686 <dt><strong><a name="item_geometry_3a_geom"><strong>geometry:</strong> <em>geom</em></a></strong><br />
687 </dt>
688 <dd>
689 Create the window with the specified X window geometry [default 80x24];
690 option <strong>-geometry</strong>.
691 </dd>
692 <p></p>
693 <dt><strong><a name="item_background_3a_colour"><strong>background:</strong> <em>colour</em></a></strong><br />
694 </dt>
695 <dd>
696 Use the specified colour as the window's background colour [default
697 White]; option <strong>-bg</strong>.
698 </dd>
699 <p></p>
700 <dt><strong><a name="item_foreground_3a_colour"><strong>foreground:</strong> <em>colour</em></a></strong><br />
701 </dt>
702 <dd>
703 Use the specified colour as the window's foreground colour [default
704 Black]; option <strong>-fg</strong>.
705 </dd>
706 <p></p>
707 <dt><strong><a name="item_colorn_3a_colour"><strong>color</strong><em>n</em><strong>:</strong> <em>colour</em></a></strong><br />
708 </dt>
709 <dd>
710 Use the specified colour for the colour value <em>n</em>, where 0-7
711 corresponds to low-intensity (normal) colours and 8-15 corresponds to
712 high-intensity (bold = bright foreground, blink = bright background)
713 colours. The canonical names are as follows: 0=black, 1=red, 2=green,
714 3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour
715 names used are listed in the <strong>COLORS AND GRAPHICS</strong> section.
716 </dd>
717 <dd>
718 <p>Colours higher than 15 cannot be set using resources (yet), but can be
719 changed using an escape command (see rxvt(7)).</p>
720 </dd>
721 <dd>
722 <p>Colours 16-79 form a standard 4x4x4 colour cube (the same as xterm with
723 88 colour support). Colours 80-87 are evenly spaces grey steps.</p>
724 </dd>
725 <p></p>
726 <dt><strong><a name="item_colorbd_3a_colour"><strong>colorBD:</strong> <em>colour</em></a></strong><br />
727 </dt>
728 <dt><strong><a name="item_colorit_3a_colour"><strong>colorIT:</strong> <em>colour</em></a></strong><br />
729 </dt>
730 <dd>
731 Use the specified colour to display bold or italic characters when the
732 foreground colour is the default. If font styles are not available
733 (Compile <em>styles</em>) and this option is unset, reverse video is used instead.
734 </dd>
735 <p></p>
736 <dt><strong><a name="item_colorul_3a_colour"><strong>colorUL:</strong> <em>colour</em></a></strong><br />
737 </dt>
738 <dd>
739 Use the specified colour to display underlined characters when the
740 foreground colour is the default.
741 </dd>
742 <p></p>
743 <dt><strong><a name="item_colorrv_3a_colour"><strong>colorRV:</strong> <em>colour</em></a></strong><br />
744 </dt>
745 <dd>
746 Use the specified colour as the background for reverse video
747 characters.
748 </dd>
749 <p></p>
750 <dt><strong><a name="item_underlinecolor_3a_colour"><strong>underlineColor:</strong> <em>colour</em></a></strong><br />
751 </dt>
752 <dd>
753 If set, use the specified colour as the colour for the underline
754 itself. If unset, use the foreground colour.
755 </dd>
756 <p></p>
757 <dt><strong><a name="item_cursorcolor_3a_colour"><strong>cursorColor:</strong> <em>colour</em></a></strong><br />
758 </dt>
759 <dd>
760 Use the specified colour for the cursor. The default is to use the
761 foreground colour; option <strong>-cr</strong>.
762 </dd>
763 <p></p>
764 <dt><strong><a name="item_cursorcolor2_3a_colour"><strong>cursorColor2:</strong> <em>colour</em></a></strong><br />
765 </dt>
766 <dd>
767 Use the specified colour for the colour of the cursor text. For this to
768 take effect, <strong>cursorColor</strong> must also be specified. The default is to
769 use the background colour.
770 </dd>
771 <p></p>
772 <dt><strong><a name="item_reversevideo_3a_boolean"><strong>reverseVideo:</strong> <em>boolean</em></a></strong><br />
773 </dt>
774 <dd>
775 <strong>True</strong>: simulate reverse video by foreground and background colours;
776 option <strong>-rv</strong>. <strong>False</strong>: regular screen colours [default]; option
777 <strong>+rv</strong>. See note in <strong>COLORS AND GRAPHICS</strong> section.
778 </dd>
779 <p></p>
780 <dt><strong><a name="item_jumpscroll_3a_boolean"><strong>jumpScroll:</strong> <em>boolean</em></a></strong><br />
781 </dt>
782 <dd>
783 <strong>True</strong>: specify that jump scrolling should be used. When scrolling
784 quickly, fewer screen updates are performed [default]; option <strong>-j</strong>.
785 <strong>False</strong>: specify that smooth scrolling should be used; option <strong>+j</strong>.
786 </dd>
787 <p></p>
788 <dt><strong><a name="item_inheritpixmap_3a_boolean"><strong>inheritPixmap:</strong> <em>boolean</em></a></strong><br />
789 </dt>
790 <dd>
791 <strong>True</strong>: make the background inherit the parent windows' pixmap, giving
792 artificial transparency. <strong>False</strong>: do not inherit the parent windows'
793 pixmap.
794 </dd>
795 <p></p>
796 <dt><strong><a name="item_fading_3a_number"><strong>fading:</strong> <em>number</em></a></strong><br />
797 </dt>
798 <dd>
799 Fade the text by the given percentage when focus is lost; option <strong>-fade</strong>.
800 </dd>
801 <p></p>
802 <dt><strong><a name="item_fadecolor_3a_colour"><strong>fadeColor:</strong> <em>colour</em></a></strong><br />
803 </dt>
804 <dd>
805 Fade to this colour, when fading is used (see <strong>fading:</strong>). The default
806 colour is black; option <strong>-fadecolor</strong>.
807 </dd>
808 <p></p>
809 <dt><strong><a name="item_tintcolor_3a_colour"><strong>tintColor:</strong> <em>colour</em></a></strong><br />
810 </dt>
811 <dd>
812 Tint the transparent background pixmap with the given colour; option
813 <strong>-tint</strong>.
814 </dd>
815 <p></p>
816 <dt><strong><a name="item_shading_3a_number"><strong>shading:</strong> <em>number</em></a></strong><br />
817 </dt>
818 <dd>
819 Darken (0 .. 100) or lighten (-1 .. -100) the transparent background
820 image in addition to tinting it.
821 </dd>
822 <p></p>
823 <dt><strong><a name="item_scrollcolor_3a_colour"><strong>scrollColor:</strong> <em>colour</em></a></strong><br />
824 </dt>
825 <dd>
826 Use the specified colour for the scrollbar [default #B2B2B2].
827 </dd>
828 <p></p>
829 <dt><strong><a name="item_troughcolor_3a_colour"><strong>troughColor:</strong> <em>colour</em></a></strong><br />
830 </dt>
831 <dd>
832 Use the specified colour for the scrollbar's trough area [default
833 #969696]. Only relevant for rxvt (non XTerm/NeXT) scrollbar.
834 </dd>
835 <p></p>
836 <dt><strong><a name="item_bordercolor_3a_colour"><strong>borderColor:</strong> <em>colour</em></a></strong><br />
837 </dt>
838 <dd>
839 The colour of the border around the text area and between the scrollbar
840 and the text.
841 </dd>
842 <p></p>
843 <dt><strong><a name="item_backgroundpixmap_3a_file_5b_3bgeom_5d"><strong>backgroundPixmap:</strong> <em>file[;geom]</em></a></strong><br />
844 </dt>
845 <dd>
846 Use the specified XPM file (note the `.xpm' extension is optional) for
847 the background and also optionally specify its scaling with a geometry
848 string <strong>WxH+X+Y</strong>, in which <strong>``W'' / ``H''</strong> specify the
849 horizontal/vertical scale (percent) and <strong>``X'' / ``Y''</strong> locate the image
850 centre (percent). A scale of 0 displays the image with tiling. A scale
851 of 1 displays the image without any scaling. A scale of 2 to 9
852 specifies an integer number of images in that direction. No image will
853 be magnified beyond 10 times its original size. The maximum permitted
854 scale is 1000. [default 0x0+50+50]
855 </dd>
856 <p></p>
857 <dt><strong><a name="item_path_3a_path"><strong>path:</strong> <em>path</em></a></strong><br />
858 </dt>
859 <dd>
860 Specify the colon-delimited search path for finding XPM files.
861 </dd>
862 <p></p>
863 <dt><strong><a name="item_font_3a_fontlist"><strong>font:</strong> <em>fontlist</em></a></strong><br />
864 </dt>
865 <dd>
866 Select the fonts to be used. This is a comma separated list of font names
867 that are checked in order when trying to find glyphs for characters. The
868 first font defines the cell size for characters; other fonts might be
869 smaller, but not (in general) larger. A (hopefully) reasonable default
870 font list is always appended to it; option <strong>-fn</strong>.
871 </dd>
872 <dd>
873 <p>Each font can either be a standard X11 core font (XLFD) name, with
874 optional prefix <code>x:</code> or a Xft font (Compile <em>xft</em>), prefixed with <code>xft:</code>.</p>
875 </dd>
876 <dd>
877 <p>In addition, each font can be prefixed with additional hints and
878 specifications enclosed in square brackets (<code>[]</code>). The only available
879 hint currently is <code>codeset=codeset-name</code>, and this is only used for Xft
880 fonts.</p>
881 </dd>
882 <dd>
883 <p>For example, this font resource</p>
884 </dd>
885 <dd>
886 <pre>
887 URxvt.font: 9x15bold,\
888 -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\
889 -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \
890 [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \
891 xft:Code2000:antialias=false</pre>
892 </dd>
893 <dd>
894 <p>specifies five fonts to be used. The first one is <code>9x15bold</code> (actually
895 the iso8859-1 version of the second font), which is the base font (because
896 it is named first) and thus defines the character cell grid to be 9 pixels
897 wide and 15 pixels high.</p>
898 </dd>
899 <dd>
900 <p>The second font is just used to add additional unicode characters not in
901 the base font, likewise the third, which is unfortunately non-bold, but
902 the bold version of the font does contain less characters, so this is a
903 useful supplement.</p>
904 </dd>
905 <dd>
906 <p>The third font is an Xft font with aliasing turned off, and the characters
907 are limited to the <strong>JIS 0208</strong> codeset (i.e. japanese kanji). The font
908 contains other characters, but we are not interested in them.</p>
909 </dd>
910 <dd>
911 <p>The last font is a useful catch-all font that supplies most of the
912 remaining unicode characters.</p>
913 </dd>
914 <p></p>
915 <dt><strong><a name="item_boldfont_3a_fontlist"><strong>boldFont:</strong> <em>fontlist</em></a></strong><br />
916 </dt>
917 <dt><strong><a name="item_italicfont_3a_fontlist"><strong>italicFont:</strong> <em>fontlist</em></a></strong><br />
918 </dt>
919 <dt><strong><a name="item_bolditalicfont_3a_fontlist"><strong>boldItalicFont:</strong> <em>fontlist</em></a></strong><br />
920 </dt>
921 <dd>
922 The font list to use for displaying <strong>bold</strong>, <em>italic</em> or <strong><em>bold
923 italic</em> </strong>&gt; characters, respectively.
924 </dd>
925 <dd>
926 <p>If specified and non-empty, then the syntax is the same as for the
927 <strong>font</strong>-resource, and the given font list will be used as is, which makes
928 it possible to substitute completely different font styles for bold and
929 italic.</p>
930 </dd>
931 <dd>
932 <p>If unset (the default), a suitable font list will be synthesized by
933 ``morphing'' the normal text font list into the desired shape. If that is
934 not possible, replacement fonts of the desired shape will be tried.</p>
935 </dd>
936 <dd>
937 <p>If set, but empty, then this specific style is disabled and the normal
938 text font will being used for the given style.</p>
939 </dd>
940 <p></p>
941 <dt><strong><a name="item_intensitystyles_3a_boolean"><strong>intensityStyles:</strong> <em>boolean</em></a></strong><br />
942 </dt>
943 <dd>
944 When font styles are not enabled, or this option is enabled (<strong>True</strong>,
945 option <strong>-is</strong>, the default), bold and italic font styles imply high
946 intensity foreground/backround colours. Disabling this option (<strong>False</strong>,
947 option <strong>+is</strong>) disables this behaviour, the high intensity colours are not
948 reachable.
949 </dd>
950 <p></p>
951 <dt><strong><a name="item_selectstyle_3a_mode"><strong>selectstyle:</strong> <em>mode</em></a></strong><br />
952 </dt>
953 <dd>
954 Set mouse selection style to <strong>old</strong> which is 2.20, <strong>oldword</strong> which is
955 xterm style with 2.20 old word selection, or anything else which gives
956 xterm style selection.
957 </dd>
958 <p></p>
959 <dt><strong><a name="item_scrollstyle_3a_mode"><strong>scrollstyle:</strong> <em>mode</em></a></strong><br />
960 </dt>
961 <dd>
962 Set scrollbar style to <strong>rxvt</strong>, <strong>plain</strong>, <strong>next</strong> or <strong>xterm</strong>. <strong>plain</strong> is
963 the author's favourite.
964 </dd>
965 <p></p>
966 <dt><strong><a name="item_title_3a_string"><strong>title:</strong> <em>string</em></a></strong><br />
967 </dt>
968 <dd>
969 Set window title string, the default title is the command-line
970 specified after the <strong>-e</strong> option, if any, otherwise the application
971 name; option <strong>-title</strong>.
972 </dd>
973 <p></p>
974 <dt><strong><a name="item_iconname_3a_string"><strong>iconName:</strong> <em>string</em></a></strong><br />
975 </dt>
976 <dd>
977 Set the name used to label the window's icon or displayed in an icon
978 manager window, it also sets the window's title unless it is explicitly
979 set; option <strong>-n</strong>.
980 </dd>
981 <p></p>
982 <dt><strong><a name="item_mapalert_3a_boolean"><strong>mapAlert:</strong> <em>boolean</em></a></strong><br />
983 </dt>
984 <dd>
985 <strong>True</strong>: de-iconify (map) on receipt of a bell character. <strong>False</strong>: no
986 de-iconify (map) on receipt of a bell character [default].
987 </dd>
988 <p></p>
989 <dt><strong><a name="item_visualbell_3a_boolean"><strong>visualBell:</strong> <em>boolean</em></a></strong><br />
990 </dt>
991 <dd>
992 <strong>True</strong>: use visual bell on receipt of a bell character; option <strong>-vb</strong>.
993 <strong>False</strong>: no visual bell [default]; option <strong>+vb</strong>.
994 </dd>
995 <p></p>
996 <dt><strong><a name="item_loginshell_3a_boolean"><strong>loginShell:</strong> <em>boolean</em></a></strong><br />
997 </dt>
998 <dd>
999 <strong>True</strong>: start as a login shell by prepending a `-' to <strong>argv[0]</strong> of
1000 the shell; option <strong>-ls</strong>. <strong>False</strong>: start as a normal sub-shell
1001 [default]; option <strong>+ls</strong>.
1002 </dd>
1003 <p></p>
1004 <dt><strong><a name="item_utmpinhibit_3a_boolean"><strong>utmpInhibit:</strong> <em>boolean</em></a></strong><br />
1005 </dt>
1006 <dd>
1007 <strong>True</strong>: inhibit writing record into the system log file <strong>utmp</strong>;
1008 option <strong>-ut</strong>. <strong>False</strong>: write record into the system log file <strong>utmp</strong>
1009 [default]; option <strong>+ut</strong>.
1010 </dd>
1011 <p></p>
1012 <dt><strong><a name="item_print_2dpipe_3a_string"><strong>print-pipe:</strong> <em>string</em></a></strong><br />
1013 </dt>
1014 <dd>
1015 Specify a command pipe for vt100 printer [default <em>lpr(1)</em>]. Use
1016 <strong>Print</strong> to initiate a screen dump to the printer and <strong>Ctrl-Print</strong> or
1017 <strong>Shift-Print</strong> to include the scrollback as well.
1018 </dd>
1019 <dd>
1020 <p>The string will be interpreted as if typed into the shell as-is.</p>
1021 </dd>
1022 <dd>
1023 <p>Example:</p>
1024 </dd>
1025 <dd>
1026 <pre>
1027 URxvt.print-pipe: cat &gt; $(TMPDIR=$HOME mktemp urxvt.XXXXXX)</pre>
1028 </dd>
1029 <dd>
1030 <p>This creates a new file in your home directory with the screen contents
1031 everytime you hit <code>Print</code>.</p>
1032 </dd>
1033 <p></p>
1034 <dt><strong><a name="item_scrollbar_3a_boolean"><strong>scrollBar:</strong> <em>boolean</em></a></strong><br />
1035 </dt>
1036 <dd>
1037 <strong>True</strong>: enable the scrollbar [default]; option <strong>-sb</strong>. <strong>False</strong>:
1038 disable the scrollbar; option <strong>+sb</strong>.
1039 </dd>
1040 <p></p>
1041 <dt><strong><a name="item_scrollbar_right_3a_boolean"><strong>scrollBar_right:</strong> <em>boolean</em></a></strong><br />
1042 </dt>
1043 <dd>
1044 <strong>True</strong>: place the scrollbar on the right of the window; option <strong>-sr</strong>.
1045 <strong>False</strong>: place the scrollbar on the left of the window; option <strong>+sr</strong>.
1046 </dd>
1047 <p></p>
1048 <dt><strong><a name="item_scrollbar_floating_3a_boolean"><strong>scrollBar_floating:</strong> <em>boolean</em></a></strong><br />
1049 </dt>
1050 <dd>
1051 <strong>True</strong>: display an rxvt scrollbar without a trough; option <strong>-st</strong>.
1052 <strong>False</strong>: display an rxvt scrollbar with a trough; option <strong>+st</strong>.
1053 </dd>
1054 <p></p>
1055 <dt><strong><a name="item_scrollbar_align_3a_mode"><strong>scrollBar_align:</strong> <em>mode</em></a></strong><br />
1056 </dt>
1057 <dd>
1058 Align the <strong>top</strong>, <strong>bottom</strong> or <strong>centre</strong> [default] of the scrollbar
1059 thumb with the pointer on middle button press/drag.
1060 </dd>
1061 <p></p>
1062 <dt><strong><a name="item_scrollttyoutput_3a_boolean"><strong>scrollTtyOutput:</strong> <em>boolean</em></a></strong><br />
1063 </dt>
1064 <dd>
1065 <strong>True</strong>: scroll to bottom when tty receives output; option <strong>-si</strong>.
1066 <strong>False</strong>: do not scroll to bottom when tty receives output; option
1067 <strong>+si</strong>.
1068 </dd>
1069 <p></p>
1070 <dt><strong><a name="item_scrollwithbuffer_3a_boolean"><strong>scrollWithBuffer:</strong> <em>boolean</em></a></strong><br />
1071 </dt>
1072 <dd>
1073 <strong>True</strong>: scroll with scrollback buffer when tty receives new lines (and
1074 <strong>scrollTtyOutput</strong> is False); option <strong>-sw</strong>. <strong>False</strong>: do not scroll
1075 with scrollback buffer when tty recieves new lines; option <strong>+sw</strong>.
1076 </dd>
1077 <p></p>
1078 <dt><strong><a name="item_scrollttykeypress_3a_boolean"><strong>scrollTtyKeypress:</strong> <em>boolean</em></a></strong><br />
1079 </dt>
1080 <dd>
1081 <strong>True</strong>: scroll to bottom when a non-special key is pressed. Special keys
1082 are those which are intercepted by rxvt-unicode for special handling and
1083 are not passed onto the shell; option <strong>-sk</strong>. <strong>False</strong>: do not scroll to
1084 bottom when a non-special key is pressed; option <strong>+sk</strong>.
1085 </dd>
1086 <p></p>
1087 <dt><strong><a name="item_savelines_3a_number"><strong>saveLines:</strong> <em>number</em></a></strong><br />
1088 </dt>
1089 <dd>
1090 Save <em>number</em> lines in the scrollback buffer [default 64]. This
1091 resource is limited on most machines to 65535; option <strong>-sl</strong>.
1092 </dd>
1093 <p></p>
1094 <dt><strong><a name="item_internalborder_3a_number"><strong>internalBorder:</strong> <em>number</em></a></strong><br />
1095 </dt>
1096 <dd>
1097 Internal border of <em>number</em> pixels. This resource is limited to 100;
1098 option <strong>-b</strong>.
1099 </dd>
1100 <p></p>
1101 <dt><strong><a name="item_externalborder_3a_number"><strong>externalBorder:</strong> <em>number</em></a></strong><br />
1102 </dt>
1103 <dd>
1104 External border of <em>number</em> pixels. This resource is limited to 100;
1105 option <strong>-w</strong>, <strong>-bw</strong>, <strong>-borderwidth</strong>.
1106 </dd>
1107 <p></p>
1108 <dt><strong><a name="item_borderless_3a_boolean"><strong>borderLess:</strong> <em>boolean</em></a></strong><br />
1109 </dt>
1110 <dd>
1111 Set MWM hints to request a borderless window, i.e. if honoured by the
1112 WM, the rxvt-unicode window will not have window decorations; option <strong>-bl</strong>.
1113 </dd>
1114 <p></p>
1115 <dt><strong><a name="item_skipbuiltinglyphs_3a_boolean"><strong>skipBuiltinGlyphs:</strong> <em>boolean</em></a></strong><br />
1116 </dt>
1117 <dd>
1118 Compile <em>frills</em>: Disable the usage of the built-in block graphics/line
1119 drawing characters and just rely on what the specified fonts provide. Use
1120 this if you have a good font and want to use its block graphic glyphs;
1121 option <strong>-sbg</strong>.
1122 </dd>
1123 <p></p>
1124 <dt><strong><a name="item_termname_3a_termname"><strong>termName:</strong> <em>termname</em></a></strong><br />
1125 </dt>
1126 <dd>
1127 Specifies the terminal type name to be set in the <strong>TERM</strong> environment
1128 variable; option <strong>-tn</strong>.
1129 </dd>
1130 <p></p>
1131 <dt><strong><a name="item_linespace_3a_number"><strong>linespace:</strong> <em>number</em></a></strong><br />
1132 </dt>
1133 <dd>
1134 Specifies number of lines (pixel height) to insert between each row of
1135 the display [default 0]; option <strong>-lsp</strong>.
1136 </dd>
1137 <p></p>
1138 <dt><strong><a name="item_meta8_3a_boolean"><strong>meta8:</strong> <em>boolean</em></a></strong><br />
1139 </dt>
1140 <dd>
1141 <strong>True</strong>: handle Meta (Alt) + keypress to set the 8th bit. <strong>False</strong>:
1142 handle Meta (Alt) + keypress as an escape prefix [default].
1143 </dd>
1144 <p></p>
1145 <dt><strong><a name="item_mousewheelscrollpage_3a_boolean"><strong>mouseWheelScrollPage:</strong> <em>boolean</em></a></strong><br />
1146 </dt>
1147 <dd>
1148 <strong>True</strong>: the mouse wheel scrolls a page full. <strong>False</strong>: the mouse wheel
1149 scrolls five lines [default].
1150 </dd>
1151 <p></p>
1152 <dt><strong><a name="item_pastabletabs_3a_boolean"><strong>pastableTabs:</strong> <em>boolean</em></a></strong><br />
1153 </dt>
1154 <dd>
1155 <strong>True</strong>: store tabs as wide characters. <strong>False</strong>: interpret tabs as cursor
1156 movement only; option <code>-ptab</code>.
1157 </dd>
1158 <p></p>
1159 <dt><strong><a name="item_cursorblink_3a_boolean"><strong>cursorBlink:</strong> <em>boolean</em></a></strong><br />
1160 </dt>
1161 <dd>
1162 <strong>True</strong>: blink the cursor. <strong>False</strong>: do not blink the cursor [default];
1163 option <strong>-bc</strong>.
1164 </dd>
1165 <p></p>
1166 <dt><strong><a name="item_pointerblank_3a_boolean"><strong>pointerBlank:</strong> <em>boolean</em></a></strong><br />
1167 </dt>
1168 <dd>
1169 <strong>True</strong>: blank the pointer when a key is pressed or after a set number
1170 of seconds of inactivity. <strong>False</strong>: the pointer is always visible
1171 [default].
1172 </dd>
1173 <p></p>
1174 <dt><strong><a name="item_pointercolor_3a_colour"><strong>pointerColor:</strong> <em>colour</em></a></strong><br />
1175 </dt>
1176 <dd>
1177 Mouse pointer foreground colour.
1178 </dd>
1179 <p></p>
1180 <dt><strong><a name="item_pointercolor2_3a_colour"><strong>pointerColor2:</strong> <em>colour</em></a></strong><br />
1181 </dt>
1182 <dd>
1183 Mouse pointer background colour.
1184 </dd>
1185 <p></p>
1186 <dt><strong><a name="item_pointerblankdelay_3a_number"><strong>pointerBlankDelay:</strong> <em>number</em></a></strong><br />
1187 </dt>
1188 <dd>
1189 Specifies number of seconds before blanking the pointer [default 2]. Use a
1190 large number (e.g. <code>987654321</code>) to effectively disable the timeout.
1191 </dd>
1192 <p></p>
1193 <dt><strong><a name="item_backspacekey_3a_string"><strong>backspacekey:</strong> <em>string</em></a></strong><br />
1194 </dt>
1195 <dd>
1196 The string to send when the backspace key is pressed. If set to <strong>DEC</strong>
1197 or unset it will send <strong>Delete</strong> (code 127) or, if shifted, <strong>Backspace</strong>
1198 (code 8) - which can be reversed with the appropriate DEC private mode
1199 escape sequence.
1200 </dd>
1201 <p></p>
1202 <dt><strong><a name="item_deletekey_3a_string"><strong>deletekey:</strong> <em>string</em></a></strong><br />
1203 </dt>
1204 <dd>
1205 The string to send when the delete key (not the keypad delete key) is
1206 pressed. If unset it will send the sequence traditionally associated
1207 with the <strong>Execute</strong> key.
1208 </dd>
1209 <p></p>
1210 <dt><strong><a name="item_cutchars_3a_string"><strong>cutchars:</strong> <em>string</em></a></strong><br />
1211 </dt>
1212 <dd>
1213 The characters used as delimiters for double-click word selection. The
1214 built-in default:
1215 </dd>
1216 <dd>
1217 <p><strong>BACKSLASH ```'&amp;()*,;&lt;=</strong>?@[]{|} &gt;&gt;</p>
1218 </dd>
1219 <p></p>
1220 <dt><strong><a name="item_preedittype_3a_style"><strong>preeditType:</strong> <em>style</em></a></strong><br />
1221 </dt>
1222 <dd>
1223 <strong>OverTheSpot</strong>, <strong>OffTheSpot</strong>, <strong>Root</strong>; option <strong>-pt</strong>.
1224 </dd>
1225 <p></p>
1226 <dt><strong><a name="item_inputmethod_3a_name"><strong>inputMethod:</strong> <em>name</em></a></strong><br />
1227 </dt>
1228 <dd>
1229 <em>name</em> of inputMethod to use; option <strong>-im</strong>.
1230 </dd>
1231 <p></p>
1232 <dt><strong><a name="item_imlocale_3a_name"><strong>imLocale:</strong> <em>name</em></a></strong><br />
1233 </dt>
1234 <dd>
1235 The locale to use for opening the IM. You can use an <code>LC_CTYPE</code> of e.g.
1236 <code>de_DE.UTF-8</code> for normal text processing but <code>ja_JP.EUC-JP</code> for the
1237 input extension to be able to input japanese characters while staying in
1238 another locale; option <strong>-imlocale</strong>.
1239 </dd>
1240 <p></p>
1241 <dt><strong><a name="item_imfont_3a_fontset"><strong>imFont:</strong> <em>fontset</em></a></strong><br />
1242 </dt>
1243 <dd>
1244 Specify the font-set used for XIM styles <code>OverTheSpot</code> or
1245 <code>OffTheSpot</code>. It must be a standard X font set (XLFD patterns separated
1246 by commas), i.e. it's not in the same format as the other font lists used
1247 in rxvt. The default will be set-up to chose *any* suitable found
1248 found, preferably one or two pixels differing in size to the base font.
1249 option <strong>-imfont</strong>.
1250 </dd>
1251 <p></p>
1252 <dt><strong><a name="item_tripleclickwords_3a_boolean"><strong>tripleclickwords:</strong> <em>boolean</em></a></strong><br />
1253 </dt>
1254 <dd>
1255 Change the meaning of triple-click selection with the left mouse
1256 button. Instead of selecting a full line it will extend the selection to
1257 the end of the logical line only; option <strong>-tcw</strong>.
1258 </dd>
1259 <p></p>
1260 <dt><strong><a name="item_insecure_3a_boolean"><strong>insecure:</strong> <em>boolean</em></a></strong><br />
1261 </dt>
1262 <dd>
1263 Enables ``insecure'' mode. Rxvt-unicode offers some escape sequences that
1264 echo arbitrary strings like the icon name or the locale. This could be
1265 abused if somebody gets 8-bit-clean access to your display, whether
1266 through a mail client displaying mail bodies unfiltered or through
1267 <code>write(1)</code> or any other means. Therefore, these sequences are disabled by
1268 default. (Note that many other terminals, including xterm, have these
1269 sequences enabled by default, which doesn't make it safer, though).
1270 </dd>
1271 <dd>
1272 <p>You can enable them by setting this boolean resource or specifying
1273 <strong>-insecure</strong> as an option. At the moment, this enables display-answer,
1274 locale, findfont, icon label and window title requests.</p>
1275 </dd>
1276 <p></p>
1277 <dt><strong><a name="item_modifier_3a_modifier"><strong>modifier:</strong> <em>modifier</em></a></strong><br />
1278 </dt>
1279 <dd>
1280 Set the key to be interpreted as the Meta key to: <strong>alt</strong>, <strong>meta</strong>,
1281 <strong>hyper</strong>, <strong>super</strong>, <strong>mod1</strong>, <strong>mod2</strong>, <strong>mod3</strong>, <strong>mod4</strong>, <strong>mod5</strong>; option
1282 <strong>-mod</strong>.
1283 </dd>
1284 <p></p>
1285 <dt><strong><a name="item_answerbackstring_3a_string"><strong>answerbackString:</strong> <em>string</em></a></strong><br />
1286 </dt>
1287 <dd>
1288 Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E)
1289 character is passed through. It may contain escape values as described
1290 in the entry on <strong>keysym</strong> following.
1291 </dd>
1292 <p></p>
1293 <dt><strong><a name="item_secondaryscreen_3a_boolean"><strong>secondaryScreen:</strong> <em>boolean</em></a></strong><br />
1294 </dt>
1295 <dd>
1296 Turn on/off secondary screen (default enabled).
1297 </dd>
1298 <p></p>
1299 <dt><strong><a name="item_secondaryscroll_3a_boolean"><strong>secondaryScroll:</strong> <em>boolean</em></a></strong><br />
1300 </dt>
1301 <dd>
1302 Turn on/off secondary screen scroll (default enabled). If the this
1303 option is enabled, scrolls on the secondary screen will change the
1304 scrollback buffer and switching to/from the secondary screen will
1305 instead scroll the screen up.
1306 </dd>
1307 <p></p>
1308 <dt><strong><a name="item_hold_3a_boolean"><strong>hold</strong>: <em>boolean</em></a></strong><br />
1309 </dt>
1310 <dd>
1311 Turn on/off hold window after exit support. If enabled, rxvt
1312 will not immediately destroy its window when the program executed within
1313 it exits. Instead, it will wait till it is being killed or closed by the
1314 user.
1315 </dd>
1316 <p></p>
1317 <dt><strong><a name="item_keysym_2esym_3a_string"><strong>keysym.</strong><em>sym</em>: <em>string</em></a></strong><br />
1318 </dt>
1319 <dd>
1320 Compile <em>frills</em>: Associate <em>string</em> with keysym <em>sym</em>. The
1321 intervening resource name <strong>keysym.</strong> cannot be omitted.
1322 </dd>
1323 <dd>
1324 <p>The format of <em>sym</em> is ``<em>(modifiers-)key</em>'', where <em>modifiers</em> can be
1325 any combination of <strong>ISOLevel3</strong>, <strong>AppKeypad</strong>, <strong>Control</strong>, <strong>NumLock</strong>,
1326 <strong>Shift</strong>, <strong>Meta</strong>, <strong>Lock</strong>, <strong>Mod1</strong>, <strong>Mod2</strong>, <strong>Mod3</strong>, <strong>Mod4</strong>, <strong>Mod5</strong>,
1327 and the abbreviated <strong>I</strong>, <strong>K</strong>, <strong>C</strong>, <strong>N</strong>, <strong>S</strong>, <strong>M</strong>, <strong>A</strong>, <strong>L</strong>, <strong>1</strong>,
1328 <strong>2</strong>, <strong>3</strong>, <strong>4</strong>, <strong>5</strong>.</p>
1329 </dd>
1330 <dd>
1331 <p>The <strong>NumLock</strong>, <strong>Meta</strong> and <strong>ISOLevel3</strong> modifiers are usually aliased to
1332 whatever modifier the NumLock key, Meta/Alt keys or ISO Level3 Shift/AltGr
1333 keys are being mapped. <strong>AppKeypad</strong> is a synthetic modifier mapped to the
1334 current application keymap mode state.</p>
1335 </dd>
1336 <dd>
1337 <p>The spellings of <em>key</em> can be obtained by using <strong>xev</strong>(1) command or
1338 searching keysym macros from <strong>/usr/X11R6/include/X11/keysymdef.h</strong> and
1339 omitting the prefix <strong>XK_</strong>. Alternatively you can specify <em>key</em> by its hex
1340 keysym value (<strong>0x0000 - 0xFFFF</strong>). Note that the lookup of <em>sym</em>s is not
1341 performed in an exact manner; however, the closest match is assured.</p>
1342 </dd>
1343 <dd>
1344 <p><em>string</em> may contain escape values (<code>\a</code>: bell, <code>\b</code>: backspace,
1345 <code>\e</code>, <code>\E</code>: escape, <code>\n</code>: newline, <code>\r</code>: carriage return, <code>\t</code>: tab,
1346 <code>\000</code>: octal number) or verbatim control characters (<code>^?</code>: delete,
1347 <code>^@</code>: null, <code>^A</code> ...) and may be enclosed with double quotes so that it
1348 can start or end with whitespace.</p>
1349 </dd>
1350 <dd>
1351 <p>Please note that you need to double the <code>\</code> in resource files, as
1352 Xlib itself does it's own de-escaping (you can use <code>\033</code> instead of
1353 <code>\e</code> (and so on), which will work with both Xt and rxvt's own
1354 processing).</p>
1355 </dd>
1356 <dd>
1357 <p>You can define a range of keysyms in one shot by providing a <em>string</em>
1358 with pattern <strong>list/PREFIX/MIDDLE/SUFFIX</strong>, where the delimeter `/'
1359 should be a character not used by the strings.</p>
1360 </dd>
1361 <dd>
1362 <p>Its usage can be demonstrated by an example:</p>
1363 </dd>
1364 <dd>
1365 <pre>
1366 URxvt.keysym.M-C-0x61: list|\033&lt;M-C-|abc|&gt;</pre>
1367 </dd>
1368 <dd>
1369 <p>The above line is equivalent to the following three lines:</p>
1370 </dd>
1371 <dd>
1372 <pre>
1373 URxvt.keysym.Meta-Control-0x61: \033&lt;M-C-a&gt;
1374 URxvt.keysym.Meta-Control-0x62: \033&lt;M-C-b&gt;
1375 URxvt.keysym.Meta-Control-0x63: \033&lt;M-C-c&gt;</pre>
1376 </dd>
1377 <dd>
1378 <p>If <em>string</em> takes the form of <code>command:STRING</code>, the specified <strong>STRING</strong>
1379 is interpreted and executed as rxvt's control sequence. For
1380 example the following means ``change the current locale to <code>zh_CN.GBK</code>
1381 when Control-Meta-c is being pressed'':</p>
1382 </dd>
1383 <dd>
1384 <pre>
1385 URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre>
1386 </dd>
1387 <dd>
1388 <p>If <em>string</em> takes the form <code>perl:STRING</code>, then the specified <strong>STRING</strong>
1389 is passed to the <code>on_keyboard_command</code> perl handler. See the <code>rxvtperl(3)</code>
1390 manpage. For example, the <em>selection</em> extension (activated via
1391 <code>rxvt -pe selection</code>) listens for <code>selection:rot13</code> events:</p>
1392 </dd>
1393 <dd>
1394 <pre>
1395 URxvt.keysym.M-C-c: perl:selection:rot13</pre>
1396 </dd>
1397 <dd>
1398 <p>Due the the large number of modifier combinations, a defined key mapping
1399 will match if at <em>at least</em> the specified identifiers are being set, and
1400 no other key mappings with those and more bits are being defined. That
1401 means that defining a key map for <code>a</code> will automatically provide
1402 definitions for <code>Meta-a</code>, <code>Shift-a</code> and so on, unless some of those are defined
1403 mappings themselves.</p>
1404 </dd>
1405 <dd>
1406 <p>Unfortunately, this will override built-in key mappings. For example
1407 if you overwrite the <code>Insert</code> key you will disable rxvt's
1408 <code>Shift-Insert</code> mapping. To re-enable that, you can poke ``holes'' into the
1409 user-defined keymap using the <code>builtin:</code> replacement:</p>
1410 </dd>
1411 <dd>
1412 <pre>
1413 URxvt.keysym.Insert: &lt;my insert key sequence&gt;
1414 URxvt.keysym.S-Insert: builtin:</pre>
1415 </dd>
1416 <dd>
1417 <p>The first line defines a mapping for <code>Insert</code> and <em>any</em> combination
1418 of modifiers. The second line re-establishes the default mapping for
1419 <code>Shift-Insert</code>.</p>
1420 </dd>
1421 <dd>
1422 <p>The following example will map Control-Meta-1 and Control-Meta-2 to
1423 the fonts <code>suxuseuro</code> and <code>9x15bold</code>, so you can have some limited
1424 font-switching at runtime:</p>
1425 </dd>
1426 <dd>
1427 <pre>
1428 URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007
1429 URxvt.keysym.M-C-2: command:\033]50;9x15bold\007</pre>
1430 </dd>
1431 <dd>
1432 <p>Other things are possible, e.g. resizing (see <code>rxvt(7)</code> for more
1433 info):</p>
1434 </dd>
1435 <dd>
1436 <pre>
1437 URxvt.keysym.M-C-3: command:\033[8;25;80t
1438 URxvt.keysym.M-C-4: command:\033[8;48;110t</pre>
1439 </dd>
1440 <p></p>
1441 <dt><strong><a name="item_perl_2dext_2dcommon_3a_string"><strong>perl-ext-common</strong>: <em>string</em></a></strong><br />
1442 </dt>
1443 <dt><strong><a name="item_perl_2dext_3a_string"><strong>perl-ext</strong>: <em>string</em></a></strong><br />
1444 </dt>
1445 <dd>
1446 Comma-separated <code>list(s)</code> of perl extension scripts (default: <code>default</code>) to
1447 use in this terminal instance; option <strong>-pe</strong>.
1448 </dd>
1449 <dd>
1450 <p>Extension names can be prefixed with a <code>-</code> sign to prohibit using
1451 them. This can be useful to selectively disable some extensions loaded
1452 by default, or specified via the <code>perl-ext-common</code> resource. For
1453 example, <code>default,-selection</code> will use all the default extension except
1454 <code>selection</code>.</p>
1455 </dd>
1456 <dd>
1457 <p>Extension names can also be followed by an argument in angle brackets
1458 (e.g. <code>searchable-scrollback&lt;M-s&gt;</code>, which binds the hotkey for
1459 searchable scorllback to Alt/Meta-s). Mentioning the same extension
1460 multiple times with different arguments will pass multiple arguments to
1461 the extension.</p>
1462 </dd>
1463 <dd>
1464 <p>Each extension is looked up in the library directories, loaded if
1465 necessary, and bound to the current terminal instance.</p>
1466 </dd>
1467 <dd>
1468 <p>If both of these resources are the empty string, then the perl
1469 interpreter will not be initialized. The idea behind two options is that
1470 <strong>perl-ext-common</strong> will be used for extensions that should be available to
1471 all instances, while <strong>perl-ext</strong> is used for specific instances.</p>
1472 </dd>
1473 <p></p>
1474 <dt><strong><a name="item_perl_2deval_3a_string"><strong>perl-eval</strong>: <em>string</em></a></strong><br />
1475 </dt>
1476 <dd>
1477 Perl code to be evaluated when all extensions have been registered. See
1478 the <code>rxvtperl(3)</code> manpage. Due to security reasons, this resource
1479 will be ignored when running setuid/setgid.
1480 </dd>
1481 <p></p>
1482 <dt><strong><a name="item_perl_2dlib_3a_path"><strong>perl-lib</strong>: <em>path</em></a></strong><br />
1483 </dt>
1484 <dd>
1485 Colon-separated list of additional directories that hold extension
1486 scripts. When looking for extensions specified by the <code>perl</code> resource,
1487 rxvt will first look in these directories and then in
1488 <em>/opt/rxvt/lib/urxvt/perl/</em>. Due to security reasons, this resource
1489 will be ignored when running setuid/setgid.
1490 </dd>
1491 <dd>
1492 <p>See the <code>rxvtperl(3)</code> manpage.</p>
1493 </dd>
1494 <p></p>
1495 <dt><strong><a name="item_selection_2epattern_2didx_3a_perl_2dregex"><strong>selection.pattern-<em>idx</em> </strong>&gt;: <em>perl-regex</em></a></strong><br />
1496 </dt>
1497 <dd>
1498 Additional selection patterns, see the <code>rxvtperl(3)</code> manpage for
1499 details.
1500 </dd>
1501 <p></p>
1502 <dt><strong><a name="item_selection_2dautotransform_2eidx_3a_perl_2dtransfor"><strong>selection-autotransform.<em>idx</em> </strong>&gt;: <em>perl-transform</em></a></strong><br />
1503 </dt>
1504 <dd>
1505 Selection auto-transform patterns, see the <code>rxvtperl(3)</code> manpage
1506 for details.
1507 </dd>
1508 <p></p>
1509 <dt><strong><a name="item_searchable_2dscrollback_3a_keysym"><strong>searchable-scrollback:</strong> <em>keysym</em></a></strong><br />
1510 </dt>
1511 <dd>
1512 Sets the hotkey that starts the incremental scrollback buffer search
1513 (default: <code>M-s</code>).
1514 </dd>
1515 <p></p>
1516 <dt><strong><a name="item_urllauncher_3a_string"><strong>urlLauncher</strong>: <em>string</em></a></strong><br />
1517 </dt>
1518 <dd>
1519 Specifies the program to be started with a URL argument. Used by the
1520 <code>selection-popup</code> and <code>mark-urls</code> perl extensions.
1521 </dd>
1522 <p></p>
1523 <dt><strong><a name="item_transient_2dfor_3a_windowid"><strong>transient-for</strong>: <em>windowid</em></a></strong><br />
1524 </dt>
1525 <dd>
1526 Compile <em>frills</em>: Sets the WM_TRANSIENT_FOR property to the given window id.
1527 </dd>
1528 <p></p>
1529 <dt><strong><a name="item_override_2dredirect_3a_boolean"><strong>override-redirect</strong>: <em>boolean</em></a></strong><br />
1530 </dt>
1531 <dd>
1532 Compile <em>frills</em>: Sets override-redirect for the terminal window, making
1533 it almost invisible to window managers; option <strong>-override-redirect</strong>.
1534 </dd>
1535 <p></p></dl>
1536 <p>
1537 </p>
1538 <hr />
1539 <h1><a name="the_scrollbar">THE SCROLLBAR</a></h1>
1540 <p>Lines of text that scroll off the top of the <strong>rxvt</strong> window
1541 (resource: <strong>saveLines</strong>) and can be scrolled back using the scrollbar
1542 or by keystrokes. The normal <strong>rxvt</strong> scrollbar has arrows and
1543 its behaviour is fairly intuitive. The <strong>xterm-scrollbar</strong> is without
1544 arrows and its behaviour mimics that of <em>xterm</em></p>
1545 <p>Scroll down with <strong>Button1</strong> (<strong>xterm-scrollbar</strong>) or <strong>Shift-Next</strong>.
1546 Scroll up with <strong>Button3</strong> (<strong>xterm-scrollbar</strong>) or <strong>Shift-Prior</strong>.
1547 Continuous scroll with <strong>Button2</strong>.</p>
1548 <p>
1549 </p>
1550 <hr />
1551 <h1><a name="mouse_reporting">MOUSE REPORTING</a></h1>
1552 <p>To temporarily override mouse reporting, for either the scrollbar or
1553 the normal text selection/insertion, hold either the Shift or the Meta
1554 (Alt) key while performing the desired mouse action.</p>
1555 <p>If mouse reporting mode is active, the normal scrollbar actions are
1556 disabled -- on the assumption that we are using a fullscreen
1557 application. Instead, pressing Button1 and Button3 sends <strong>ESC [ 6 ~</strong>
1558 (Next) and <strong>ESC [ 5 ~</strong> (Prior), respectively. Similarly, clicking on the
1559 up and down arrows sends <strong>ESC [ A</strong> (Up) and <strong>ESC [ B</strong> (Down),
1560 respectively.</p>
1561 <p>
1562 </p>
1563 <hr />
1564 <h1><a name="text_selection_and_insertion">TEXT SELECTION AND INSERTION</a></h1>
1565 <p>The behaviour of text selection and insertion mechanism is similar to
1566 <em>xterm</em>(1).</p>
1567 <dl>
1568 <dt><strong><a name="item_selection_3a"><strong>Selection</strong>:</a></strong><br />
1569 </dt>
1570 <dd>
1571 Left click at the beginning of the region, drag to the end of the region
1572 and release; Right click to extend the marked region; Left double-click
1573 to select a word; Left triple-click to select the entire logical line
1574 (which can span multiple screen lines), unless modified by resource
1575 <strong>tripleclickwords</strong>.
1576 </dd>
1577 <dd>
1578 <p>Starting a selection while pressing the <strong>Meta</strong> key (or <strong>Meta+Ctrl</strong> keys)
1579 (Compile: <em>frills</em>) will create a rectangular selection instead of a
1580 normal one. In this mode, every selected row becomes its own line in the
1581 selection, and trailing whitespace is visually underlined and removed from
1582 the selection.</p>
1583 </dd>
1584 <p></p>
1585 <dt><strong><a name="item_insertion_3a"><strong>Insertion</strong>:</a></strong><br />
1586 </dt>
1587 <dd>
1588 Pressing and releasing the Middle mouse button (or <strong>Shift-Insert</strong>) in
1589 an <strong>rxvt</strong> window causes the current text selection to be
1590 inserted as if it had been typed on the keyboard.
1591 </dd>
1592 <p></p></dl>
1593 <p>
1594 </p>
1595 <hr />
1596 <h1><a name="changing_fonts">CHANGING FONTS</a></h1>
1597 <p>Changing fonts (or font sizes, respectively) via the keypad is not yet
1598 supported in rxvt-unicode. Bug me if you need this.</p>
1599 <p>You can, however, switch fonts at runtime using escape sequences, e.g.:</p>
1600 <pre>
1601 printf '\e]710;%s\007' &quot;9x15bold,xft:Kochi Gothic&quot;</pre>
1602 <p>You can use keyboard shortcuts, too:</p>
1603 <pre>
1604 URxvt.keysym.M-C-1: command:\033]710;suxuseuro\007\033]711;suxuseuro\007
1605 URxvt.keysym.M-C-2: command:\033]710;9x15bold\007\033]711;9x15bold\007</pre>
1606 <p>rxvt-unicode will automatically re-apply these fonts to the output so far.</p>
1607 <p>
1608 </p>
1609 <hr />
1610 <h1><a name="iso_14755_support">ISO 14755 SUPPORT</a></h1>
1611 <p>ISO 14755 is a standard for entering and viewing unicode characters
1612 and character codes using the keyboard. It consists of 4 parts. The
1613 first part is available rxvt-unicode has been compiled with
1614 <code>--enable-frills</code>, the rest is available when rxvt-unicode was compiled
1615 with <code>--enable-iso14755</code>.</p>
1616 <ul>
1617 <li><strong><a name="item_5_2e1_3a_basic_method">5.1: Basic method</a></strong><br />
1618 </li>
1619 This allows you to enter unicode characters using their hexcode.
1620 <p>Start by pressing and holding both <code>Control</code> and <code>Shift</code>, then enter
1621 hex-digits (between one and six). Releasing <code>Control</code> and <code>Shift</code> will
1622 commit the character as if it were typed directly. While holding down
1623 <code>Control</code> and <code>Shift</code> you can also enter multiple characters by pressing
1624 <code>Space</code>, which will commit the current character and lets you start a new
1625 one.</p>
1626 <p>As an example of use, imagine a business card with a japanese e-mail
1627 address, which you cannot type. Fortunately, the card has the e-mail
1628 address printed as hexcodes, e.g. <code>671d 65e5</code>. You can enter this easily
1629 by pressing <code>Control</code> and <code>Shift</code>, followed by <code>6-7-1-D-SPACE-6-5-E-5</code>,
1630 followed by releasing the modifier keys.</p>
1631 <p></p>
1632 <li><strong><a name="item_5_2e2_3a_keyboard_symbols_entry_method">5.2: Keyboard symbols entry method</a></strong><br />
1633 </li>
1634 This mode lets you input characters representing the keycap symbols of
1635 your keyboard, if representable in the current locale encoding.
1636 <p>Start by pressing <code>Control</code> and <code>Shift</code> together, then releasing
1637 them. The next special key (cursor keys, home etc.) you enter will not
1638 invoke it's usual function but instead will insert the corresponding
1639 keycap symbol. The symbol will only be entered when the key has been
1640 released, otherwise pressing e.g. <code>Shift</code> would enter the symbol for
1641 <code>ISO Level 2 Switch</code>, although your intention might have been to enter a
1642 reverse tab (Shift-Tab).</p>
1643 <p></p>
1644 <li><strong><a name="item_5_2e3_3a_screen_2dselection_entry_method">5.3: Screen-selection entry method</a></strong><br />
1645 </li>
1646 While this is implemented already (it's basically the selection
1647 mechanism), it could be extended by displaying a unicode character map.
1648 <p></p>
1649 <li><strong><a name="item_5_2e4_3a_feedback_method_for_identifying_displayed">5.4: Feedback method for identifying displayed characters for later input</a></strong><br />
1650 </li>
1651 This method lets you display the unicode character code associated with
1652 characters already displayed.
1653 <p>You enter this mode by holding down <code>Control</code> and <code>Shift</code> together, then
1654 pressing and holding the left mouse button and moving around. The unicode
1655 hex <code>code(s)</code> (it might be a combining character) of the character under the
1656 pointer is displayed until you release <code>Control</code> and <code>Shift</code>.</p>
1657 <p>In addition to the hex codes it will display the font used to draw this
1658 character - due to implementation reasons, characters combined with
1659 combining characters, line drawing characters and unknown characters will
1660 always be drawn using the built-in support font.</p>
1661 <p></p></ul>
1662 <p>With respect to conformance, rxvt-unicode is supposed to be compliant to
1663 both scenario A and B of ISO 14755, including part 5.2.</p>
1664 <p>
1665 </p>
1666 <hr />
1667 <h1><a name="login_stamp">LOGIN STAMP</a></h1>
1668 <p><strong>rxvt</strong> tries to write an entry into the <em>utmp</em>(5) file so that
1669 it can be seen via the <em>who(1)</em> command, and can accept messages. To
1670 allow this feature, <strong>rxvt</strong> may need to be installed setuid root
1671 on some systems or setgid to root or to some other group on others.</p>
1672 <p>
1673 </p>
1674 <hr />
1675 <h1><a name="colors_and_graphics">COLORS AND GRAPHICS</a></h1>
1676 <p>In addition to the default foreground and background colours,
1677 <strong>rxvt</strong> can display up to 16 colours (8 ANSI colours plus
1678 high-intensity bold/blink versions of the same). Here is a list of the
1679 colours with their <strong>rgb.txt</strong> names.</p>
1680 <table>
1681 <tr><td>color0</td><td>(black)</td><td>= Black</td></tr>
1682 <tr><td>color1</td><td>(red)</td><td>= Red3</td></tr>
1683 <tr><td>color2</td><td>(green)</td><td>= Green3</td></tr>
1684 <tr><td>color3</td><td>(yellow)</td><td>= Yellow3</td></tr>
1685 <tr><td>color4</td><td>(blue)</td><td>= Blue3</td></tr>
1686 <tr><td>color5</td><td>(magenta)</td><td>= Magenta3</td></tr>
1687 <tr><td>color6</td><td>(cyan)</td><td>= Cyan3</td></tr>
1688 <tr><td>color7</td><td>(white)</td><td>= AntiqueWhite</td></tr>
1689 <tr><td>color8</td><td>(bright black)</td><td>= Grey25</td></tr>
1690 <tr><td>color9</td><td>(bright red)</td><td>= Red</td></tr>
1691 <tr><td>color10</td><td>(bright green)</td><td>= Green</td></tr>
1692 <tr><td>color11</td><td>(bright yellow)</td><td>= Yellow</td></tr>
1693 <tr><td>color12</td><td>(bright blue)</td><td>= Blue</td></tr>
1694 <tr><td>color13</td><td>(bright magenta)</td><td>= Magenta</td></tr>
1695 <tr><td>color14</td><td>(bright cyan)</td><td>= Cyan</td></tr>
1696 <tr><td>color15</td><td>(bright white)</td><td>= White</td></tr>
1697 <tr><td>foreground</td><td></td><td>= Black</td></tr>
1698 <tr><td>background</td><td></td><td>= White</td></tr>
1699 </table><p>It is also possible to specify the colour values of <strong>foreground</strong>,
1700 <strong>background</strong>, <strong>cursorColor</strong>, <strong>cursorColor2</strong>, <strong>colorBD</strong>, <strong>colorUL</strong> as
1701 a number 0-15, as a convenient shorthand to reference the colour name of
1702 color0-color15.</p>
1703 <p>Note that <strong>-rv</strong> (<strong>``reverseVideo: True''</strong>) simulates reverse video by
1704 always swapping the foreground/background colours. This is in contrast to
1705 <em>xterm</em>(1) where the colours are only swapped if they have not otherwise
1706 been specified. For example,</p>
1707 <dl>
1708 <dt><strong><a name="item_rxvt__2dfg_black__2dbg_white__2drv"><strong>rxvt -fg Black -bg White -rv</strong></a></strong><br />
1709 </dt>
1710 <dd>
1711 would yield White on Black, while on <em>xterm</em>(1) it would yield Black
1712 on White.
1713 </dd>
1714 <p></p></dl>
1715 <p>
1716 </p>
1717 <hr />
1718 <h1><a name="environment">ENVIRONMENT</a></h1>
1719 <p><strong>rxvt</strong> sets and/or uses the following environment variables:</p>
1720 <dl>
1721 <dt><strong><a name="item_term"><strong>TERM</strong></a></strong><br />
1722 </dt>
1723 <dd>
1724 Normally set to <code>rxvt-unicode</code>, unless overwritten at configure time, via
1725 resources or on the commandline.
1726 </dd>
1727 <p></p>
1728 <dt><strong><a name="item_colorterm"><strong>COLORTERM</strong></a></strong><br />
1729 </dt>
1730 <dd>
1731 Either <code>rxvt</code>, <code>rxvt-xpm</code>, depending on wether rxvt was
1732 compiled with XPM support, and optionally with the added extension
1733 <code>-mono</code> to indicate that rxvt-unicode runs on a monochrome screen.
1734 </dd>
1735 <p></p>
1736 <dt><strong><a name="item_colorfgbg"><strong>COLORFGBG</strong></a></strong><br />
1737 </dt>
1738 <dd>
1739 Set to a string of the form <code>fg;bg</code> or <code>fg;xpm;bg</code>, where <code>fg</code> is
1740 the colour code used as default foreground/text colour (or the string
1741 <code>default</code> to indicate that the default-colour escape sequence is to be
1742 used), <code>bg</code> is the colour code used as default background colour (or the
1743 string <code>default</code>), and <code>xpm</code> is the string <code>default</code> if rxvt
1744 was compiled with XPM support. Libraries like <code>ncurses</code> and <code>slang</code> can
1745 (and do) use this information to optimize screen output.
1746 </dd>
1747 <p></p>
1748 <dt><strong><a name="item_windowid"><strong>WINDOWID</strong></a></strong><br />
1749 </dt>
1750 <dd>
1751 Set to the (decimal) X Window ID of the rxvt window (the toplevel
1752 window, which usually has subwindows for the scrollbar, the terminal
1753 window and so on).
1754 </dd>
1755 <p></p>
1756 <dt><strong><a name="item_terminfo"><strong>TERMINFO</strong></a></strong><br />
1757 </dt>
1758 <dd>
1759 Set to the terminfo directory iff rxvt was configured with
1760 <code>--with-terminfo=PATH</code>.
1761 </dd>
1762 <p></p>
1763 <dt><strong><a name="item_display"><strong>DISPLAY</strong></a></strong><br />
1764 </dt>
1765 <dd>
1766 Used by rxvt to connect to the display and set to the correct
1767 display in it's child processes.
1768 </dd>
1769 <p></p>
1770 <dt><strong><a name="item_shell"><strong>SHELL</strong></a></strong><br />
1771 </dt>
1772 <dd>
1773 The shell to be used for command execution, defaults to <code>/bin/sh</code>.
1774 </dd>
1775 <p></p>
1776 <dt><strong><a name="item_rxvt_socket"><strong>RXVT_SOCKET</strong></a></strong><br />
1777 </dt>
1778 <dd>
1779 The unix domain socket path used by <code>rxvtc(1)</code> and
1780 rxvtd(1).
1781 </dd>
1782 <dd>
1783 <p>Default <em>$HOME/.rxvt-unicode-<em>&lt;nodename </em></em> &gt;&gt;&gt;.</p>
1784 </dd>
1785 <p></p>
1786 <dt><strong><a name="item_home"><strong>HOME</strong></a></strong><br />
1787 </dt>
1788 <dd>
1789 Used to locate the default directory for the unix domain socket for
1790 daemon communications and to locate various resource files (such as
1791 <code>.Xdefaults</code>)
1792 </dd>
1793 <p></p>
1794 <dt><strong><a name="item_xapplresdir"><strong>XAPPLRESDIR</strong></a></strong><br />
1795 </dt>
1796 <dd>
1797 Directory where various X resource files are being located.
1798 </dd>
1799 <p></p>
1800 <dt><strong><a name="item_xenvironment"><strong>XENVIRONMENT</strong></a></strong><br />
1801 </dt>
1802 <dd>
1803 If set and accessible, gives the name of a X resource file to be loaded by
1804 rxvt.
1805 </dd>
1806 <p></p></dl>
1807 <p>
1808 </p>
1809 <hr />
1810 <h1><a name="files">FILES</a></h1>
1811 <dl>
1812 <dt><strong><a name="item__2fusr_2flib_2fx11_2frgb_2etxt"><strong>/usr/lib/X11/rgb.txt</strong></a></strong><br />
1813 </dt>
1814 <dd>
1815 Color names.
1816 </dd>
1817 <p></p></dl>
1818 <p>
1819 </p>
1820 <hr />
1821 <h1><a name="see_also">SEE ALSO</a></h1>
1822 <p>rxvt(7), rxvtc(1), rxvtd(1), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), <code>utmp(5)</code></p>
1823 <p>
1824 </p>
1825 <hr />
1826 <h1><a name="current_project_coordinator">CURRENT PROJECT COORDINATOR</a></h1>
1827 <dl>
1828 <dt><strong><a name="item_project_coordinator">Project Coordinator</a></strong><br />
1829 </dt>
1830 <dd>
1831 Marc A. Lehmann <em><a href="mailto:<rxvt-unicode@schmorp.de"><rxvt-unicode@schmorp.de</a></em>&gt;
1832 </dd>
1833 <dd>
1834 <p><a href="http://software.schmorp.de/#rxvt-unicode">http://software.schmorp.de/#rxvt-unicode</a></p>
1835 </dd>
1836 <p></p></dl>
1837 <p>
1838 </p>
1839 <hr />
1840 <h1><a name="authors">AUTHORS</a></h1>
1841 <dl>
1842 <dt><strong><a name="item_john_bovey">John Bovey</a></strong><br />
1843 </dt>
1844 <dd>
1845 University of Kent, 1992, wrote the original Xvt.
1846 </dd>
1847 <p></p>
1848 <dt><strong><a name="item_rob_nation__3cnation_40rocket_2esanders_2elockheed">Rob Nation <em><a href="mailto:<nation@rocket.sanders.lockheed.com"><nation@rocket.sanders.lockheed.com</a></em>&gt;</a></strong><br />
1849 </dt>
1850 <dd>
1851 very heavily modified Xvt and came up with Rxvt
1852 </dd>
1853 <p></p>
1854 <dt><strong><a name="item_angelo_haritsis__3cah_40doc_2eic_2eac_2euk_3e">Angelo Haritsis <em><a href="mailto:<ah@doc.ic.ac.uk"><ah@doc.ic.ac.uk</a></em>&gt;</a></strong><br />
1855 </dt>
1856 <dd>
1857 wrote the Greek Keyboard Input (no longer in code)
1858 </dd>
1859 <p></p>
1860 <dt><strong><a name="item_mj_olesen__3colesen_40me_2equeensu_2eca_3e">mj olesen <em><a href="mailto:<olesen@me.QueensU.CA"><olesen@me.QueensU.CA</a></em>&gt;</a></strong><br />
1861 </dt>
1862 <dd>
1863 Wrote the menu system.
1864 </dd>
1865 <dd>
1866 <p>Project Coordinator (changes.txt 2.11 to 2.21)</p>
1867 </dd>
1868 <p></p>
1869 <dt><strong><a name="item_oezguer_kesim__3ckesim_40math_2efu_2dberlin_2ede_3">Oezguer Kesim <em><a href="mailto:<kesim@math.fu-berlin.de"><kesim@math.fu-berlin.de</a></em>&gt;</a></strong><br />
1870 </dt>
1871 <dd>
1872 Project Coordinator (changes.txt 2.21a to 2.4.5)
1873 </dd>
1874 <p></p>
1875 <dt><strong><a name="item_geoff_wing__3cgcw_40pobox_2ecom_3e">Geoff Wing <em><a href="mailto:<gcw@pobox.com"><gcw@pobox.com</a></em>&gt;</a></strong><br />
1876 </dt>
1877 <dd>
1878 Rewrote screen display and text selection routines.
1879
1880 </dd>
1881 <dd>
1882 <pre>
1883
1884 Project Coordinator (changes.txt 2.4.6 - rxvt-unicode)</pre>
1885 </dd>
1886 <p></p>
1887 <dt><strong><a name="item_marc_alexander_lehmann__3crxvt_2dunicode_40schmorp">Marc Alexander Lehmann <em><a href="mailto:<rxvt-unicode@schmorp.de"><rxvt-unicode@schmorp.de</a></em>&gt;</a></strong><br />
1888 </dt>
1889 <dd>
1890 Forked rxvt-unicode, unicode support, rewrote almost all the code, perl
1891 extension, random hacks, numerous bugfixes and extensions.
1892 </dd>
1893 <dd>
1894 <p>Project Coordinator (Changes 1.0 -)</p>
1895 </dd>
1896 <p></p>
1897 <dt><strong><a name="item_emanuele_giaquinta__3ce_2egiaquinta_40glauco_2eit_">Emanuele Giaquinta <em><a href="mailto:<e.giaquinta@glauco.it"><e.giaquinta@glauco.it</a></em>&gt;</a></strong><br />
1898 </dt>
1899 <dd>
1900 Pty/tty/utmp/wtmp rewrite, lots of random hacking and bugfixing.
1901 </dd>
1902 <p></p></dl>
1903
1904 </body>
1905
1906 </html>