ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.html
Revision: 1.70
Committed: Sat Oct 27 12:09:02 2007 UTC (16 years, 7 months ago) by root
Content type: text/html
Branch: MAIN
CVS Tags: rel-8_4
Changes since 1.69: +97 -101 lines
Log Message:
*** empty log message ***

File Contents

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